Replace M_El with lit_e in libm-test.inc
[glibc.git] / ChangeLog
blob812f0a51abab2c45edf1947545eca5052b6e93e4
1 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * libm-test.inc: Replace usage of M_El with
4         (lit_e): New macro.
6 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8         * libm-test.inc: Replace usage of M_PI_4l with
9         (lit_pi_4_d): New macro.
11 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13         * libm-test.inc: Replace usage of M_PIl with
14         (lit_pi): New macro.
16 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18         * libm-test.inc: Replace usage of M_PI2l with
19         (lit_pi_2_d): New macro.
21         * math/test-double.h (LITM): New macro.
22         * math/test-float.h (LITM): Likewise.
23         * math/test-ldouble.h (LITM): Likewise.
25 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27         * libm-test.inc (M_PI_34l): Rename to
28         (lit_pi_3_m_4_d): New Macro.
29         (M_PI_34_LOG10El): Rename to
30         (lit_pi_3_m_4_ln10_m_d): New Macro.
31         (M_PI2_LOG10El): Rename to
32         (lit_pi_2_ln10_m_d):  New Macro.
33         (M_PI4_LOG10El): Rename to
34         (lit_pi_4_ln10_m_d):  New Macro.
35         (M_PI_LOG10El): Rename to
36         (lit_pi_ln10_d):  New Macro.
38 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
40         [BZ #20157]
41         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
42         determine whether to negate low half if [_ARCH_PPCGR], and integer
43         comparison otherwise.
44         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
45         determine whether to negate low half.
47         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
48         (NO_TEST_INLINE_DOUBLE): Likewise.
49         (TEST_COND_x86_64): Likewise.
50         (TEST_COND_x86): Likewise.
51         (M_PI_6l): Likewise.
53 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
55         * math/libm-test.inc:
56         (TEST_FLOAT): Change usage to TEST_COND_binary32.
57         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
58         (TEST_LDOUBLE): Update usage to evaluate as true if
59         the guarded tests match the property being tested.
60         (LDBL_MAX_EXP): Change to MAX_EXP.
61         (LDBL_MIN_EXP): Change to MIN_EXP.
62         (LDBL_MANT_DIG): Change to MANT_DIG, except for
63         nexttoward tests.
65 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
67         * math/libm-test.inc:
68         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
69         (TYPE_MIN): Likewise.
70         (TYPE_TRUE_MIN): Likewise.
71         (TYPE_MAX): Likewise.
72         (MIN_EXP): Likewise.
73         (MAX_EXP): Likewise.
74         (MANT_DIG): Likewise.
76         (FSTR_MAX): New macro.
77         (__CONCATX): Likewise.
78         (QTYPE_STR): Likewise.
79         (TEST_COND_binary32): Likewise.
80         (TEST_COND_binary64): Likewise.
81         (TEST_COND_binary128): Likewise.
82         (TEST_COND_ibm128): Likewise.
83         (TEST_COND_intel96): Likewise.
84         (TEST_COND_m68k96): Likewise.
86         (TEST_COND_flt_32): Redefine as equivalent format test macro.
87         (TEST_COND_dbl_64): Likewise.
88         (TEST_COND_ldbl_96_intel): Likewise.
89         (TEST_COND_ldbl_96_m68k): Likewise.
90         (TEST_COND_ldbl_128): Likewise.
91         (TEST_COND_ldbl_128ibm): Likewise.
93         (plus_zero): Redefine using LIT macro.
94         (minus_zero): Likewise.
95         (plus_infty): Redefine as (INF).
96         (minux_infty): Redefine as (-INF).
97         (max_value): Redefine as TYPE_MAX.
98         (min_value): Redefine as TYPE_MIN.
99         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
101         (print_float): Refactor to use snprintf to convert FLOAT values
102         to string. This brings it closer to dropin replacement of strtof
103         for the TS 18661 defined types.
104         (update_stats): Likewise.
105         (print_complex_function_ulps): Likewise.
106         (print_max_error): Likewise.
107         (print_complex_max_error): Likewise.
108         (check_float_internal): Likewise.
110         * math/test-float.h (PREFIX): New macro.
111         (LIT): Likewise.
112         (TYPE_STR): Likewise.
113         (FTOSTR): Likewise.
115         * math/test-double.h (PREFIX): New macro.
116         (LIT): Likewise.
117         (TYPE_STR): Likewise.
118         (FTOSTR): Likewise.
120         * math/test-ldouble.h (PREFIX): New macro.
121         (LIT): Likewise.
122         (TYPE_STR): Likewise.
123         (FTOSTR): Likewise.
125 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #20156]
128         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
129         to itself when zero or not finite.
130         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
131         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
132         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
133         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
135 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
137         [BZ #20153]
138         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
139         x * x + x for infinities and NaNs.
141         [BZ #20151]
142         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
143         argument to itself before returning result.
144         (__ieee754_y0l): Likewise.
145         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
146         (__ieee754_y1l).
148         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
149         (atan_test_data): Likewise.
150         (ceil_test_data): Likewise.
151         (cos_test_data): Likewise.
152         (cosh_test_data): Likewise.
153         (erf_test_data): Likewise.
154         (exp2_test_data): Likewise.
155         (fabs_test_data): Likewise.
156         (floor_test_data): Likewise.
157         (ilogb_test_data): Likewise.
158         (j0_test_data): Likewise.
159         (j1_test_data): Likewise.
160         (jn_test_data): Likewise.
161         (lgamma_test_data): Likewise.
162         (lrint_test_data): Likewise.
163         (llrint_test_data): Likewise.
164         (logb_test_data): Likewise.
165         (lround_test_data): Likewise.
166         (llround_test_data): Likewise.
167         (nearbyint_test_data): Likewise.
168         (rint_test_data): Likewise.
169         (round_test_data): Likewise.
170         (sin_test_data): Likewise.
171         (sincos_test_data): Likewise.
172         (sinh_test_data): Likewise.
173         (sqrt_test_data): Likewise.
174         (tan_test_data): Likewise.
175         (tanh_test_data): Likewise.
176         (tgamma_test_data): Likewise.
177         (trunc_test_data): Likewise.
178         (y0_test_data): Likewise.
179         (y1_test_data): Likewise.
180         (yn_test_data): Likewise.
182         * math/libm-test.inc: Update comment about NaN testing.
183         (TEST_SNAN): New macro.
184         (snan_value): Likewise.
185         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
186         (fpclassify_test_data): Add sNaN tests.
187         (isfinite_test_data): Likewise.
188         (isinf_test_data): Likewise.
189         (isnan_test_data): Likewise.
190         (isnormal_test_data): Likewise.
191         (issignaling_test_data): Likewise.
192         (signbit_test_data): Likewise.
193         * math/gen-libm-test.pl (%beautify): Add snan_value.
194         (show_exceptions): Add argument $test_snan.
195         (parse_args): Handle snan_value as non-finite.  Update call to
196         show_exceptions.
197         * math/Makefile (libm-test-no-inline-cflags): Add
198         -fsignaling-nans.
200 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
202         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
203         (CFLAGS-oldsendmsg.c): Add rule.
204         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
205         Correct recvmsg symbol name.
206         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
207         Likewise.
209 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
211         * sysdeps/unix/sysv/linux/Makefile
212         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
213         oldsendmmsg.
214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
215         sendmmsg.
216         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
217         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
219         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
224         Likewise.
225         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
226         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
227         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
228         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
229         iovlen and controllen fields to adjust to POSIX specification.
230         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
232         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
233         and change to correct expected type.
234         (msghdr.msg_controllen): Likewise.
235         (cmsghdr.cmsg_len): Likewise.
236         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
237         expected POSIX assumption about the size.
238         (msghdr.msg_controllen): Likewise.
239         (msghdr.__glibc_reserved1): Likewise.
240         (msghdr.__glibc_reserved2): Likewise.
241         (cmsghdr.cmsg_len): Likewise.
242         (cmsghdr.__glibc_reserved1): Likewise.
243         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
244         Add ptw-oldrecvmsg and ptw-oldsendmsg.
245         (CFLAGS-sendmsg.c): Remove rule.
246         (CFLAGS-recvmsg.c): Likewise.
247         (CFLAGS-oldsendmsg.c): Add rule.
248         (CFLAGS-oldrecvmsg.c): Likewise.
249         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
250         recvmsg and sendmsg.
251         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
252         Likewise.
253         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
254         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
255         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
256         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
257         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
258         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
259         Likewise.
260         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
261         Likewise.
262         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
263         Likewise.
264         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
265         Likewise.
266         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
267         Likewise.
268         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
269         Likewise.
270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
271         (GLIBC_2.24): Likewise.
272         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
273         Likewise.
274         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
275         Likewise.
276         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
277         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
278         Likewise.
279         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
280         Likewise.
281         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
282         Likewise.
283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
284         (GLIBC_2.24): Likewise.
285         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
286         Likewise.
287         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
288         Likewise.
289         * sysdeps/unix/sysv/linux/Makefile
290         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
291         (CFLAGS-sendmsg.c): Add rule.
292         (CFLAGS-recvmsg.c): Likewise.
293         (CFLAGS-oldsendmsg.c): Likewise.
294         (CFLAGS-oldrecvmsg.c): Likewise.
295         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
296         initialization.
297         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
298         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
299         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
300         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
301         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
302         iovlen and controllen fields to adjust to POSIX specification.
303         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
305         added recvmsg and sendmsg.
306         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
309         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
310         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
312         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
315         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
317         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
319         Likewise.
320         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
322         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
323         Likewise.
324         Likewise.
325         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
326         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
327         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
328         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
330         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
332         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
334         Likewise.
335         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
336         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
338         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
339         from auto-generation.
340         (sendmsg): Likewise.
341         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
342         (sendmsg): Likewise.
343         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
344         (sendmsg): Likewise.
345         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
346         (sendmsg): Likewise.
347         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
348         (sendmsg): Likewise.
349         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
350         (sendmsg): Likewise.
351         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
352         Likewise.
353         (sendmsg): Likewise.
354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
355         (sendmsg): Likewise.
356         * sysdeps/unix/sysv/linux/i386/kernel-features.h
357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
358         Remove.
359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
360         Likewise.
361         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
362         Undefine.
363         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
364         Likewise.
365         * sysdeps/unix/sysv/linux/kernel-features.h
366         (__ASSUME_SENDMSG_SYSCALL): Define.
367         (__ASSUME_RECVMSG_SYSCALL): Likewise.
368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
370         Remove.
371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
372         Likewise.
373         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
374         Undefine.
375         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
376         Likewise.
377         * sysdeps/unix/sysv/linux/s390/kernel-features.h
378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
379         Remove.
380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
381         Likewise.
382         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
383         Undefine.
384         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
385         Likewise.
386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
387         (__ASSUME_SENDMSG_SYSCALL): Undefine.
388         (__ASSUME_RECVMSG_SYSCALL): Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
390         (__ASSUME_SENDMSG_SYSCALL): Likewise.
391         (__ASSUME_RECVMSG_SYSCALL): Likewise.
392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
393         (__ASSUME_SENDMSG_SYSCALL): Likewise.
394         (__ASSUME_RECVMSG_SYSCALL): Likewise.
396 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
398         * stdlib/gen-tst-strtod-round.c: Add backslash to
399         compile command in comment.
400         (printfp): Remove the literal suffix, and define an infinite
401         value as INF to avoid expansion clash with INFINITY.
402         (round_str): Remove the literal suffix.
403         (round_for_all): Likewise, remove the now duplicate ldbl-64
404         entry, and remove some magic constants.
406         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
407         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
408         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
409         (_CONCAT): New macro.
410         (CONCAT): Likewise.
411         (CHOOSE_ld): Likewise.
412         (CHOOSE_f): Likewise.
413         (CHOOSE_d): Likewise.
414         (FTYPE_MEMBER): Likewise.
415         (BOOL_MEMBER): Likewise.
416         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
417         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
418         (_XNTRY): Likewise.
419         (XNTRY): Likewise.
420         (_ENTRY): Likewise.
421         (ENTRY): Likewise.
422         (test_exactness): Generate members via macro.
423         (test_results): Likewise.
424         (test): Update members.
425         (TEST): Redefine using new macros.
426         (INF): New macro.
427         (fetestmodes): New structure.
428         (do_test): Refactor to be type generic.
429         (test_in_one_mode): Refactor duplicate code into
430         (GEN_ONE_TEST): New macro.
432         * stdlib/tst-strtod-round-data.h: Regenerate.
434         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
435         Extend to pass additional arbitrary parameters to
436         generators.
438 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
440         [BZ #15479]
441         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
442         floating-point state after first floating-point operation on
443         input.  Restore full floating-point state instead of just rounding
444         mode.
445         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
446         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
447         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
448         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
449         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
451         [BZ #15479]
452         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
453         floating-point state after first floating-point operation on
454         input.  Restore full floating-point state instead of just rounding
455         mode.
456         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
457         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
458         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
459         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
460         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
462 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
464         [BZ #19727]
465         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
466         valid high surrogate.
467         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
468         of an utf16 surrogate.
469         * iconv/gconv_simple.c (BODY): Likewise.
470         * iconvdata/bug-iconv12.c: New file.
471         * iconvdata/Makefile (tests): Add bug-iconv12.
473 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
475         [BZ #19726]
476         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
477         outptrp in case of an illegal input.
478         * iconv/tst-iconv6.c: New file.
479         * iconv/Makefile (tests): Add tst-iconv6.
481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
483         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
484         an error in case of a value in range of an utf16 low surrogate.
486 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
488         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
489         an error in case of a value in range of an utf16 low surrogate.
491 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
493         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
494         Move to ...
495         * sysdeps/s390/Makefile: ... here.
496         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
497         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
498         (BRANCH_ON_COUNT): New define.
499         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
500         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
501         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
502         run on s390-32, too.
503         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
504         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
505         run on s390-32, too.
506         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
507         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
508         run on s390-32, too.
510 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
512         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
513         etf3eh or new vector loop-variant.
515 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
517         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
518         etf3eh or new vector loop-variant.
520 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
522         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
523         or new vector loop-variant.
525 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
527         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
528         Rename to TR_LOOP and usage of tr instead of troo instruction.
530 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
532         * sysdeps/s390/multiarch/gconv_simple.c: New File.
533         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
535 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
537         * sysdeps/s390/multiarch/8bit-generic.c: New File.
538         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
539         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
540         New override define.
541         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
543 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
545         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
546         * sysdeps/s390/configure.ac: Add test for S390 vector register
547         support in gcc.
548         * sysdeps/s390/configure: Regenerated.
550 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
552         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
553         Install file from $(objpfx)gconv-modules.
554         ($(objpfx)gconv-modules): Concatenate architecture specific file
555         in variable sysdeps-gconv-modules and gconv-modules in src dir.
556         * sysdeps/s390/gconv-modules: New file.
557         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
558         Deleted.
559         ($(objpfx)gconv-modules-s390): Deleted.
560         (sysdeps-gconv-modules): New variable.
562 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
564         [BZ #15479]
565         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
566         of immediate operand to rounding instruction.
567         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
568         Likewise.
569         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
570         Likewise.
571         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
572         Likewise.
574 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
576         * math/libm-test.inc (MIN_EXP): Directly define as
577         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
579 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
581         * math/libm-test.inc (MANT_DIG): Directly define as
582         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
584 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
586         * stdlib/gen-tst-strtod-round.c (main):
587           Change usage to more closely match the generated
588           output.  Add usage and compilation instructions.
589           (string_to_fp): Add and use FILE* parameter as
590           output target.
591           (print_fp): Likewise.
592           (round_str): Likewise.
593           (round_for_all): Likewise.
594         * stdlib/tst-strtod-round.c (tests): Move into
595         * stdlib/tst-strtod-round-data.h: New file.
597 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
599         [BZ #15479]
600         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
601         (__round): Do not force "inexact" exception.
602         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
603         variable.
604         (__round): Do not force "inexact" exception.
605         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
606         (__roundf): Do not force "inexact" exception.
607         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
608         (__roundl): Do not force "inexact" exception.
609         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
610         (__roundl): Do not force "inexact" exception.
611         * math/libm-test.inc (round_test_data): Do not allow spurious
612         "inexact" exceptions.
614         [BZ #15479]
615         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
616         exception in comment.
617         (huge): Remove variable.
618         (__floor): Do not force "inexact" exception.
619         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
620         "inexact" exception in comment.
621         (huge): Remove variable.
622         (__floor): Do not force "inexact" exception.
623         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
624         exception in comment.
625         (huge): Remove variable.
626         (__floorf): Do not force "inexact" exception.
627         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
628         exception in comment.
629         (huge): Remove variable.
630         (__floorl): Do not force "inexact" exception.
632         [BZ #15479]
633         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
634         exception in comment.
635         (huge): Remove variable.
636         (__ceil): Do not force "inexact" exception.
637         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
638         "inexact" exception in comment.
639         (huge): Remove variable.
640         (__ceil): Do not force "inexact" exception.
641         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
642         (__ceilf): Do not force "inexact" exception.
643         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
644         exception in comment.
645         (huge): Remove variable.
646         (__ceill): Do not force "inexact" exception.
648 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
650         * config.h.in (BIND_NOW): New.
651         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
652         * configure: Regenerated.
653         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
654         indirect branch via the GOT slot.
656 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
658         [BZ #19765]
659         * sysdeps/s390/mempcpy.S: New File.
660         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
661         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
662         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
663         Add mempcpy variants.
664         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
665         (memcpy): Adjust to be usable from mempcpy entry point.
666         (__memcpy_mvcle): Likewise.
667         * sysdeps/s390/s390-64/memcpy.S: Likewise.
668         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
669         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
670         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
671         (__memcpy_z10): Likewise.
672         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
674 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
676         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
677         Remove __GI_ symbol.
678         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
679         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
680         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
681         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
682         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
683         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
685 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
687         * sysdeps/s390/s390-64/memcpy.S (memcpy):
688         Use cghi instead of chi to compare 64bit value.
690 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
692         * sysdeps/s390/s390-32/memcpy.S (memcpy):
693         Jump to 1MB check before executing mvc-loop.
695 2016-05-24  Florian Weimer  <fweimer@redhat.com>
697         [BZ #6527]
698         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
699         unconditionally.
700         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
702 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
704         * stdlib/tst-strtod6.c (do_test): Use new type generic
705         invocation of the test function.
706         (test): Refactor into ...
707         (TEST_STRTOD): New macro base function.
709 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
711         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
712         (TEST_STRTOD): New macro.
713         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
715 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
717         * stdlib/tst-strtod6.c (do_test): Use new type generic
718         invocation of the test function.
719         (test): Refactor into ...
720         (TEST_STRTOD): New macro base function.
722 2016-05-23  Florian Weimer  <fweimer@redhat.com>
724         CVE-2016-4429
725         [BZ #20112]
726         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
727         payload.
729 2016-05-23  Florian Weimer  <fweimer@redhat.com>
731         [BZ #20111]
732         * bits/sockaddr.h (_SS_SIZE): Define.
733         * bits/socket.h (_SS_SIZE): Remove.
734         (_SS_PADSIZE): Adjust to account for all padding.
735         (struct sockaddr_storage): Update comment.  Avoid implicit
736         padding.
737         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
738         (_SS_PADSIZE): Adjust to account for all padding.
739         (struct sockaddr_storage): Update comment.  Avoid implicit
740         padding.
741         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
742         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
743         (_SS_PADSIZE): Adjust to account for all padding.
744         (struct sockaddr_storage): Update comment.  Avoid implicit
745         padding.
746         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
747         __SS_SIZE is 126 in this version.
748         * inet/tst-sockaddr.c: New file.
749         * inet/Makefile (tests): Add tst-sockaddr.c
750         (tst-sockaddr.c): Compile with non-strict aliasing.
752 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
754         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
755         [XPG3 || XPG4].
756         (NL_ARGMAX): Also expect for [XPG3].
757         (NL_LANGMAX): Likewise.
758         (NL_MSGMAX): Likewise.
759         (NL_NMAX): Likewise.
760         (NL_SETMAX): Likewise.
761         (NL_TEXTMAX): Likewise.
762         (NZERO): Likewise.
763         (TMP_MAX): Likewise.
764         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
765         variable.
767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
768         (PF_MAX): Update value.
769         (AF_KCM): New macro.
770         (SOL_NETBEUI): Likewise.
771         (SOL_LLC): Likewise.
772         (SOL_DCCP): Likewise.
773         (SOL_NETLINK): Likewise.
774         (SOL_TIPC): Likewise.
775         (SOL_RXRPC): Likewise.
776         (SOL_PPPOL2TP): Likewise.
777         (SOL_BLUETOOTH): Likewise.
778         (SOL_PNPIPE): Likewise.
779         (SOL_RDS): Likewise.
780         (SOL_IUCV): Likewise.
781         (SOL_CAIF): Likewise.
782         (SOL_ALG): Likewise.
783         (SOL_NFC): Likewise.
784         (SOL_KCM): Likewise.
785         (MSG_BATCH): New enum value and macro.
787 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
789         [BZ #18185]
790         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
791         sharing L2 cache to 2 for Knights Landing.
793 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
795         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
796         (FTW_DP): Do not expect for [XPG3 || XPG4].
797         (FTW_SL): Do not expect for [XPG3].
798         (FTW_SLN): Likewise.
799         (FTW_PHYS): Likewise.
800         (FTW_MOUNT): Likewise.
801         (FTW_DEPTH): Likewise.
802         (FTW_CHDIR): Likewise.
803         (nftw): Likewise.
804         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
805         variable.
807 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
809         * manual/errno.texi: Fix various typos & grammar errors.
811 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
813         * manual/intro.texi: Fix duplicated typo.
815 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
817         [BZ #13304]
818         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
819         <float.h>, <math_private.h> and <stdlib.h>.
820         (add_split): New function.
821         (mul_split): Likewise.
822         (ext_val): New typedef.
823         (store_ext_val): New function.
824         (mul_ext_val): New function.
825         (compare): New function.
826         (add_split_ext): New function.
827         (__fmal): After checking for Inf, NaN and zero, compute result as
828         an exact sum of scaled double values in round-to-nearest before
829         adding those up and adjusting for other rounding modes.
830         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
831         tests of fma.
832         * math/auto-libm-test-out: Regenerated.
834 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
836         [BZ #20119]
837         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
838         processor level type mask for CPUID with EAX == 11.
840 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
842         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
843         logical threads if the HTT bit is 0.
844         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
845         (index_cpu_HTT): Likewise.
846         (reg_HTT): Likewise.
848 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
850         [BZ #20115]
851         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
852         Remove alignments on jump targets.
854 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
856         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
857         (getpwent): Likewise.
858         (setpwent): Likewise.
859         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
860         variable.
862         * conform/data/search.h-data (insque): Do not expect for [XPG3].
863         (remque): Likewise.
864         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
865         variable.
867 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
869         * math/libm-test.inc: Update comment not to refer to signs of NaNs
870         not being tested.
872 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
874         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
875         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
876         call.
877         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
878         (__condvar_cleanup1): Likewise.
880 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
882         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
883         New
884         (__pthread_unwind): Renamed to ...
885         (PTHREAD_UNWIND): This.
886         (__pthread_enable_asynccancel): Replace
887         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
889 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
891         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
892         (CLONE_NEWCGROUP): New macro.
894         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
895         (Q_GETNEXTQUOTA): New macro.
897 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
899         [BZ #19907]
900         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
901         buffer updated by the previous run.
902         * string/test-memcpy.c (do_one_test): Likewise.
903         * benchtests/bench-memmove.c (do_one_test): Add a comment.
904         * string/test-memmove.c (do_one_test): Likewise.
906 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
908         [BZ #20094]
909         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
910         not [__USE_XOPEN].
911         (unlockpt): Likewise.
912         (ptsname): Likewise.
913         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
914         variable.
916         [BZ #20076]
917         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
918         instead of [__USE_UNIX98].
919         (S_ISSOCK): Likewise.
920         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
921         variable.
923         [BZ #20074]
924         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
925         [__USE_POSIX].
926         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
927         variable.
929         [BZ #20051]
930         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
931         (ttyslot): Do not declare.
932         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
933         (ttyslot): New prototype.
934         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
935         variable.
936         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
938 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
940         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
942 2016-05-13  Florian Weimer  <fweimer@redhat.com>
944         Fix race condition in tst-mallocfork2, use fewer resources.
945         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
946         to current process group.
947         (signal_sender): Yield in the non-sleeping case.
949 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
951         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
952         (ecvt): Likewise.
953         (fcvt): Likewise.
954         (gcvt): Likewise.
955         (getsubopt): Likewise.
956         (grantpt): Likewise.
957         (initstate): Likewise.
958         (l64a): Likewise.
959         (mktemp): Likewise.
960         (mkstemp): Likewise.
961         (ptsname): Likewise.
962         (random): Likewise.
963         (realpath): Likewise.
964         (setstate): Likewise.
965         (srandom): Likewise.
966         (ttyslot): Likewise.
967         (unlockpt): Likewise.
968         (valloc): Likewise.
970         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
971         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
972         variable.
974 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
976         [BZ #20072]
977         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
978         init_cpu_features only if SHARED is defined.
979         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
981 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
983         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
984         non-inclusive caches on Intel processors.
986 2016-05-13  Florian Weimer  <fweimer@redhat.com>
988         * malloc/malloc.c (dumped_main_arena_start)
989         (dumped_main_arena_end): New variables.
990         (DUMPED_MAIN_ARENA_CHUNK): New macro.
991         (do_check_chunk): Skip dumped fake mmapped chunks.
992         (munmap_chunk): Likewise.
993         (__libc_free): Do not adjust statistics for fake mmapped chunks.
994         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
995         mmapped chunks.
996         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
997         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
998         and dumped_main_arena_end to cover the dumped heap.
1000 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1002         * conform/data/time.h-data (getdate_err): Do not expect for
1003         [XPG3].
1004         (getdate): Likewise.
1005         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1006         variable.
1008         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1009         (F_ULOCK): Likewise.
1010         (F_TEST): Likewise.
1011         (F_TLOCK): Likewise.
1012         (useconds_t): Likewise.
1013         (intptr_t): Do not expect for [XPG3] or [XPG4].
1014         (brk): Do not expect for [XPG3]
1015         (fchown): Likewise.
1016         (fchdir): Likewise.
1017         (ftruncate): Likewise.
1018         (getdtablesize): Likewise.
1019         (gethostid): Likewise.
1020         (getpagesize): Likewise.
1021         (getpgid): Likewise.
1022         (getsid): Likewise.
1023         (getwd): Likewise.
1024         (lchown): Likewise.
1025         (lockf): Likewise.
1026         (readlink): Likewise.
1027         (sbrk): Likewise.
1028         (setpgrp): Likewise.
1029         (setregid): Likewise.
1030         (setreuid): Likewise.
1031         (symlink): Likewise.
1032         (sync): Likewise.
1033         (truncate): Likewise.
1034         (ualarm): Likewise.
1035         (usleep): Likewise.
1036         (vfork): Likewise.
1037         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1038         variable.
1040         [BZ #20054]
1041         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1042         not [__USE_UNIX98].
1043         * conform/data/unistd.h-data (gethostname): Do not expect for
1044         [XPG3].
1046         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1047         [!POSIX] (S_IFBLK): Likewise.
1048         [!POSIX] (S_IFCHR): Likewise.
1049         [!POSIX] (S_IFIFO): Likewise.
1050         [!POSIX] (S_IFREG): Likewise.
1051         [!POSIX] (S_IFDIR): Likewise.
1052         [!POSIX] (S_IFLNK): Likewise.
1053         [!POSIX] (S_IFSOCK): Likewise.
1054         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1055         variable.
1056         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1058 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1060         * sysdeps/aarch64/memset.S (__memset):
1061         Rewrite of optimized memset.
1063 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1065         [BZ #19703]
1066         Partially async-signal-safe fork for single-threaded processes.
1067         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1068         variable.  Do not acquire and reset/release malloc and libio locks
1069         in single-threaded processes.
1070         * malloc/tst-mallocfork2.c: New file.
1071         * malloc/Makefile (tests): Add it.
1073 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1075         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1076         argument.  Use scratch buffer instead of extend_alloca.
1077         (gethosts): Use scratch buffer instead of extend_alloca.
1078         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1079         extend_alloca.
1080         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1082 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1084         [BZ #20055]
1085         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1086         instead of [__USE_UNIX98].
1087         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1088         [__USE_UNIX98].
1089         * conform/data/termios.h-data (tcgetsid): Do not expect for
1090         [XPG3].
1091         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1092         variable.
1093         (test-xfail-XPG4/termios.h/conform): Likewise.
1095 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1097         Do not use mcheck in localedef.
1098         * locale/programs/localedef.c (turn_on_mcheck)
1099         (__malloc_initialize_hook): Remove.
1101 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1103         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1104         * sysdeps/s390/s390-64/Makefile: Likewise.
1106 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1108         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1109         Remove ifunc-defines.sym.
1110         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1111         Likewise.
1112         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1113         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1114         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1115         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1116         rtld-global-offsets.sym.
1117         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1118         * sysdeps/x86/cpu-features-offsets.sym: This.
1119         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1120         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1122 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1124         [BZ #20073]
1125         * io/sys/stat.h (fchmod): Declare for
1126         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1127         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1128         variable.
1130         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1131         [XPG3] (S_IFSOCK): Likewise.
1132         [XPG3] (S_ISVTX): Likewise.
1133         [XPG3] (S_ISLNK): Likewise.
1134         [XPG3] (S_ISSOCK): Likewise.
1135         [XPG3] (fchmod): Likewise.
1136         [XPG3] (lstat): Likewise.
1137         [XPG3] (mknod): Likewise.
1139         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1140         [XPG3].  Expect type long and XFAIL for [XPG4].
1141         (st_blocks): Likewise.
1143         [BZ #20044]
1144         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1145         (pthread_atfork): New prototype.
1146         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1147         variable.
1149         [BZ #20043]
1150         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1151         prototype.
1153 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1155         [BZ #20017]
1156         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1157         gmtime.
1159 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1161         [BZ #19994]
1162         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1163         flag in _res.options.
1165 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1167         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1168         [XPG3 || XPG4].
1169         (blksize_t): Likewise.
1170         (clockid_t): Likewise.
1171         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1172         variable.
1173         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1175 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1177         * sysdeps/unix/sysv/linux/s390/init-first.c:
1178         Add VDSO_SYMBOL(getcpu).
1179         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1180         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1181         Add VDSO_SYMBOL(getcpu).
1182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1183         New define HAVE_GETCPU_VSYSCALL.
1184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1186 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1188         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1189         instead of <sysdeps/x86_64/cacheinfo.c>.
1190         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1191         * sysdeps/x86/cacheinfo.c: Here.
1193 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1195         * malloc/malloc-internal.h: Adjust header file guard.
1197 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1199         [BZ #19787]
1200         * inet/getnameinfo.c (check_sprintf_result): New function.
1201         (CHECKED_SNPRINTF): New macro.
1202         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1203         to the host buffer.
1204         (gni_host_local): Use checked_copy to copy the host name.
1205         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1206         (gni_serv_local): Use checked_copy to copy the service name.
1207         (getnameinfo): Remove unnecessary truncation of result buffers.
1209 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1211         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1212         in case of inet_ntop failure.
1214 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1216         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1217         avoid long lines.
1218         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1219         variables.
1220         (gni_host_inet, gni_host_local): Add comment.
1221         (gni_host): Add comment.  Use temporary to avoid long lines.
1223 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1225         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1226         registers specifiers where general purpose registers specifiers should
1227         have been used.
1229 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1231         [BZ #19779]
1232         CVE-2016-1234
1233         Avoid copying names of directory entries.
1234         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1235         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1236         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1237         (struct readdir_result): New type.
1238         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1239         (GL_READDIR): New macros.
1240         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1241         (convert_dirent, convert_dirent64): New functions.
1242         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1243         convert_dirent64.  Adjust references to the readdir result.
1244         * sysdeps/unix/sysv/linux/i386/glob64.c:
1245         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1246         * posix/bug-glob2.c (LONG_NAME): Define.
1247         (filesystem): Add LONG_NAME.
1248         (my_DIR): Increase the size of room_for_dirent.
1250 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1252         [BZ #20041]
1253         * misc/sys/select.h (__need_timespec): Only define if
1254         [__USE_XOPEN2K].
1255         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1256         variable.
1257         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1258         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1259         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1261 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1262             Segher Boessenkool  <segher@gcc.gnu.org>
1264         [BZ #20004]
1265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1266         (__novec_swapcontext): Add missing load.
1268 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #20023]
1271         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1272         <time.h>.
1273         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1274         variable.
1275         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1277 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1280         flags CLONE_VM compare.
1282 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1284         [BZ #20031]
1285         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1286         completely empty.
1288 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1290         [BZ #19573]
1291         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1292         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1293         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1294         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1295         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1296         (hesiod_free_list): Mark as hidden.
1297         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1298         res_set, res_get.
1299         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1300         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1301         (hesiod_init): Remove obsolete res_ninit call.
1302         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1303         (hesiod_bind): Do not call init.
1304         (get_txt_records): Use res_mkquery, res_send instead of
1305         res_nmkquery, res_nsend.
1306         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1307         instead of _nss_hesiod_init.
1308         (_nss_hesiod_initgroups_dyn): Likewise.
1309         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1310         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1311         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1313 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1315         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1316         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1318 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1320         * hesiod/hesiod.h: Remove RCS keyword.
1321         * hesiod/hesiod_p.h: Likewise.
1323         * hesiod/hesiod.c: Likewise.
1325 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1327         [BZ #12450]
1328         * locale/iso-639.def: Add Samogitian/sgs.
1330 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1332         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1334         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1336 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1337             Carlos O'Donell  <carlos@redhat.com>
1339         [BZ #19072]
1340         * grp/Makefile (headers): Add grp-merge.h
1341         (routines): Add grp-merge.
1342         * grp/getgrgid_r.c: Include grp-merge.h.
1343         (DEEPCOPY_FN): Define.
1344         (MERGE_FN): Define.
1345         * grp/getgrname_r.c: Include grp-merge.h.
1346         (DEEPCOPY_FN): Define.
1347         (MERGE_FN): Define.
1348         * grp/grp-merge.c: New file.
1349         * grp/grp-merge.h: New file.
1350         * include/grp-merge.h: New file.
1351         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1352         __copy_grp@GLIBC_PRIVATE.
1353         * manual/nss.texi (Actions in the NSS configuration): Describe
1354         return, continue, and merge.
1355         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1356         (DEEPCOPY_FN): Define.
1357         (MERGE_FN): Define.
1358         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1359         (DEEPCOPY_FN): Define.
1360         (MERGE_FN): Define.
1361         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1362         [!MERGE_FN]: Define __merge_einval.
1363         (CHECK_MERGE): Define.
1364         (REENTRANT_NAME): Process merge if do_merge is true.
1365         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1366         (__nss_getent_r): Likewise.
1367         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1368         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1370 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1372         [BZ #20012]
1373         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1374         length to calculate the buffer to read.
1375         (fmemopen_write): Set the buffer position based on bytes written.
1376         (fmemopen_seek): Return EINVAL for invalid whence modes.
1378         [BZ #19957]
1379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1380         tst-getpid2.
1381         (test): Add tst-clone2.
1382         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1383         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1384         pid/tid fields for CLONE_VM.
1385         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1386         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1387         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1388         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1389         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1390         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1391         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1392         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1394         Likewise.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1396         Likewise.
1397         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1398         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1399         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1400         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1401         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1402         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1403         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1404         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1406 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1408         [BZ #19642]
1409         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1410         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1411         (gni_serv_local, gni_serv): New functions extracted from
1412         getnameinfo.
1413         (getnameinfo): Call gni_host and gni_serv to perform the
1414         processing.  Always free scratch buffer.
1416 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1418         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1419         remaining bytes in the dest string, with zeros.
1421 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1423         [BZ #20010]
1424         CVE-2016-3706
1425         * sysdeps/posix/getaddrinfo.c
1426         (convert_hostent_to_gaih_addrtuple): New function.
1427         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1428         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1429         AF_INET data.
1431 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1433         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1434         callback function gl_readdir.
1435         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1436         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1437         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1438         memcpy to copy the name.
1439         * manual/pattern.texi (Calling Glob): Document requirements for
1440         implementations of the gl_readdir callback function.
1441         * manual/examples/mkdirent.c: New example.
1442         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1443         per the manual guidance.
1444         * posix/tst-gnuglob.c (my_readdir): Likewise.
1446 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1448         [BZ #20014]
1449         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1450         not [__USE_POSIX].
1451         (getchar_unlocked): Likewise.
1452         (putc_unlocked): Likewise.
1453         (putchar_unlocked): Likewise.
1454         (flockfile): Likewise.
1455         (ftrylockfile): Likewise.
1456         (funlockfile): Likewise.
1457         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1458         variable.
1459         (test-xfail-XPG4/stdio.h/conform): Likewise.
1461         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1462         Expect constant.
1463         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1464         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1465         variable.
1466         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1467         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1469         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1470         [__USE_LARGEFILE64] (off64_t): Likewise.
1471         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1472         variable.
1474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1476         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1478 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1480         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1481         * resolv/res_init.c: Likewise.
1482         * resolv/res_mkquery.c: Likewise.
1484 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1486         * resolv/res_init.c (isascii): Do not define.  Use definition in
1487         <ctype.h>.
1488         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1489         (LOG_AUTH): Remove.
1490         (SPRINTF): Remove, adjust caller.
1491         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1493 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1495         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1496         SUNSECURITY conditional.
1497         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1499 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1501         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1502         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1503         Remove BSD-related preprocessor conditionals.
1504         * conf/portability.h: Remove.
1506 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1508         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1509         * resolv/res_data.c: Likewise.
1511 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1513         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1514         * resolv/res_data.c: Remove code conditional on ultrix.
1516 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1518         * resolv/res_init.c (RFC1535): Do not define.  Remove
1519         RFC1535 preprocessor conditionals.
1520         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1521         because there configuration options which make the resolver
1522         behavior different.
1524 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1526         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1527         RESOLVSORT preprocessor conditionals.
1528         * resolv/nss_dns/dns-host.c: Likewise.
1529         * resolv/res_init.c: Likewise.
1531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1533         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1534         is never defined.
1536 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1538         * inet/inet_lnaof.c: Remove SCSS keyword.
1539         * inet/inet_mkadr.c: Likewise.
1540         * inet/inet_net.c: Likewise.
1541         * inet/inet_netof.c: Likewise.
1542         * inet/rcmd.c: Likewise.
1543         * inet/rexec.c: Likewise.
1544         * inet/ruserpass.c: Likewise.
1546 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1548         * resolv/inet_addr.c: Remove _LIBC conditionals.
1549         * resolv/res_data.c: Likewise.
1550         * resolv/res_init.c: Likewise.
1551         * resolv/res_mkquery.c: Likewise.
1552         * resolv/res_libc.c: Update comment.
1553         * resolv/README: Update.
1555 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1557         * resolv/gethnamaddr.c: Remove SCSS keyword.
1558         * resolv/herror.c: Likewise.
1559         * resolv/inet_addr.c: Likewise.
1560         * resolv/inet_net_ntop.c: Likewise.
1561         * resolv/inet_net_pton.c: Likewise.
1562         * resolv/inet_neta.c: Likewise.
1563         * resolv/inet_ntop.c: Likewise.
1564         * resolv/inet_pton.c: Likewise.
1565         * resolv/ns_date.c: Remove RCS keyword.
1566         * resolv/ns_name.c: Likewise.
1567         * resolv/ns_netint.c: Likewise.
1568         * resolv/ns_parse.c: Likewise.
1569         * resolv/ns_print.c: Likewise.
1570         * resolv/ns_samedomain.c: Likewise.
1571         * resolv/ns_ttl.c: Likewise.
1572         * resolv/nsap_addr.c: Likewise.
1573         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1574         * resolv/res_data.c: Remove RCS keyword.
1575         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1576         * resolv/res_init.c: Likewise.
1577         * resolv/res_mkquery.c: Likewise.
1578         * resolv/res_query.c: Likewise.
1579         * resolv/res_send.c: Likewise.
1581 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1583         * conform/data/stdio.h-data (fdopen): Expect also for
1584         [XPG3 || XPG4].
1586         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1587         (fseeko): Likewise.
1588         (ftello): Likewise.
1589         (ftrylockfile): Likewise.
1590         (funlockfile): Likewise.
1591         (getc_unlocked): Likewise.
1592         (getchar_unlocked): Likewise.
1593         (putc_unlocked): Likewise.
1594         (putchar_unlocked): Likewise.
1596 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1598         [BZ #19868]
1599         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1600         DNS packet syntax checks (which were not needed before).  Skip
1601         over non-PTR records.
1603 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1605         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1606         definition.  Include <stddef.h> instead.
1608 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1610         [BZ #19831]
1611         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1612         function.
1613         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1614         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1616 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1618         [BZ #19862]
1619         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1620         (getanswer_r): Do not call syslog.
1621         (gaih_getanswer_slice): Likewise.
1622         * resolv/gethnamaddr.c (AskedForGot): Remove.
1623         (getanswer): Do not call syslog.
1624         (gethostbyaddr): Likewise.
1626 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1628         * conform/data/signal.h-data (union sigval): Expect also if
1629         [XOPEN2K].
1630         (struct sigevent): Likewise.
1631         (SIGEV_NONE): Likewise.
1632         (SIGEV_SIGNAL): Likewise.
1633         (SIGEV_THREAD): Likewise.
1634         (SIGRTMIN): Likewise.
1635         (SIGRTMAX): Likewise.
1636         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1637         variable.
1638         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1640 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1642         [BZ #19830]
1643         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1644         (gaih_getanswer_slice): Likewise.
1645         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1646         Also check for availability of RR metadata.
1648 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1650         [BZ #19825]
1651         * resolv/res_send.c (send_vc): Remove early *resplen2
1652         initialization.  Set *resplen2 on socket error.  Call
1653         close_and_return_error for other errors.
1655 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1657         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1658         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1659         (SCM_IUCV_TRGCLS): New define.
1661 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1663         [BZ #20005]
1664         * libio/fmemopen.c (fmemopen_write): Update internal position after
1665         write.
1666         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1667         * stdio-common/tst-fmemopen4.c: New file..
1669 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1671         [BZ #19996]
1672         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1673         not [__USE_XOPEN2K].
1674         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1675         variable.
1677         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1678         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1679         variable.
1681         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1682         [__USE_XOPEN2K8].
1683         [__USE_LARGEFILE64] (off64_t): Likewise.
1684         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1685         variable.
1687 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1689         [BZ #19989]
1690         * libio/stdio.h (cuserid): Do not declare if
1691         [__USE_XOPEN2K && !__USE_GNU].
1692         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1693         variable.
1695 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1697         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1698         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1700         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1701         ifunc'ed strcspn.
1702         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1703         [EALIGN]: Removed.
1704         [END]: Likewise
1705         [STRSPN]: Define instead of the above to control symbol name.
1706         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1707         New file.
1708         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1709         Likewise.
1710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1711         Likewise.
1712         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1713         Likewise.
1714         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1715         [INITIAL_MASK]: New macro.
1716         [STRCSPN]: Likewise.
1717         [UPDATE_MASK]: Likewise.
1718         [USE_AS_STRCSPN]: Lisewise.
1720 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1722         [BZ #19931]
1723         * stdio-common/tst-vfprintf-width-prec.c: New file.
1724         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1725         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1726         (generated): Add mtrace-related files.
1727         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1728         (tst-%-mem.out): New pattern rule, replaces
1729         tst-printf-bz18872-mem.out.
1730         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1731         specifier, deallocate any previously allocated work buffer.
1733 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1735         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1736         Add nop before __startcontext, add explaining comments.
1738 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1740         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1741         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1742         completely different API.
1744         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1745         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1746         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1747         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1748         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1749         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1750         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1751         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1752         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1753         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1755 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1757         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1759 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1761         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1762         when it is the default of 0.
1764 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1767         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1768         (sysdep_routines): Add new strcasestr targets.
1769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1770         (__libc_ifunc_impl_list): Likewise.
1771         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1772         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1773         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1774         * sysdeps/powerpc/powerpc64/power8/Makefile:
1775         New file to add strcasestr-ppc64 to sysdep_routines.
1776         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1777         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1779 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1781         * benchtests/Makefile (wcsmbs-benchset): Include only for
1782         native builds and runs.
1783         (LOCALES): Likewise.
1784         (bench-build): Build timing-type here instead of the bench
1785         target.  Generate locale only for native builds.
1786         * benchtests/README: Add note for cross-building.
1788         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1790         * benchtests/README: Update README to include instructions on
1791         using bench-build.
1793         * Makefile.in (bench-build): New target.
1794         * Rules (PHONY): Add bench-build target.
1795         * benchtests/Makefile (bench): Depend on bench-build.
1796         (bench-build): New target.
1798 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1800         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1801         profil_reply_port.
1802         (profile_waiter): Do not initialize profil_reply_port.
1803         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1804         frequency instead of tick length in us.
1806 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1808         [BZ #18712]
1809         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1810         (__old_mempcpy_small): Likewise.
1811         (__old_strcpy_small): Likewise.
1812         (__old_stpcpy_small): Likewise.
1813         (__old_strpbrk_c2): Fix compat symbol name.
1814         (__old_strpbrk_c3): Likewise.
1815         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1816         (__mempcpy_small): Remove.
1817         (__strcpy_small): Remove.
1818         (__stpcpy_small): Remove.
1820 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1822         [BZ #19400]
1823         * locale/iso-639.def: Add the Talossan/tzl language.
1825 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1827         [BZ #16983]
1828         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1829         comment.  Add "ln" to strchr check on postal_fmt.
1831 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1833         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1834         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1835         tel_dom_fmt.
1837 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1839         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1840         (sysdep_routines): Added __strlen_power8.
1841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1842         __strlen_power8 entry.
1843         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1844         Implementation for POWER8.
1845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1846         for __strlen_power8.
1847         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1848         Implementation for POWER8.
1850 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1852         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1854 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1856         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1857         Goldmont and Airmont processors.
1859 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1861         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1862         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1863         (__STRING2_SMALL_GET32): Remove.
1864         (memset): Remove.
1865         (__memset_1): Remove.
1866         (__memset_gc): Remove.
1867         (__mempcpy): Remove.
1868         (mempcpy): Remove.
1869         (__mempcpy_args): Remove.
1870         (strchr): Remove.
1871         (strcpy): Remove.
1872         (strcpy_args): Remove.
1873         (__stpcpy_args): Remove.
1874         (__strcmp_cc): Remove.
1875         (__strcmp_gc): Remove.
1876         (strstr): Remove.
1878 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1880         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1881         * nis/nis_call.c (nis_server_cache_add): Likewise.
1883 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1885         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1887 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1889         * malloc/arena.c (__malloc_fork_lock_parent)
1890         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1891         internal_function attribute.
1893 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1895         * stdio-common/printf_fp.c (__printf_fp_l):
1896         Rename ___printf_fp_l to __printf_fp_l and
1897         remove strong alias. Use libc_hidden_def instead
1898         of ldbl_hidden_def macro.
1900 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1902         Remove malloc hooks from fork handler.  They are no longer needed
1903         because malloc runs right before fork, and no malloc calls from
1904         other fork handlers are not possible anymore.
1905         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1906         declarations.
1907         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1908         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1909         (atfork_recursive_cntr): Remove.
1910         (__malloc_fork_lock_parent): Do not override malloc hooks and
1911         thread_arena.
1912         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1913         thread_arena.
1914         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1915         thread_arena instead of save_arena.
1917 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1919         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1920         (thread_atfork, thread_atfork_static): Remove.
1921         * sysdeps/mach/hurd/malloc-machine.h:
1922         (thread_atfork, thread_atfork_static): Remove.
1924 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1926         [BZ #19431]
1927         Run the malloc fork handler as late as possible to avoid deadlocks.
1928         * malloc/malloc-internal.h: New file.
1929         * malloc/malloc.c: Include it.
1930         * malloc/arena.c (ATFORK_MEM): Remove.
1931         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1932         Update comment.
1933         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1934         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1935         Remove outdated comment.
1936         (ptmalloc_init): Do not call thread_atfork.  Remove
1937         thread_atfork_static.
1938         * malloc/tst-malloc-fork-deadlock.c: New file.
1939         * Makefile (tests): Add tst-malloc-fork-deadlock.
1940         (tst-malloc-fork-deadlock): Link against libpthread.
1941         * manual/memory.texi (Aligned Memory Blocks): Update safety
1942         annotation comments.
1943         * sysdeps/nptl/fork.c (__libc_fork): Call
1944         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1945         __malloc_fork_unlock_child.
1946         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1948 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1950         [BZ #19613]
1951         Remove union wait.
1952         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1953         (w_stopsig, w_stopval): Remove.
1954         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1955         stat_loc argument.
1956         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1957         (__WAIT_STATUS_DEFN): Remove.
1958         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1959         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1960         (wait, wait3, wait4): Use int * for the stat_loc argument.
1961         * posix/wait.c (__wait): Likewise.
1962         * posix/wait3.c (__wait3): Likewise.
1963         * posix/wait4.c (__wait4): Likewise.
1964         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1965         (__WAIT_STATUS_DEFN): Remove.
1966         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1967         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1968         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1969         argument.
1970         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1971         * sysdeps/posix/wait3.c (__wait3): Likewise.
1972         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1973         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1974         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1975         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1976         stat_loc argument.
1977         * manual/process.texi (BSD Wait Functions): Remove union wait.
1979 2016-04-13  Andreas Schwab  <schwab@suse.de>
1981         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1982         (test-extras): Add tst-tlsalign-vars.
1983         * math/Makefile: Wrap long lines.
1984         (libm-vec-test-wrappers): Define.
1985         (test-extras): Add $(libm-vec-test-wrappers).
1986         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1987         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1988         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1989         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1990         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1991         (extra-test-objs): Add corresponding objects.
1993 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1995         [BZ #19928]
1996         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1997         New.
1998         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1999         times of shared cache size.
2000         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2001         (VMOVNT): New.
2002         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2003         (VMOVNT): Likewise.
2004         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2005         (VMOVNT): Likewise.
2006         (VMOVU): Changed to movups for smaller code sizes.
2007         (VMOVA): Changed to movaps for smaller code sizes.
2008         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2009         comments.
2010         (PREFETCH): New.
2011         (PREFETCH_SIZE): Likewise.
2012         (PREFETCHED_LOAD_SIZE): Likewise.
2013         (PREFETCH_ONE_SET): Likewise.
2014         Rewrite to use forward and backward loops, which move 4 vector
2015         registers at a time, to support overlapping addresses and use
2016         non temporal store if size is above the threshold and there is
2017         no overlap between destination and source.
2019 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2021         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2022         Include dl-vdso.
2023         * sysdeps/unix/sysv/linux/mips/Versions: Add
2024         __vdso_clock_gettime.
2025         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2026         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2027         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2028         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2029         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2030         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2031         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2032         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2033         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2035 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2037         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2038         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2041         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2042         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2045         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2047         syscalls generation.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2049         [__NR_pwrite64] (__NR_write): Remove define.
2050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2051         [__NR_pwrite64] (__NR_write): Remove define.
2052         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2053         Remove define.
2054         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2055         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2056         Remove define.
2057         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2058         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2059         Linux implementation as base.
2060         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2062         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2063         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2068         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2070         syscall generation.
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2072         [__NR_pread64] (__NR_pread): Remove define.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2074         [__NR_pread64] (__NR_pread): Likewise.
2075         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2076         define.
2077         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2078         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2079         Remove define.
2080         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2081         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2082         Linux implementation as base.
2083         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2084         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2085         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2087         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2088         definition.
2089         (__ALIGNMENT_COUNT): Likewise.
2090         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2091         (__ALIGNMENT_COUNT): Likewise.
2092         (SYSCALL_LL): New define.
2093         (SYSCALL_LL64): Likewise.
2094         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2095         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2096         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2097         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2100         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2102         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2104         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2106 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2108         [BZ #19865]
2109         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2110         original buffer before retry.
2112 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2114         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2115         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2116         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2117         GLRO(dl_auxv) list.
2118         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2119         including <ldsodefs.h>.
2120         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2122 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2124         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2125         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2126         $(CPPFLAGS).
2128 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2130         [BZ #17950]
2131         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2132         Add -mfpmath=387.
2134 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2136         * sysdeps/i386/configure.ac: Change == to = when calling test.
2137         * sysdeps/x86_64/configure.ac: Likewise.
2138         * sysdeps/i386/configure: Regenerated.
2139         * sysdeps/x86_64/configure: Likewise.
2141 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2143         [BZ #16137]
2144         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2145         * benchtests/bench-strcoll.c (input_files): Likewise.
2146         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2147         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2148         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2150 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2152         [BZ #19929]
2153         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2154         [__USE_XOPEN2K8 && !__USE_GNU].
2155         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2156         variable.
2158         [BZ #19925]
2159         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2160         define if [!__USE_MISC && __USE_XOPEN2K].
2161         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2162         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2163         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2164         Likewise.
2165         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2166         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2167         variable.
2168         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2170 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2172         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2173         (sysdep_routines): Add new strspn targets.
2174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2175         (__libc_ifunc_impl_list): Add strspn.
2176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2177         New file.
2178         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2179         Likewise.
2180         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2181         Likewise.
2182         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2183         Likewise.
2185 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2187         * misc/hsearch_r.c: Include <limits.h>.
2189 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2191         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2193 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2195         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2196         (MEMCPY_SYMBOL): New.
2197         (MEMPCPY_SYMBOL): Likewise.
2198         (MEMMOVE_CHK_SYMBOL): Likewise.
2199         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2200         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2201         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2202         Provide alias for memcpy in libc.a and ld.so.
2204 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2206         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2207         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2208         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2209         Disabled fro now.
2210         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2211         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2213 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2215         * benchtests/Makefile (string-benchset): Add memcpy-large,
2216         memmove-large and memset-large.
2217         * benchtests/bench-memcpy-large.c: New file.
2218         * benchtests/bench-memmove-large.c: Likewise.
2219         * benchtests/bench-memmove-large.c: Likewise.
2220         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2222 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2224         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2225         32-bit displacement to avoid long nop between instructions.
2227 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2229         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2230         a comment on VMOVU and VMOVA.
2232 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2234         [BZ #19633]
2235         Use specified locale for number formatting in strfmon_l.
2236         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2237         (__nl_lookup_word): New inline functions.
2238         * include/printf.h (__print_fp_l): Declare.
2239         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2240         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2241         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2242         (___printf_fp): New function.
2243         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2244         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2245         * stdlib/tst-strfmon_l.c (do_test): New test.
2246         * stdlib/Makefile (tests): Add kt.
2247         (LOCALES): Build additional locales.
2248         (tst-strfmon_l.out): Require locales.
2250 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2252         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2253         if not in libc.
2254         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2255         Likewise.
2256         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2257         Likewise.
2258         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2259         Likewise.
2261 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2263         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2264         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2265         with unaligned_erms.
2266         (__memmove_erms): Skip if source == destination.
2267         (__memmove_unaligned_erms): Don't check source == destination
2268         first.
2270 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2272         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2273         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2275 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2277         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2278         * string/strspn.c (strspn): Likewise.
2280 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2282         * benchtests/bench-memset.c (do_test): Support 64-byte
2283         alignment.
2284         (test_main): Test 64-byte alignment.
2286 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2288         * benchtests/bench-memmove.c (test_main): Test 64-byte
2289         alignment.
2291 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2293         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2295 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2297         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2298         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2299         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2301         * string/strpbrk.c (strpbrk): Rewrite function.
2302         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2303         (__strpbrk_c2): Likewise.
2304         (__strpbrk_c3): Likewise.
2305         * string/string-inlines.c
2306         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2307         Likewise.
2308         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2309         Likewise.
2311         * string/strspn.c (strcspn): Rewrite function.
2312         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2313         (__strspn_c1): Remove inline function.
2314         (__strspn_c2): Likewise.
2315         (__strspn_c3): Likewise.
2316         * string/string-inlines.c
2317         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2318         compatibility symbol.
2319         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2320         Likewise.
2321         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2322         Likewise.
2323         * string/string-inlines.c: Include generic version.
2325 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2326             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2328         * string/Version (libc): Add GLIBC_2.24.
2329         * string/strcspn.c (strcspn): Rewrite function.
2330         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2331         (__strcspn_c1): Remove inline function.
2332         (__strcspn_c2): Likewise.
2333         (__strcspn_c3): Likewise.
2334         * string/string-inline.c
2335         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2336         compatibility symbol.
2337         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2338         Likewise.
2339         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2340         Likewise.
2341         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2343 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2345         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2346         Use ahi instead of aghi to adjust stack pointer.
2348 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2350         [BZ #19853]
2351         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2352         TEST to take significant digits as second parameter.
2353         [TEST]: Redefine in terms of TEST_N taking 30
2354         significant digits.
2355         (do_test): Add test case to demonstrate precision
2356         failure in the ldbl-128ibm printf.
2357         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2358         (__mpn_extract_long_double): Carry 7 extra intermediate
2359         bits of precision to aide computing difference when
2360         signs differ.
2362 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2364         [BZ #19881]
2365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2366         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2367         memset-avx512-unaligned-erms.
2368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2369         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2370         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2371         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2372         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2373         __memset_sse2_unaligned_erms, __memset_erms,
2374         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2375         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2376         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2377         file.
2378         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2379         Likewise.
2380         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2381         Likewise.
2382         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2383         Likewise.
2385 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2387         [BZ #19776]
2388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2389         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2390         memmove-avx512-unaligned-erms.
2391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2392         (__libc_ifunc_impl_list): Test
2393         __memmove_chk_avx512_unaligned_2,
2394         __memmove_chk_avx512_unaligned_erms,
2395         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2396         __memmove_chk_sse2_unaligned_2,
2397         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2398         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2399         __memmove_avx512_unaligned_erms, __memmove_erms,
2400         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2401         __memcpy_chk_avx512_unaligned_2,
2402         __memcpy_chk_avx512_unaligned_erms,
2403         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2404         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2405         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2406         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2407         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2408         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2409         __mempcpy_chk_avx512_unaligned_erms,
2410         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2411         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2412         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2413         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2414         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2415         __mempcpy_erms.
2416         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2417         file.
2418         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2419         Likwise.
2420         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2421         Likwise.
2422         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2423         Likwise.
2425 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2427         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2428         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2429         (La_s390_64_regs): Likewise.
2430         (La_s390_32_retval): Append vector register lrv_v24.
2431         (La_s390_64_retval): Likeweise.
2432         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2433         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2434         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2435         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2437 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2439         [BZ #19916]
2440         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2441         to create a non-vector/vector version for _dl_runtime_resolve and
2442         _dl_runtime_profile. Move implementation to ...
2443         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2444         (_dl_runtime_resolve) Save and restore fpr/vrs.
2445         (_dl_runtime_profile) Save and restore vrs and fix some issues
2446         if _dl_call_pltexit is called.
2447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2448         Choose the correct resolver function if running on a machine with vx.
2449         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2450         to create a non-vector/vector version for _dl_runtime_resolve and
2451         _dl_runtime_profile. Move implementation to ...
2452         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2453         (_dl_runtime_resolve) Save and restore fpr/vrs.
2454         (_dl_runtime_profile) Save and restore vrs and fix some issues
2455         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2456         Choose the correct resolver function if running on a machine with vx.
2458 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2460         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2462 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2464         [BZ #19509]
2465         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2466         skip_map != NULL.
2467         * elf/tst-dlsym-error.c: New file.
2468         * elf/Makefile (tests): Add tst-dlsym-error.
2469         (tst-dlsym-error): Link against libdl.
2471 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2474         (__ASSUME_FUTIMESAT): Remove macro.
2475         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2477 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2479         [BZ #19879]
2480         CVE-2016-3075
2481         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2482         copy name.
2484 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2486         [BZ #19837]
2487         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2488         error if parse_line fails.
2490 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2492         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2493         (index_cpu_ERMS): Likewise.
2494         (reg_ERMS): Likewise.
2496 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2498         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2499         PER_LINUX_FDPIC): Add.
2501 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2504         memcpy-avx512-no-vzeroupper.
2505         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2506         to ...
2507         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2508         (MEMCPY): Don't define.
2509         (MEMCPY_CHK): Likewise.
2510         (MEMPCPY): Likewise.
2511         (MEMPCPY_CHK): Likewise.
2512         (MEMPCPY_CHK): Renamed to ...
2513         (__mempcpy_chk_avx512_no_vzeroupper): This.
2514         (MEMPCPY_CHK): Renamed to ...
2515         (__mempcpy_chk_avx512_no_vzeroupper): This.
2516         (MEMCPY_CHK): Renamed to ...
2517         (__memmove_chk_avx512_no_vzeroupper): This.
2518         (MEMCPY): Renamed to ...
2519         (__memmove_avx512_no_vzeroupper): This.
2520         (__memcpy_avx512_no_vzeroupper): New alias.
2521         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2523 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2525         [BZ #18858]
2526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2527         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2528         and mempcpy-avx512-no-vzeroupper.
2529         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2530         New.
2531         (MEMPCPY): Likewise.
2532         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2533         (MEMPCPY_CHK): New.
2534         (MEMPCPY): Likewise.
2535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2536         (MEMPCPY): Likewise.
2537         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2538         (MEMPCPY): Likewise.
2539         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2540         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2541         Likewise.
2542         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2543         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2545 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2546              Amit Pawar  <Amit.Pawar@amd.com>
2548         [BZ #19583]
2549         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2550         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2551         processors.  Set Fast_Copy_Backward for AMD Excavator
2552         processors.
2553         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2554         New.
2555         (index_arch_Fast_Unaligned_Copy): Likewise.
2556         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2557         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2559 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2561         [BZ #19791]
2562         * resolv/res_send.c (close_and_return_error): New function.
2563         (send_dg): Initialize *resplen2 after reopen failure.  Call
2564         close_and_return_error for error returns.  On error paths without
2565         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2566         successful return.
2568 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2570         [BZ# 19860]
2571         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2572         zero if the compiler does not provide the AVX512F bit.
2574 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2576         [BZ #19848]
2577         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2578         from 8 to 4.
2579         (__ieee754_powl): Compare integer exponent against 4 not 8.
2580         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2581         from 8 to 4.
2582         (__ieee754_powl): Compare integer exponent against 4 not 8.
2583         * math/auto-libm-test-in: Add more tests of pow.
2584         * math/auto-libm-test-out: Regenerated.
2585         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2588 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2590         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2591         Make code unconditional.
2592         [!__NR_utimensat]: Remove conditional code.
2593         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2594         Make code unconditional.
2595         [!__NR_utimensat]: Remove conditional code.
2596         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2597         Make code unconditional.
2598         [!__NR_utimensat]: Remove conditional code.
2600 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2602         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2603         Make code unconditional.
2605 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2607         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2608         call-clobbered %eax on retry path.
2609         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2611 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2613         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2614         Don't set %rcx twice before "rep movsb".
2616 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2618         [BZ #19583]
2619         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2620         inline.  Check family before setting family, model and
2621         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2622         bits here.
2623         (init_cpu_features): Replace HAS_CPU_FEATURE and
2624         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2625         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2626         for Intel processors with usable AVX2.  Call get_common_indeces
2627         for other processors with family == NULL.
2628         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2629         (CPU_FEATURES_ARCH_P): Likewise.
2630         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2631         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2633 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2635         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2636         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2637         $(shared-thread-library) instead of hardcoding the path to libpthread.
2639 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2641         * sysdeps/unix/sysv/linux/kernel-features.h
2642         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2643         * sysdeps/unix/sysv/linux/getdents.c
2644         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2645         [!have_no_getdents64_defined]: Likewise.
2646         (__GETDENTS): Remove __have_no_getdents64 conditional.
2648 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2651         Remove macro.
2652         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2653         <kernel-features.h>.
2654         (signalfd) [__NR_signalfd4]: Make code unconditional.
2655         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2657 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2659         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2660         style.
2662 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2664         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2665         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2666         __pthread_unwind.
2667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2668         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2670         (__condvar_cleanup1): Likewise.
2672 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2674         [BZ #19822]
2675         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2676         move it to the final $@ location.
2678 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2680         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2681         access where posix_spawn success and pid argument is null.
2682         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2683         success case.
2685 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2687         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2689         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2691         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2692         and __fcntl.
2693         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2694         __fcntl only.
2695         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2696         adding attribute_hidden to __open and __fcntl.
2698         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2699         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2700         depend on libc-modules.h,
2701         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2703 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2706         Remove macro.
2707         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2708         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2709         entry.
2711         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2712         Remove macro.
2713         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2714         include <kernel-features.h>.
2715         [!__ASSUME_FALLOCATE]: Remove conditional code.
2716         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2718 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2721         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2723         (_ZGVdN4v_cos_avx2): Likewise.
2724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2725         (_ZGVdN4v_cos): Likewise.
2726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2727         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2728         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2729         (_ZGVdN4v_exp_avx2): Likewise.
2730         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2731         (_ZGVdN4v_exp): Likewise.
2732         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2733         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2734         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2735         (_ZGVdN4v_log_avx2): Likewise.
2736         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2737         (_ZGVdN4v_log): Likewise.
2738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2739         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2741         (_ZGVdN4vv_pow_avx2): Likewise.
2742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2743         (_ZGVdN4vv_pow): Likewise.
2744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2745         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2747         (_ZGVdN4v_sin_avx2): Likewise.
2748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2749         (_ZGVdN4v_sin): Likewise.
2750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2751         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2753         (_ZGVdN4vvv_sincos_avx2): Likewise.
2754         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2755         (_ZGVdN4vvv_sincos): Likewise.
2756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2757         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2759         (_ZGVbN4v_cosf_sse4): Likewise.
2760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2761         (_ZGVdN8v_cosf_avx2): Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2763         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2764         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2765         (_ZGVbN4v_expf_sse4): Likewise.
2766         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2767         (_ZGVdN8v_expf_avx2): Likewise.
2768         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2769         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2770         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2771         (_ZGVbN4v_logf_sse4): Likewise.
2772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2773         (_ZGVdN8v_logf_avx2): Likewise.
2774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2775         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2777         (_ZGVbN4vv_powf_sse4): Likewise.
2778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2779         (_ZGVdN8vv_powf_avx2): Likewise.
2780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2781         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2783         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2785         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2787         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2789         (_ZGVbN4v_sinf_sse4): Likewise.
2790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2791         (_ZGVdN8v_sinf_avx2): Likewise.
2792         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2793         Use JUMPTARGET to call callee.
2794         (WRAPPER_IMPL_SSE2_ff): Likewise.
2795         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2796         (WRAPPER_IMPL_AVX): Likewise.
2797         (WRAPPER_IMPL_AVX_ff): Likewise.
2798         (WRAPPER_IMPL_AVX_fFF): Likewise.
2799         (WRAPPER_IMPL_AVX512): Likewise.
2800         (WRAPPER_IMPL_AVX512_ff): Likewise.
2801         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2802         Likewise.
2803         (WRAPPER_IMPL_SSE2_ff): Likewise.
2804         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2805         (WRAPPER_IMPL_AVX): Likewise.
2806         (WRAPPER_IMPL_AVX_ff): Likewise.
2807         (WRAPPER_IMPL_AVX_fFF): Likewise.
2808         (WRAPPER_IMPL_AVX512): Likewise.
2809         (WRAPPER_IMPL_AVX512_ff): Likewise.
2810         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2812 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2814         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2815         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2816         qualifier.
2817         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2818         internal_function qualifiers.
2820 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2822         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2823         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2824         * math/atest-exp.c (exp_mpn): Mark chk unused.
2825         * math/atest-exp2.c (exp_mpn): Likwise.
2826         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2827         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2829 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2832         Remove macro.
2833         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2834         <kernel-features.h>.
2835         [__NR_ppoll]: Make code unconditional.
2836         [!__ASSUME_PPOLL]: Remove conditional code.
2838         * sysdeps/unix/sysv/linux/kernel-features.h
2839         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2840         (__ASSUME_ACCEPT4): Likewise.
2841         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2842         Define.
2843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2844         Likewise.
2845         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2846         Likewise.
2847         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2848         Likewise.
2849         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2850         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2852         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2853         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2854         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2855         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2856         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2857         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2858         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2859         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2860         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2861         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2863         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2865         Likewise.
2866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2867         Likewise.
2868         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2869         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2870         0x040300].
2871         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2872         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2874         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2875         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2876         0x030300].
2877         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2878         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2879         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2880         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2881         0x040300].
2882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2884         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2885         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2887         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2888         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2889         0x030300].
2890         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2891         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2895         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2896         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2897         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2898         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2899         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2900         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2901         0x040300].
2902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2904         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2905         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2908         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2909         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2913         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2916         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2917         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2919         Likewise.
2920         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2921         Likewise.
2923 2016-03-15  Andreas Schwab  <schwab@suse.de>
2925         [BZ #19257]
2926         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2927         statp->_u._ext.nscount as loop count.
2929 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2931         * math/test-signgam-finite-c99.c: Also #undef
2932         __LIBC_INTERNAL_MATH_INLINES.
2933         * math/test-signgam-main.c: Likewise.
2935 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2937         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2938         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2939         (MADV_FREE): Likewise.
2940         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2941         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2942         EPOLLEXCLUSIVE.
2944 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2946         * timezone/README: Remove mention of checktab.awk. Mention wiki
2947         SharedSourceFiles.
2949 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2951         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2952         WUNTRACED.
2954 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2956         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2957         order to match the type of p when calling atomic_exchange_acq().
2959 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2961         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2962         cfi_offset calls.
2963         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2964         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2965         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2966         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2967         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2969 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2971         * timezone/checktab.awk: Removed.
2973 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2975         * manual/math.texi (Errors in Math Functions): Document relaxed
2976         accuracy goals for IBM long double.
2977         * math/libm-test.inc (test_exceptions): Always allow spurious
2978         "underflow" and "inexact" exceptions for IBM long double.
2980 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2982         [BZ #19762]
2983         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2984         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2985         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2986         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2987         (bit_arch_*): This for feature array.
2988         (bit_*): Renamed to ...
2989         (bit_cpu_*): This for cpu array.
2990         (index_*): Renamed to ...
2991         (index_arch_*): This for feature array.
2992         (index_*): Renamed to ...
2993         (index_cpu_*): This for cpu array.
2994         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2995         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2996         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2997         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2998         bit_##name with index_cpu_##name and bit_cpu_##name.
2999         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3000         bit_##name with index_arch_##name and bit_arch_##name.
3002 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3004         [BZ #19792]
3005         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3006         Terminate FDE before return label.
3008 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3010         [BZ #19790]
3011         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3012         (rintl): Define as macro.
3013         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3014         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3015         of fesetround.  Ensure results are evaluated before end of scope.
3016         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3017         USE_AS_NEARBYINTL and include s_rintl.c.
3018         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3019         Disable exception traps in new environment.
3020         (libc_feholdsetround_ppc_ctx): Likewise.
3022 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3024         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3025         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3026         (tst_audit10_aux) [__AVX512F__]: ... here.
3028 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3030         * include/sys/auxv.h: New file.
3032 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3034         [BZ #19759]
3035         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3037 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3039         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3040         operand modifier.
3041         (feclearexcept): Likewise.
3043 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3045         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3046         to reflect the entire 32-bit HWCAP.
3047         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3048         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3050 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3052         [BZ #19783]
3053         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3054         $(test-via-rtld-prefix).
3055         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3057 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3059         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3060         union wait.  Report any non-zero exit status as error.
3062 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3064         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3065         configured with --enable-hardcoded-path-in-tests.
3067 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3069         [BZ #19677]
3070         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3071         (__ieee754_remainderl): Put zero low parts in canonical form.
3072         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3073         file.  Based on
3074         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3075         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3076         with wrapper round test-fmodrem-ldbl-128ibm.c.
3077         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3078         file.
3079         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3080         Likewise.
3081         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3082         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3084 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3086         [BZ #19610]
3087         * elf/ldconfig.c (opt_link): Update comment.
3088         (options): Update help string for option -X.
3089         (search_dir): Unlink stale symbolic link only if updating symbolic
3090         links.
3091         * elf/tst-ldconfig-X.sh: New file.
3092         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3093         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3095 2016-03-07  Andreas Schwab  <schwab@suse.de>
3097         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3098         needed arguments.
3100 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3102         [BZ #15333]
3103         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3104         to lstat64.
3106 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3108         * libio/filedoalloc.c (isatty): Remove.
3109         (local_isatty): Add comment.  Call __isatty directly.
3110         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3111         * libio/wfiledoalloc.c (isatty): Remove.
3112         (_IO_wfile_doallocate): Update comment.
3114 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3116         [BZ #19269]
3117         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3118         tst-audit4-aux.o.
3119         (tst-audit10): Depend on tst-audit10-aux.o.
3120         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3121         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3122         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3123         instead of inline AVX code.
3124         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3125         instead of inline AVX512 code.
3126         * sysdeps/x86_64/tst-audit4-aux.c: New file
3127         * sysdeps/x86_64/tst-audit10-aux.c: New file
3129         [BZ #19648]
3130         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3132 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3134         [BZ #14750]
3135         [BZ #10354]
3136         [BZ #18433]
3137         * include/sched.h (__clone): Add hidden prototype.
3138         (__clone2): Likewise.
3139         * include/unistd.h (__dup): Likewise.
3140         * posix/Makefile (tests): Add tst-spawn2.
3141         * posix/tst-spawn2.c: New file.
3142         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3143         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3144         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3145         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3146         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3147         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3148         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3149         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3150         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3151         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3152         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3154         Likewise.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3156         Likewise.
3157         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3158         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3159         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3161         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3162         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3163         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3164         * sysdeps/unix/sysv/linux/nptl-signals.h
3165         (____nptl_is_internal_signal): New function.
3166         * sysdeps/unix/sysv/linux/spawni.c: New file.
3168         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3169         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3170         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3171         * posix/tst-execvp2.c (do_test): Likewise.
3172         * posix/tst-execvp3.c (do_test): Likewise.
3173         * posix/tst-execvp4.c (do_test): Likewise.
3174         * posix/tst-execvpe1.c: New file.
3175         * posix/tst-execvpe2.c: Likewise.
3176         * posix/tst-execvpe3.c: Likewise.
3177         * posix/tst-execvpe4.c: Likewise.
3178         * posix/tst-execvpe5.c: Likewise.
3179         * posix/tst-execvpe6.c: Likewise.
3181         [BZ #19534]
3182         * posix/execl.c (execl): Remove dynamic memory allocation.
3183         * posix/execle.c (execle): Likewise.
3184         * posix/execlp.c (execlp): Likewise.
3186 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3188         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3189         Replace .text with .text.avx512.
3190         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3191         Likewise.
3193 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3195         * sysdeps/generic/libnsl.abilist: New file.
3196         * sysdeps/generic/libutil.abilist: New file.
3198 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3200         [BZ #19762]
3201         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3202         HAS_ARCH_FEATURE with Fast_Rep_String.
3203         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3204         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3205         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3206         Likewise.
3207         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3208         Likewise.
3209         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3210         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3211         Likewise.
3212         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3213         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3214         Likewise.
3216 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3218         [BZ #19745]
3219         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3220         with *%rax in call.
3222 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3224         [BZ #19745]
3225         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3226         with *__libc_start_main@GOTPCREL(%rip) in call.
3228 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3230         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3231         inside conditional for nonempty $(CXX).
3233         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3234         nonempty.
3236         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3237         to test for empty $(CXX) rather than $(CXX) of "no".
3239 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3241         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3243 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3244             H.J. Lu  <hongjiu.lu@intel.com>
3246         [BZ #18880]
3247         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3248         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3249         enable __memcpy_ssse3_back.
3251 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3253         [BZ #19758]
3254         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3255         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3257 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3259         [BZ #19490]
3260         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3261         (__fentry__): Likewise.
3263 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3265         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3266         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3268 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3270         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3271         __mcount_internal directly.
3272         (C_LABEL(__fentry__)): Likewise.
3273         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3274         directly.
3276 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3278         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3279         (__start_context): Call __setcontext directly.
3281 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3284         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3285         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3286         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3288         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3289         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3290         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3291         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3292         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3293         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3294         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3295         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3296         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3297         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3299         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3301         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3302         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3303         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3305         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3306         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3307         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3308         Remove conditional code.
3309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3310         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3311         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3312         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3313         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3314         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3315         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3316         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3317         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3318         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3320         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3322 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3324         * NEWS (2.23): Fix typo in bug 19048 text.
3326 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3328         [BZ #14259]
3329         * Makeconfig: Rename msgcatdir to localedir.
3330         Rename inst_msgcatdir to inst_localedir.
3331         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3332         * config.make.in: Add localedir.
3333         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3334         (ldd-rewrite): Likewise.
3335         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3336         (install-others): Use inst_localedir.
3337         (CPPFLAGS): Use localedir.
3338         * locale/Makefile (locale-CPPFLAGS): Likewise.
3339         * po/Makefile (mo-installed): Use inst_localedir.
3341         [BZ #19575]
3342         * localedata/charmaps/GB18030: Update comments regarding PAU to
3343         non-PUA mappings.
3345 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3347         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3348         test for header.
3349         * sysdeps/unix/sysv/linux/configure: Regenerated.
3350         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3351         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3352         Remove conditional code.
3353         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3355         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3356         Define to 3.2.0.
3357         (arch_minimum_kernel): Likewise.
3358         * sysdeps/unix/sysv/linux/configure: Regenerated.
3359         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3360         Define to 2.6.32.
3361         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3362         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3363         (arch_minimum_kernel): Define to 2.6.32.
3364         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3365         * README: Document Linux 3.2 requirement.
3366         * manual/install.texi (Linux): Document Linux 3.2 headers
3367         requirement.
3368         * INSTALL: Regenerated.
3370 2016-02-24  Andreas Schwab  <schwab@suse.de>
3372         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3373         if !NO_LONG_DOUBLE.
3375 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3377         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3378         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3380 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3382         [BZ #19512]
3383         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3385 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3387         * posix/tst-dir.c: Include libc-internal.h.
3389 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3391         [BZ #19056]
3392         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3393         * manual/filesys.texi (Reading/Closing Directory): Mention
3394         deprecaion.
3395         * posix/tst-dir.c (main): Disable deprecation warning in test.
3397 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3399         [BZ #19679]
3400         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3401         Renamed to ...
3402         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3403         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3404         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3405         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3406         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3407         * sysdeps/x86_64/dl-trampoline.h
3408         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3409         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3411 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3413         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3415 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3417         * elf/elf.h (R_386_GOT32X): New.
3418         (R_386_NUM): Update.
3419         (R_X86_64_GOTPCRELX: New.
3420         (R_X86_64_REX_GOTPCRELX): New.
3421         (R_X86_64_NUM): Update.
3423 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3425         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3427 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3429         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3430         assign attr->stackaddr to it, and adjust it down when
3431         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3432         [_STACK_GROWS_UP]: Delete assert.
3433         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3434         Implement stack grows up logic.
3435         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3436         stack grows up logic.
3438 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3440         * NEWS: Update with 2.24 template.
3442 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #19678]
3445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3446         Ensure +0.0 is returned when taking the next value below the least
3447         positive value.
3449 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3451         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3452         available.  Do not define NO_THREADS.
3453         * malloc/malloc.c: Do not check NO_THREADS.
3454         * malloc/arena.c: Likewise.
3456 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3458         * malloc/malloc.c (__libc_mallinfo): Update comment.
3459         (struct malloc_par): Remove max_total_mem member, it was always 0.
3460         (int_mallinfo): Store 0 into usmblks (no functional change).
3461         * malloc/hooks.c (struct malloc_state): Document that
3462         max_total_mem is always 0.
3463         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3464         always 0.
3465         * manual/memory.texi (Statistics of Malloc): Likewise.
3467 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3469         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3470         * malloc/arena.c (arena_max): Remove.
3471         (heap_trim, _int_new_arena): Do not update arena_max.
3473 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3475         * resolv/res_init.c (res_ninit): Update comment.
3477 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3479         [BZ #19505]
3480         * posix/spawn_int.h: Add headers and include guard.
3481         (__spawn_valid_fd): New function.
3482         * posix/spawn_faction_addopen.c
3483         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3484         * posix/spawn_faction_addclose.c
3485         (posix_spawn_file_actions_addclose): Likewise.
3486         * posix/spawn_faction_adddup2.c
3487         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3488         second file descriptor.
3489         * posix/spawn_valid_fd.c: New file.
3490         * posix/tst-posix_spawn-fd.c: New file.
3491         * posix/Makefile (routines): Add spawn_valid_fd.
3492         (tests): Add tst-posix_spawn-fd.
3494 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3496         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3497         (do_test): Limit the number of arenas, so that we can use fewer
3498         outer threads.  Limit timeout to 3 seconds, in preparation for a
3499         larger TIMEOUT value.
3501 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3503         [BZ #19674]
3504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3505         sign in overflowing and underflowing results when overflow or
3506         underflow is detected early.  Include sign in result before rather
3507         than after scaling.
3509         [BZ #19603]
3510         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3511         (__ieee754_remainderl): Adjust sign of integer version of low part
3512         when taking absolute value of high part.
3513         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3514         * math/libm-test.inc (remainder_test_data): Add another test.
3515         (remquo_test_data): Likewise.
3517 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3519         [BZ #19602]
3520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3521         equal high parts and both low parts zero specially.
3522         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3523         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3524         Add test-fmodl-ldbl-128ibm.
3526         [BZ #19595]
3527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3528         common logic for all cases of shifting subnormal results.  Do not
3529         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3530         exponent to ldbl_insert_mantissa in subnormal case.
3532         [BZ #19594]
3533         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3534         on high and low parts then adjust result and use
3535         ldbl_canonicalize_int if needed.
3537         [BZ #19593]
3538         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3539         on high part and __floor or __ceil on low part then use
3540         ldbl_canonicalize_int if needed.
3542         [BZ #19592]
3543         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3544         high and low parts then use ldbl_canonicalize_int if needed.
3546         [BZ #17899]
3547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3548         New function.
3549         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3550         on high and low parts then use ldbl_canonicalize_int if needed.
3552 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3554         * configure: Regenerated.
3556         * po/libc.pot: Regenerated.
3558         * po/be.po: Updated translation.
3559         * po/bg.po: Likewise.
3560         * po/ca.po: Likewise.
3561         * po/cs.po: Likewise.
3562         * po/da.po: Likewise.
3563         * po/el.po: Likewise.
3564         * po/eo.po: Likewise.
3565         * po/es.po: Likewise.
3566         * po/fi.po: Likewise.
3567         * po/fr.po: Likewise.
3568         * po/gl.po: Likewise.
3569         * po/hr.po: Likewise.
3570         * po/hu.po: Likewise.
3571         * po/ia.po: Likewise.
3572         * po/id.po: Likewise.
3573         * po/it.po: Likewise.
3574         * po/ja.po: Likewise.
3575         * po/lt.po: Likewise.
3576         * po/nb.po: Likewise.
3577         * po/nl.po: Likewise.
3578         * po/pt_BR.po: Likewise.
3579         * po/rw.po: Likewise.
3580         * po/sk.po: Likewise.
3581         * po/sl.po: Likewise.
3582         * po/sv.po: Likewise.
3583         * po/tr.po: Likewise.
3584         * po/zh_CN.po: Likewise.
3585         * po/zh_TW.po: Likewise.
3587         * version.h (RELEAES): Set to "development".
3588         (VERSION): Set to 2.23.90.
3590         * version.h (RELEASE): Set to "stable".
3591         (VERSION): Set to 2.23.
3592         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3594         * NEWS: Updated fixed bugs.
3596 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3597             Wilco Dijkstra  <wdijkstr@arm.com>
3599         [BZ #19462]
3600         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3601         (_STRING_INLINE_unaligned): This.
3602         * include/string.h: Include <string_private.h>.
3603         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3604         _STRING_INLINE_unaligned.
3605         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3606         (_STRING_INLINE_unaligned): New.
3607         * sysdeps/aarch64/string_private.h: New file.
3608         * sysdeps/generic/string_private.h: Likewise.
3609         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3610         * sysdeps/s390/string_private.h: Likewise.
3611         * sysdeps/x86/string_private.h: Likewise.
3612         * sysdeps/m68k/m680x0/m68020/bits/string.h
3613         (_STRING_ARCH_unaligned): Renamed to ...
3614         (_STRING_INLINE_unaligned): This.
3615         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3616         to ...
3617         (_STRING_INLINE_unaligned): This.
3618         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3619         to ...
3620         (_STRING_INLINE_unaligned): This.
3621         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3622         to ...
3623         (_STRING_INLINE_unaligned): This.
3625 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3626             H.J. Lu  <hongjiu.lu@intel.com>
3628         [BZ #19590]
3629         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3630         relocation.
3632 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3634         [BZ #18665]
3635         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3636         *herrno_p.
3637         (gaih_getanswer): Document functional behviour. Return tryagain
3638         if any result is tryagain.
3639         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3640         when freed.
3641         * resolv/res_send.c: Add copyright text.
3642         (__libc_res_nsend): Document that MAXPACKET is expected.
3643         (send_vc): Document. Remove buffer reuse.
3644         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3645         size of the buffer. Add Dprint for truncated UDP buffer.
3647 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3649         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3650         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3651         * INSTALL: Regenerate.
3653 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3654             Jonathan Wakely  <jwakely@redhat.com>
3655             Carlos O'Donell  <carlos@redhat.com>
3657         [BZ 19439]
3658         * math/Makefile (tests): Add test-math-isinff.
3659         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3660         * math/bits/mathcalls.h [__USE_MISC]: Use
3661         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3662         functions not in C++11 and which don't conflict e.g. isinff,
3663         isinfl etc.
3664         * math/test-math-isinff.cc: New file.
3666 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3668         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3670 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3672         [BZ #19529]
3673         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3675 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3677         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3679 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3681         [BZ #19550]
3682         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3683         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3684         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3685         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3686         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3687         New syscall entry.
3688         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3689         New syscall entry.
3690         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3691         syscall entry.
3693 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3695         [BZ #18240]
3696         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3697         unsigned int wraparound.
3699 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3701         [BZ #18240]
3702         * misc/bug18240.c: New test.
3703         * misc/Makefile (tests): Add it.
3705 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3706             Joseph Myers  <joseph@codesourcery.com>
3708         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3709         load in branch delay slot when less than a word of input left.
3711 2016-01-27  Andreas Schwab  <schwab@suse.de>
3713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3715         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3716         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3718 2016-01-26  David S. Miller  <davem@davemloft.net>
3720         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3722 2016-01-25  David S. Miller  <davem@davemloft.net>
3724         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3725         __sqrtl_finite.
3726         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3727         instead using versioned_symbol.
3728         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3729         of entries.
3731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3732         __sqrtl_finite to GLIBC_2.23
3734 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3738 2016-01-25  Andreas Schwab  <schwab@suse.de>
3740         [BZ #17514]
3741         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3742         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3743         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3744         * nptl/tst-mutex-errorcheck.c: New file.
3746 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3748         [BZ #18560]
3749         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3750         (IPCOP_semop): Likewise.
3751         (IPCOP_semget): Likewise.
3752         (IPCOP_semctl): Likewise.
3753         (IPCOP_msgsnd): Likewise.
3754         (IPCOP_msgrcv): Likewise.
3755         (IPCOP_msgget): Likewise.
3756         (IPCOP_msgctl): Likewise.
3757         (IPCOP_shmat): Likewise.
3758         (IPCOP_shmdt): Likewise.
3759         (IPCOP_shmget): Likewise.
3760         (IPCOP_shmctl): Likewise.
3762 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3764         * string/tst-endian.c: Include <libc-internal.h>.
3765         (do_test): Ignore tautological-compare warnings around
3766         "htobeXX (beXXtoh (i)) != i" and
3767         "htoleXX (leXXtoh (i)) != i" if-statements.
3769 2016-01-24  David S. Miller  <davem@davemloft.net>
3771         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3772         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3773         alias.
3774         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3775         __sqrtl_finite.
3777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3779 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3781         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3782         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3783         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3785 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3787         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3788         (thread_func): Use new function to simplify barrier check.
3789         (do_test): Use new function to simplify checking barrier exit
3790         code, and actually join the child thread.
3792 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3794         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3795         semicolon.
3796         (__libc_tend): Likewise.
3797         (__libc_tabort): Likewise.
3799 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3801         * sysdeps/nios2/libm-test-ulps: Update.
3802         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3803         (__gtsf2): Likewise.
3804         (__unorddf2): Likewise.
3805         (__unordsf2): Likewise.
3806         (__ledf2): Likewise.
3808 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3810         * nis/nis_table.c (__follow_path): Disable diagnostic for
3811         uninitialized variable that is a false positive for gcc 4.7.
3812         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3814 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3816         * sysdeps/nacl/lowlevellock-futex.h
3817         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3818         Always evaluate PRIVATE argument.
3820 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3822         [BZ #19490]
3823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3824         (pthread_cond_broadcast): Use ENTRY/END
3825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3826         (pthread_cond_signal): Likewise.
3827         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3828         Likewise.
3829         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3830         Likewise.
3831         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3832         Likewise.
3834 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3836         * sysdeps/ieee754/dbl-64/s_finite.c
3837         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3838         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3839         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3841         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3844         (__gtsf2): Add as optional for libc.so.
3845         (__unordsf2): Likewise.
3846         (__signbit): Remove for libc.so.
3847         (__signbitl): Likewise.
3849 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3851         * iconvdata/bug-iconv11.c (test_ibm93x):
3852         Use %zu printf format specifier for size_t argument.
3854 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3856         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3857         already-recorded ulps.
3858         * sysdeps/arm/libm-test-ulps: Regenerated.
3859         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3860         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3861         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3863 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3864             Paul Pluzhnikov  <ppluzhnikov@google.com>
3866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3867         assembler not supporting AVX-512.
3869 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3873 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3880         * sysdeps/arm/libm-test-ulps: Regenerated.
3882 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3884         [BZ #19451]
3885         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3887 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3889         [BZ #19486]
3890         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3891         * sysdeps/generic/fix-fp-int-convert-overflow.h
3892         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3893         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3894         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3895         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3896         Likewise.
3897         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3898         Avoid conversions to long int where inexact exceptions
3899         could be raised.
3900         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3901         Likewise.
3902         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3903         Avoid conversions to long long int where inexact exceptions
3904         could be raised.
3905         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3906         Likewise.
3908 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3910         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3911         * configure: Regenerated.
3913 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3915         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3917 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3920         outside of comment.
3922 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3924         * nptl/tst-barrier1.c: Add description on first line.
3925         * nptl/tst-barrier2.c: Likewise.
3926         * nptl/tst-barrier3.c: Likewise.
3927         * nptl/tst-barrier4.c: Likewise.
3928         * nptl/tst-barrier5.c: Likewise.
3930 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3932         [BZ #18868]
3933         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3935 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3939         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3940         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3941         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3942         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3943         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3944         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3945         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3946         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3947         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3949 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3951         [BZ #13065]
3952         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3953         new implementation.
3954         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3955         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3956         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3957         (BARRIER_IN_THRESHOLD): New macro.
3958         * nptl/pthread_barrierattr_setpshared.c
3959         (pthread_barrierattr_setpshared): Clean up.
3960         * nptl/tst-barrier4.c: Correct comment.
3961         * nptl/tst-barrier5.c: New file.
3962         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3963         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3964         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3965         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3966         * nptl/lowlevelbarrier.sym: Remove.
3967         * nptl/DESIGN-barrier.txt: Remove.
3968         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3969         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3970         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3971         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3972         error.
3973         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3974         implementation.
3976 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3978         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3979         (do_child): Mask SIGRTMIN while thr is running.
3981 2016-01-15  Martin Sebor  <msebor@redhat.com>
3983         [BZ #19432]
3984         * iconvdata/Makefile: Add bug-iconv11.
3985         * iconvdata/bug-iconv11.c: New test.
3986         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3987         * iconvdata/ibm933.c: Same.
3988         * iconvdata/ibm935.c: Same.
3989         * iconvdata/ibm937.c: Same.
3990         * iconvdata/ibm939.c: Same.
3992 2016-01-15  Martin Sebor  <msebor@redhat.com>
3994         [BZ #19443]
3995         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3996         [DEBUG] (_ufc_set_bits): Declare used.
3997         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3998         [DEBUG] (print_all): Declare used.
3999         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4000         operands of the ternary ?: expression to target type.
4001         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4002         calling the undeclared abort.
4003         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4005 2016-01-15  Martin Sebor  <msebor@redhat.com>
4007         [BZ #18755]
4008         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4009         warnings.
4010         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4011         (__gai_create_helper_thread): Same.
4012         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4013         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4014         to suppress -Wmaybe-uninitialized warnings.
4016 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4018         [BZ #19465]
4019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4020         inside if.
4021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4022         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4025 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4027         [BZ #19466]
4028         * time/tst-mktime2.c (time_t_max): Removed.
4029         (time_t_min): Likewise.
4030         (TYPE_SIGNED): New.
4031         (TYPE_MINIMUM): Likewise.
4032         (TYPE_MAXIMUM): Likewise.
4033         (TIME_T_MIN): Likewise.
4034         (TIME_T_MAX): Likewise.
4035         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4036         and TIME_T_MIN.
4037         (do_test): Likewise.
4039 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4041         [BZ #19467]
4042         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4043         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4045 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4047         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4049 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4051         * benchtests/Makefile (PYTHON): Define.
4052         (bench-func): Use $(PYTHON) to run python scripts.
4053         ($(objpfx)bench-%.c): Likewise.
4055 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4057         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4058         leading slash when `file_name' is "/".
4060 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4062         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4063         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4064         Likewise.
4065         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4070         enum constant and macro.
4071         (PTRACE_SETSIGMASK): Likewise.
4072         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4073         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4074         (PTRACE_GETSIGMASK): Likewise.
4075         (PTRACE_SETSIGMASK): Likewise.
4076         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4077         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4078         Likewise.
4079         (PTRACE_SETSIGMASK): Likewise.
4080         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4081         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4082         (PTRACE_GETSIGMASK): Likewise.
4083         (PTRACE_SETSIGMASK): Likewise.
4084         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4086         Likewise.
4087         (PTRACE_SETSIGMASK): Likewise.
4088         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4090         Likewise.
4091         (PTRACE_SETSIGMASK): Likewise.
4092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4093         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4094         Likewise.
4095         (PTRACE_SETSIGMASK): Likewise.
4096         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4098 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4099             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4101         [BZ #19439]
4102         * math/bits/mathcalls.h
4103         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4104         prototype.
4105         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4107 2016-01-11  Andreas Schwab  <schwab@suse.de>
4109         [BZ #19253]
4110         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4111         cache when TZDEFRULES was used.
4112         * time/tst-tzname.c: New file.
4113         * time/Makefile (test): Add tst-tzname.
4114         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4115         * timezone/Makefile (test-zones): Add $(posixrules-file).
4116         ($(testdata)/$(posixrules-file)): New rule.
4118 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4120         Fix doc quoting problems with Texinfo 5
4121         Without this change, in the info file output, Texinfo 5 quotes code
4122         in text with undirected single quotes 'like this' and generates
4123         code examples that with many PDF readers cannot be cut out of PDFs
4124         and pasted into code.
4125         * manual/libc.texinfo: Configure the libc manual like the GNU
4126         Emacs manual, by using @documentencoding and setting
4127         txicodequoteundirected and txicodequotebacktick.  This way,
4128         Texinfo 5 quotes code in text with directed single quotes ‘like
4129         this’ and produces examples that can be cut out of PDFs.  This
4130         change causes Texinfo 5 to generate info files that contain UTF-8
4131         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4132         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4134 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4136         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4137         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4138         barriers to their respective compiler built-ins.
4139         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4140         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4141         * sysdeps/powerpc/sysdep.h: Likewise.
4142         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4143         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4144         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4146 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4148         * scripts/config.guess: Revert previous shebang change.
4149         * scripts/config.sub: Likewise.
4150         * scripts/mkinstalldirs: Likewise.
4152 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4154         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4155         PPC_FEATURE2_HAS_IEEE128.
4156         * sysdeps/powerpc/dl-procinfo.c:
4157         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4159 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4161         [BZ #19415]
4162         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4163         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4164         (_dl_lookup_address): Rewrite using function resolver trampoline.
4165         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4166         two bits in address.
4168 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4170         * longlong.h: Change !__SHMEDIA__ to
4171         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4172         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4174 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4175             Joseph Myers  <joseph@codesourcery.com>
4176             Mark Shinwell  <shinwell@codesourcery.com>
4177             Andrew Stubbs  <ams@codesourcery.com>
4178             Rich Felker <dalias@libc.org>
4180         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4182 2016-01-07  Richard Henderson  <rth@redhat.com>
4184         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4186 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4188         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4189         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4190         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4191         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4192         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4194 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4195             Joseph Myers  <joseph@codesourcery.com>
4197         * timezone/private.h: Update from tzcode 2015g.
4198         * timezone/tzfile.h: Likewise.
4199         * timezone/tzselect.ksh: Likewise.
4200         * timezone/zdump.c: Likewise.
4201         * timezone/zic.c: Likewise.
4202         * timezone/ialloc.c: Remove file.
4203         * timezone/scheck.c: Likewise.
4204         * timezone/Makefile (extra-objs): Remove variable.
4205         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4206         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4207         -Wno-maybe-uninitialized.
4208         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4209         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4210         (CFLAGS-ialloc.c): Remove variable.
4211         (CFLAGS-scheck.c): Likewise.
4212         * timezone/README: Update list of files from tzcode.
4214 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4216         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4217         instead of __fxprintf when _LIBC is undefined.
4219 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4221         * catgets/test-gencat.sh: Remove space after shebang.
4222         * conform/GlibcConform.pm: Likewise.
4223         * conform/check-header-lists.sh: Likewise.
4224         * conform/conformtest.pl: Likewise.
4225         * conform/linknamespace.pl: Likewise.
4226         * conform/list-header-symbols.pl: Likewise.
4227         * debug/catchsegv.sh: Likewise.
4228         * elf/genrtldtbl.awk: Likewise.
4229         * elf/tst-pathopt.sh: Likewise.
4230         * elf/tst-rtld-load-self.sh: Likewise.
4231         * grp/tst_fgetgrent.sh: Likewise.
4232         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4233         * iconvdata/gen-8bit-gap.sh: Likewise.
4234         * iconvdata/gen-8bit.sh: Likewise.
4235         * iconvdata/run-iconv-test.sh: Likewise.
4236         * intl/tst-gettext.sh: Likewise.
4237         * intl/tst-gettext2.sh: Likewise.
4238         * intl/tst-gettext4.sh: Likewise.
4239         * intl/tst-gettext6.sh: Likewise.
4240         * intl/tst-translit.sh: Likewise.
4241         * io/ftwtest-sh: Likewise.
4242         * libio/test-freopen.sh: Likewise.
4243         * locale/gen-translit.pl: Likewise.
4244         * malloc/tst-mtrace.sh: Likewise.
4245         * manual/check-safety.sh: Likewise.
4246         * manual/libc-texinfo.sh: Likewise.
4247         * manual/tsort.awk: Likewise.
4248         * manual/xtract-typefun.awk: Likewise.
4249         * nptl/tst-cancel-wrappers.sh: Likewise.
4250         * nptl/tst-tls6.sh: Likewise.
4251         * posix/globtest.sh: Likewise.
4252         * posix/tst-getconf.sh: Likewise.
4253         * posix/wordexp-tst.sh: Likewise.
4254         * scripts/check-c++-types.sh: Likewise.
4255         * scripts/check-local-headers.sh: Likewise.
4256         * scripts/config.guess: Likewise.
4257         * scripts/config.sub: Likewise.
4258         * scripts/cpp: Likewise.
4259         * scripts/cross-test-ssh.sh: Likewise.
4260         * scripts/documented.sh: Likewise.
4261         * scripts/evaluate-test.sh: Likewise.
4262         * scripts/gen-libc-abis: Likewise.
4263         * scripts/gen-sorted.awk: Likewise.
4264         * scripts/list-fixed-bugs.py: Likewise.
4265         * scripts/merge-test-results.sh: Likewise.
4266         * scripts/mkinstalldirs: Likewise.
4267         * scripts/rellns-sh: Likewise.
4268         * scripts/test-installation.pl: Likewise.
4269         * scripts/update-copyrights: Likewise.
4270         * stdio-common/tst-printf.sh: Likewise.
4271         * stdio-common/tst-unbputc.sh: Likewise.
4272         * stdlib/tst-fmtmsg.sh: Likewise.
4273         * stdlib/tst-setcontext3.sh: Likewise.
4274         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4275         * sysdeps/unix/make-syscalls.sh: Likewise.
4277 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4279         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4280         asm stw with atomic_exchange_rel.  Add explanatory comment.
4281         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4282         Likewise.
4284 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4286         [BZ #19122]
4287         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4288         * sysdeps/generic/dl-unistd.h: New file.
4289         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4291 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4293          [BZ #19122]
4294          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4295          * sysdeps/generic/dl-mman.h: New file.
4296          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4298 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4300         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4301         trailing whitespace removed.
4302         * scripts/config.guess: Update to version 2016-01-01.
4303         * scripts/config.sub: Update to version 2016-01-01.
4304         * scripts/move-if-change: Update from gnulib.
4306 2016-01-04  Anton Blanchard  <anton@samba.org>
4308         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4309         for array indices.
4310         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4312 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4314         * NEWS: Update copyright dates.
4315         * catgets/gencat.c (print_version): Likewise.
4316         * csu/version.c (banner): Likewise.
4317         * debug/catchsegv.sh: Likewise.
4318         * debug/pcprofiledump.c (print_version): Likewise.
4319         * debug/xtrace.sh (do_version): Likewise.
4320         * elf/ldconfig.c (print_version): Likewise.
4321         * elf/ldd.bash.in: Likewise.
4322         * elf/pldd.c (print_version): Likewise.
4323         * elf/sotruss.sh: Likewise.
4324         * elf/sprof.c (print_version): Likewise.
4325         * iconv/iconv_prog.c (print_version): Likewise.
4326         * iconv/iconvconfig.c (print_version): Likewise.
4327         * locale/programs/locale.c (print_version): Likewise.
4328         * locale/programs/localedef.c (print_version): Likewise.
4329         * login/programs/pt_chown.c (print_version): Likewise.
4330         * malloc/memusage.sh (do_version): Likewise.
4331         * malloc/memusagestat.c (print_version): Likewise.
4332         * malloc/mtrace.pl: Likewise.
4333         * manual/libc.texinfo: Likewise.
4334         * nptl/version.c (banner): Likewise.
4335         * nscd/nscd.c (print_version): Likewise.
4336         * nss/getent.c (print_version): Likewise.
4337         * nss/makedb.c (print_version): Likewise.
4338         * posix/getconf.c (main): Likewise.
4339         * scripts/test-installation.pl: Likewise.
4340         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4342         * All files with FSF copyright notices: Update copyright dates
4343         using scripts/update-copyrights.
4344         * intl/plural.c: Regenerated.
4345         * locale/programs/charmap-kw.h: Likewise.
4346         * locale/programs/locfile-kw.h: Likewise.
4348 2016-01-02  Helge Deller  <deller@gmx.de>
4350         [BZ #19285]
4351         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4352         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4353         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4354         (MADV_xxK_PAGES): Remove.
4356 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4358         [BZ #15421]
4359         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4360         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4361         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4362         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4364 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4366         [BZ #19408]
4367         * sysdeps/unix/sysv/linux/personality.c: New file.
4368         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4369         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4370         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4371         (sysdep_routines): Add personality.
4372         (tests): Add tst-personality.
4373         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4375         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4377         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4379         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4380         Likewise.
4381         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4382         Likewise.
4383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4384         Likewise.
4385         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4386         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4387         Likewise.
4389 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4391         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4392         (PATH_ARM_SYSTYPE): Remove.
4393         (PATH_CPUINFO): Likewise.
4394         (IO_BASE_FOOTBRIDGE): Likewise.
4395         (IO_SHIFT_FOOTBRIDGE): Likewise.
4396         (struct platform): Likewise.
4397         (init_iosys): Remove compatibility code for 2.4 kernels.
4398         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4400 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4402         * malloc/tst-malloc-thread-fail.c: New file.
4403         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4404         (tst-malloc-thread-fail): Link against libpthread.
4406 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4408         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4409         (get_parser): New function.
4410         (main): New function.
4412 2015-12-29  Rob Wu  <rob@robwu.nl>
4414         [BZ #19369]
4415         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4417 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4419         [BZ #19270]
4420         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4422 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4424         [BZ #15421]
4425         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4427 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4429         [BZ #13690]
4430         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4431         after releasing it.
4432         (__lll_robust_unlock): Likewise.
4433         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4434         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4435         (lll_robust_unlock): Likewise.
4436         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4437         Prevent warnings in callers.
4439 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4441         * malloc/arena.c (list_lock): Update comment.
4443 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4445         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4446         __parse_hwcap_and_convert_at_platform to libc.a.
4448 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4450         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4451         platform and feature support for POWER9.
4452         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4453         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4454         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4455         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4456         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4457         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4458         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4459         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4461 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4463         Harmonize generic stdio-lock support with nptl
4465         This fixes build when _IO_funlockfile is a macro, fixes build where
4466         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4467         stack unwind.
4469         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4470         _IO_release_lock ): Use cleanup attribute on new
4471         _IO_acquire_lock_file variable instead of assuming that
4472         _IO_release_lock will be called.
4473         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4474         _IO_acquire_lock_needs_exceptions_enabled.
4475         (_IO_acquire_lock_clear_flags2): New macro.
4477 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4479         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4481 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4483         [BZ #19182]
4484         * malloc/arena.c (list_lock): Document lock ordering requirements.
4485         (free_list_lock): New lock.
4486         (ptmalloc_lock_all): Comment on free_list_lock.
4487         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4488         (detach_arena): Update comment.  free_list_lock is now needed.
4489         (_int_new_arena): Use free_list_lock around detach_arena call.
4490         Acquire arena lock after list_lock.  Add comment, including FIXME
4491         about incorrect synchronization.
4492         (get_free_list): Switch to free_list_lock.
4493         (reused_arena): Acquire free_list_lock around detach_arena call
4494         and attached threads counter update.  Add two FIXMEs about
4495         incorrect synchronization.
4496         (arena_thread_freeres): Switch to free_list_lock.
4497         * malloc/malloc.c (struct malloc_state): Update comments to
4498         mention free_list_lock.
4500 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4502         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4503         Remove functions.
4504         (sloww, sloww1): Accept argument to offset quadrant.
4505         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4506         quadrant.
4507         (__sin, __cos): Consolidate common code into new functions.
4508         (reduce_sincos_1, do_sincos_1): New functions.
4509         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4512         code to new functions.
4513         (reduce_sincos_2, do_sincos_2): New functions.
4514         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4517         common code for sincos.
4518         (__cos) [!IN_SINCOS]: Likewise.
4519         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4520         New function.
4521         (__sincos): Use it.
4523 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4525         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4526         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4527         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4529 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4531         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4534         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4535         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4536         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4537         index_Prefer_No_VZEROUPPER): New feature.
4538         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4539         Prefer_No_VZEROUPPER for Knights Landing.
4541 015-12-18  Torvald Riegel  <triegel@redhat.com>
4543         * math/atest-exp2.c (mp_exp_m1): Remove.
4545 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4547         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4548         syscalls.
4549         (__SYSCALL0): New macro.
4550         (__SYSCALL1): Likewise.
4551         (__SYSCALL2): Likewise.
4552         (__SYSCALL3): Likewise.
4553         (__SYSCALL4): Likewise.
4554         (__SYSCALL5): Likewise.
4555         (__SYSCALL6): Likewise.
4556         (__SYSCALL_CONCAT_X): Likewise.
4557         (__SYSCALL_CONCAT): Likewise.
4558         (__SYSCALL_DIST): Likewise.
4559         (__SYSCALL_CALL): Likewise.
4561 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4563         [BZ #19363]
4564         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4566 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4568         [BZ #19375]
4569         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4570         negative subnormals.
4572 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4575         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4576         (INTERNAL_SYSCALL_NCS): Use it.
4577         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4579 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4581         [BZ #19243]
4582         * malloc/arena.c (get_free_list): Remove assert and adjust
4583         reference count handling.  Add comment about reused_arena
4584         interaction.
4585         (reused_arena): Add comments abount get_free_list interaction.
4586         * malloc/tst-malloc-thread-exit.c: New file.
4587         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4588         (tst-malloc-thread-exit): Link against libpthread.
4590 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4592         [BZ #19367]
4593         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4594         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4595         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4596         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4597         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4599 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4601         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4602         Silvermont optimizations for Knights Landing.
4604 2015-12-15  Andreas Schwab  <schwab@suse.de>
4606         [BZ #17197]
4607         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4608         immediately after emitting SI.
4609         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4610         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4611         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4612         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4613         * iconvdata/bug-iconv10.c: New file.
4614         * iconvdata/Makefile (tests): Add bug-iconv10.
4615         ($(objpfx)bug-iconv10.out): New rule.
4617 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4619         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4620         aliasing violation.
4622 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4624         [BZ #18472]
4625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4626         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4627         conditionals for them.
4628         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4629         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4631         sys/kdaemon.h.
4632         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4633         compat-only syscall, obsoleted in glibc 2.23.
4634         (create_module): Likewise.
4635         (get_kernel_syms): Likewise.
4636         (query_module): Likewise.
4637         (uselib): Likewise.
4638         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4640 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4642         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4643         <linux/version.h>.
4644         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4645         conditional code.
4646         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4647         and ioshift_name initialization.
4649 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4652         Fix indentation.
4654 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4656         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4658 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4660         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4662 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4663             Jakub Wilk  <jwilk@debian.org>
4665         [BZ #19347]
4666         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4667         to change the group of the device to the tty group.
4669 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4671         Split large string section; add truncation advice
4672         * manual/examples/strncat.c: Remove.
4673         This example was misleading, as the code would have undefined
4674         behavior if "hello" was longer than SIZE.  Anyway, the manual
4675         shouldn't encourage strncpy+strncat for this sort of thing.
4676         * manual/string.texi (Copying Strings and Arrays): Split into
4677         three sections Copying Strings and Arrays, Concatenating Strings,
4678         and Truncating Strings, as this section was way too long.  All
4679         cross-referenced changed.  Add advice about string-truncation
4680         functions.  Remove misleading strncat example.
4682 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4684         * manual/nss.texi (NSS Modules Interface): Document
4685         NSS_STATUS_NOTFOUND and SUCCESS.
4687 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4689         [BZ 18568]
4690         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4691         201505L, for Unicode 8.
4693 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4695         * locale/C-translit.h: Regenerate.
4697 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4699         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4700         and U+0153.
4702 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4704         [BZ #19351]
4705         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4706         expanding log(1+z), compare z rather than its square with epsilon
4707         to determine when to avoid evaluating the expansion.
4709         [BZ #19350]
4710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4711         Increase overflow threshold.
4713         [BZ #19349]
4714         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4715         when small.
4717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4719         New macro.
4720         [__LINUX_KERNEL_VERSION >= 0x040300]
4721         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4723         Likewise.
4724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4725         Likewise.
4726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4727         Likewise.
4728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4729         Likewise.
4730         [__LINUX_KERNEL_VERSION >= 0x040300]
4731         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4732         [__LINUX_KERNEL_VERSION >= 0x040300]
4733         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4734         [__LINUX_KERNEL_VERSION >= 0x040300]
4735         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4736         [__LINUX_KERNEL_VERSION >= 0x040300]
4737         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4738         [__LINUX_KERNEL_VERSION >= 0x040300]
4739         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4741         Likewise.
4742         [__LINUX_KERNEL_VERSION >= 0x040300]
4743         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4745         Likewise.
4746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4747         Likewise.
4748         [__LINUX_KERNEL_VERSION >= 0x040300]
4749         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4750         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4751         Likewise.
4752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4753         Likewise.
4754         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4756         Likewise.
4757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4758         Likewise.
4759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4760         Likewise.
4761         [__LINUX_KERNEL_VERSION >= 0x040300]
4762         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4764         Likewise.
4765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4766         Likewise.
4767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4768         Likewise.
4769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4770         Likewise.
4771         [__LINUX_KERNEL_VERSION >= 0x040300]
4772         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4773         [__LINUX_KERNEL_VERSION >= 0x040300]
4774         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4775         [__LINUX_KERNEL_VERSION >= 0x040300]
4776         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4777         [__LINUX_KERNEL_VERSION >= 0x040300]
4778         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4779         [__LINUX_KERNEL_VERSION >= 0x040300]
4780         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4782         Likewise.
4783         [__LINUX_KERNEL_VERSION >= 0x040300]
4784         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4785         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4786         Likewise.
4787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4788         Likewise.
4789         [__LINUX_KERNEL_VERSION >= 0x040300]
4790         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4792         Likewise.
4793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4796         (__ASSUME_SOCKET_SYSCALL): Likewise.
4797         (__ASSUME_BIND_SYSCALL): Likewise.
4798         (__ASSUME_CONNECT_SYSCALL): Likewise.
4799         (__ASSUME_LISTEN_SYSCALL): Likewise.
4800         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4801         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4802         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4803         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4804         (__ASSUME_SEND_SYSCALL): Likewise.
4805         (__ASSUME_SENDTO_SYSCALL): Likewise.
4806         (__ASSUME_RECV_SYSCALL): Likewise.
4807         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4808         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4809         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4810         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4811         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4812         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4813         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4814         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4815         Likewise.
4816         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4817         Likewise.
4818         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4819         Likewise.
4820         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4821         Likewise.
4822         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4823         Likewise.
4824         [__LINUX_KERNEL_VERSION >= 0x020625]
4825         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4826         [__LINUX_KERNEL_VERSION >= 0x020625]
4827         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4828         [__LINUX_KERNEL_VERSION >= 0x020625]
4829         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4831         Likewise.
4832         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4833         Likewise.
4834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4835         Likewise.
4836         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4837         Likewise.
4838         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4839         Likewise.
4840         [__LINUX_KERNEL_VERSION >= 0x020625]
4841         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4842         [__LINUX_KERNEL_VERSION >= 0x020625]
4843         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4844         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4845         Likewise.
4846         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4847         Likewise.
4849 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4851         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4852         record the current if the current ABI and CPU support the FP64
4853         extension.
4854         (has-modd-spreg): Define to record the current if the current ABI and
4855         CPU support 32-bit floating point values in odd FPU registers.
4856         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4857         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4858         $(has-modd-spreg) equals yes.
4859         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4860         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4861         $(has-modd-spreg) equal yes.
4863 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4865         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4866         basename.
4868 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4870         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4871         (bench-string): ... here.
4872         (bench): Add bench-string.
4873         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4874         to *-benchset to reflect what they are.
4875         (benchset): Adjust.
4877         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4878         cos-inputs.
4880 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4882         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4883         __attribute__ ((__simd__)) for vector math function declarations.
4885 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4887         Fix typo in strncat, wcsncat manual entries
4888         * manual/string.texi (Copying and Concatenation): Fix typos in
4889         sample implementations of strncat and wcsncat, by having them use
4890         the old value of the destination length, not the new one.
4892 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4894         [BZ #16961]
4895         [BZ #16962]
4896         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4897         string on the stack for strtod.
4898         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4899         a string on the stack for strtof.
4900         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4901         constructing a string on the stack for strtold.
4902         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4903         __strtold_nan to GLIBC_PRIVATE.
4904         * math/test-nan-overflow.c: New file.
4905         * math/test-nan-payload.c: Likewise.
4906         * math/Makefile (tests): Add test-nan-overflow and
4907         test-nan-payload.
4909 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4911         Consistency about byte vs character in string.texi
4912         * manual/string.texi (String and Array Utilities):
4913         Distinguish more carefully among bytes, multibyte characters,
4914         and wide characters.  Use "byte" when talking about C 'char',
4915         to distinguish it more clearly from multibyte characters.
4916         Say "wide character" or "multibyte character" instead of
4917         "character", when a wide or multibyte character is intended.
4918         Similarly for "multibyte string" versus "string".
4919         Define these terms more carefully.
4921 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4923         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4924         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4925         Likewise.
4926         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4927         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4928         * sysdeps/sh/math_private.h: New file.
4929         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4930         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4931         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4932         long double function name.
4933         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4934         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4939         Remove __finitel, __isinfl, and __isnanl.
4940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4941         Likewise.
4942         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4944         Remove __finitel.
4945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4946         Likewise.
4947         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4949 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4951         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4952         installed libmvec_nonshared.a.
4954 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4956         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4957         (sysdep_routines): Likewise.
4958         (sysdep-rtld-routines): Likewise.
4959         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4960         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4961         * sysdeps/powerpc/Versions: Added new
4962         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4963         * sysdeps/powerpc/hwcapinfo.c: New file.
4964         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4965         and parse hwcap, hwcap2 and platform number information.
4966         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4967         to store HWCAP+HWCAP2 and platform number.
4968         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4969         for HWCAP+HWCAP2 and platform number in the TCB.
4970         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4971         the HWCAP, HWCAP2 and platform number in the TCB.
4972         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4973         (TLS_INIT_TP): Included calls to add the hwcap and
4974         at_platform values in the TCB in TP initialization.
4975         (TLS_DEFINE_INIT_TP): Likewise.
4976         (THREAD_GET_HWCAP): New macro.
4977         (THREAD_SET_HWCAP): Likewise.
4978         (THREAD_GET_AT_PLATFORM): Likewise.
4979         (THREAD_SET_AT_PLATFORM): Likewise.
4980         * sysdeps/powerpc/powerpc32/dl-machine.h:
4981         (dl_platform_init): New function that calls
4982         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4983         powerpc32.
4984         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4985         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4986         this functionality, static linking case.
4987         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4988         linking case.
4989         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4990         __parse_hwcap_and_convert_at_platform for the static linking case.
4991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4992         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4993         ABI list for GLIBC 2.23.
4994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4995         Likewise.
4996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4997         Likewise.
4999 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5001         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5002         * configure: Regenerate.
5003         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5004         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5006 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5008         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5009         * iconvdata/ibm933.c: Likewise.
5010         * iconvdata/ibm935.c: Likewise.
5011         * iconvdata/ibm937.c: Likewise.
5012         * iconvdata/ibm939.c: Likewise.
5014 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5016         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5017         pthread_join.
5018         * nptl/tst-cancel21.c (tf): Likewise.
5020 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5022         [BZ #19313]
5023         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5024         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5025         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5026         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5027         Likewise.
5028         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5029         Likewise.
5030         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5031         Likewise.
5032         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5033         Likewise.
5034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5035         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5036         unsigned long int with __CPU_MASK_TYPE.
5038 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5040         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5042 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5044         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5045         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5046         t512.x.
5047         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5049 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5051         [BZ #19214]
5052         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5053         argument to return extended model.  Update family and model
5054         with extended family and model when family == 0x0f.
5055         (init_cpu_features): Updated.
5057 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5059         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5060         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5062         * sysdeps/mach/hurd/mmap64.c: New file.
5064 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5066         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5067         rights for its main user thread in NEWTASK.
5069 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5071         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5072         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5074 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5076         [BZ #14259]
5077         * Makeconfig: Rename localedir to complocaledir.
5078         Rename inst_localedir to inst_complocaledir.
5079         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5080         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5081         * configure.ac: Use libc_cv_complocaledir.
5082         * configure: Regenerate.
5083         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5084         -DCOMPLOCALEDIR.
5085         * locale/findlocale.c: Use COMPLOCALEDIR.
5086         * locale/loadarchive.c: Likewise.
5087         * locale/programs/locale.c: Likewise.
5088         * locale/programs/localedef.c: Likewise.
5089         * locale/programs/locarchive.c: Likewise.
5090         * localedata/Makefile: Use inst_complocaledir.
5091         * sysdeps/gnu/configure: Regenerate.
5092         * sysdeps/hppa/configure: Regenerate.
5093         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5094         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5096         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5097         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5098         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5099         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5101 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5103         [BZ #19058]
5104         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5105         AS_NEEDED.
5106         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5107         workaround.
5108         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5109         libmvec-static-only-routines): Added new file.
5110         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5112 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5114         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5115         of interrupted RPC instead of restoring it.
5117         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5118         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5119         libc_hidden_def.
5120         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5121         into initialized data instead of common. Define rtld_hidden_data_def.
5122         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5123         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5124         libc_hidden_def.
5125         (if_freenameindex): Add libc_hidden_weak.
5126         (if_nameindex): Add libc_hidden_weak.
5127         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5128         __open64.
5129         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5130         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5131         * sysdeps/mach/nanosleep.c: Include <time.h>
5132         (__nanosleep): Rename to __libc_nanosleep.
5133         (__nanosleep): Add weak_alias.
5134         (nanosleep): Update alias.
5136 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5138         * stdlib/strtod_nan.c: New file.
5139         * stdlib/strtod_nan_double.h: Likewise.
5140         * stdlib/strtod_nan_float.h: Likewise.
5141         * stdlib/strtod_nan_main.c: Likewise.
5142         * stdlib/strtod_nan_narrow.h: Likewise.
5143         * stdlib/strtod_nan_wide.h: Likewise.
5144         * stdlib/strtof_nan.c: Likewise.
5145         * stdlib/strtold_nan.c: Likewise.
5146         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5147         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5148         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5149         * wcsmbs/wcstod_nan.c: Likewise.
5150         * wcsmbs/wcstof_nan.c: Likewise.
5151         * wcsmbs/wcstold_nan.c: Likewise.
5152         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5153         strtold_nan.
5154         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5155         wcstof_nan.
5156         * include/stdlib.h (__strtof_nan): Declare and use
5157         libc_hidden_proto.
5158         (__strtod_nan): Likewise.
5159         (__strtold_nan): Likewise.
5160         (__wcstof_nan): Likewise.
5161         (__wcstod_nan): Likewise.
5162         (__wcstold_nan): Likewise.
5163         * include/wchar.h (____wcstoull_l_internal): Declare.
5164         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5165         (____strtoull_l_internal): Remove declaration.
5166         (STRTOF_NAN): Define macro.
5167         (SET_MANTISSA): Remove macro.
5168         (STRTOULL): Likewise.
5169         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5170         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5171         (STRTOF_NAN): Define macro.
5172         (SET_MANTISSA): Remove macro.
5173         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5174         (SET_MANTISSA): Remove macro.
5175         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5176         macro.
5177         (SET_MANTISSA): Remove macro.
5178         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5179         macro.
5180         (SET_MANTISSA): Remove macro.
5181         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5182         (SET_MANTISSA): Remove macro.
5183         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5184         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5185         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5187         [BZ #19266]
5188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5189         upper case and lower case letters inside NAN(), not using TOLOWER.
5190         * stdlib/tst-strtod-nan-locale-main.c: New file.
5191         * stdlib/tst-strtod-nan-locale.c: Likewise.
5192         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5193         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5194         Depend on $(gen-locales).
5195         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5196         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5197         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5198         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5199         Depend on $(gen-locales).
5200         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5202 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5204         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5206         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5208         __finitel, __isinfl, and __isnanl.
5209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5210         Likewise.
5211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5213         __finitel.
5214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5215         Likewise.
5216         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5218 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5220         * malloc/memusage.c (me): Remove redundant getenv call.
5222 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5224         [BZ #19143]
5225         [BZ #19164]
5226         * nptl/check-cpuset.h: Remove.
5227         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5228         Remove CPU set size check.
5229         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5232         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5233         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5234         (__pthread_setaffinity_new): Remove CPU set size check.
5235         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5236         (__kernel_cpumask_size): Remove.
5237         (__sched_setaffinity_new): Remove CPU set size check.
5238         * manual/threads.texi (Default Thread Attributes): Remove stale
5239         reference to check_cpuset_attr, determine_cpumask_size in comment.
5240         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5241         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5242         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5243         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5244         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5245         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5246         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5247         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5248         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5249         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5250         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5251         skeleton test file.
5252         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5253         tst-affinity-pid.
5255 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5257         * scripts/update-abilist.sh: New file.
5258         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5259         * Makerules (update-all-abi-%, update-all-abi)
5260         (subdir_update-all-abi): New targets.
5261         * elf/Makefile (update-all-abi): New target.
5263 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5265         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5266         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5267         (__libc_lock_define_initialized): Use it.
5268         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5269         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5270         * malloc/malloc.c (main_arena): Likewise.
5271         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5272         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5274 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5276         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5277         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5278         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5279         (PTRACE_O_MASK): Update value.
5280         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5281         New value in enum __ptrace_setoptions.
5282         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5283         (PTRACE_O_MASK): Update value.
5284         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5285         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5286         (PTRACE_O_MASK): Update value.
5287         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5288         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5289         (PTRACE_O_MASK): Update value.
5290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5291         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5292         (PTRACE_O_MASK): Update value.
5293         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5294         New value in enum __ptrace_setoptions.
5295         (PTRACE_O_MASK): Update value.
5296         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5297         New value in enum __ptrace_setoptions.
5298         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5299         (PTRACE_O_MASK): Update value.
5301         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5302         New macro.
5303         (PACKET_AUXDATA): Likewise.
5304         (PACKET_ORIGDEV): Likewise.
5305         (PACKET_VERSION): Likewise.
5306         (PACKET_HDRLEN): Likewise.
5307         (PACKET_RESERVE): Likewise.
5308         (PACKET_TX_RING): Likewise.
5309         (PACKET_LOSS): Likewise.
5310         (PACKET_VNET_HDR): Likewise.
5311         (PACKET_TX_TIMESTAMP): Likewise.
5312         (PACKET_TIMESTAMP): Likewise.
5313         (PACKET_FANOUT): Likewise.
5314         (PACKET_TX_HAS_OFF): Likewise.
5315         (PACKET_QDISC_BYPASS): Likewise.
5316         (PACKET_ROLLOVER_STATS): Likewise.
5317         (PACKET_FANOUT_DATA): Likewise.
5318         (PACKET_MR_UNICAST): Likewise.
5320         [BZ #19242]
5321         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5322         (TOUPPER): Likewise.
5323         * stdlib/tst-strtol-locale-main.c: New file.
5324         * stdlib/tst-strtol-locale.c: Likewise.
5325         * stdlib/Makefile (tests): Add tst-strtol-locale.
5326         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5327         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5328         Depend on $(gen-locales).
5329         * wcsmbs/tst-wcstol-locale.c: New file.
5330         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5331         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5332         tr_TR.ISO-8859-9.
5333         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5334         Depend on $(gen-locales).
5336 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5338         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5339         __glibc_likely instead of __builtin_expect.  After falling back to
5340         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5341         system interface to register the code pages as occupied.
5343 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5345         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5346         [!ARM_MATH_PRIVATE_H].
5347         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5348         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5349         [!HPPA_MATH_PRIVATE_H].
5350         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5351         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5352         to [!I386_MATH_PRIVATE_H].
5353         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5354         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5355         Change guard to [!M68K_MATH_PRIVATE_H].
5356         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5357         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5358         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5359         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5360         macro.
5361         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5362         [!MIPS_MATH_PRIVATE_H].
5363         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5364         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5365         [!NIO2_MATH_PRIVATE_H].
5366         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5367         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5368         [!TILE_MATH_PRIVATE_H].
5369         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5371         [BZ #15421]
5372         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5373         initialize with 0 and define as weak alias of __signgam.
5374         * include/math.h [!_ISOMAC] (__signgam): Declare.
5375         * math/Makefile (libm-calls): Add w_lgamma_compat.
5376         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5377         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5378         test-signgam-ullong-init.
5379         (tests-static): Add test-signgam-uchar-static,
5380         test-signgam-uchar-init-static, test-signgam-uint-static,
5381         test-signgam-uint-init-static, test-signgam-ullong-static and
5382         test-signgam-ullong-init-static.
5383         (CFLAGS-test-signgam-uchar.c): New variable.
5384         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5385         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5386         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5387         (CFLAGS-test-signgam-uint.c): Likewise.
5388         (CFLAGS-test-signgam-uint-init.c): Likewise.
5389         (CFLAGS-test-signgam-uint-static.c): Likewise.
5390         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5391         (CFLAGS-test-signgam-ullong.c): Likewise.
5392         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5393         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5394         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5395         * math/Versions (libm): Add GLIBC_2.23.
5396         * math/lgamma-compat.h: New file.
5397         * math/test-signgam-main.c: Likewise.
5398         * math/test-signgam-uchar-init-static.c: Likewise.
5399         * math/test-signgam-uchar-init.c: Likewise.
5400         * math/test-signgam-uchar-static.c: Likewise.
5401         * math/test-signgam-uchar.c: Likewise.
5402         * math/test-signgam-uint-init-static.c: Likewise.
5403         * math/test-signgam-uint-init.c: Likewise.
5404         * math/test-signgam-uint-static.c: Likewise.
5405         * math/test-signgam-uint.c: Likewise.
5406         * math/test-signgam-ullong-init-static.c: Likewise.
5407         * math/test-signgam-ullong-init.c: Likewise.
5408         * math/test-signgam-ullong-static.c: Likewise.
5409         * math/test-signgam-ullong.c: Likewise.
5410         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5411         wrapper of w_lgamma_main.c.
5412         * math/w_lgamma_compat.c: New file.
5413         * math/w_lgamma_compatf.c: Likewise.
5414         * math/w_lgamma_compatl.c: Likewise.
5415         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5416         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5417         defining compatibility symbols.
5418         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5419         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5420         wrapper of w_lgammaf_main.c.
5421         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5422         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5423         defining compatibility symbols.
5424         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5425         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5426         wrapper of w_lgammal_main.c.
5427         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5428         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5429         defining compatibility symbols.
5430         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5431         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5432         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5433         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5434         <lgamma-compat.h>.
5435         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5436         (__ieee754_gamma): Define as alias.
5437         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5438         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5439         <lgamma-compat.h>.
5440         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5441         (__ieee754_gammaf): Define as alias.
5442         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5443         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5444         <lgamma-compat.h>.
5445         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5446         (__ieee754_gammal): Define as alias.
5447         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5448         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5449         <math/w_lgamma_compat.c>.
5450         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5451         Define as alias of __lgamma_compat and use in defining lgammal.
5452         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5453         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5454         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5455         (USE_AS_COMPAT): New macro.
5456         (LGAMMA_OLD_VER): Undefine and redefine.
5457         (lgammal): Do not define here.
5458         (gammal): Only define here if [GAMMA_ALIAS].
5459         * conform/linknamespace.pl (@whitelist): Remove signgam.
5460         * sysdeps/nacl/libm.abilist: Update.
5461         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5462         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5463         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5464         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5465         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5466         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5467         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5468         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5469         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5470         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5471         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5472         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5474         Likewise.
5475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5476         Likewise.
5477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5478         Likewise.
5479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5480         Likewise.
5481         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5482         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5483         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5484         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5485         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5487         Likewise.
5488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5489         Likewise.
5490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5494 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5496         [BZ #16364]
5497         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5498         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5500 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5502         * sysdeps/s390/fpu/bits/mathinline.h:
5503         Use __asm__ [__volatile__] instead of asm [volatile].
5504         * sysdeps/s390/abort-instr.h: Likewise.
5505         * sysdeps/s390/atomic-machine.h: Likewise.
5506         * sysdeps/s390/bits/string.h: Likewise.
5507         * sysdeps/s390/dl-tls.h: Likewise.
5508         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5509         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5510         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5511         * sysdeps/s390/fpu/fesetround.c: Likewise.
5512         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5513         * sysdeps/s390/fpu/s_fma.c: Likewise.
5514         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5515         * sysdeps/s390/memusage.h: Likewise.
5516         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5517         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5518         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5519         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5520         * sysdeps/s390/nptl/tls.h: Likewise.
5521         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5522         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5523         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5524         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5525         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5526         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5527         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5528         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5529         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5530         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5531         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5532         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5533         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5534         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5535         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5536         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5537         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5538         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5539         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5541         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5543         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5545 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5546             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5548         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5549         Add lwarx hint, and use macro for acquire instruction.
5550         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5551         Likewise.
5552         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5553         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5554         update to use new atomic macros.
5556 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5558         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5559         (__lll_trylock_elision): Fix setting of adapt_count.
5560         * sysdeps/unix/sysv/linux/powerpc/htm.h
5561         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5562         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5563         (_ABORT_SYSCALL): Renumber, and clarify definition.
5564         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5566 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5568         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5569         after system headers to prevent MIN/MAX redefinition.  Define
5570         HAVE_ALLOCA to preserve builtin alloca usage.
5572 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5575         static and don't set or restore rounding.
5576         (__cos)[IN_SINCOS]: Likewise.
5577         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5578         (__sincos): Set and restore rounding mode.  Remove check for infinite
5579         or NaN input.
5581         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5583         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5584         as used.
5586 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5588         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5590 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5592         * config.make.in (have-glob-dat-reloc): New.
5593         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5594         target supports GLOB_DAT relocaton. AC_SUBST.
5595         * configure: Regenerated.
5596         * elf/Makefile (tests): Add tst-prelink.
5597         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5598         (tst-prelink-ENV): New.
5599         ($(objpfx)tst-prelink-conflict.out): Likewise.
5600         ($(objpfx)tst-prelink-cmp.out): Likewise.
5601         * sysdeps/x86/tst-prelink.c: Moved to ...
5602         * elf/tst-prelink.c: Here.
5603         * sysdeps/x86/tst-prelink.exp: Moved to ...
5604         * elf/tst-prelink.exp: Here.
5605         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5606         (tst-prelink-ENV): Removed.
5607         ($(objpfx)tst-prelink-conflict.out): Likewise.
5608         ($(objpfx)tst-prelink-cmp.out): Likewise.
5609         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5611 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5613         [BZ #14551]
5614         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5615         (__mpn_construct_long_double): If high part overflows to infinity,
5616         set errno and recompute overflowed result of the correct sign.
5617         * sysdeps/ieee754/ldbl-128ibm/Makefile
5618         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5619         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5620         $(libm).
5621         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5623 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5625         [BZ #15479]
5626         [BZ #19238]
5627         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5628         floating-point state after first operation on input.  Restore full
5629         state rather than just rounding mode.
5630         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5631         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5632         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5634         [BZ #19235]
5635         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5636         add 0.5 to integer arguments.
5637         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5638         Likewise.
5639         (.LC2): New object.
5641 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5643         * scripts/pylintrc (reports): Set to no.
5645 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5647         * elf/dl-load.c (open_verify): Take new argument FD.
5648         Skip __open call if passed FD is not -1.
5649         (_dl_map_object, open_path): Update callers.
5650         * elf/dl-sysdep-open.h: New file.
5651         * elf/dl-load.c: Include it.
5652         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5653         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5654         * sysdeps/nacl/dl-sysdep-open.h: New file.
5655         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5656         from libc to rtld.
5658 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5660         [BZ #19228]
5661         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5662         and restore full floating-point state.
5663         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5664         Likewise.
5665         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5666         Likewise.
5667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5668         Likewise.
5669         * math/test-nearbyint-except-2.c: New file.
5670         * math/Makefile (tests): Add test-nearbyint-except-2.
5672 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5674         [BZ #19178]
5675         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5676         (tst-prelink-ENV): New.
5677         ($(objpfx)tst-prelink-conflict.out): Likewise.
5678         ($(objpfx)tst-prelink-cmp.out): Likewise.
5679         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5680         * sysdeps/x86/tst-prelink.c: New file.
5681         * sysdeps/x86/tst-prelink.exp: Likewise.
5683 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5685         * math/auto-libm-test-in: Add another test of pow.
5686         * math/auto-libm-test-out: Regenerated.
5687         * math/libm-test.inc (pow_test_data): Add another test.
5689 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5691         [BZ #19219]
5692         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5693         weak_alias to nearbyintl.
5695 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5697         * sysdeps/aarch64/bits/string.h: New file.
5698         (_STRING_ARCH_unaligned): Define.
5700 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5702         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5703         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5704         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5705         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5708 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5710         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5711         for original name of the DSO.  Add it to the name list of the DSO
5712         if it is actually given.
5713         (_dl_map_object): Keep track of whether an audit module rewrote
5714         the file name.  If yes, pass the original name to
5715         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5716         debugging is enabled, log the change of the file name.
5717         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5718         _dl_map_object_from_fd.
5719         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5720         * elf/tst-audit11.c: New file
5721         * elf/tst-auditmod11.c: New file.
5722         * elf/tst-audit11mod1.c: New file.
5723         * elf/tst-audit11mod2.c: New file.
5724         * elf/tst-audit11mod2.map: New file.
5725         * elf/tst-audit12.c: New file
5726         * elf/tst-auditmod12.c: New file.
5727         * elf/tst-audit12mod1.c: New file.
5728         * elf/tst-audit12mod2.c: New file.
5729         * elf/tst-audit12mod2.map: New file.
5730         * elf/tst-audit12mod3.c: New file.
5732 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5734         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5735         Don't create weak aliases,
5736         because versioned symbols are created later.
5737         * sysdeps/s390/s390-32/setjmp.S
5738         (setjmp, _setjmp): Remove weak and rename to an unique name
5739         in SHARED case due to existing versioned symbols.
5740         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5741         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5742         (getcontext): Create weak alias only in non SHARED case.
5743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5745 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5747         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5748         (__ASSUME_*_SYSCALL) Define new macros.
5749         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5750         Remove socketcall syscalls.
5751         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5752         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5753         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5754         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5755         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5756         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5758 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5760         [BZ #12926]
5761         Terminate process on invalid netlink response.
5762         * sysdeps/unix/sysv/linux/netlinkaccess.h
5763         (__netlink_assert_response): Declare.
5764         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5765         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5766         (sysdep_routines): Add netlink_assert_response.
5767         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5768         __netlink_assert_response.
5769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5770         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5771         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5772         __netlink_assert_response.
5774 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5776         [BZ #19178]
5777         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5778         (RTYPE_CLASS_PLT): Likewise.
5779         (RTYPE_CLASS_COPY): Likewise.
5780         (RTYPE_CLASS_TLS): Likewise.
5781         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5782         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5783         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5784         DL_DEBUG_PRELINK.
5786 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5788         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5789         calls with argument -0.5.
5790         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5792         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5793         (libc_cv_z_nodlopen): Likewise.
5794         (libc_cv_z_initfirst): Likewise.
5795         * configure: Regenerated.
5797 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5799         Simplify abilist format to be line-based.
5800         * scripts/abilist.awk: Collect descriptors in the descs variable.
5801         (emit): Write descs variable and sort it
5802         externally, with sort.
5803         * sysdeps/**/*.abilist: Convert to new format.
5805 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5807         [BZ #11460]
5808         * io/Makefile (routines): Add fts64.
5809         (tests): Add tst-fts and tst-fts-lfs.
5810         (CFLAGS-fts64.c): New.
5811         * io/Versions (GLIBC_2.23): New.
5812         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5813         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5814         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5815         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5816         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5817         (FTSENT64): Likewise.
5818         (fts64_children): Likewise.
5819         (fts64_close): Likewise.
5820         (fts64_open): Likewise.
5821         (fts64_read): Likewise.
5822         (fts64_set): Likewise.
5823         * io/fts64.c: New file.
5824         * io/tst-fts.c: New test.
5825         * io/tst-fts-lfs.c: Likewise.
5826         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5827         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5828         fts64_set.
5829         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5830         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5831         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5832         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5833         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5834         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5839         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5841         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5843         Likewise.
5844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5845         Likewise.
5846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5848         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5849         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5850         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5851         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5855         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5856         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5858         * sysdeps/wordsize-64/fts.c: New file.
5859         * sysdeps/wordsize-64/fts64.c: Likewise.
5860         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5861         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5862         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5863         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5865 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5867         * math/libm-test.inc (NON_FINITE): New macro.
5868         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5869         * math/gen-libm-test.pl (show_exceptions): Add argument
5870         $non_finite.
5871         (parse_args): Update call to show_exceptions.
5872         * math/test-math-finite.h: New file.
5873         * math/test-math-no-finite.h: Likewise.
5874         * math/test-double-finite.c: Likewise.
5875         * math/test-float-finite.c: Likewise.
5876         * math/test-ldouble-finite.c: Likewise.
5877         * math/test-double.c: Include "test-math-no-finite.h".
5878         * math/test-float.c: Include "test-math-no-finite.h".
5879         * math/test-ldouble.c: Include "test-math-no-finite.h".
5880         * math/test-math-inline.h (TEST_FINITE): New macro.
5881         * math/test-math-vector.h (TEST_FINITE): Likewise.
5882         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5883         (libm-tests): Add test-float-finite and test-double-finite.
5884         ($(objpfx)test-float-finite.o): New dependency on
5885         $(objpfx)libm-test.stmp.
5886         ($(objpfx)test-double-finite.o): Likewise.
5887         ($(objpfx)test-ldouble-finite.o): Likewise.
5888         (libm-test-no-inline-cflags): New variable.
5889         (libm-test-finite-cflags): Likewise.
5890         (CFLAGS-test-float-finite.c): Likewise.
5891         (CFLAGS-test-double-finite.c): Likewise.
5892         (CFLAGS-test-ldouble-finite.c): Likewise.
5893         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5894         (CFLAGS-test-double.c): Likewise.
5895         (CFLAGS-test-ldouble.c): Likewise.
5897 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5899         * io/fcntl.c (__fcntl): Add ... to prototype.
5900         * misc/ioctl.c (__ioctl): Likewise.
5901         * misc/syscall.c (syscall): Likewise.
5903 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5905         * scripts/list-fixed-bugs.py: New file.
5907         [BZ #19213]
5908         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5909         returned for argument 1.
5910         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5911         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5912         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5913         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5914         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5915         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5917         [BZ #19211]
5918         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5919         __USE_XOPEN], not if [!__USE_ISOC99].
5920         (lgammaf): Likewise.
5921         (lgammal): Likewise.
5922         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5923         (gammaf): Likewise.
5924         (gammal): Likewise.
5925         * math/test-signgam-finite-c11.c: New file.
5926         * math/test-signgam-finite-c99.c: Likewise.
5927         * math/test-signgam-finite.c: Likewise.
5928         * math/Makefile (tests): Add test-signgam-finite,
5929         test-signgam-finite-c99 and test-signgam-finite-c11.
5930         (CFLAGS-test-signgam-finite.c): New variable.
5931         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5932         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5934         [BZ #19212]
5935         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5936         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5937         500].
5938         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5939         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5940         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5941         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5942         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5943         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5944         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5945         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5946         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5947         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5949         [BZ #19209]
5950         * math/bits/math-finite.h (ldexp): Remove declaration.
5951         (ldexpf): Likewise.
5952         (ldexpl): Likewise.
5954         [BZ #19205]
5955         * math/bits/math-finite.h (acosf): Condition declaration on
5956         [__USE_ISOC99].
5957         (acosl): Likewise.
5958         (acoshf): Likewise.
5959         (acoshl): Likewise.
5960         (asinf): Likewise.
5961         (asinl): Likewise.
5962         (atan2f): Likewise.
5963         (atan2l): Likewise.
5964         (atanhf): Likewise.
5965         (atanhl): Likewise.
5966         (coshf): Likewise.
5967         (coshl): Likewise.
5968         (expf): Likewise.
5969         (expl): Likewise.
5970         (fmodf): Likewise.
5971         (fmodl): Likewise.
5972         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5973         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5974         (j0l): Likewise.
5975         (y0f): Likewise.
5976         (y0l): Likewise.
5977         (j1f): Likewise.
5978         (j1l): Likewise.
5979         (y1f): Likewise.
5980         (y1l): Likewise.
5981         (jnf): Likewise.
5982         (jnl): Likewise.
5983         (ynf): Likewise.
5984         (ynl): Likewise.
5985         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5986         (lgammal_r): Likewise.
5987         (__lgamma_r_finite): New declaration.
5988         (__lgammaf_r_finite): Likewise.
5989         (__lgammal_r_finite): Likewise.
5990         (lgamma): Use __lgamma_r_finite.
5991         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5992         __lgammaf_r_finite.
5993         (lgammal): Condition definition on [__USE_ISOC99].  Use
5994         __lgammal_r_finite.
5995         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5996         __lgamma_r_finite.
5997         (gammaf): Condition definition on [__USE_ISOC99].  Use
5998         __lgammaf_r_finite.
5999         (gammal): Condition definition on [__USE_ISOC99].  Use
6000         __lgammal_r_finite.
6001         (logf): Condition declaration on [__USE_ISOC99].
6002         (logl): Likewise.
6003         (log10f): Likewise.
6004         (log10l): Likewise.
6005         (ldexpf): Likewise.
6006         (ldexpl): Likewise.
6007         (powf): Likewise.
6008         (powl): Likewise.
6009         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6010         __USE_ISOC99].
6011         (remainderf): Condition declaration on [__USE_ISOC99].
6012         (remainderl): Likewise.
6013         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6014         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6015         (scalbl): Likewise.
6016         (sinhf): Condition declaration on [__USE_ISOC99].
6017         (sinhl): Likewise.
6018         (sqrtf): Likewise.
6019         (sqrtl): Likewise.
6021 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6023         * sysdeps/arm/atomic-machine.h
6024         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6025         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6026         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6027         Remove conditional code.
6028         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6029         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6030         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6031         Change conditional to [__ASSEMBLER__].
6032         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6033         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6034         [!__ASSEMBLER__].
6035         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6036         code.
6037         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6038         conditional macro definitions.
6039         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6040         (__arch_compare_and_exchange_val_16_acq): Likewise.
6041         (__arch_compare_and_exchange_val_32_acq): Likewise.
6042         (atomic_exchange_and_add): Likewise.
6043         (atomic_add): Likewise.
6044         (atomic_add_negative): Likewise.
6045         (atomic_add_zero): Likewise.
6046         (atomic_bit_set): Likewise.
6047         (atomic_bit_test_set): Likewise.
6048         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6049         code unconditional.
6050         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6052         * math/test-math-errno.h: New file.
6053         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6054         empty.
6055         (TEST_ERRNO): New macro.
6056         (TEST_EXCEPTIONS): Likewise.
6057         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6058         (TEST_EXCEPTIONS): Likewise.
6059         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6060         * math/test-double.c: Include "test-math-errno.h".
6061         * math/test-float.c: Likewise.
6062         * math/test-ldouble.c: Likewise.
6063         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6064         code unconditional.
6065         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6066         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6067         unconditional.
6068         (test_errno): Only run code if TEST_ERRNO.
6069         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6071 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6073         * nptl/tst-once5.cc: Remove attribution.
6075 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6077         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6078         sqrt, tan, tanh, y0, y1 and yn.
6079         * math/auto-libm-test-out: Regenerated.
6080         * math/libm-test.inc (scalb_test_data): Add more tests.
6081         (scalbn_test_data): Likewise.
6082         (scalbln_test_data): Likewise.
6083         (signbit_test_data): Likewise.
6084         (sin_test_data): Likewise.
6085         (sincos_test_data): Likewise.
6086         (sinh_test_data): Likewise.
6087         (sqrt_test_data): Likewise.
6088         (tan_test_data): Likewise.
6089         (tanh_test_data): Likewise.
6090         (tgamma_test_data): Likewise.
6091         (y0_test_data): Likewise.
6092         (y1_test_data): Likewise.
6093         (yn_test_data): Likewise.
6094         (significand_test_data): Likewise.
6095         * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 2015-11-03  David Kastrup  <dak@gnu.org>
6099         [BZ #18604]
6100         * assert/assert.h (assert): Don't macro-expand failed assertion
6101         expression in error message.
6102         * malloc/malloc.c (assert): Likewise.
6104 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6106         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6107         test.
6108         * configure: Regenerated.
6110 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6112         * math/libm-test.inc (modf_test_data): Add more tests.
6113         (nearbyint_test_data): Likewise.
6114         (nextafter_test_data): Likewise.
6115         (nexttoward_test_data): Likewise.
6116         (pow_test_data): Likewise.
6117         (remainder_test_data): Likewise.
6118         (remquo_test_data): Likewise.
6119         (rint_test_data): Likewise.
6121         [BZ #19201]
6122         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6123         Check for zero remainder in case of large exponents and ensure
6124         correct sign of result in that case.
6125         * math/libm-test.inc (remainder_test_data): Add more tests.
6127         [BZ #6799]
6128         * math/s_nextafter.c: Include <errno.h>.
6129         (__nextafter): Set errno on overflow and underflow.
6130         * math/s_nexttowardf.c: Include <errno.h>.
6131         (__nexttowardf): Set errno on overflow and underflow.
6132         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6133         (__nextafterl): Set errno on overflow and underflow.
6134         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6135         (__nexttoward): Set errno on overflow and underflow.
6136         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6137         (__nexttowardf): Set errno on overflow and underflow.
6138         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6139         (__nextafterf): Set errno on overflow and underflow.
6140         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6141         (__nextafterl): Set errno on overflow and underflow.
6142         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6143         (__nexttoward): Set errno on overflow and underflow.
6144         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6145         (__nexttowardf): Set errno on overflow and underflow.
6146         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6147         (__nextafterl): Set errno on overflow and underflow.
6148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6149         (__nexttoward): Set errno on overflow and underflow.
6150         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6151         (__nexttowardf): Set errno on overflow and underflow.
6152         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6153         (__nexttoward): Set errno on overflow and underflow.
6154         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6155         (__nexttowardf): Set errno on overflow and underflow.
6156         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6157         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6158         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6159         (__nextafterl): Set errno on overflow and underflow.
6160         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6161         setting to be missing on overflow.  Add more tests.
6162         (nexttoward_test_data): Likewise.
6164         * configure.ac (libc_cv_initfini_array): Remove configure test.
6165         * configure: Regenerated.
6167 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6169         [BZ #19189]
6170         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6171         non-finite argument handle arguments with negative sign.
6173         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6174         result from infinite argument.
6175         (j1_test_data): Likewise.
6176         (jn_test_data): Likewise.
6177         (y0_test_data): Likewise.
6178         (y1_test_data): Likewise.
6179         (yn_test_data): Likewise.
6181         [BZ #16171]
6182         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6183         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6184         * math/w_remainderf.c (dremf): Define as weak alias of
6185         __remainderf.
6186         * math/w_remainderl.c (dreml): Define as weak alias of
6187         __remainderl.
6188         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6189         __remainder.
6190         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6191         __remainderf.
6192         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6193         __remainderl.
6194         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6195         weak alias of remainderl.
6196         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6197         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6198         alias of __remainder.
6199         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6200         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6201         strong alias of __remainderl.
6202         (dreml): Use long_double_symbol.
6203         * math/Makefile (libm-calls): Remove w_drem.
6204         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6205         (CFLAGS-nldbl-drem.c): Remove variable.
6206         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6207         * math/w_drem.c: Remove file.
6208         * math/w_dremf.c: Likewise.
6209         * math/w_dreml.c: Likewise.
6210         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6211         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6212         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6214         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6215         * sysdeps/i386/configure: Regenerated.
6216         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6217         * sysdeps/x86_64/configure: Regenerated.
6219         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6220         test.
6221         (libc_cv_visibility_attribute): Likewise.
6222         (libc_cv_protected_data): Test unconditionally.
6223         (libc_cv_broken_visibility_attribute): Remove configure test.
6224         (libc_cv_have_sdata_section): Test unconditionally.
6225         * configure: Regenerated.
6227         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6228         * include/scratch_buffer.h: Include <stddef.h> instead of
6229         <libc-internal.h>.
6230         (struct scratch_buffer): Use max_align_t instead of
6231         libc_max_align_t.
6233 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6235         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6236         instead of extend_alloca.  Change control flow to avoid a goto.
6237         Remove assert which is trivially always true.
6239 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #16068]
6242         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6243         (FE_ALL_EXCEPT_X86): New macro.
6244         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6245         FE_ALL_EXCEPT.  Ensure precision control is included in
6246         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6247         handle "denormal operand exception" and clear FZ and DAZ bits.
6248         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6249         (FE_ALL_EXCEPT_X86): New macro.
6250         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6251         FE_ALL_EXCEPT.  Ensure precision control is included in
6252         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6253         handle "denormal operand exception" and clear FZ and DAZ bits.
6254         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6255         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6256         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6257         test-fenv-x87 and test-fenv-sse-2.
6258         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6260         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6261         * math/test-double.h (BUILD_COMPLEX): New macro.
6262         * math/test-float.h (BUILD_COMPLEX): Likewise.
6263         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6265         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6266         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6267         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6269         instead of DBL_DENORM_MIN in comment.
6270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6271         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6272         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6273         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6275         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6277 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6279         [BZ# 19048]
6280         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6281         attached_threads member.
6282         (main_arena): Initialize attached_threads.
6283         * malloc/arena.c (list_lock): Update comment.
6284         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6285         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6286         (deattach_arena): New function.
6287         (_int_new_arena): Initialize arena reference count and deattach
6288         replaced arena.
6289         (get_free_list, reused_arena): Update reference count and deattach
6290         replaced arena.
6291         (arena_thread_freeres): Update arena reference count and only put
6292         unreferenced arenas on the free list.
6294 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #19181]
6297         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6298         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6299         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6300         * math/test-fenv-clear-main.c: New file.
6301         * math/test-fenv-clear.c: Likewise.
6302         * math/Makefile (tests): Add test-fenv-clear.
6303         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6304         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6305         test-fenv-clear-sse.
6306         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6308         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6309         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6310         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6312 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6314         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6315         static libc.
6317 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6319         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6320         test.
6321         * sysdeps/i386/configure: Regenerated.
6322         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6323         test.
6324         * sysdeps/x86_64/configure: Regenerated.
6325         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6327         memset-avx2 unconditionally instead of conditionally on
6328         [$(config-cflags-avx2) = yes].
6329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6330         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6331         unconditional.
6332         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6333         * sysdeps/x86_64/multiarch/memset_chk.S
6334         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6335         to [IS_IN (libc) && SHARED].
6337 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6339         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6340         configure test.
6341         * sysdeps/arm/configure: Regenerated.
6342         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6343         Define variable if not already defined.
6345         [BZ #17404]
6346         * sysdeps/mips/atomic-machine.h
6347         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6348         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6349         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6351         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6352         unconditional.
6353         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6354         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6355         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6356         unconditional.
6357         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6358         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6359         unconditional.
6360         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6361         * stdlib/setenv.c
6362         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6363         code unconditional.
6364         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6365         Remove conditional code.
6366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6367         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6368         unconditional.
6369         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6370         code.
6371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6372         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6373         unconditional.
6374         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6375         code.
6376         * sysdeps/ieee754/ldbl-128/k_tanl.c
6377         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6378         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6380         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6381         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6383         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6384         unconditional.
6385         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6386         code.
6387         * sysdeps/ieee754/ldbl-96/k_tanl.c
6388         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6389         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6391         * nptl/tst-initializers1-c11.c: New file.
6392         * nptl/tst-initializers1-gnu11.c: Likewise.
6393         * nptl/Makefile (tests): Add these new tests.
6394         (CFLAGS-tst-initializers1-c11.c): New variable.
6395         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6397         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6398         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6399         instead of -std=gnu99.
6400         * configure.ac (systemtap): Test with -std=gnu11 instead of
6401         -std=gnu99.
6402         * configure: Regenerated.
6403         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6404         in compilation command in comment.
6406         * sysdeps/nptl/configure.ac: Remove file.
6407         * sysdeps/nptl/configure: Remove generated file.
6408         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6409         * configure: Regenerated.
6410         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6411         * config.make.in (have-forced-unwind): Remove variable.
6412         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6413         unconditional.
6414         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6415         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6416         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6417         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6418         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6419         unconditional.
6421 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6423         [BZ #19174]
6424         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6425         .skip_lock_out_of_tbegin_retries.
6426         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6427         (__lll_lock_elision): Likewise, and respect a value of
6428         try_tbegin <= 0.
6430 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6432         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6433         statement.
6435 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6437         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6438         variable.
6439         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6440         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6442         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6443         of -std=c1x -D_ISOC11_SOURCE.
6445         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6446         * configure: Regenerated.
6447         * manual/install.texi (Tools for Compilation): Document
6448         requirement for GCC 4.7 or later.
6449         * INSTALL: Regenerated.
6451 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6453         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6454         on CNT to a conditional jump to 'puntdata'.
6456 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6458         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6459         (libc_cv_gcc_tls_model_attr): Likewise.
6460         * configure: Regenerated.
6462         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6463         * configure: Regenerated.
6464         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6466 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6468         * configure.ac (old_glibc_headers): Remove configure test.
6469         * configure: Regenerated.
6470         * config.make.in (old-glibc-headers): Remove variable.
6471         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6472         (install): Remove dependency on remove-old-headers.
6473         (headers2_0): Remove variable.
6474         (remove-old-headers): Remove rule.
6476         * configure.ac (libc_cv_dot_text): Remove configure test.
6477         (libc_cv_asm_set_directive): Use .text instead of
6478         ${libc_cv_dot_text} in configure test.
6479         * configure: Regenerated.
6481 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6483         [BZ #19168]
6484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6486 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6488         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6489         not support static linking.
6490         * configure: Regenerate.
6492 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6494         * math/libm-test.inc (check_float_internal): Do not special-case
6495         errors up to 0.5 ulp.
6497         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6498         log2.
6499         * math/auto-libm-test-out: Regenerated.
6500         * math/libm-test.inc (MAX_EXP): New macro.
6501         (ilogb_test_data): Add more tests.
6502         (isfinite_test_data): Likewise.
6503         (isgreater_test_data): Likewise.
6504         (isgreaterequal_test_data): Likewise.
6505         (isinf_test_data): Likewise.
6506         (isless_test_data): Likewise.
6507         (islessequal_test_data): Likewise.
6508         (islessgreater_test_data): Likewise.
6509         (isnan_test_data): Likewise.
6510         (isnormal_test_data): Likewise.
6511         (issignaling_test_data): Likewise.
6512         (isunordered_test_data): Likewise.
6513         (j0_test_data): Likewise.
6514         (j1_test_data): Likewise.
6515         (jn_test_data): Likewise.
6516         (lgamma_test_data): Likewise.
6517         (log_test_data): Likewise.
6518         (log10_test_data): Likewise.
6519         (log1p_test_data): Likewise.
6520         (log2_test_data): Likewise.
6521         (logb_test_data): Likewise.
6522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6524         [BZ #18611]
6525         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6526         avoid excess range and precision on underflow.
6527         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6528         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6531         underflow.
6532         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6534         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6536         * math/auto-libm-test-in: Do not allow missing errno setting for
6537         tests of j1 and jn.
6538         * math/auto-libm-test-out: Regenerated.
6540 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6542         [BZ #15491]
6543         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6544         floating-point environment instead of clearing all exceptions.
6545         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6546         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6547         merging in "invalid" exceptions from frndint.
6548         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6549         * math/test-nearbyint-except.c: New file.
6550         * math/Makefile (tests): Add test-nearbyint-except.
6552 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6554         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6556         * sysdeps/tile/libm-test-ulps: Regenerated.
6558 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6561         (__NR_sync_file_range2): Assume it is always defined.
6562         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6563         (__NR_sync_file_range): Assume it is always defined.
6565 2015-10-22  Andreas Schwab  <schwab@suse.de>
6567         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6568         INTERNAL_SYSCALL_ERRNO.
6569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6570         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6571         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6572         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6576 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6578         * io/tst-fcntl.c (fd): New static variable.
6579         (do_prepare): Open temporary file here....
6580         (do_test): ...not here.
6582         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6584 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6586         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6587         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6588         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6589         Moved before "#ifdef __ASSEMBLER__".
6591 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6593         [BZ #19156]
6594         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6595         arguments very close to 0.
6597 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6599         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6600         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6602 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6604         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6605         New.  Defined for GCC 5 and above when not compiling for
6606         profiling.
6607         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6609         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6610         Renamed to ...
6611         (CFLAGS-epoll_pwait.o): This.
6612         (CFLAGS-mmap.c): Renamed to ...
6613         (CFLAGS-mmap.o): This.
6614         (CFLAGS-mmap64.c): Renamed to ...
6615         (CFLAGS-mmap64.o): This.
6616         (CFLAGS-epoll_pwait.os): New.
6617         (CFLAGS-mmap.os): Likewise.
6618         (CFLAGS-mmap64.os): Likewise.
6619         (CFLAGS-semtimedop.os): Likewise.
6620         (CFLAGS-semtimedop.c): Renamed to ...
6621         (CFLAGS-semtimedop.o): This.
6623 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6625         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6626         warning message.
6628 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6630         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6631         * Makefile ($(objpfx)c++-types-check.out): Filter out
6632         $(+gccwarn-c) instead of -Wstrict-prototypes.
6634         * io/fts.c (fts_open): Convert to prototype-style function
6635         definition.
6636         * malloc/mcheck.c (mcheck): Likewise.
6637         (mcheck_pedantic): Likewise.
6638         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6639         internal_function.
6640         (re_search_internal): Likewise.
6641         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6642         prototype-style function definition.
6643         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6644         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6645         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6646         (xdr_utmpptr): Likewise.
6647         (xdr_utmparr): Likewise.
6648         (xdr_utmpidle): Likewise.
6649         (xdr_utmpidleptr): Likewise.
6650         (xdr_utmpidlearr): Likewise.
6652         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6653         log, log10 and log2.
6654         * math/auto-libm-test-out: Regenerated.
6655         * math/libm-test.inc (fmod_test_data): Add more tests.
6656         (fpclassify_test_data): Likewise.
6657         (frexp_test_data): Likewise.
6658         (hypot_test_data): Likewise.
6659         (ilogb_test_data): Likewise.
6661 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6663         * debug/fortify_fail.c (__fortify_fail): Convert to
6664         prototype-style function definition.  Use internal_function.
6665         * libio/genops.c (save_for_backup): Convert to prototype-style
6666         function definition.
6667         * libio/wgenops.c (save_for_wbackup): Likewise.
6668         * login/grantpt.c (grantpt): Likewise.
6669         * login/ptsname.c (ptsname): Likewise.
6670         (__ptsname_r): Likewise.
6671         * login/unlockpt.c (unlockpt): Likewise.
6672         * mach/msgserver.c (__mach_msg_server): Likewise.
6673         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6674         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6675         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6676         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6677         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6678         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6679         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6680         Likewise.
6681         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6682         internal_function.
6683         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6684         prototype-style function definition.
6685         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6686         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6687         (__pthread_create_2_0): Likewise.
6688         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6689         * nptl/register-atfork.c (__register_atfork): Likewise.
6690         * posix/glob.c (glob): Likewise.
6691         * posix/regcomp.c (re_comp): Likewise.
6692         * posix/regexec.c (re_exec): Likewise.
6693         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6694         [!__STDC__]: Remove conditional code.
6695         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6696         [!__STDC__]: Remove conditional code.
6697         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6698         [!__STDC__]: Remove conditional code.
6699         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6700         [!__STDC__]: Remove conditional code.
6701         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6702         [!__STDC__]: Remove conditional code.
6703         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6704         [!__STDC__]: Remove conditional code.
6705         * stdlib/mul.c [__STDC__]: Make code unconditional.
6706         [!__STDC__]: Remove conditional code.
6707         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6708         [!__STDC__]: Remove conditional code.
6709         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6710         [!__STDC__]: Remove conditional code.
6711         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6712         function definition.
6713         (STRTOF): Likewise.
6714         * stdlib/strtod_l.c (__STRTOF): Likewise.
6715         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6716         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6717         (__strtol_l): Likewise.
6718         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6719         [!__STDC__]: Remove conditional code.
6720         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6721         definition.
6722         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6723         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6724         type.
6725         (__strcasecmp): Convert to prototype-style function definition.
6726         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6727         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6728         type.
6729         (__strncasecmp): Convert to prototype-style function definition.
6730         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6731         * sunrpc/xdr.c (xdr_union): Likewise.
6732         * sunrpc/xdr_array.c (xdr_array): Likewise.
6733         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6734         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6735         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6736         Likewise.
6737         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6738         Likewise.
6739         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6740         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6741         Likewise.
6742         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6743         (LOCALE_PARAM_PROTO): Likewise.
6744         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6745         argument type.
6746         (ut_argument_spec): Remove macro.
6747         (ut_argument_spec_iso): Rename to ut_argument_spec.
6748         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6749         prototype-style function definition.
6750         (memcpy_uppcase): Likewise.
6751         (__strftime_internal): Likewise.
6752         (my_strftime): Likewise.
6753         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6754         (LOCALE_PARAM_DECL): Likewise.
6755         [_LIBC] (LOCALE_PARAM): Include argument type.
6756         (__strptime_internal): Convert to prototype-style function
6757         definition.
6758         (strptime): Likewise.
6759         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6760         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6761         type.
6762         (__wcscasecmp): Convert to prototype-style function definition.
6763         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6764         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6765         type.
6766         (__wcsncasecmp): Convert to prototype-style function definition.
6768         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6769         function definition.
6770         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6771         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6772         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6773         * elf/dl-minimal.c (_itoa): Likewise.
6774         * hurd/hurdmalloc.c (malloc): Likewise.
6775         (free): Likewise.
6776         (realloc): Likewise.
6777         * inet/inet6_option.c (inet6_option_space): Likewise.
6778         (inet6_option_init): Likewise.
6779         (inet6_option_append): Likewise.
6780         (inet6_option_alloc): Likewise.
6781         (inet6_option_next): Likewise.
6782         (inet6_option_find): Likewise.
6783         * io/ftw.c (FTW_NAME): Likewise.
6784         (NFTW_NAME): Likewise.
6785         (NFTW_NEW_NAME): Likewise.
6786         (NFTW_OLD_NAME): Likewise.
6787         * libio/iofwide.c (_IO_fwide): Likewise.
6788         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6789         (_IO_str_init_static): Likewise.
6790         (_IO_str_init_readonly): Likewise.
6791         (_IO_str_overflow): Likewise.
6792         (_IO_str_underflow): Likewise.
6793         (_IO_str_count): Likewise.
6794         (_IO_str_seekoff): Likewise.
6795         (_IO_str_pbackfail): Likewise.
6796         (_IO_str_finish): Likewise.
6797         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6798         (_IO_wstr_overflow): Likewise.
6799         (_IO_wstr_underflow): Likewise.
6800         (_IO_wstr_count): Likewise.
6801         (_IO_wstr_seekoff): Likewise.
6802         (_IO_wstr_pbackfail): Likewise.
6803         (_IO_wstr_finish): Likewise.
6804         * locale/programs/localedef.c (normalize_codeset): Likewise.
6805         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6806         (add_locales_to_archive): Likewise.
6807         (delete_locales_from_archive): Likewise.
6808         * malloc/malloc.c (__libc_mallinfo): Likewise.
6809         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6810         * misc/tsearch.c (__tfind): Likewise.
6811         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6812         * nptl/pthread_attr_getdetachstate.c
6813         (__pthread_attr_getdetachstate): Likewise.
6814         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6815         Likewise.
6816         * nptl/pthread_attr_getinheritsched.c
6817         (__pthread_attr_getinheritsched): Likewise.
6818         * nptl/pthread_attr_getschedparam.c
6819         (__pthread_attr_getschedparam): Likewise.
6820         * nptl/pthread_attr_getschedpolicy.c
6821         (__pthread_attr_getschedpolicy): Likewise.
6822         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6823         Likewise.
6824         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6825         Likewise.
6826         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6827         Likewise.
6828         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6829         Likewise.
6830         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6831         (__pthread_attr_init_2_0): Likewise.
6832         * nptl/pthread_attr_setdetachstate.c
6833         (__pthread_attr_setdetachstate): Likewise.
6834         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6835         Likewise.
6836         * nptl/pthread_attr_setinheritsched.c
6837         (__pthread_attr_setinheritsched): Likewise.
6838         * nptl/pthread_attr_setschedparam.c
6839         (__pthread_attr_setschedparam): Likewise.
6840         * nptl/pthread_attr_setschedpolicy.c
6841         (__pthread_attr_setschedpolicy): Likewise.
6842         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6843         Likewise.
6844         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6845         Likewise.
6846         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6847         Likewise.
6848         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6849         Likewise.
6850         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6851         Likewise.
6852         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6853         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6854         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6855         use internal_function.
6856         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6857         prototype-style function definition.
6858         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6859         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6860         internal_function.
6861         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6862         Convert to prototype-style function definition.
6863         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6864         Likewise.
6865         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6866         Likewise.
6867         (__pthread_mutex_unlock): Likewise.
6868         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6869         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6870         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6871         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6872         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6873         * nss/makedb.c (process_input): Likewise.
6874         * posix/fnmatch.c (__strchrnul): Likewise.
6875         (__wcschrnul): Likewise.
6876         (fnmatch): Likewise.
6877         * posix/fnmatch_loop.c (FCT): Likewise.
6878         * posix/glob.c (globfree): Likewise.
6879         (__glob_pattern_type): Likewise.
6880         (__glob_pattern_p): Likewise.
6881         * posix/regcomp.c (re_compile_pattern): Likewise.
6882         (re_set_syntax): Likewise.
6883         (re_compile_fastmap): Likewise.
6884         (regcomp): Likewise.
6885         (regerror): Likewise.
6886         (regfree): Likewise.
6887         * posix/regexec.c (regexec): Likewise.
6888         (re_match): Likewise.
6889         (re_search): Likewise.
6890         (re_match_2): Likewise.
6891         (re_search_2): Likewise.
6892         (re_search_stub): Likewise.  Use internal_function
6893         (re_copy_regs): Likewise.
6894         (re_set_registers): Convert to prototype-style function
6895         definition.
6896         (prune_impossible_nodes): Likewise.  Use internal_function.
6897         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6898         prototype-style function definition.
6899         (inet_net_pton_ipv4): Likewise.
6900         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6901         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6902         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6903         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6904         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6905         Make variadic.
6906         * time/strptime_l.c (localtime_r): Convert to prototype-style
6907         function definition.
6908         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6909         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6910         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6911         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6913         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6914         definition.
6915         (_ufc_doit_r): Likewise.
6916         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6917         (_ufc_output_conversion_r): Likewise.
6918         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6919         * inet/rcmd.c (rcmd_af): Likewise.
6920         (rcmd): Likewise.
6921         (ruserok_af): Likewise.
6922         (ruserok): Likewise.
6923         (ruserok2_sa): Likewise.
6924         (ruserok_sa): Likewise.
6925         (iruserok_af): Likewise.
6926         (iruserok): Likewise.
6927         (__ivaliduser): Likewise.
6928         (__validuser2_sa): Likewise.
6929         * inet/rexec.c (rexec_af): Likewise.
6930         (rexec): Likewise.
6931         * inet/ruserpass.c (ruserpass): Likewise.
6932         * locale/programs/xmalloc.c (xcalloc): Likewise.
6933         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6934         * math/w_drem.c (__drem): Likewise.
6935         * math/w_dremf.c (__dremf): Likewise.
6936         * math/w_dreml.c (__dreml): Likewise.
6937         * misc/daemon.c (daemon): Likewise.
6938         * resolv/res_debug.c (p_fqnname): Likewise.
6939         * stdlib/div.c (div): Likewise.
6940         * string/memcmp.c (memcmp_bytes): Likewise.
6941         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6942         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6944         * crypt/cert.c (main): Convert to prototype-style function
6945         definition.
6946         * io/pipe.c (__pipe): Likewise.
6947         * io/pipe2.c (__pipe2): Likewise.
6948         * misc/futimesat.c (futimesat): Likewise.
6949         * misc/utimes.c (__utimes): Likewise.
6950         * posix/execve.c (__execve): Likewise.
6951         * posix/execvp.c (execvp): Likewise.
6952         * posix/execvpe.c (__execvpe): Likewise.
6953         * posix/fexecve.c (fexecve): Likewise.
6954         * socket/socketpair.c (socketpair): Likewise.
6955         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6956         * stdlib/erand48.c (erand48): Likewise.
6957         * stdlib/erand48_r.c (__erand48_r): Likewise.
6958         * stdlib/jrand48.c (jrand48): Likewise.
6959         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6960         * stdlib/lcong48.c (lcong48): Likewise.
6961         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6962         * stdlib/nrand48.c (nrand48): Likewise.
6963         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6964         * stdlib/seed48.c (seed48): Likewise.
6965         * stdlib/seed48_r.c (__seed48_r): Likewise.
6966         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6967         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6968         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6970 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6972         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6973         * configure: Regenerated.
6974         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6975         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6976         unconditional.
6977         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6978         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6979         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6980         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6981         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6982         unconditional.
6983         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6985         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6986         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6988         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6989         function definition.
6990         * crypt/crypt_util.c (__encrypt_r): Likewise.
6991         * libio/genops.c (_IO_no_init): Likewise.
6992         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6993         (_IO_old_fopencookie): Likewise.
6994         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6995         * libio/iogetline.c (_IO_getline): Likewise.
6996         (_IO_getline_info): Likewise.
6997         * libio/iogetwline.c (_IO_getwline): Likewise.
6998         (_IO_getwline_info): Likewise.
6999         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7000         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7001         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7002         (find_entry): Likewise.
7003         (iterate_table): Likewise.
7004         (lookup): Likewise.
7005         * login/forkpty.c (forkpty): Likewise.
7006         * misc/hsearch_r.c (__hsearch_r): Likewise.
7007         * misc/select.c (__select): Likewise.
7008         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7009         Likewise.
7010         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7011         Likewise.
7012         * nptl/old_pthread_cond_timedwait.c
7013         (__pthread_cond_timedwait_2_0): Likewise.
7014         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7015         * nptl/pthread_barrierattr_getpshared.c
7016         (pthread_barrierattr_getpshared): Likewise.
7017         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7018         Likewise.
7019         * nptl/pthread_mutex_setprioceiling.c
7020         (pthread_mutex_setprioceiling): Likewise.
7021         * nptl/pthread_mutexattr_getprioceiling.c
7022         (pthread_mutexattr_getprioceiling): Likewise.
7023         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7024         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7025         Likewise.
7026         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7027         Likewise.
7028         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7029         Likewise.
7030         * socket/recvfrom.c (__recvfrom): Likewise.
7031         * socket/sendto.c (__sendto): Likewise.
7032         * socket/setsockopt.c (__setsockopt): Likewise.
7033         * stdio-common/_itoa.c (_itoa): Likewise.
7034         * stdio-common/_itowa.c (_itowa): Likewise.
7035         * stdio-common/reg-printf.c (__register_printf_specifier):
7036         Likewise.
7037         (__register_printf_function): Likewise.
7038         * stdio-common/tempname.c (__path_search): Likewise.
7039         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7040         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7041         * stdlib/random_r.c (__initstate_r): Likewise.
7042         * stdlib/setenv.c (__add_to_environ): Likewise.
7043         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7044         * streams/getpmsg.c (getpmsg): Likewise.
7045         * streams/putmsg.c (putmsg): Likewise.
7046         * streams/putpmsg.c (putpmsg): Likewise.
7047         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7048         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7049         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7050         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7051         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7052         * sunrpc/svc_udp.c (cache_get): Likewise.
7053         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7054         * sysdeps/mach/hurd/getcwd.c
7055         (__canonicalize_directory_name_internal): Likewise.
7056         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7057         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7058         * sysdeps/mach/hurd/select.c (__select): Likewise.
7059         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7060         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7061         * sysdeps/sparc/nptl/pthread_barrier_init.c
7062         (__pthread_barrier_init): Likewise.
7063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7064         (__pthread_cond_timedwait): Likewise.
7065         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7066         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7067         Likewise.
7068         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7069         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7070         Likewise.
7071         * sysvipc/semtimedop.c (semtimedop): Likewise.
7072         * time/setitimer.c (__setitimer): Likewise.
7073         * time/strftime_l.c (emacs_strftime): Likewise.
7075 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7077         * config.make.in (have-ssp): Delete.
7078         (stack-protector): New variable.
7079         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7080         cache test for -fstack-protector-strong.  Export stack_protector to
7081         the best ssp flag.
7082         * configure: Regenerated.
7083         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7084         * nscd/Makefile (CFLAGS-nscd): Likewise.
7085         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7087 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7089         [BZ #19122]
7090         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7091         attribute_hidden.
7093 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7095         [BZ #18743]
7096         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7097         code to...
7098         (ELIDE_LOCK): ...here.
7099         (__get_new_count): New function with part of the code from
7100         __elide_lock that updates the value of adapt_count after a
7101         transaction abort.
7102         (__elided_trylock): Moved this code to...
7103         (ELIDE_TRYLOCK): ...here.
7105 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7107         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7108         * configure: Regenerate.
7109         * INSTALL: Regenerate.
7110         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7111         and tweak grammar.
7113 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7115         * login/programs/pt_chown.c: Include signal.h
7116         (main): Clear any signal mask from the parent process.
7118 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7120         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7121         * configure: Regenerated.
7122         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7123         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7124         $(gnu89-inline-CFLAGS).
7126         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7127         test.
7128         (libc_cv_asm_weakext_directive): Likewise.
7129         * configure: Regenerated.
7130         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7131         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7132         * include/libc-symbols.h
7133         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7134         #error.
7135         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7136         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7138         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7139         prototype-style function definition.
7140         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7141         * sysdeps/i386/ffs.c (__ffs): Likewise.
7142         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7143         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7144         Likewise.
7145         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7146         Likewise.
7147         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7149         Likewise.
7150         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7151         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7152         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7153         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7154         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7155         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7156         * sysdeps/mach/hurd/access.c (__access): Likewise.
7157         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7158         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7159         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7160         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7161         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7162         (cthread_getspecific): Likewise.
7163         (cthread_setspecific): Likewise.
7164         (__libc_getspecific): Likewise.
7165         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7166         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7167         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7168         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7169         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7170         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7171         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7172         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7173         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7174         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7175         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7176         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7177         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7178         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7179         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7180         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7181         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7182         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7183         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7184         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7185         * sysdeps/mach/hurd/link.c (__link): Likewise.
7186         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7187         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7188         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7189         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7190         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7191         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7192         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7193         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7194         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7195         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7196         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7197         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7198         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7199         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7200         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7201         * sysdeps/mach/hurd/send.c (__send): Likewise.
7202         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7203         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7204         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7205         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7206         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7207         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7208         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7209         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7210         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7211         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7212         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7213         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7214         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7215         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7216         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7217         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7218         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7219         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7220         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7221         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7222         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7223         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7224         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7225         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7226         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7227         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7228         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7229         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7230         * sysdeps/posix/alarm.c (alarm): Likewise.
7231         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7232         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7233         * sysdeps/posix/dup.c (__dup): Likewise.
7234         * sysdeps/posix/dup2.c (__dup2): Likewise.
7235         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7236         (main): Likewise.
7237         * sysdeps/posix/flock.c (__flock): Likewise.
7238         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7239         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7240         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7241         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7242         * sysdeps/posix/isatty.c (__isatty): Likewise.
7243         * sysdeps/posix/killpg.c (killpg): Likewise.
7244         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7245         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7246         * sysdeps/posix/raise.c (raise): Likewise.
7247         * sysdeps/posix/remove.c (remove): Likewise.
7248         * sysdeps/posix/rename.c (rename): Likewise.
7249         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7250         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7251         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7252         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7253         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7254         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7255         * sysdeps/posix/sigset.c (sigset): Likewise.
7256         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7257         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7258         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7259         * sysdeps/posix/time.c (time): Likewise.
7260         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7261         (ttyname): Likewise.
7262         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7263         * sysdeps/posix/utime.c (utime): Likewise.
7264         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7265         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7266         Likewise.
7267         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7268         (pthread_spin_trylock): Likewise.
7269         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7270         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7271         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7272         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7273         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7274         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7275         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7276         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7277         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7278         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7279         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7280         * sysdeps/s390/ffs.c (__ffs): Likewise.
7281         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7282         Likewise.
7283         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7284         Likewise.
7285         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7286         Likewise.
7287         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7288         (pthread_barrier_destroy): Likewise.
7289         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7290         (__pthread_barrier_wait): Likewise.
7291         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7292         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7293         (__pthread_barrier_wait): Likewise.
7294         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7295         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7296         (memcmp_not_common_alignment): Likewise.
7297         (MEMCMP): Likewise.
7298         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7299         (_wordcopy_fwd_dest_aligned): Likewise.
7300         (_wordcopy_bwd_aligned): Likewise.
7301         (_wordcopy_bwd_dest_aligned): Likewise.
7302         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7303         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7304         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7305         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7306         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7307         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7308         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7309         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7310         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7311         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7312         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7313         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7314         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7315         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7316         * sysdeps/unix/stime.c (stime): Likewise.
7317         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7318         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7319         Likewise.  Use internal_function.
7320         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7321         Convert to prototype-style function definition.
7322         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7323         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7324         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7325         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7326         Likewise.  Use internal_function.
7327         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7328         prototype-style function definition
7329         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7330         Likewise.
7331         (__getlogin_r): Likewise.
7332         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7334         (__pthread_cond_broadcast): Likewise.
7335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7336         (__pthread_cond_destroy): Likewise.
7337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7338         (__pthread_cond_init): Likewise.
7339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7340         (__pthread_cond_signal): Likewise.
7341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7342         (__pthread_cond_wait): Likewise.
7343         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7344         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7345         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7346         Likewise.
7347         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7348         Likewise.
7349         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7350         Likewise.
7351         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7355         (__ftruncate64): Likewise.
7356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7357         (truncate64): Likewise.
7358         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7359         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7360         (pthread_getcpuclockid): Likewise.
7361         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7362         Likewise.
7363         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7364         Likewise.
7365         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7366         Likewise.
7367         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7368         Likewise.
7369         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7370         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7371         (__libc_sigaction): Likewise.
7372         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7373         Likewise.
7374         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7375         (__sigprocmask): Likewise.
7376         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7377         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7378         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7379         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7380         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7381         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7382         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7383         Likewise.
7384         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7385         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7386         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7387         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7389         Likewise.
7390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7391         (__sigprocmask): Likewise.
7392         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7393         (cfgetispeed): Likewise.
7394         (cfsetospeed): Likewise.
7395         (cfsetispeed): Likewise.
7396         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7397         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7398         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7399         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7400         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7401         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7402         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7403         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7404         Likewise.
7405         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7406         Likewise.
7407         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7408         Likewise.
7409         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7410         Likewise.
7411         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7413 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7415         sunrpc: Rewrite with explicit TLS access using __thread.
7416         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7417         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7418         directly.
7419         (__rpc_thread_variables): Access thread_rpc_vars directly.
7420         Eliminate redundant assignment of the tvp variable.
7422 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7424         malloc: Rewrite with explicit TLS access using __thread.
7425         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7426         (tsd_setspecific, tsd_getspecific): Remove.
7427         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7428         (tsd_setspecific, tsd_getspecific): Likewise.
7429         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7430         (tsd_setspecific, tsd_getspecific): Likewise.
7431         * malloc/arena.c (thread_arena): New TLS variable.
7432         (arena_key): Remove variable.
7433         (arena_get): Use thread_arena.
7434         (arena_lookup): Remove macro.
7435         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7436         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7437         (_int_new_arena, get_free_list, reused_arena)
7438         (arena_thread_freeres): Use thread_arena.
7439         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7440         tsd_getspecific, tsd_setspecific from safety annotations.
7441         (Allocating Cleared Space): Remove arena_lookup from safety
7442         annotations.
7444 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7446         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7447         struct scratch_buffer instead of extend_alloca.
7449 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7451         * sysdeps/unix/sysv/linux/kernel-features.h
7452         (__ASSUME_SOCK_CLOEXEC): Remove.
7453         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7454         (__have_paccept): Remove unused macro.
7455         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7456         * misc/syslog.c (openlog_internal): Remove fallback code for
7457         !__ASSUME_SOCK_CLOEXEC.
7458         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7459         missing SOCK_CLOEXEC.
7460         * nscd/connections.c (have_sock_cloexec): Remove definition.
7461         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7462         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7463         !__ASSUME_SOCK_CLOEXEC.
7464         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7465         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7466         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7467         definition.
7468         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7469         code for !__ASSUME_SOCK_CLOEXEC.
7471 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7473         [BZ #18982]
7474         * manual/stdio.texi (Variable Arguments Output): Add portability
7475         note, explaining that vfprintf clobbers the va_list pointer.
7477 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7479         * math/libm-test.inc (fabs_test_data): Add more tests.
7480         (fdim_test_data): Likewise.
7481         (fma_test_data): Likewise.
7482         (fmax_test_data): Likewise.
7483         (fmin_test_data): Likewise.
7484         (fmod_test_data): Likewise.
7486 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7488         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7489         data.
7491 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7493         * math/libm-test.inc (ceil_test_data): Add more tests and more
7494         expectations for "inexact".
7495         (floor_test_data): Add more tests.
7496         (round_test_data): Likewise.
7497         (trunc_test_data): Likewise.
7499         * crypt/cert.c (good_bye): Convert to prototype-style function
7500         definition.
7501         (get8): Likewise.
7502         (put8): Likewise.
7503         * crypt/crypt-entry.c (crypt): Likewise.
7504         (__fcrypt): Likewise.
7505         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7506         (_ufc_set_bits): Likewise.
7507         (_ufc_clearmem): Likewise.
7508         (__init_des_r): Likewise.
7509         (shuffle_sb): Likewise.
7510         (shuffle_sb): Likewise.
7511         (_ufc_setup_salt_r): Likewise.
7512         (_ufc_mk_keytab_r): Likewise.
7513         (_ufc_dofinalperm_r): Likewise.
7514         (encrypt): Likewise.
7515         (__setkey_r): Likewise.
7516         (setkey): Likewise.
7517         * crypt/md5.c (md5_init_ctx): Likewise.
7518         (md5_read_ctx): Likewise.
7519         (md5_finish_ctx): Likewise.
7520         (md5_stream): Likewise.
7521         (md5_buffer): Likewise.
7522         (md5_process_bytes): Likewise.
7523         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7524         (__sha256_finish_ctx): Likewise.
7525         (__sha256_process_bytes): Likewise.
7526         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7527         (__sha512_finish_ctx): Likewise.
7528         (__sha512_process_bytes): Likewise.
7529         * ctype/isctype.c (__isctype): Likewise.
7530         * debug/backtrace.c (__backtrace): Likewise.
7531         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7532         * debug/fgets_chk.c (__fgets_chk): Likewise.
7533         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7534         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7535         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7536         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7537         * debug/memset_chk.c (__memset_chk): Likewise.
7538         * debug/strcat_chk.c (__strcat_chk): Likewise.
7539         * debug/strncat_chk.c (__strncat_chk): Likewise.
7540         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7541         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7542         * dirent/dirfd.c (dirfd): Likewise.
7543         * dirent/getdents.c (__getdirentries): Likewise.
7544         * dirent/getdents64.c (getdirentries64): Likewise.
7545         * dirent/rewinddir.c (__rewinddir): Likewise.
7546         * dirent/seekdir.c (seekdir): Likewise.
7547         * dirent/telldir.c (telldir): Likewise.
7548         * elf/sln.c (makesymlinks): Likewise.
7549         (makesymlink): Likewise.
7550         * gmon/gmon.c (__moncontrol): Likewise.
7551         (__monstartup): Likewise.
7552         (write_hist): Likewise.
7553         (write_call_graph): Likewise.
7554         (write_bb_counts): Likewise.
7555         * grp/setgroups.c (setgroups): Likewise.
7556         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7557         * inet/inet_net.c (inet_network): Likewise.
7558         * inet/inet_netof.c (inet_netof): Likewise.
7559         * inet/rcmd.c (rresvport_af): Likewise.
7560         (rresvport): Likewise.
7561         * io/access.c (__access): Likewise.
7562         * io/chdir.c (__chdir): Likewise.
7563         * io/chmod.c (__chmod): Likewise.
7564         * io/chown.c (__chown): Likewise.
7565         * io/close.c (__close): Likewise.
7566         * io/creat.c (creat): Likewise.
7567         * io/creat64.c (creat64): Likewise.
7568         * io/dup.c (__dup): Likewise.
7569         * io/dup2.c (__dup2): Likewise.
7570         * io/dup3.c (__dup3): Likewise.
7571         * io/euidaccess.c (__euidaccess): Likewise.
7572         * io/faccessat.c (faccessat): Likewise.
7573         * io/fchmod.c (__fchmod): Likewise.
7574         * io/fchmodat.c (fchmodat): Likewise.
7575         * io/fchown.c (__fchown): Likewise.
7576         * io/fchownat.c (fchownat): Likewise.
7577         * io/fcntl.c (__fcntl): Likewise.
7578         * io/flock.c (__flock): Likewise.
7579         * io/fts.c (fts_load): Likewise.
7580         (fts_close): Likewise.
7581         (fts_read): Likewise.
7582         (fts_set): Likewise.
7583         (fts_children): Likewise.
7584         (fts_build): Likewise.
7585         (fts_stat): Likewise.
7586         (fts_sort): Likewise.
7587         (fts_alloc): Likewise.
7588         (fts_lfree): Likewise.
7589         (fts_palloc): Likewise.
7590         (fts_padjust): Likewise.
7591         (fts_maxarglen): Likewise.
7592         (fts_safe_changedir): Likewise.
7593         * io/getwd.c (getwd): Likewise.
7594         * io/isatty.c (__isatty): Likewise.
7595         * io/lchown.c (__lchown): Likewise.
7596         * io/link.c (__link): Likewise.
7597         * io/linkat.c (linkat): Likewise.
7598         * io/lseek.c (__libc_lseek): Likewise.
7599         * io/mkdir.c (__mkdir): Likewise.
7600         * io/mkdirat.c (mkdirat): Likewise.
7601         * io/mkfifo.c (mkfifo): Likewise.
7602         * io/mkfifoat.c (mkfifoat): Likewise.
7603         * io/open.c (__libc_open): Likewise.
7604         * io/open64.c (__libc_open64): Likewise.
7605         * io/readlink.c (__readlink): Likewise.
7606         * io/readlinkat.c (readlinkat): Likewise.
7607         * io/rmdir.c (__rmdir): Likewise.
7608         * io/symlink.c (__symlink): Likewise.
7609         * io/symlinkat.c (symlinkat): Likewise.
7610         * io/ttyname.c (ttyname): Likewise.
7611         * io/ttyname_r.c (__ttyname_r): Likewise.
7612         * io/umask.c (__umask): Likewise.
7613         * io/unlink.c (__unlink): Likewise.
7614         * io/unlinkat.c (unlinkat): Likewise.
7615         * io/utime.c (utime): Likewise.
7616         * libio/clearerr.c (clearerr): Likewise.
7617         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7618         * libio/feof.c (_IO_feof): Likewise.
7619         * libio/feof_u.c (feof_unlocked): Likewise.
7620         * libio/ferror.c (_IO_ferror): Likewise.
7621         * libio/ferror_u.c (ferror_unlocked): Likewise.
7622         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7623         * libio/fileno.c (__fileno): Likewise.
7624         * libio/fputc.c (fputc): Likewise.
7625         * libio/fputc_u.c (fputc_unlocked): Likewise.
7626         * libio/fputwc.c (fputwc): Likewise.
7627         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7628         * libio/freopen.c (freopen): Likewise.
7629         * libio/freopen64.c (freopen64): Likewise.
7630         * libio/fseek.c (fseek): Likewise.
7631         * libio/fseeko.c (fseeko): Likewise.
7632         * libio/fseeko64.c (fseeko64): Likewise.
7633         * libio/ftello.c (__ftello): Likewise.
7634         * libio/ftello64.c (ftello64): Likewise.
7635         * libio/fwide.c (fwide): Likewise.
7636         * libio/genops.c (_IO_un_link): Likewise.
7637         (_IO_link_in): Likewise.
7638         (_IO_least_marker): Likewise.
7639         (_IO_switch_to_main_get_area): Likewise.
7640         (_IO_switch_to_backup_area): Likewise.
7641         (_IO_switch_to_get_mode): Likewise.
7642         (_IO_free_backup_area): Likewise.
7643         (_IO_switch_to_put_mode): Likewise.
7644         (__overflow): Likewise.
7645         (__underflow): Likewise.
7646         (__uflow): Likewise.
7647         (_IO_setb): Likewise.
7648         (_IO_doallocbuf): Likewise.
7649         (_IO_default_underflow): Likewise.
7650         (_IO_default_uflow): Likewise.
7651         (_IO_default_xsputn): Likewise.
7652         (_IO_sgetn): Likewise.
7653         (_IO_default_xsgetn): Likewise.
7654         (_IO_sync): Likewise.
7655         (_IO_default_setbuf): Likewise.
7656         (_IO_default_seekpos): Likewise.
7657         (_IO_default_doallocate): Likewise.
7658         (_IO_init): Likewise.
7659         (_IO_old_init): Likewise.
7660         (_IO_default_sync): Likewise.
7661         (_IO_default_finish): Likewise.
7662         (_IO_default_seekoff): Likewise.
7663         (_IO_sputbackc): Likewise.
7664         (_IO_sungetc): Likewise.
7665         (_IO_set_column): Likewise.
7666         (_IO_set_column): Likewise.
7667         (_IO_adjust_column): Likewise.
7668         (_IO_get_column): Likewise.
7669         (_IO_init_marker): Likewise.
7670         (_IO_remove_marker): Likewise.
7671         (_IO_marker_difference): Likewise.
7672         (_IO_marker_delta): Likewise.
7673         (_IO_seekmark): Likewise.
7674         (_IO_unsave_markers): Likewise.
7675         (_IO_nobackup_pbackfail): Likewise.
7676         (_IO_default_pbackfail): Likewise.
7677         (_IO_default_seek): Likewise.
7678         (_IO_default_stat): Likewise.
7679         (_IO_default_read): Likewise.
7680         (_IO_default_write): Likewise.
7681         (_IO_default_showmanyc): Likewise.
7682         (_IO_default_imbue): Likewise.
7683         (_IO_iter_next): Likewise.
7684         (_IO_iter_file): Likewise.
7685         * libio/getc.c (_IO_getc): Likewise.
7686         * libio/getwc.c (_IO_getwc): Likewise.
7687         * libio/iofclose.c (_IO_new_fclose): Likewise.
7688         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7689         * libio/iofflush.c (_IO_fflush): Likewise.
7690         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7691         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7692         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7693         * libio/iofgets.c (_IO_fgets): Likewise.
7694         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7695         * libio/iofgetws.c (fgetws): Likewise.
7696         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7697         * libio/iofopen64.c (_IO_fopen64): Likewise.
7698         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7699         (_IO_cookie_write): Likewise.
7700         (_IO_cookie_seek): Likewise.
7701         (_IO_cookie_close): Likewise.
7702         (_IO_cookie_seekoff): Likewise.
7703         (_IO_old_cookie_seek): Likewise.
7704         * libio/iofputs.c (_IO_fputs): Likewise.
7705         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7706         * libio/iofputws.c (fputws): Likewise.
7707         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7708         * libio/iofread.c (_IO_fread): Likewise.
7709         * libio/iofread_u.c (__fread_unlocked): Likewise.
7710         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7711         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7712         * libio/ioftell.c (_IO_ftell): Likewise.
7713         * libio/iofwrite.c (_IO_fwrite): Likewise.
7714         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7715         * libio/iogets.c (_IO_gets): Likewise.
7716         * libio/iopadn.c (_IO_padn): Likewise.
7717         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7718         (_IO_new_popen): Likewise.
7719         (_IO_new_proc_close): Likewise.
7720         * libio/ioputs.c (_IO_puts): Likewise.
7721         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7722         (_IO_seekoff): Likewise.
7723         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7724         (_IO_seekpos): Likewise.
7725         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7726         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7727         * libio/ioungetc.c (_IO_ungetc): Likewise.
7728         * libio/ioungetwc.c (ungetwc): Likewise.
7729         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7730         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7731         * libio/iowpadn.c (_IO_wpadn): Likewise.
7732         * libio/libc_fatal.c (__libc_fatal): Likewise.
7733         * libio/memstream.c (__open_memstream): Likewise.
7734         (_IO_mem_sync): Likewise.
7735         (_IO_mem_finish): Likewise.
7736         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7737         (_IO_old_file_close_it): Likewise.
7738         (_IO_old_file_finish): Likewise.
7739         (_IO_old_file_fopen): Likewise.
7740         (_IO_old_file_attach): Likewise.
7741         (_IO_old_file_setbuf): Likewise.
7742         (_IO_old_do_write): Likewise.
7743         (old_do_write): Likewise.
7744         (_IO_old_file_underflow): Likewise.
7745         (_IO_old_file_overflow): Likewise.
7746         (_IO_old_file_sync): Likewise.
7747         (_IO_old_file_seekoff): Likewise.
7748         (_IO_old_file_write): Likewise.
7749         (_IO_old_file_xsputn): Likewise.
7750         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7751         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7752         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7753         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7754         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7755         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7756         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7757         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7758         (_IO_old_popen): Likewise.
7759         (_IO_old_proc_close): Likewise.
7760         * libio/oldpclose.c (__old_pclose): Likewise.
7761         * libio/pclose.c (__new_pclose): Likewise.
7762         * libio/peekc.c (_IO_peekc_locked): Likewise.
7763         * libio/putc.c (_IO_putc): Likewise.
7764         * libio/putc_u.c (putc_unlocked): Likewise.
7765         * libio/putchar.c (putchar): Likewise.
7766         * libio/putchar_u.c (putchar_unlocked): Likewise.
7767         * libio/putwc.c (putwc): Likewise.
7768         * libio/putwc_u.c (putwc_unlocked): Likewise.
7769         * libio/putwchar.c (putwchar): Likewise.
7770         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7771         * libio/rewind.c (rewind): Likewise.
7772         * libio/setbuf.c (setbuf): Likewise.
7773         * libio/setlinebuf.c (setlinebuf): Likewise.
7774         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7775         * libio/vscanf.c (_IO_vscanf): Likewise.
7776         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7777         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7778         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7779         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7780         (_IO_switch_to_main_wget_area): Likewise.
7781         (_IO_switch_to_wbackup_area): Likewise.
7782         (_IO_wsetb): Likewise.
7783         (_IO_wdefault_pbackfail): Likewise.
7784         (_IO_wdefault_finish): Likewise.
7785         (_IO_wdefault_uflow): Likewise.
7786         (__woverflow): Likewise.
7787         (__wuflow): Likewise.
7788         (__wunderflow): Likewise.
7789         (_IO_wdefault_xsputn): Likewise.
7790         (_IO_wdefault_xsgetn): Likewise.
7791         (_IO_wdoallocbuf): Likewise.
7792         (_IO_wdefault_doallocate): Likewise.
7793         (_IO_switch_to_wget_mode): Likewise.
7794         (_IO_free_wbackup_area): Likewise.
7795         (_IO_switch_to_wput_mode): Likewise.
7796         (_IO_sputbackwc): Likewise.
7797         (_IO_sungetwc): Likewise.
7798         (_IO_adjust_wcolumn): Likewise.
7799         (_IO_init_wmarker): Likewise.
7800         (_IO_wmarker_delta): Likewise.
7801         (_IO_seekwmark): Likewise.
7802         (_IO_unsave_wmarkers): Likewise.
7803         * libio/wmemstream.c (open_wmemstream): Likewise.
7804         (_IO_wmem_sync): Likewise.
7805         (_IO_wmem_finish): Likewise.
7806         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7807         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7808         * locale/programs/simple-hash.c (init_hash): Likewise.
7809         (delete_hash): Likewise.
7810         (insert_entry): Likewise.
7811         (set_entry): Likewise.
7812         (next_prime): Likewise.
7813         (is_prime): Likewise.
7814         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7815         (xmalloc): Likewise.
7816         (xrealloc): Likewise.
7817         * locale/programs/xstrdup.c (xstrdup): Likewise.
7818         * localedata/collate-test.c (xstrcoll): Likewise.
7819         * localedata/xfrm-test.c (xstrcmp): Likewise.
7820         * login/getlogin_r.c (__getlogin_r): Likewise.
7821         * login/getpt.c (__posix_openpt): Likewise.
7822         * login/login_tty.c (login_tty): Likewise.
7823         * login/setlogin.c (setlogin): Likewise.
7824         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7825         (mach_msg_destroy_port): Likewise.
7826         (mach_msg_destroy_memory): Likewise.
7827         * malloc/mcheck.c (flood): Likewise.
7828         * misc/acct.c (acct): Likewise.
7829         * misc/brk.c (__brk): Likewise.
7830         * misc/chflags.c (chflags): Likewise.
7831         * misc/chroot.c (chroot): Likewise.
7832         * misc/fchflags.c (fchflags): Likewise.
7833         * misc/fstab.c (getfsspec): Likewise.
7834         (getfsfile): Likewise.
7835         * misc/fsync.c (fsync): Likewise.
7836         * misc/ftruncate.c (__ftruncate): Likewise.
7837         * misc/ftruncate64.c (__ftruncate64): Likewise.
7838         * misc/getdomain.c (getdomainname): Likewise.
7839         (getdomainname): Likewise.
7840         * misc/gethostname.c (__gethostname): Likewise.
7841         * misc/getpass.c (getpass): Likewise.
7842         * misc/getttyent.c (skip): Likewise.
7843         (value): Likewise.
7844         * misc/gtty.c (gtty): Likewise.
7845         * misc/hsearch.c (hsearch): Likewise.
7846         (hcreate): Likewise.
7847         * misc/hsearch_r.c (__hcreate_r): Likewise.
7848         (__hdestroy_r): Likewise.
7849         * misc/ioctl.c (__ioctl): Likewise.
7850         * misc/mkdtemp.c (mkdtemp): Likewise.
7851         * misc/mkostemp.c (mkostemp): Likewise.
7852         * misc/mkostemp64.c (mkostemp64): Likewise.
7853         * misc/mkostemps.c (mkostemps): Likewise.
7854         * misc/mkostemps64.c (mkostemps64): Likewise.
7855         * misc/mkstemp.c (mkstemp): Likewise.
7856         * misc/mkstemp64.c (mkstemp64): Likewise.
7857         * misc/mkstemps.c (mkstemps): Likewise.
7858         * misc/mkstemps64.c (mkstemps64): Likewise.
7859         * misc/mktemp.c (__mktemp): Likewise.
7860         * misc/preadv.c (preadv): Likewise.
7861         * misc/preadv64.c (preadv64): Likewise.
7862         * misc/pwritev.c (pwritev): Likewise.
7863         * misc/pwritev64.c (pwritev64): Likewise.
7864         * misc/readv.c (__readv): Likewise.
7865         * misc/revoke.c (revoke): Likewise.
7866         * misc/setdomain.c (setdomainname): Likewise.
7867         * misc/setegid.c (setegid): Likewise.
7868         * misc/seteuid.c (seteuid): Likewise.
7869         * misc/sethostid.c (sethostid): Likewise.
7870         * misc/sethostname.c (sethostname): Likewise.
7871         * misc/setregid.c (__setregid): Likewise.
7872         * misc/setreuid.c (__setreuid): Likewise.
7873         * misc/sstk.c (sstk): Likewise.
7874         * misc/stty.c (stty): Likewise.
7875         * misc/syscall.c (syscall): Likewise.
7876         * misc/syslog.c (setlogmask): Likewise.
7877         * misc/truncate.c (__truncate): Likewise.
7878         * misc/truncate64.c (truncate64): Likewise.
7879         * misc/ualarm.c (ualarm): Likewise.
7880         * misc/usleep.c (usleep): Likewise.
7881         * misc/ustat.c (ustat): Likewise.
7882         * misc/writev.c (__writev): Likewise.
7883         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7884         * nptl/old_pthread_cond_broadcast.c
7885         (__pthread_cond_broadcast_2_0): Likewise.
7886         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7887         Likewise.
7888         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7889         Likewise.
7890         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7891         Likewise.
7892         * nptl/pt-raise.c (raise): Likewise.
7893         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7894         Likewise.
7895         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7896         * nptl/pthread_barrierattr_destroy.c
7897         (pthread_barrierattr_destroy): Likewise.
7898         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7899         Likewise.
7900         * nptl/pthread_barrierattr_setpshared.c
7901         (pthread_barrierattr_setpshared): Likewise.
7902         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7903         Likewise.
7904         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7905         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7906         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7907         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7908         Likewise.
7909         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7910         Likewise.
7911         * nptl/pthread_condattr_getpshared.c
7912         (pthread_condattr_getpshared): Likewise.
7913         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7914         Likewise.
7915         * nptl/pthread_condattr_setpshared.c
7916         (pthread_condattr_setpshared): Likewise.
7917         * nptl/pthread_detach.c (pthread_detach): Likewise.
7918         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7919         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7920         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7921         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7922         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7923         Likewise.
7924         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7925         Likewise.
7926         * nptl/pthread_mutex_getprioceiling.c
7927         (pthread_mutex_getprioceiling): Likewise.
7928         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7929         Likewise.
7930         * nptl/pthread_mutexattr_getprotocol.c
7931         (pthread_mutexattr_getprotocol): Likewise.
7932         * nptl/pthread_mutexattr_getpshared.c
7933         (pthread_mutexattr_getpshared): Likewise.
7934         * nptl/pthread_mutexattr_getrobust.c
7935         (pthread_mutexattr_getrobust): Likewise.
7936         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7937         Likewise.
7938         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7939         Likewise.
7940         * nptl/pthread_mutexattr_setprioceiling.c
7941         (pthread_mutexattr_setprioceiling): Likewise.
7942         * nptl/pthread_mutexattr_setprotocol.c
7943         (pthread_mutexattr_setprotocol): Likewise.
7944         * nptl/pthread_mutexattr_setpshared.c
7945         (pthread_mutexattr_setpshared): Likewise.
7946         * nptl/pthread_mutexattr_setrobust.c
7947         (pthread_mutexattr_setrobust): Likewise.
7948         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7949         Likewise.
7950         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7951         Likewise.
7952         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7953         Likewise.
7954         * nptl/pthread_rwlockattr_getkind_np.c
7955         (pthread_rwlockattr_getkind_np): Likewise.
7956         * nptl/pthread_rwlockattr_getpshared.c
7957         (pthread_rwlockattr_getpshared): Likewise.
7958         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7959         Likewise.
7960         * nptl/pthread_rwlockattr_setkind_np.c
7961         (pthread_rwlockattr_setkind_np): Likewise.
7962         * nptl/pthread_rwlockattr_setpshared.c
7963         (pthread_rwlockattr_setpshared): Likewise.
7964         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7965         Likewise.
7966         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7967         Likewise.
7968         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7969         Likewise.
7970         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7971         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7972         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7973         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7974         * nptl/sem_close.c (sem_close): Likewise.
7975         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7976         * nptl/sem_init.c (__old_sem_init): Likewise.
7977         * nptl/sigaction.c (__sigaction): Likewise.
7978         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7979         * posix/_exit.c (_exit): Likewise.
7980         * posix/alarm.c (alarm): Likewise.
7981         * posix/confstr.c (confstr): Likewise.
7982         * posix/fpathconf.c (__fpathconf): Likewise.
7983         * posix/getgroups.c (__getgroups): Likewise.
7984         * posix/getpgid.c (__getpgid): Likewise.
7985         * posix/group_member.c (__group_member): Likewise.
7986         * posix/pathconf.c (__pathconf): Likewise.
7987         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7988         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7989         * posix/setgid.c (__setgid): Likewise.
7990         * posix/setpgid.c (__setpgid): Likewise.
7991         * posix/setuid.c (__setuid): Likewise.
7992         * posix/sleep.c (__sleep): Likewise.
7993         * posix/sysconf.c (__sysconf): Likewise.
7994         * posix/times.c (__times): Likewise.
7995         * posix/uname.c (__uname): Likewise.
7996         * posix/waitid.c (__waitid): Likewise.
7997         * pwd/getpw.c (__getpw): Likewise.
7998         * resolv/base64.c (b64_pton): Likewise.
7999         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8000         * resolv/gethnamaddr.c (Dprintf): Likewise.
8001         (gethostbyname): Likewise.
8002         (gethostbyname2): Likewise.
8003         (gethostbyaddr): Likewise.
8004         (_sethtent): Likewise.
8005         (_gethtbyname): Likewise.
8006         (_gethtbyname2): Likewise.
8007         (_gethtbyaddr): Likewise.
8008         (map_v4v6_address): Likewise.
8009         (map_v4v6_hostent): Likewise.
8010         (addrsort): Likewise.
8011         (ht_sethostent): Likewise.
8012         (ht_gethostbyname): Likewise.
8013         (ht_gethostbyaddr): Likewise.
8014         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8015         (inet_net_ntop_ipv4): Likewise.
8016         * resolv/inet_neta.c (inet_neta): Likewise.
8017         * resolv/inet_ntop.c (inet_ntop): Likewise.
8018         (inet_ntop4): Likewise.
8019         (inet_ntop6): Likewise.
8020         * resolv/inet_pton.c (__inet_pton): Likewise.
8021         (inet_pton4): Likewise.
8022         (inet_pton6): Likewise.
8023         * resolv/res_debug.c (loc_aton): Likewise.
8024         (loc_ntoa): Likewise.
8025         * resource/getpriority.c (__getpriority): Likewise.
8026         * resource/getrusage.c (__getrusage): Likewise.
8027         * resource/nice.c (nice): Likewise.
8028         * resource/setpriority.c (__setpriority): Likewise.
8029         * resource/setrlimit64.c (setrlimit64): Likewise.
8030         * resource/vlimit.c (vlimit): Likewise.
8031         * resource/vtimes.c (vtimes): Likewise.
8032         * rt/aio_error.c (aio_error): Likewise.
8033         * rt/aio_return.c (aio_return): Likewise.
8034         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8035         * signal/kill.c (__kill): Likewise.
8036         * signal/killpg.c (killpg): Likewise.
8037         * signal/raise.c (raise): Likewise.
8038         * signal/sigaction.c (__sigaction): Likewise.
8039         * signal/sigaddset.c (sigaddset): Likewise.
8040         * signal/sigaltstack.c (sigaltstack): Likewise.
8041         * signal/sigandset.c (sigandset): Likewise.
8042         * signal/sigblock.c (__sigblock): Likewise.
8043         * signal/sigdelset.c (sigdelset): Likewise.
8044         * signal/sigempty.c (sigemptyset): Likewise.
8045         * signal/sigfillset.c (sigfillset): Likewise.
8046         * signal/sighold.c (sighold): Likewise.
8047         * signal/sigignore.c (sigignore): Likewise.
8048         * signal/sigintr.c (siginterrupt): Likewise.
8049         * signal/sigisempty.c (sigisemptyset): Likewise.
8050         * signal/sigismem.c (sigismember): Likewise.
8051         * signal/signal.c (signal): Likewise.
8052         * signal/sigorset.c (sigorset): Likewise.
8053         * signal/sigpause.c (__sigpause): Likewise.
8054         * signal/sigpending.c (sigpending): Likewise.
8055         * signal/sigprocmask.c (__sigprocmask): Likewise.
8056         * signal/sigrelse.c (sigrelse): Likewise.
8057         * signal/sigreturn.c (__sigreturn): Likewise.
8058         * signal/sigset.c (sigset): Likewise.
8059         * signal/sigsetmask.c (__sigsetmask): Likewise.
8060         * signal/sigstack.c (sigstack): Likewise.
8061         * signal/sigsuspend.c (__sigsuspend): Likewise.
8062         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8063         * signal/sysv_signal.c (__sysv_signal): Likewise.
8064         * socket/accept.c (accept): Likewise.
8065         * socket/accept4.c (__libc_accept4): Likewise.
8066         * socket/bind.c (__bind): Likewise.
8067         * socket/connect.c (__connect): Likewise.
8068         * socket/getpeername.c (getpeername): Likewise.
8069         * socket/getsockname.c (__getsockname): Likewise.
8070         * socket/getsockopt.c (getsockopt): Likewise.
8071         * socket/listen.c (__listen): Likewise.
8072         * socket/recv.c (__recv): Likewise.
8073         * socket/recvmsg.c (__recvmsg): Likewise.
8074         * socket/send.c (__send): Likewise.
8075         * socket/sendmsg.c (__sendmsg): Likewise.
8076         * socket/shutdown.c (shutdown): Likewise.
8077         * socket/sockatmark.c (sockatmark): Likewise.
8078         * socket/socket.c (__socket): Likewise.
8079         * stdio-common/ctermid.c (ctermid): Likewise.
8080         * stdio-common/cuserid.c (cuserid): Likewise.
8081         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8082         * stdio-common/remove.c (remove): Likewise.
8083         * stdio-common/rename.c (rename): Likewise.
8084         * stdio-common/renameat.c (renameat): Likewise.
8085         * stdio-common/tempname.c (__gen_tempname): Likewise.
8086         * stdio-common/xbug.c (InitBuffer): Likewise.
8087         (AppendToBuffer): Likewise.
8088         (ReadFile): Likewise.
8089         * stdlib/a64l.c (a64l): Likewise.
8090         * stdlib/drand48_r.c (drand48_r): Likewise.
8091         * stdlib/getcontext.c (getcontext): Likewise.
8092         * stdlib/getenv.c (getenv): Likewise.
8093         * stdlib/l64a.c (l64a): Likewise.
8094         * stdlib/llabs.c (llabs): Likewise.
8095         * stdlib/lldiv.c (lldiv): Likewise.
8096         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8097         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8098         * stdlib/putenv.c (putenv): Likewise.
8099         * stdlib/random.c (__srandom): Likewise.
8100         (__initstate): Likewise.
8101         (__setstate): Likewise.
8102         * stdlib/random_r.c (__srandom_r): Likewise.
8103         (__setstate_r): Likewise.
8104         (__random_r): Likewise.
8105         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8106         * stdlib/setcontext.c (setcontext): Likewise.
8107         * stdlib/setenv.c (setenv): Likewise.
8108         (unsetenv): Likewise.
8109         * stdlib/srand48.c (srand48): Likewise.
8110         * stdlib/srand48_r.c (__srand48_r): Likewise.
8111         * stdlib/swapcontext.c (swapcontext): Likewise.
8112         * stdlib/system.c (__libc_system): Likewise.
8113         * stdlib/tst-strtod.c (expand): Likewise.
8114         * stdlib/tst-strtol.c (expand): Likewise.
8115         * stdlib/tst-strtoll.c (expand): Likewise.
8116         * streams/fattach.c (fattach): Likewise.
8117         * streams/fdetach.c (fdetach): Likewise.
8118         * streams/getmsg.c (getmsg): Likewise.
8119         * streams/isastream.c (isastream): Likewise.
8120         * string/ffs.c (__ffs): Likewise.
8121         * string/ffsll.c (ffsll): Likewise.
8122         * string/memcmp.c (memcmp_common_alignment): Likewise.
8123         (memcmp_not_common_alignment): Likewise.
8124         (MEMCMP): Likewise.
8125         * string/memcpy.c (memcpy): Likewise.
8126         * string/memmove.c (MEMMOVE): Likewise.
8127         * string/memset.c (memset): Likewise.
8128         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8129         * string/strchrnul.c (STRCHRNUL): Likewise.
8130         * string/strerror.c (strerror): Likewise.
8131         * string/strndup.c (__strndup): Likewise.
8132         * string/strverscmp.c (__strverscmp): Likewise.
8133         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8134         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8135         (clnttcp_freeres): Likewise.
8136         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8137         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8138         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8139         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8140         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8141         (xdr_callhdr): Likewise.
8142         * sunrpc/rpcinfo.c (udpping): Likewise.
8143         (tcpping): Likewise.
8144         (pstatus): Likewise.
8145         (pmapdump): Likewise.
8146         (brdcst): Likewise.
8147         (deletereg): Likewise.
8148         (getprognum): Likewise.
8149         (getvers): Likewise.
8150         (get_inet_address): Likewise.
8151         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8152         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8153         (svcudp_stat): Likewise.
8154         (svcudp_recv): Likewise.
8155         (svcudp_reply): Likewise.
8156         (svcudp_getargs): Likewise.
8157         (svcudp_freeargs): Likewise.
8158         (svcudp_destroy): Likewise.
8159         * sunrpc/xdr.c (xdr_bytes): Likewise.
8160         (xdr_netobj): Likewise.
8161         (xdr_string): Likewise.
8162         (xdr_wrapstring): Likewise.
8163         * sunrpc/xdr_float.c (xdr_float): Likewise.
8164         (xdr_double): Likewise.
8165         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8166         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8167         * sysvipc/ftok.c (ftok): Likewise.
8168         * sysvipc/msgctl.c (msgctl): Likewise.
8169         * sysvipc/msgget.c (msgget): Likewise.
8170         * sysvipc/msgrcv.c (msgrcv): Likewise.
8171         * sysvipc/msgsnd.c (msgsnd): Likewise.
8172         * sysvipc/semget.c (semget): Likewise.
8173         * sysvipc/semop.c (semop): Likewise.
8174         * sysvipc/shmat.c (shmat): Likewise.
8175         * sysvipc/shmctl.c (shmctl): Likewise.
8176         * sysvipc/shmdt.c (shmdt): Likewise.
8177         * sysvipc/shmget.c (shmget): Likewise.
8178         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8179         * termios/speed.c (cfgetospeed): Likewise.
8180         (cfgetispeed): Likewise.
8181         (cfsetospeed): Likewise.
8182         (cfsetispeed): Likewise.
8183         * termios/tcflow.c (tcflow): Likewise.
8184         * termios/tcflush.c (tcflush): Likewise.
8185         * termios/tcgetattr.c (__tcgetattr): Likewise.
8186         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8187         * termios/tcgetsid.c (tcgetsid): Likewise.
8188         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8189         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8190         * time/adjtime.c (__adjtime): Likewise.
8191         * time/dysize.c (dysize): Likewise.
8192         * time/ftime.c (ftime): Likewise.
8193         * time/getitimer.c (__getitimer): Likewise.
8194         * time/gettimeofday.c (__gettimeofday): Likewise.
8195         * time/gmtime.c (__gmtime_r): Likewise.
8196         (gmtime): Likewise.
8197         * time/localtime.c (__localtime_r): Likewise.
8198         (localtime): Likewise.
8199         * time/offtime.c (__offtime): Likewise.
8200         * time/settimeofday.c (__settimeofday): Likewise.
8201         * time/stime.c (stime): Likewise.
8202         * time/strftime_l.c (tm_diff): Likewise.
8203         (iso_week_days): Likewise.
8204         * time/strptime.c (strptime): Likewise.
8205         * time/time.c (time): Likewise.
8206         * time/timespec_get.c (timespec_get): Likewise.
8207         * time/tzset.c (tzset_internal): Likewise.
8208         (compute_change): Likewise.
8209         (__tz_compute): Likewise.
8210         * wcsmbs/btowc.c (__btowc): Likewise.
8211         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8212         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8213         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8214         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8215         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8216         * wcsmbs/wcscat.c (__wcscat): Likewise.
8217         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8218         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8219         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8220         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8221         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8222         * wcsmbs/wcslen.c (__wcslen): Likewise.
8223         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8224         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8225         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8226         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8227         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8228         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8229         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8230         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8231         * wcsmbs/wcstok.c (wcstok): Likewise.
8232         * wcsmbs/wctob.c (wctob): Likewise.
8233         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8234         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8235         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8236         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8237         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8238         * wcsmbs/wmemset.c (__wmemset): Likewise.
8239         * wctype/wcfuncs.c (__towlower): Likewise.
8240         (__towupper): Likewise.
8242         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8243         (lll_unlock_elision): Add adapt_count parameter.
8245 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8247         * sysdeps/nptl/configure.ac: Do not give errors based on the
8248         results of top-level configure tests.
8249         * sysdeps/nptl/configure: Regenerated.
8251         * configure.ac (libc_cv_Bgroup): Remove configure test.
8252         * configure: Regenerated.
8253         * config.make.in (have-Bgroup): Remove variable.
8255         * configure.ac (sizeof_long_double): Remove configure test.
8256         * configure: Regenerated.
8257         * config.make.in (sizeof-long-double): Remove variable.
8259         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8260         * configure: Regenerated.
8261         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8262         variable.
8263         (exceptions): Likewise.
8264         * sysdeps/arm/configure: Regenerated.
8265         * config.make.in (exceptions): Remove variable.
8266         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8267         $(exceptions).
8268         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8269         (CFLAGS-vdprintf_chk.c): Likewise.
8270         (CFLAGS-printf_chk.c): Likewise.
8271         (CFLAGS-fprintf_chk.c): Likewise.
8272         (CFLAGS-vprintf_chk.c): Likewise.
8273         (CFLAGS-vfprintf_chk.c): Likewise.
8274         (CFLAGS-gets_chk.c): Likewise.
8275         (CFLAGS-fgets_chk.c): Likewise.
8276         (CFLAGS-fgets_u_chk.c): Likewise.
8277         (CFLAGS-fread_chk.c): Likewise.
8278         (CFLAGS-fread_u_chk.c): Likewise.
8279         (CFLAGS-wprintf_chk.c): Likewise.
8280         (CFLAGS-fwprintf_chk.c): Likewise.
8281         (CFLAGS-vwprintf_chk.c): Likewise.
8282         (CFLAGS-vfwprintf_chk.c): Likewise.
8283         (CFLAGS-fgetws_chk.c): Likewise.
8284         (CFLAGS-fgetws_u_chk.c): Likewise.
8285         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8286         (CFLAGS-fputc.c): Likewise.
8287         (CFLAGS-fputwc.c): Likewise.
8288         (CFLAGS-freopen64.c): Likewise.
8289         (CFLAGS-freopen.c): Likewise.
8290         (CFLAGS-fseek.c): Likewise.
8291         (CFLAGS-fseeko64.c): Likewise.
8292         (CFLAGS-fseeko.c): Likewise.
8293         (CFLAGS-ftello64.c): Likewise.
8294         (CFLAGS-ftello.c): Likewise.
8295         (CFLAGS-fwide.c): Likewise.
8296         (CFLAGS-genops.c): Likewise.
8297         (CFLAGS-getc.c): Likewise.
8298         (CFLAGS-getchar.c): Likewise.
8299         (CFLAGS-getwc.c): Likewise.
8300         (CFLAGS-getwchar.c): Likewise.
8301         (CFLAGS-iofclose.c): Likewise.
8302         (CFLAGS-iofflush.c): Likewise.
8303         (CFLAGS-iofgetpos64.c): Likewise.
8304         (CFLAGS-iofgetpos.c): Likewise.
8305         (CFLAGS-iofgets.c): Likewise.
8306         (CFLAGS-iofgetws.c): Likewise.
8307         (CFLAGS-iofputs.c): Likewise.
8308         (CFLAGS-iofputws.c): Likewise.
8309         (CFLAGS-iofread.c): Likewise.
8310         (CFLAGS-iofsetpos64.c): Likewise.
8311         (CFLAGS-iofsetpos.c): Likewise.
8312         (CFLAGS-ioftell.c): Likewise.
8313         (CFLAGS-iofwrite.c): Likewise.
8314         (CFLAGS-iogetdelim.c): Likewise.
8315         (CFLAGS-iogetline.c): Likewise.
8316         (CFLAGS-iogets.c): Likewise.
8317         (CFLAGS-iogetwline.c): Likewise.
8318         (CFLAGS-ioputs.c): Likewise.
8319         (CFLAGS-ioseekoff.c): Likewise.
8320         (CFLAGS-ioseekpos.c): Likewise.
8321         (CFLAGS-iosetbuffer.c): Likewise.
8322         (CFLAGS-iosetvbuf.c): Likewise.
8323         (CFLAGS-ioungetc.c): Likewise.
8324         (CFLAGS-ioungetwc.c): Likewise.
8325         (CFLAGS-oldfileops.c): Likewise.
8326         (CFLAGS-oldiofclose.c): Likewise.
8327         (CFLAGS-oldiofgetpos64.c): Likewise.
8328         (CFLAGS-oldiofgetpos.c): Likewise.
8329         (CFLAGS-oldiofsetpos64.c): Likewise.
8330         (CFLAGS-oldiofsetpos.c): Likewise.
8331         (CFLAGS-peekc.c): Likewise.
8332         (CFLAGS-putc.c): Likewise.
8333         (CFLAGS-putchar.c): Likewise.
8334         (CFLAGS-putwc.c): Likewise.
8335         (CFLAGS-putwchar.c): Likewise.
8336         (CFLAGS-rewind.c): Likewise.
8337         (CFLAGS-wfileops.c): Likewise.
8338         (CFLAGS-wgenops.c): Likewise.
8339         (CFLAGS-oldiofopen.c): Likewise.
8340         (CFLAGS-iofopen.c): Likewise.
8341         (CFLAGS-iofopen64.c): Likewise.
8342         (CFLAGS-oldtmpfile.c): Likewise.
8343         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8344         (CFLAGS-fprintf.c): Likewise.
8345         (CFLAGS-printf.c): Likewise.
8346         (CFLAGS-vfwprintf.c): Likewise.
8347         (CFLAGS-vfscanf.c): Likewise.
8348         (CFLAGS-vfwscanf.c): Likewise.
8349         (CFLAGS-fscanf.c): Likewise.
8350         (CFLAGS-scanf.c): Likewise.
8351         (CFLAGS-isoc99_vfscanf.c): Likewise.
8352         (CFLAGS-isoc99_vscanf.c): Likewise.
8353         (CFLAGS-isoc99_fscanf.c): Likewise.
8354         (CFLAGS-isoc99_scanf.c): Likewise.
8355         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8356         (CFLAGS-isoc99_fwscanf.c): Likewise.
8357         (CFLAGS-isoc99_vwscanf.c): Likewise.
8358         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8360         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8361         after mkstemp64.
8362         * login/tst-utmp.c (do_prepare): Likewise.
8363         * rt/tst-aio.c (do_prepare): Likewise.
8364         * rt/tst-aio64.c (do_prepare): Likewise.
8366 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8368         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8369         (__lll_lock_elision): Remove adapt_count decrement...
8370         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8371         (__lll_trylock_elision): Likewise.
8372         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8373         (__lll_unlock_elision): ... to here. And utilize
8374         new adapt_count parameter.
8375         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8376         (__lll_unlock_elision): Update to include adapt_count
8377         parameter.
8378         (lll_unlock_elision): Pass pointer to adapt_count
8379         variable.
8381 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8383         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8384         Add elision adapt_count parameter to list of arguments.
8385         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8386         (lll_unlock_elision): Update with new parameter list
8387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8388         (lll_unlock_elision): Likewise.
8389         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8390         (lll_unlock_elision): Likewise.
8392 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8394         [BZ #19122]
8395         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8396         attribute_hidden.
8398         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8399         attribute_hidden.
8400         [IS_IN (rtld)] (__strdup): Likewise.
8401         [IS_IN (rtld)] (__strerror_r): Likewise.
8402         [IS_IN (rtld)] (__strsep_g): Likewise.
8403         [IS_IN (rtld)] (memchr): Likewise.
8404         [IS_IN (rtld)] (memcmp): Likewise.
8405         [IS_IN (rtld)] (memcpy): Likewise.
8406         [IS_IN (rtld)] (memmove): Likewise.
8407         [IS_IN (rtld)] (memset): Likewise.
8408         [IS_IN (rtld)] (rawmemchr): Likewise.
8409         [IS_IN (rtld)] (stpcpy): Likewise.
8410         [IS_IN (rtld)] (strchr): Likewise.
8411         [IS_IN (rtld)] (strcmp): Likewise.
8412         [IS_IN (rtld)] (strlen): Likewise.
8413         [IS_IN (rtld)] (strnlen): Likewise.
8414         [IS_IN (rtld)] (strsep): Likewise.
8416         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8417         attribute_hidden.
8418         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8420         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8421         attribute_hidden.
8422         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8424         * include/setjmp.h (__longjmp): Add attribute_hidden.
8425         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8427         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8428         Add attribute_hidden.
8430         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8431         [IS_IN (rtld)] (__open): Likewise.
8432         [IS_IN (rtld)] (__fcntl): Likewise.
8434         * include/dirent.h (__opendirat): Add attribute_hidden.
8435         (__getdents): Likewise.
8436         (__getdents64): Likewise.
8437         (__alloc_dir): Likewise.
8438         [IS_IN (rtld)] (__closedir): Likewise.
8439         [IS_IN (rtld)] (__fdopendir): Likewise.
8440         [IS_IN (rtld)] (__readdir): Likewise.
8441         [IS_IN (rtld)] (__readdir64): Likewise.
8442         [IS_IN (rtld)] (__rewinddir): Likewise.
8444         * include/dlfcn.h (_dl_catch_error): Moved to ...
8445         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8446         attribute_hidden.
8448         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8449         (_itoa_word): Likewise.
8451         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8452         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8453         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8454         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8455         (_dl_higher_prime_number): Likewise.
8456         (_dl_debug_printf_c): Likewise.
8457         (_dl_signal_cerror): Likewise.
8458         (_dl_receive_error): Likewise.
8459         (_dl_reloc_bad_type): Likewise.
8460         (_dl_resolve_conflicts): Likewise.
8461         (_dl_check_all_versions): Likewise.
8462         (_dl_check_map_versions): Likewise.
8463         (_dl_sort_fini): Likewise.
8464         (_dl_debug_initialize): Likewise.
8465         (_dl_init_paths): Likewise.
8466         (_dl_show_auxv): Likewise.
8467         (_dl_next_ld_env_entry): Likewise.
8468         (_dl_important_hwcaps): Likewise.
8469         (_dl_load_cache_lookup): Likewise.
8470         (_dl_update_slotinfo): Likewise.
8471         (_dl_show_scope): Likewise.
8473         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8474         attribute_hidden.
8475         (_wordcopy_fwd_dest_aligned): Likewise.
8476         (_wordcopy_bwd_aligned): Likewise.
8477         (_wordcopy_bwd_dest_aligned): Likewise.
8479         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8480         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8481         Likewise.
8482         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8483         Likewise.
8484         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8486 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8488         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8489         GCC 5 requirement.
8491 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8493         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8494         test.
8495         * sysdeps/i386/configure: Regenerated.
8496         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8497         code unconditional.
8499         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8500         test.
8501         (libc_cv_asm_popsection_directive): Likewise.
8502         * configure: Regenerated.
8503         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8504         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8505         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8506         (__make_section_unallocated): Make definition unconditional.
8507         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8508         Remove conditional definition.
8509         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8510         (__make_section_unallocated): Likewise.
8512         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8513         * configure: Regenerated.
8514         * config.make.in (static-libgcc): Remove variable.
8515         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8516         $(static-libgcc).
8517         (build-module-helper): Likewise.
8519         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8520         * configure: Regenerated.
8522 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8524         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8525         (struct char_buffer): New type.
8526         (char_buffer_start, char_buffer_size, char_buffer_error)
8527         (char_buffer_rewind, char_buffer_add): New functions.
8528         (ADDW): Remove macro, replaced by the char_buffer_add function.
8529         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8530         of extend_alloca.  Make control flow more explicit.
8532 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8534         [BZ #19137]
8535         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8536         Add -fomit-frame-pointer.
8537         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8539 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8542         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8544         only if !__GNUC_PREREQ (5,0).
8545         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8546         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8547         (INTERNAL_SYSCALL_NCS): Likewise.
8548         (LOADREGS_0): New macro for GCC 5.
8549         (ASMARGS_0): Likewise.
8550         (LOADREGS_1): Likewise.
8551         (ASMARGS_1): Likewise.
8552         (LOADREGS_2): Likewise.
8553         (ASMARGS_2): Likewise.
8554         (LOADREGS_3): Likewise.
8555         (ASMARGS_3): Likewise.
8556         (LOADREGS_4): Likewise.
8557         (ASMARGS_4): Likewise.
8558         (LOADREGS_5): Likewise.
8559         (ASMARGS_5): Likewise.
8560         (LOADREGS_6): Likewise.
8561         (ASMARGS_6): Likewise.
8563 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8565         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8566         -fomit-frame-pointer.
8567         (CFLAGS-mmap64.c): Likewise.
8568         (CFLAGS-semtimedop.c): Likewise.
8569         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8570         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8572         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8574 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8576         [BZ #18928]
8577         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8578         _dl_pointer_guard member.
8579         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8580         initializer.
8581         (security_init): Always set up pointer guard.
8582         (process_envvars): Do not process LD_POINTER_GUARD.
8584 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8586         [BZ #19134]
8587         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8588         (.LC2): Likewise.
8589         (.LC3): Likewise.
8590         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8592 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8594         [BZ #19129]
8595         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8596         r0 and r1.
8598 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8600         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8602 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8604         * include/stap-probe.h: Fix macro definition formatting.
8606 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8608         [BZ #19074]
8609         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8610         load and store num_ifs.
8612 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8614         [BZ #18822]
8615         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8616         (__sched_getaffinity_new): Add libc_hidden_proto and
8617         libc_hidden_def.
8619 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8621         [BZ #19007]
8622         * scripts/localplt.awk: Also allow GOT references.
8623         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8624         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8625         with "+ REL R_386_GLOB_DAT".
8626         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8627         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8629 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8631         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8632         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8633         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8636         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8637         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8638         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8639         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8640         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8641         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8642         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8646 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8648         [BZ #19125]
8649         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8650         <math_private.h> and <stdint.h>.
8651         (__llround): Avoid conversions to and from long long int, and
8652         subtractions, where those might raise spurious exceptions.
8653         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8654         <math_private.h> and <stdint.h>.
8655         (__llroundf): Avoid conversions to and from long long int, and
8656         subtractions, where those might raise spurious exceptions.
8658 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8660         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8661         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8662         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8663         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8664         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8665         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8666         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8667         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8668         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8669         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8670         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8671         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8672         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8673         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8675         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8676         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8677         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8678         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8679         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8681         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8682         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8683         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8684         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8685         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8686         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8687         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8688         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8689         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8690         (__xstat64_conv): Likewise.
8691         (__xstat32_conv): Likewise.
8693 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8695         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8696         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8697         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8698         <sysdeps/unix/sysv/linux/sysdep.h>.
8699         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8700         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8701         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8702         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8703         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8704         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8705         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8706         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8707         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8713         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8715         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8716         (sysdep-dl-routines): Add sysdep.
8717         [$(subdir) == nptl] (libpthread-routines): Likewise.
8718         [$(subdir) == rt] (librt-routines): Likewise.
8719         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8720         PIC when branching to SYSCALL_ERROR_LABEL.
8721         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8723         <sysdeps/unix/sysv/linux/sysdep.h>.
8724         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8725         (SYSCALL_ERROR_ERRNO): Removed.
8726         (SYSCALL_ERROR_HANDLER): Changed to empty.
8727         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8728         (__syscall_error): New prototype.
8729         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8730         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8732 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8734         [BZ #19124]
8735         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8736         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8737         _dl_runtime_resolve_avx.
8738         (_dl_runtime_profile_avx512): Make it a hidden alias of
8739         _dl_runtime_profile_avx.
8741 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8743         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8744         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8745         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8746         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8748         [BZ #16422]
8749         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8750         New configure test.
8751         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8752         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8753         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8754         <math_private.h> and <stdint.h>.
8755         (__llrint): Avoid conversions to long long int where those might
8756         raise spurious exceptions.
8757         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8758         <math_private.h> and <stdint.h>.
8759         (__llrintf): Avoid conversions to long long int where those might
8760         raise spurious exceptions.
8762 2015-10-12  Andreas Schwab  <schwab@suse.de>
8764         [BZ #18969]
8765         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8766         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8767         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8768         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8769         $(gen-locales).
8770         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8771         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8772         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8773         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8774         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8775         $(gen-locales).
8776         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8777         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8778         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8779         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8780         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8781         ($(objpfx)tst-ftell-active-handler.out)
8782         ($(objpfx)tst-ftell-append.out)
8783         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8784         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8785         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8786         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8787         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8788         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8789         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8790         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8791         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8792         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8793         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8794         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8795         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8796         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8797         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8798         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8799         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8800         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8801         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8802         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8803         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8804         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8805         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8806         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8807         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8808         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8809         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8810         $(gen-locales).
8811         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8812         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8813         $(gen-locales).
8814         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8815         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8816         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8817         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8818         $(gen-locales).
8819         * libio/tst_wprintf2.c (main): Use explicit locale.
8820         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8822 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8824         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8825         __msg_sig_post.
8826         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8828 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8830         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8831         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8833         * sysdeps/arm/libm-test-ulps: Regenerated.
8835         [BZ #15470]
8836         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8838         [BZ #16399]
8839         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8840         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8841         and <fix-fp-int-convert-overflow.h>.
8842         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8843         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8844         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8845         and <fix-fp-int-convert-overflow.h>.
8846         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8847         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8848         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8849         <fix-fp-int-convert-overflow.h>.
8850         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8851         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8852         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8853         <fix-fp-int-convert-overflow.h>.
8854         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8856         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8857         and <fix-fp-int-convert-overflow.h>.
8858         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8860         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8861         <limits.h> and <fix-fp-int-convert-overflow.h>.
8862         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8864         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8865         and <fix-fp-int-convert-overflow.h>.
8866         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8868         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8869         and <fix-fp-int-convert-overflow.h>.
8870         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8871         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8872         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8874 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8876         [BZ #18589]
8877         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8878         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8879         $(gen-locales).
8881 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8882             Phil Blundell <pb@pbcl.net>
8884         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8885         * nptl/tst-cancel26.c: New file.
8886         * nptl/tst-cancel27.c: Likewise.
8888 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8890         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8891         __ILP32__ isn't defined.
8892         (lrint): Likewise.
8893         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8894         (lrintf): Likewise.
8895         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8896         (lrintl): Likewise.
8897         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8898         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8899         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8901 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8906         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8907         file.
8908         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8909         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8911 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8913         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8914         configure test.
8915         * sysdeps/i386/configure: Regenerated.
8916         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8917         configure test.
8918         * sysdeps/x86_64/configure: Regenerated.
8919         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8920         Make code unconditional.
8922         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8923         test.
8924         * sysdeps/i386/configure: Regenerated.
8925         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8926         test.
8927         * sysdeps/x86_64/configure: Regenerated.
8928         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8929         Make code unconditional.
8930         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8931         Likewise.
8932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8933         Likewise.
8934         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8935         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8936         code unconditional.
8937         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8938         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8939         code unconditional.
8940         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8941         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8942         code unconditional.
8943         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8944         code unconditional.
8945         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8946         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8947         code unconditional.
8948         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8949         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8950         code unconditional.
8951         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8952         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8953         code unconditional.
8954         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8955         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8956         code unconditional.
8957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8958         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8960         [BZ #19095]
8961         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8962         mantissa to long int before shifting left.
8964 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8966         [BZ #19094]
8967         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8968         <limits.h>.
8969         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8970         when result overflows but exception would not result from cast.
8971         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8972         <limits.h>.
8973         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8974         when result overflows but exception would not result from cast.
8975         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8976         <limits.h>.
8977         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8978         when result overflows but exception would not result from cast.
8979         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8980         <limits.h>.
8981         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8982         when result overflows but exception would not result from cast.
8983         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8984         <limits.h>.
8985         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8986         when result overflows but exception would not result from cast.
8987         * math/libm-test.inc (lrint_test_data): Add more tests.
8988         (llrint_test_data): Likewise.
8990 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8992         [BZ #18872]
8993         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8994         Move out from under [$(run-built-tests) = yes] conditional.
8995         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8996         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8998 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9000         [BZ #18589]
9001         * string/Makefile (tests): Add bug-strcoll2.
9002         (LOCALES): Add cs_CZ.UTF-8.
9003         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9005         [BZ #18589]
9006         * string/bug-strcoll2.c: New file.
9007         * locale/categories.def: Revert commit
9008         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9009         * locale/langinfo.h: Likewise.
9010         * locale/localeinfo.h: Likewise.
9011         * locale/C-collate.c: Likewise.
9012         * locale/programs/ld-collate.c (collate_output): Likewise.
9013         * string/strcoll_l.c (STRDIFF): Likewise.
9014         (STRCOLL): Likewise.
9015         * wcsmbs/wcscoll_l.c: Likewise.
9017 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9019         * math/libm-test.inc (lround_test_data): Do not expect the absence
9020         of "inexact" for some tests with non-integer arguments.
9021         (llround_test_data): Likewise.
9023         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9024         test.
9025         (libc_cv_cc_sse2avx): Likewise.
9026         * sysdeps/i386/configure: Regenerated.
9027         * sysdeps/i386/i686/multiarch/Makefile
9028         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9029         [$(subdir) = math].
9030         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9031         code unconditional.
9032         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9033         Likewise.
9034         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9035         Likewise.
9036         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9037         Likewise.
9038         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9039         test.
9040         (libc_cv_cc_sse2avx): Likewise.
9041         * sysdeps/x86_64/configure: Regenerated.
9042         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9043         unconditional.
9044         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9045         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9046         unconditional.
9047         (_dl_runtime_profile)
9048         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9049         conditional code.
9050         * sysdeps/x86_64/fpu/multiarch/Makefile
9051         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9052         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9053         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9054         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9056         * sysdeps/x86_64/fpu/multiarch/e_log.c
9057         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9058         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9059         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9060         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9061         Likewise.
9062         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9063         Likewise.
9064         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9065         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9066         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9067         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9068         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9069         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9070         (HAVE_SSE2AVX_SUPPORT): Likewise.
9072 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9074         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9075         instead of #pragma optimize.
9077 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9079         [BZ #17195]
9080         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9081         as is similarly done in systrim and _int_free already.
9083 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9085         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9087 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9089         [BZ #19088]
9090         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9091         <limits.h>.
9092         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9093         overflows but exception would not result from cast.
9094         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9095         and <limits.h>.
9096         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9097         overflows but exception would not result from cast.
9098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9099         <limits.h>.
9100         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9101         overflows but exception would not result from cast.
9102         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9103         <limits.h>.
9104         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9105         overflows but exception would not result from cast.
9106         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9107         <limits.h>.
9108         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9109         overflows but exception would not result from cast.
9110         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9111         <limits.h>.
9112         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9113         overflows but exception would not result from cast.
9114         * math/libm-test.inc (lround_test_data): Add more tests.
9115         (llround_test_data): Likewise.
9117 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9119         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9120         (CFLAGS-ialloc.c): Ditto.
9121         (CFLAGS-scheck.c): Ditto.
9123 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9125         [BZ #19086]
9126         * manual/filesys.texi (Storage Allocation): Fix argument order for
9127         posix_fallocate64.
9129 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9131         [BZ #19085]
9132         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9133         exponent below 48 inside case for non-overflowing exponent.
9134         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9136 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9138         * iconvdata/cp737.h (from_idx): Add const.
9139         * iconvdata/cp775.h (from_idx): Likewise.
9141 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9143         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9144         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9145         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9147         [BZ #19079]
9148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9149         file, conditioned on [!_LP64].
9150         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9151         [!_LP64] (__lround): Do not define as function or alias.
9152         [!_LP64] (lround): Likewise.
9153         [!_LP64] (__lroundl): Likewise.
9154         [!_LP64] (lroundl): Likewise.
9155         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9156         macro.
9157         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9158         Likewise.
9160 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9162         * math/libm-test.inc (lrint_test_data): Add more tests.
9163         (llrint_test_data): Likewise.
9164         (lround_test_data): Likewise.
9165         (llround_test_data): Likewise.
9167         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9168         (llrint_test_data): Add tests used for lrint.
9170         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9171         test.
9172         * sysdeps/i386/configure: Regenerated.
9173         * sysdeps/i386/i686/multiarch/Makefile
9174         [$(config-cflags-sse4) = yes]: Make code unconditional.
9175         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9176         Likewise.
9177         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9178         Likewise.
9179         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9180         test.
9181         * sysdeps/x86_64/configure: Regenerated.
9182         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9183         Make code unconditional.
9184         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9185         Likewise.
9186         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9187         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9189         * scripts/rpm2dynsym.sh: Remove file.
9191 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9193         * configure.ac (libc_cv_cxx_thread_local): Define.
9194         * configure: Regenerate.
9195         * config.make.in (have-cxx-thread_local): Define.
9196         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9197         (LDLIBS-tst-thread_local1): Define.
9198         (tests): Add tst-thread_local1.
9199         [have-cxx-thread_local != yes] (tests-unsupported): Add
9200         tst-thread_local1.
9201         * nptl/tst-thread_local1.cc: New file.
9203 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9205         [BZ #19078]
9206         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9207         (u_thres): Likewise.
9208         (__expl): Determine whether to call __kernel_standard_l based on
9209         value of result, not argument.
9211         * math/libm-test.inc (scalb_test_data): Add more expectations for
9212         the "inexact" exception.
9214         [BZ #19077]
9215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9216         0.0L for argument 1.0L.
9218         [BZ #19076]
9219         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9220         constant 0.0L when computing infinite result.
9222 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9224         [BZ #10432]
9225         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9226         malloc_usable_size.
9228 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9230         [BZ #19018]
9231         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9232         Mangle function pointer before storing it.
9233         (__call_tls_dtors): Demangle function pointer before calling it.
9235 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9237         [BZ #19012]
9238         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9239         Clean up on failure.
9241 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #19071]
9244         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9245         long int variable to store possibly incremented high part of
9246         mantissa.
9247         * math/libm-test.inc (lround_test_data): Add tests used for
9248         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9249         for tests requiring 64-bit long.  Do not condition tests on
9250         [TEST_FLOAT] unnecessarily.
9251         (llround_test_data): Add tests used for lround.  Add another
9252         expectation for the "inexact" exception.  Do not condition tests
9253         on [TEST_FLOAT] unnecessarily.
9255         [BZ #887]
9256         [BZ #19049]
9257         [BZ #19050]
9258         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9259         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9260         <fix-int-fp-convert-zero.h>.
9261         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9262         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9263         <fix-int-fp-convert-zero.h>.
9264         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9265         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9266         <fix-int-fp-convert-zero.h>.
9267         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9268         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9269         <fix-int-fp-convert-zero.h>.
9270         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9271         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9272         <fix-int-fp-convert-zero.h>.
9273         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9274         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9275         <fix-int-fp-convert-zero.h>.
9276         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9277         * sysdeps/ieee754/flt-32/s_erff.c: Include
9278         <fix-int-fp-convert-zero.h>.
9279         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9280         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9281         <fix-int-fp-convert-zero.h>.
9282         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9284         <fix-int-fp-convert-zero.h>.
9285         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9287         <fix-int-fp-convert-zero.h>.
9288         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9289         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9290         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9291         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9292         file.
9293         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9295 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9299 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #19059]
9302         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9303         overflowing computation.
9304         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9305         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9306         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9307         Likewise.
9308         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9309         Likewise.
9310         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9311         Likewise.
9312         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9313         Likewise.
9314         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9315         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9316         Likewise.
9317         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9318         Likewise.
9319         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9321         * nss/rewrite_field.c (__nss_rewrite_field): Use
9322         internal_function.
9323         * nss/valid_field.c (__nss_valid_field): Likewise.
9324         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9326 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9328         [BZ #18724]
9329         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9330         (__nss_invalid_field_characters, __nss_valid_field)
9331         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9332         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9333         tst-field.c: New file.
9334         * nss/Makefile (routines): Add valid_field, rewrite_field.
9335         (tests-static): Define unconditionally.
9336         (tests): Include tests-static.
9337         [build-static-nss] (tests-static): Use append.
9338         [build-static-nss] (tests): Remove modification.
9339         * nss/getent.c (print_group): Call putgrent.  Report error.
9340         (print_gshadow): Call putsgent.  Report error.
9341         (print_passwd): Call putpwent.  Report error.
9342         (print_shadow): Call putspent.  Report error.
9343         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9344         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9345         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9346         name, password, directory, shell fields for valid syntax.  Rewrite
9347         GECOS field to match syntax.
9348         * pwd/Makefile (tests): Add tst-putpwent.
9349         * pwd/tst-putpwent.c: New file.
9350         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9351         Check grName, grpasswd, gr_mem fields for valid syntax.
9352         Change loop variable i to size_t.
9353         * grp/Makefile (tests): Add tst-putgrent.
9354         * grp/tst-putgrent.c: New file.
9355         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9356         valid syntax.
9357         * shadow/Makefile (tests): Add tst-putspent.
9358         * shadow/tst-putspent.c: New file.
9359         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9360         sg_mem fields for valid syntax.
9361         * gshadow/Makefile (tests): Add tst-putsgent.
9362         * gshadow/tst-putsgent.c: New file.
9364 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9366         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9367         assembly instructions.
9369 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9371         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9372         prefix from operands.
9374 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9376         [BZ #16347]
9377         [BZ #19046]
9378         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9379         <libc-internal.h>.
9380         (MAXLGM): Do not use diagnostic control macros.
9381         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9382         threshold for ldbl-128ibm.
9383         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9384         instead of multiplying by log then subtracting.
9385         * math/auto-libm-test-in: Add more tests of lgamma.
9386         * math/auto-libm-test-out: Regenerated.
9388         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9389         (TYPE_HEX_DIG): Likewise.
9390         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9391         precisions when printing floating-point numbers.
9392         (check_float_internal): Likewise.
9394 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9396         [BZ #16620]
9397         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9398         of log (10) rounded downward to 48 bits.
9399         (log10_low): Use corresponding low part of log (10).
9401         [BZ #19032]
9402         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9403         compute result as (x - x) / (x - x) not as 0 / 0.
9404         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9405         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9407         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9408         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9409         and expm1.
9410         * math/auto-libm-test-out: Regenerated.
9411         * math/libm-test.inc (acos_test_data): Add more tests.
9412         (asin_test_data): Likewise.
9413         (asinh_test_data): Likewise.
9414         (atan_test_data): Likewise.
9415         (atanh_test_data): Likewise.
9416         (atan2_test_data): Likewise.
9417         (cbrt_test_data): Likewise.
9418         (ceil_test_data): Likewise.
9419         (copysign_test_data): Likewise.
9420         (cos_test_data): Likewise.
9421         (cosh_test_data): Likewise.
9422         (erf_test_data): Likewise.
9423         (erfc_test_data): Likewise.
9424         (exp_test_data): Likewise.
9425         (exp10_test_data): Likewise.
9426         (exp2_test_data): Likewise.
9427         (expm1_test_data): Likewise.
9428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9430 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9432         [BZ #19006]
9433         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9434         to ...
9435         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9436         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9437         to ...
9438         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9439         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9440         to ...
9441         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9442         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9443         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9444         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9445         to ...
9446         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9447         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9448         Moved to ...
9449         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9451         Moved to ...
9452         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9454         to ...
9455         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9456         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9457         Moved to ...
9458         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9460         to ...
9461         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9462         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9463         Removed.
9464         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9465         Likewise.
9466         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9467         Likewise.
9468         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9469         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9470         Likewise.
9471         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9472         Likewise.
9473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9474         Likewise.
9475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9478         Likewise.
9479         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9480         Likewise.
9481         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9482         Likewise.
9483         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9484         Likewise.
9485         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9486         Likewise.
9487         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9488         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9489         Likewise.
9490         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9491         Likewise.
9492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9493         Likewise.
9494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9495         Likewise.
9496         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9497         Likewise.
9498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9499         Replace ../i486/pthread_cond_timedwait.S with
9500         ../pthread_cond_timedwait.S.
9502 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9504         * math/libm-test.inc (acos_test_data): Refine expectations for
9505         errno and "inexact" exceptions.
9506         (acosh_test_data): Likewise.
9507         (asin_test_data): Likewise.
9508         (asinh_test_data): Likewise.
9509         (atan_test_data): Likewise.
9510         (atanh_test_data): Likewise.
9511         (atan2_test_data): Likewise.
9512         (cbrt_test_data): Likewise.
9513         (ceil_test_data): Likewise.
9514         (copysign_test_data): Likewise.
9515         (cosh_test_data): Likewise.
9516         (erf_test_data): Likewise.
9517         (erfc_test_data): Likewise.
9518         (exp_test_data): Likewise.
9519         (exp10_test_data): Likewise.
9520         (exp2_test_data): Likewise.
9521         (expm1_test_data): Likewise.
9522         (fabs_test_data): Likewise.
9523         (floor_test_data): Likewise.
9524         (fma_test_data): Likewise.
9525         (fmax_test_data): Likewise.
9526         (fmin_test_data): Likewise.
9527         (fmod_test_data): Likewise.
9528         (fpclassify_test_data): Likewise.
9529         (frexp_test_data): Likewise.
9530         (hypot_test_data): Likewise.
9531         (ilogb_test_data): Likewise.
9532         (isgreater_test_data): Likewise.
9533         (isgreaterequal_test_data): Likewise.
9534         (isinf_test_data): Likewise.
9535         (isless_test_data): Likewise.
9536         (islessequal_test_data): Likewise.
9537         (islessgreater_test_data): Likewise.
9538         (isnan_test_data): Likewise.
9539         (isnormal_test_data): Likewise.
9540         (issignaling_test_data): Likewise.
9541         (isunordered_test_data): Likewise.
9542         (j0_test_data): Likewise.
9543         (j1_test_data): Likewise.
9544         (jn_test_data): Likewise.
9545         (lgamma_test_data): Likewise.
9546         (lrint_test_data): Likewise.
9547         (llrint_test_data): Likewise.
9548         (log_test_data): Likewise.
9549         (log10_test_data): Likewise.
9550         (log1p_test_data): Likewise.
9551         (log2_test_data): Likewise.
9552         (logb_test_data): Likewise.
9553         (lround_test_data): Likewise.
9554         (llround_test_data): Likewise.
9555         (modf_test_data): Likewise.
9556         (nearbyint_test_data): Likewise.
9557         (nextafter_test_data): Likewise.
9558         (nexttoward_test_data): Likewise.
9559         (pow_test_data): Likewise.
9560         (remainder_test_data): Likewise.
9561         (remquo_test_data): Likewise.
9562         (rint_test_data): Likewise.
9563         (round_test_data): Likewise.
9564         (signbit_test_data): Likewise.
9565         (sinh_test_data): Likewise.
9566         (sqrt_test_data): Likewise.
9567         (tanh_test_data): Likewise.
9568         (tgamma_test_data): Likewise.
9569         (trunc_test_data): Likewise.
9570         (y0_test_data): Likewise.
9571         (y1_test_data): Likewise.
9572         (yn_test_data): Likewise.
9573         (significand_test_data): Likewise.
9575 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9577         * manual/filesys.texi (Storage Allocation): Document that
9578         posix_fallocate emulation fails when fd is open with O_WRONLY.
9580 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9582         [BZ #19016]
9583         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9584         allow more cases with X^2 + Y^2 >= 0.5.
9585         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9586         normal element in sum instead of special-casing based on values of
9587         arguments.
9588         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9589         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9590         -1 as normal element in sum instead of special-casing based on
9591         values of arguments.
9592         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9593         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9594         (__x2y2m1): Update comment.
9595         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9596         as normal element in sum instead of special-casing based on values
9597         of arguments.
9598         * math/s_clog.c (__clog): Handle more cases using log1p without
9599         hypot.
9600         * math/s_clog10.c (__clog10): Likewise.
9601         * math/s_clog10f.c (__clog10f): Likewise.
9602         * math/s_clog10l.c (__clog10l): Likewise.
9603         * math/s_clogf.c (__clogf): Likewise.
9604         * math/s_clogl.c (__clogl): Likewise.
9605         * math/auto-libm-test-in: Add more tests of clog and clog10.
9606         * math/auto-libm-test-out: Regenerated.
9607         * sysdeps/i386/fpu/libm-test-ulps: Update.
9608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9610 2015-09-28  Martin Sebor  <msebor@redhat.com>
9612         [BZ #18969]
9613         * string/Makefile (LOCALES): Define.
9614         (gen-locales.mk): Include.
9615         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9616         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9617         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9618         on setlocale failure.
9620 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9622         [BZ #18985]
9623         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9624         (__strftime_internal): Likewise.
9625         * time/tst-strftime.c (do_bz18985): New test.
9626         (do_test): Call it.
9628 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9630         [BZ #18956]
9631         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9632         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9633         extracting high part.
9634         * math/auto-libm-test-in: Add another test of pow.
9635         * math/auto-libm-test-out: Regenerated.
9636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9638 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9640         [BZ #18825]
9641         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9642         New macro.
9643         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9644         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9645         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9646         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9647         DBL_NARROW_EVAL, reloading the PIC register as needed.
9648         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9649         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9650         FLT_NARROW_EVAL.  Use separate return path for case when first
9651         argument is NaN.
9652         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9653         DEFINE_LDBL_MIN.
9654         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9655         PIC register.
9656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9657         math_check_force_underflow_nonneg.
9658         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9659         underflow for subnormal result.
9660         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9662         math_check_force_underflow_nonneg.
9663         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9664         math_check_force_underflow.
9665         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9666         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9667         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9668         DEFINE_LDBL_MIN.
9669         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9670         * math/auto-libm-test-in: Add more tests of pow.
9671         * math/auto-libm-test-out: Regenerated.
9673 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9675         * nss/bug17079.c (init_test_items): Add diagnostic for
9676         inconsistent entries.
9677         (test_buffer_size): Skip inconsistent entries.
9679 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #13304]
9682         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9683         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9684         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9686         [BZ #13304]
9687         * sysdeps/microblaze/s_fma.c: New file.
9688         * sysdeps/microblaze/s_fmaf.c: Likewise.
9689         * sysdeps/microblaze/sfp-machine.h: Likewise.
9691 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9693         [BZ #17250]
9694         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9695         member.
9697 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9699         [BZ #18803]
9700         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9701         (MO): New macro.
9702         (__ieee754_hypot) [PIC]: Load PIC register.
9703         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9704         DBL_NARROW_EVAL.
9705         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9706         math_check_force_underflow_nonneg in case where result might be
9707         tiny.
9708         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9709         Likewise.
9710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9711         Likewise.
9712         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9713         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9714         * math/auto-libm-test-in: Add more tests of hypot.
9715         * math/auto-libm-test-out: Regenerated.
9717 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9719         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9721 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9723         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9724         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9725         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9726         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9727         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9728         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9729         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9731         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9732         LOAD_PIC_REG.
9734         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9735         (FLT_CHECK_FORCE_UFLOW): Likewise.
9736         (DBL_CHECK_FORCE_UFLOW): Likewise.
9737         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9738         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9739         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9740         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9741         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9742         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9743         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9744         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9745         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9746         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9747         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9748         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9749         (flt_min): Replace with use of DEFINE_FLT_MIN.
9750         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9751         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9752         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9753         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9754         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9755         (flt_min): Replace with use of DEFINE_FLT_MIN.
9756         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9757         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9758         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9759         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9760         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9761         (flt_min): Replace with use of DEFINE_FLT_MIN.
9762         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9763         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9764         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9765         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9766         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9767         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9768         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9769         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9770         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9771         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9772         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9773         (flt_min): Replace with use of DEFINE_FLT_MIN.
9774         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9775         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9776         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9777         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9778         main computation.
9779         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9780         (flt_min): Replace with use of DEFINE_FLT_MIN.
9781         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9782         main computation.
9783         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9784         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9785         (MO): New macro.
9786         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9787         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9788         (flt_min): Replace with use of DEFINE_FLT_MIN.
9789         (MO): New macro.
9790         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9791         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9792         (__log1pl): Use MO.
9794         [BZ #19003]
9795         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9796         $(config-cflags-nofma).
9798 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9800         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9802 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9804         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9805         (TWO127): Likewise.
9807         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9808         (min_of_type): Likewise.
9809         (math_check_force_underflow): Likewise.
9810         (math_check_force_underflow_nonneg): Likewise.
9811         (math_check_force_underflow_complex): Likewise.
9812         * math/e_exp2l.c (__ieee754_exp2l): Use
9813         math_check_force_underflow_nonneg.
9814         * math/k_casinh.c (__kernel_casinh): Likewise.
9815         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9816         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9817         * math/s_catan.c (__catan): Use
9818         math_check_force_underflow_complex.
9819         * math/s_catanf.c (__catanf): Likewise.
9820         * math/s_catanh.c (__catanh): Likewise.
9821         * math/s_catanhf.c (__catanhf): Likewise.
9822         * math/s_catanhl.c (__catanhl): Likewise.
9823         * math/s_catanl.c (__catanl): Likewise.
9824         * math/s_ccosh.c (__ccosh): Likewise.
9825         * math/s_ccoshf.c (__ccoshf): Likewise.
9826         * math/s_ccoshl.c (__ccoshl): Likewise.
9827         * math/s_cexp.c (__cexp): Likewise.
9828         * math/s_cexpf.c (__cexpf): Likewise.
9829         * math/s_cexpl.c (__cexpl): Likewise.
9830         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9831         * math/s_clog10.c (__clog10): Likewise.
9832         * math/s_clog10f.c (__clog10f): Likewise.
9833         * math/s_clog10l.c (__clog10l): Likewise.
9834         * math/s_clogf.c (__clogf): Likewise.
9835         * math/s_clogl.c (__clogl): Likewise.
9836         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9837         * math/s_csinf.c (__csinf): Likewise.
9838         * math/s_csinh.c (__csinh): Likewise.
9839         * math/s_csinhf.c (__csinhf): Likewise.
9840         * math/s_csinhl.c (__csinhl): Likewise.
9841         * math/s_csinl.c (__csinl): Likewise.
9842         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9843         * math/s_csqrtf.c (__csqrtf): Likewise.
9844         * math/s_csqrtl.c (__csqrtl): Likewise.
9845         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9846         * math/s_ctanf.c (__ctanf): Likewise.
9847         * math/s_ctanh.c (__ctanh): Likewise.
9848         * math/s_ctanhf.c (__ctanhf): Likewise.
9849         * math/s_ctanhl.c (__ctanhl): Likewise.
9850         * math/s_ctanl.c (__ctanl): Likewise.
9851         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9852         instead of volatile.
9853         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9854         math_check_force_underflow.
9855         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9856         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9857         volatile when forcing underflow.
9858         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9859         math_check_force_underflow_nonneg.
9860         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9861         Likewise.
9862         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9863         math_check_force_underflow.
9864         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9865         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9866         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9867         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9868         math_check_force_underflow_nonneg.
9869         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9870         math_check_force_underflow.
9871         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9873         instead of volatile.
9874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9875         math_check_force_underflow.
9876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9878         math_check_force_underflow_nonneg.
9879         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9880         math_check_force_underflow.
9881         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9882         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9883         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9884         math_check_force_underflow_nonneg.
9885         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9886         Likewise.
9887         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9888         math_check_force_underflow.
9889         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9890         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9891         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9892         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9893         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9894         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9895         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9896         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9897         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9898         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9899         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9900         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9901         Likewise.
9902         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9903         math_check_force_underflow_nonneg.
9904         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9905         Likewise.
9906         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9907         math_check_force_underflow.
9908         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9909         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9910         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9911         Likewise.
9912         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9913         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9914         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9915         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9916         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9919         instead of volatile.
9920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9921         math_check_force_underflow.
9922         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9924         math_check_force_underflow.
9925         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9926         Likewise.
9927         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9928         Use math_check_force_underflow_nonneg.
9929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9930         math_check_force_underflow.
9931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9932         Likewise.
9933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9934         Likewise.
9935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9936         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9939         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9941         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9942         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9943         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9944         math_check_force_underflow_nonneg.
9945         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9946         math_check_force_underflow.
9947         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9948         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9949         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9950         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9951         math_check_force_underflow_nonneg.
9952         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9953         math_check_force_underflow.
9954         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9956         instead of volatile.
9957         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9958         math_check_force_underflow.
9960         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9961         * stdlib/strtod_l.c: Include <math_private.h>.
9962         (overflow_value): Use math_narrow_eval.
9963         (underflow_value): Likewise.
9964         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9965         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9967         (__ieee754_gamma_r): Likewise.
9968         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9969         Likewise.
9970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9971         Likewise.
9972         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9973         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9974         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9975         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9976         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9977         (__ieee754_gammaf_r): Likewise.
9978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9979         Likewise.
9980         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9981         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9982         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9983         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9984         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9985         volatile.
9986         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9988         math_narrow_eval.
9989         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9990         Likewise.
9991         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9992         Likewise.
9993         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9994         Likewise.
9995         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9996         volatile.
9997         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9999         math_narrow_eval.
10000         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10001         Likewise.
10002         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10003         Likewise.
10005 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10007         * nptl/Versions: Remove ignored symbols.
10009 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10011         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10012         * nss/Makefile (tests): Update.
10014 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10016         * nss/bug18287.c: New file.
10017         * nss/Makefile (tests): Add bug18287.
10019 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10021         * mach/Versions (__mach_host_self_): Add symbol.
10023 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10025         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10026         vm_page_size.
10028 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10030         Really fix sysdeps/i386/fpu/s_scalbn.S build
10032         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10033         (libc: GLIBC_2_22): Remove unused version set.
10035 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10037         * config.make.in (enable-timezone-tools): New variable.
10038         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10039         (enable_timezone_tools): Export to generated files.
10040         * configure: Regenerate.
10041         * INSTALL: Regenerate.
10042         * manual/install.texi (--disable-timezone-tools): Document new flag.
10043         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10044         ifeq ($(enable-timezone-tools),yes) check.
10046 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10048         * timezone/Makefile: Revert previous change.
10050         [BZ #18980]
10051         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10052         (DEFINE_DBL_MIN): Likewise.
10053         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10054         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10055         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10056         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10057         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10059         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10060         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10061         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10062         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10063         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10064         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10065         (flt_min): Replace with use of DEFINE_FLT_MIN.
10066         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10067         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10068         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10069         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10070         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10071         (flt_min): Replace with use of DEFINE_FLT_MIN.
10072         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10073         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10074         (flt_min): Replace with use of DEFINE_FLT_MIN.
10075         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10076         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10077         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10078         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10079         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10080         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10081         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10082         (__ieee754_pow): Use DBL_NARROW_EVAL.
10083         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10084         (__ieee754_powf): Use FLT_NARROW_EVAL.
10085         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10086         (__ieee754_expf_sse2): Convert double-precision result to single
10087         precision.
10088         * sysdeps/i386/fpu/libm-test-ulps: Update.
10090 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10092         * timezone/Makefile: Ignore unused variable errors due to private.h
10093         (time_t_min) and (time_t_max).
10094         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10095         Likewise.
10097 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10099         [BZ #18981]
10100         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10101         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10102         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10103         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10104         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10105         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10106         (__scalbn): Use DBL_NARROW_EVAL.
10107         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10108         (__scalbnf): Use FLT_NARROW_EVAL.
10110 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10112         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10113         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10114         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10115         * stdio-common/printf_fp.c (___printf_fp):
10116         Use signbit to get the sign. Use isinf macro to allow inlining.
10117         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10118         * stdio-common/printf_size.c (__printf_size): Likewise.
10120 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10122         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10124 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10126         [BZ #18980]
10127         * sysdeps/generic/math_private.h: Include <float.h>.
10128         (math_narrow_eval): New macro.
10129         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10130         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10131         math_narrow_eval on overflowing return value.
10132         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10133         Likewise.
10134         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10135         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10136         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10137         Likewise.
10138         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10140 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10142         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10143         * math/Makefile: Remove isinf_ns.c.
10144         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10145         * math/multc3.c (__multc3): Likewise.
10146         * math/s_casin.c (__casin): Likewise.
10147         * math/s_casinf.c (__casinf): Likewise.
10148         * math/s_casinl.c (__casinl): Likewise.
10149         * math/s_cproj.c (__cproj): Likewise.
10150         * math/s_cprojf.c (__cprojf): Likewise.
10151         * math/s_cprojl.c (__cprofl): Likewise.
10152         * math/s_ctan.c (__ctan): Likewise.
10153         * math/s_ctanf.c (__ctanf): Likewise.
10154         * math/s_ctanh.c (__ctanh): Likewise.
10155         * math/s_ctanhf.c (__ctanhf): Likewise.
10156         * math/s_ctanhl.c (__ctanhl): Likewise.
10157         * math/s_ctanl.c (__ctanl): Likewise.
10158         * math/w_fmod.c (__fmod): Likewise.
10159         * math/w_fmodf.c (__fmodf): Likewise.
10160         * math/w_fmodl.c (_fmodl): Likewise.
10161         * math/w_remainder.c (__remainder): Likewise.
10162         * math/w_remainderf.c (__remainderf): Likewise.
10163         * math/w_remainderl.c (__remainderl): Likewise.
10164         * math/w_scalb.c (__scalb): Likewise.
10165         * math/w_scalbf.c (__scalbf): Likewise.
10166         * math/w_scalbl.c (__scalbl): Likewise.
10167         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10168         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10169         with isinf.
10170         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10172         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10173         __isinf_nsf with isinf.
10174         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10175         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10176         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10177         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10178         with isinf.
10179         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10180         __isinf_nsl with isinf.
10181         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10182         with isinf.
10183         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10184         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10185         __isinf_nsl with isinf.
10186         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10187         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10188         with isinf.
10190 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10192         * resolv/base64.c (rcsid): Remove unused static.
10193         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10194         static.  (tqpi1): Likewise.
10195         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10196         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10197         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10198         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10199         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10202         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10203         Likewise.
10205 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10207         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10208         <nptl/pthreadP.h>.
10209         (_longjmp_unwind): Use __libc_ptf_call.
10210         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10212 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10214         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10215         * sysdeps/arm/__longjmp.S: Likewise.
10217 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10219         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10220         Use __builtin_signbit.
10221         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10222         Use __builtin_signbitf.
10223         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10224         Use __builtin_signbitl.
10225         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10226         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10228 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10230         [BZ #15367]
10231         [BZ #17441]
10233         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10234         * math/math.h (fpclassify): Use __builtin_fpclassify when
10235         available.  (signbit): Use __builtin_signbit(f/l).
10236         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10237         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10238         (isinf): Use __builtin_isinf_sign.
10240 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10242         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10243         * benchtests/bench-math-inlines.c: New benchmark.
10244         * benchtests/bench-util.h: New file.
10245         * benchtests/bench-util.c: New file.
10246         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10248 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10250         * elf/tst-dlmopen1.c: Define TEST_SO.
10251         (do_test): Use TEST_SO.
10253         * elf/dl-load.c: Include libc-internal.h.
10254         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10256 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10258         [BZ #17887]
10259         * time/strptime_l.c (__strptime_internal): Make %z accept
10260         [+-]HH:MM time zones.
10262 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10264         [BZ #17886]
10265         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10266         valid time zone.
10268 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10270         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10271         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10272         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10273         (__ASSUME_FDATASYNC): Delete.
10275 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10277         * conform/linknamespace.pl: Require weak undefined symbols to be
10278         in the standard namespace.
10279         (%strong_syms): Rename to %seen_syms.
10280         (%strong_seen): Rename to %seen_where.
10282 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10284         [BZ #18970]
10285         * misc/error.c (error): Replace pthread_setcancelstate with
10286         __pthread_setcancelstate.
10287         (error_at_line): Likewise.
10288         * posix/wordexp.c (parse_comm): Likewise.
10289         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10290         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10291         (__pthread_setcancelstate): This.
10292         (pthread_setcancelstate): Add an alias.
10293         * nptl/nptl-init.c (pthread_functions): Replace
10294         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10295         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10296         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10297         hidden_proto.
10298         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10299         it with hidden_def.
10300         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10301         (pthread_setcancelstate): Renamed to ...
10302         (__pthread_setcancelstate): This.
10303         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10304         __libc_ptf_call with __pthread_setcancelstate.
10306 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10307             Andreas Schwab  <schwab@suse.de>
10309         [BZ #17118]
10310         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10311         result when imaginary part of argument is infinite using sine and
10312         cosine.
10313         * math/s_ctanf.c (__ctanf): Likewise.
10314         * math/s_ctanl.c (__ctanl): Likewise.
10315         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10316         of result when real part of argument is infinite using sine and
10317         cosine.
10318         * math/s_ctanhf.c (__ctanhf): Likewise.
10319         * math/s_ctanhl.c (__ctanhl): Likewise.
10320         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10321         (ctanh_test_data): Add more tests of ctanh.
10323 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10325         [BZ #15384]
10326         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10327         bit-mask as in subtraction.
10328         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10329         Likewise.
10330         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10331         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10332         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10334         [BZ #18951]
10335         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10336         underflow exception for small results.
10337         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10338         Likewise.
10339         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10340         Likewise.
10341         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10342         Likewise.
10343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10344         Likewise.
10345         * math/auto-libm-test-in: Add more tests of tgamma.
10346         * math/auto-libm-test-out: Regenerated.
10348 2015-09-17  Andreas Schwab  <schwab@suse.de>
10350         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10352 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10354         [BZ #18977]
10355         * math/bits/mathcalls.h
10356         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10357         not declare.
10358         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10359         Likewise.
10360         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10361         Likewise.
10362         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10363         Likewise.
10364         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10365         Likewise.
10366         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10367         Likewise.
10368         * conform/data/math.h-data
10369         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10370         function.
10371         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10372         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10373         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10374         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10375         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10376         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10377         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10378         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10379         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10380         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10381         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10383         [BZ #6803]
10384         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10385         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10386         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10387         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10388         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10389         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10390         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10391         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10392         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10394         Likewise.
10395         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10396         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10397         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10398         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10399         long_double_symbol calls.
10400         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10401         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10402         strong alias of __ldexpl.
10403         (scalbnl): Define using long_double_symbol.
10404         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10405         Remove alias.
10406         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10407         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10408         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10409         (scalbln_test_data): Add more errno expectations.
10411 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10413         Cache the host port like we cache the task port.  This way we do not
10414         need to call the kernel just to get the port.  Furthermore, we no
10415         longer increase the reference count on every invocation of
10416         `mach_host_self'.
10418         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10419         Protect declarations against the macro expansion.
10420         * mach/mach_init.c (__mach_host_self_): New variable.
10421         (mach_init): Initialize `__mach_host_self_'.
10422         * mach/mach_init.h (__mach_host_self_): New declaration.
10423         (__mach_host_self, mach_host_self): New macros.
10424         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10425         Release reference.
10427 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #4404]
10430         * po/de.po: Update from Translation Project.
10432         [BZ #16415]
10433         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10434         (__expm1l): Remove code to handle positive infinity and overflow.
10435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10436         variable.
10437         (__expm1l): Remove code to handle positive infinity and overflow.
10439 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10440             Paul Pluzhnikov  <ppluzhnikov@google.com>
10442         [BZ #18872]
10443         * stdio-common/Makefile (tst-printf-bz18872): New test.
10444         (tst-printf-bz18872-mem.out): Likewise.
10445         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10446         * stdio-common/vfprintf.c: Fix memory leaks.
10448 2015-09-16  Andreas Schwab  <schwab@suse.de>
10450         [BZ #17244]
10451         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10452         Remove extra va_start/va_end calls.
10454         [BZ #17243]
10455         * posix/execl.c (execl): Add missing va_end.
10456         * posix/execle.c (execle): Likewise.
10457         * posix/execlp.c (execlp): Likewise.
10459 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10461         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10462         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10464 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10466         [BZ #18967]
10467         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10468         undefine around includes of <bits/mathcalls.h>.
10469         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10470         not declare function.
10471         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10472         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10473         (scalb): Likewise.
10474         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10475         not define macro.
10476         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10477         variable.
10478         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10479         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10480         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10482         [BZ #18857]
10483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10484         return non-finite argument without doing ordered comparisons on
10485         it.
10487         [BZ #16296]
10488         * math/fenv.h (fegetround): Use __attribute_pure__.
10489         * include/fenv.h (__fegetround): Likewise.
10491         [BZ #18595]
10492         * math/s_ctan.c (__ctan): Force underflow exception for results
10493         whose real or imaginary part has small absolute value.
10494         * math/s_ctanf.c (__ctanf): Likewise.
10495         * math/s_ctanh.c (__ctanh): Likewise.
10496         * math/s_ctanhf.c (__ctanhf): Likewise.
10497         * math/s_ctanhl.c (__ctanhl): Likewise.
10498         * math/s_ctanl.c (__ctanl): Likewise.
10499         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10500         and ctanh.  Add more tests of ctan and ctanh.
10502         [BZ #15918]
10503         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10504         handling of cases where one argument is an infinity.
10506         [BZ #18875]
10507         [BZ #18966]
10508         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10509         (MO): New macro.
10510         (__ieee754_exp10): For small results, force underflow exception
10511         and remove excess range and precision from return value.
10512         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10513         (MO): New macro.
10514         (__ieee754_exp10f): For small results, force underflow exception
10515         and remove excess range and precision from return value.
10516         * math/auto-libm-test-in: Add more tests of exp10.
10517         * math/auto-libm-test-out: Regenerated.
10519 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10521         [BZ #18875]
10522         [BZ #18961]
10523         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10524         (MO): New macro.
10525         (__ieee754_exp): For small results, force underflow exception and
10526         remove excess range and precision from return value.
10527         (__exp_finite): Likewise.
10528         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10529         (MO): New macro.
10530         (__ieee754_expf): For small results, force underflow exception and
10531         remove excess range and precision from return value.
10532         (__expf_finite): Likewise.
10533         * math/auto-libm-test-in: Add more tests of exp.
10534         * math/auto-libm-test-out: Regenerated.
10536         [BZ #16521]
10537         [BZ #18875]
10538         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10539         small results.
10540         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10541         (MO): New macro.
10542         (__ieee754_exp2): For small results, force underflow exception and
10543         remove excess range and precision from return value.
10544         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10545         (MO): New macro.
10546         (__ieee754_exp2f): For small results, force underflow exception
10547         and remove excess range and precision from return value.
10548         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10549         (MO): New macro.
10550         (__ieee754_exp2l): Force underflow exception for small results.
10551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10552         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10553         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10554         (MO): New macro.
10555         (__ieee754_exp2l): Force underflow exception for small results.
10556         * math/auto-libm-test-in: Add more tests or exp2.
10557         * math/auto-libm-test-out: Regenerated.
10559 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10561         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10563         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10564         /dev/null.
10566 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10568         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10569         io fs process)): Drop spurious backslash.
10571 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10573         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10574         Use sysinfo system call instead of parsing /proc/meminfo.
10575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10576         Likewise.
10578 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10580         [BZ #16985]
10581         * programs/localedef.c (main): Display argv[remaining] when
10582         output_path is NULL.
10584 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10586         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10587         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10588         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10589         tanh.
10590         * math/auto-libm-test-out: Regenerated.
10591         * sysdeps/i386/fpu/libm-test-ulps: Update.
10592         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10593         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10596 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10598         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10599         Use 'override' keyword to freeze the value here, preventing
10600         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10602 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10604         [BZ #14912]
10605         * sysdeps/aarch64/bits/atomic.h: Move to ...
10606         * sysdeps/aarch64/atomic-machine.h: ...here.
10607         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10608         _AARCH64_ATOMIC_MACHINE_H.
10609         * sysdeps/alpha/bits/atomic.h: Move to ...
10610         * sysdeps/alpha/atomic-machine.h: ...here.
10611         * sysdeps/arm/bits/atomic.h: Move to ...
10612         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10613         * bits/atomic.h: Move to ...
10614         * sysdeps/generic/atomic-machine.h: ...here.
10615         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10616         * sysdeps/i386/bits/atomic.h: Move to ...
10617         * sysdeps/i386/atomic-machine.h: ...here.
10618         * sysdeps/ia64/bits/atomic.h: Move to ...
10619         * sysdeps/ia64/atomic-machine.h: ...here.
10620         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10621         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10622         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10623         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10624         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10625         * sysdeps/microblaze/bits/atomic.h: Move to ...
10626         * sysdeps/microblaze/atomic-machine.h: ...here.
10627         * sysdeps/mips/bits/atomic.h: Move to ...
10628         * sysdeps/mips/atomic-machine.h: ...here.
10629         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10630         * sysdeps/powerpc/bits/atomic.h: Move to ...
10631         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10633         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10634         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10635         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10636         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10637         <atomic-machine.h> instead of <bits/atomic.h>.
10638         * sysdeps/s390/bits/atomic.h: Move to ...
10639         * sysdeps/s390/atomic-machine.h: ...here.
10640         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10641         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10642         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10643         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10644         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10645         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10646         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10647         * sysdeps/tile/bits/atomic.h: Move to ...
10648         * sysdeps/tile/atomic-machine.h: ...here.
10649         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10650         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10651         <sysdeps/tile/atomic-machine.h> instead of
10652         <sysdeps/tile/bits/atomic.h>.
10653         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10654         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10655         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10656         <sysdeps/tile/atomic-machine.h> instead of
10657         <sysdeps/tile/bits/atomic.h>.
10658         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10659         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10660         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10661         <sysdeps/arm/atomic-machine.h> instead of
10662         <sysdeps/arm/bits/atomic.h>.
10663         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10664         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10665         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10666         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10667         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10668         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10669         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10670         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10671         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10672         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10673         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10674         * sysdeps/x86_64/bits/atomic.h: Move to ...
10675         * sysdeps/x86_64/atomic-machine.h: ...here.
10676         * include/atomic.h: Include <atomic-machine.h> instead of
10677         <bits/atomic.h>.
10679         * sysdeps/mips/mips32/libm-test-ulps: Update.
10680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10682         [BZ #18952]
10683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10684         not convert non-integer negative arguments to int to determine the
10685         value of signgam.
10686         * math/auto-libm-test-in: Add more tests of lgamma.
10687         * math/auto-libm-test-out: Regenerated.
10689         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10690         cosh, csqrt, erfc, expm1 and lgamma.
10691         * math/auto-libm-test-out: Regenerated.
10692         * sysdeps/i386/fpu/libm-test-ulps: Update.
10693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10695 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10697         [BZ #2542]
10698         [BZ #2543]
10699         [BZ #2558]
10700         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10701         __lgamma_neg for arguments from -28.0 to -2.0.
10702         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10703         __lgamma_negf for arguments from -15.0 to -2.0.
10704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10705         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10707         Call __lgamma_negl for arguments from -33.0 to -2.0.
10708         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10709         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10710         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10711         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10712         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10713         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10714         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10715         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10716         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10717         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10718         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10719         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10720         (__lgamma_neg): Likewise.
10721         (__lgamma_negl): Likewise.
10722         (__lgamma_product): Likewise.
10723         (__lgamma_productl): Likewise.
10724         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10725         * math/auto-libm-test-in: Add more tests of lgamma.
10726         * math/auto-libm-test-out: Regenerated.
10727         * sysdeps/i386/fpu/libm-test-ulps: Update.
10728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10730 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10732         [BZ #18675]
10733         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10735 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10737         [BZ #14912]
10738         * bits/libc-lock.h: Move to ...
10739         * sysdeps/generic/libc-lock.h: ...here.
10740         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10741         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10742         * sysdeps/mach/hurd/libc-lock.h: ...here.
10743         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10744         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10745         * sysdeps/mach/bits/libc-lock.h: Move to ...
10746         * sysdeps/mach/libc-lock.h: ...here.
10747         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10748         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10749         * sysdeps/nptl/libc-lock.h: ...here.
10750         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10751         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10752         * sysdeps/nptl/libc-lockP.h: ...here.
10753         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10754         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10755         <bits/libc-lock.h>.
10756         * dirent/scandir-tail.c: Likewise.
10757         * dlfcn/dlerror.c: Likewise.
10758         * elf/dl-close.c: Likewise.
10759         * elf/dl-iteratephdr.c: Likewise.
10760         * elf/dl-lookup.c: Likewise.
10761         * elf/dl-open.c: Likewise.
10762         * elf/dl-support.c: Likewise.
10763         * elf/dl-writev.h: Likewise.
10764         * elf/rtld.c: Likewise.
10765         * grp/fgetgrent.c: Likewise.
10766         * gshadow/fgetsgent.c: Likewise.
10767         * gshadow/sgetsgent.c: Likewise.
10768         * iconv/gconv_conf.c: Likewise.
10769         * iconv/gconv_db.c: Likewise.
10770         * iconv/gconv_dl.c: Likewise.
10771         * iconv/gconv_int.h: Likewise.
10772         * iconv/gconv_trans.c: Likewise.
10773         * include/link.h: Likewise.
10774         * inet/getnameinfo.c: Likewise.
10775         * inet/getnetgrent.c: Likewise.
10776         * inet/getnetgrent_r.c: Likewise.
10777         * intl/bindtextdom.c: Likewise.
10778         * intl/dcigettext.c: Likewise.
10779         * intl/finddomain.c: Likewise.
10780         * intl/gettextP.h: Likewise.
10781         * intl/loadmsgcat.c: Likewise.
10782         * intl/localealias.c: Likewise.
10783         * intl/textdomain.c: Likewise.
10784         * libidn/idn-stub.c: Likewise.
10785         * libio/libioP.h: Likewise.
10786         * locale/duplocale.c: Likewise.
10787         * locale/freelocale.c: Likewise.
10788         * locale/newlocale.c: Likewise.
10789         * locale/setlocale.c: Likewise.
10790         * login/getutent_r.c: Likewise.
10791         * login/getutid_r.c: Likewise.
10792         * login/getutline_r.c: Likewise.
10793         * login/utmp-private.h: Likewise.
10794         * login/utmpname.c: Likewise.
10795         * malloc/mtrace.c: Likewise.
10796         * misc/efgcvt.c: Likewise.
10797         * misc/error.c: Likewise.
10798         * misc/fstab.c: Likewise.
10799         * misc/getpass.c: Likewise.
10800         * misc/mntent.c: Likewise.
10801         * misc/syslog.c: Likewise.
10802         * nis/nis_call.c: Likewise.
10803         * nis/nis_callback.c: Likewise.
10804         * nis/nss-default.c: Likewise.
10805         * nis/nss_compat/compat-grp.c: Likewise.
10806         * nis/nss_compat/compat-initgroups.c: Likewise.
10807         * nis/nss_compat/compat-pwd.c: Likewise.
10808         * nis/nss_compat/compat-spwd.c: Likewise.
10809         * nis/nss_nis/nis-alias.c: Likewise.
10810         * nis/nss_nis/nis-ethers.c: Likewise.
10811         * nis/nss_nis/nis-grp.c: Likewise.
10812         * nis/nss_nis/nis-hosts.c: Likewise.
10813         * nis/nss_nis/nis-network.c: Likewise.
10814         * nis/nss_nis/nis-proto.c: Likewise.
10815         * nis/nss_nis/nis-pwd.c: Likewise.
10816         * nis/nss_nis/nis-rpc.c: Likewise.
10817         * nis/nss_nis/nis-service.c: Likewise.
10818         * nis/nss_nis/nis-spwd.c: Likewise.
10819         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10820         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10821         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10822         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10823         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10824         * nis/nss_nisplus/nisplus-network.c: Likewise.
10825         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10826         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10827         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10828         * nis/nss_nisplus/nisplus-service.c: Likewise.
10829         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10830         * nis/ypclnt.c: Likewise.
10831         * nptl/libc_pthread_init.c: Likewise.
10832         * nss/getXXbyYY.c: Likewise.
10833         * nss/getXXent.c: Likewise.
10834         * nss/getXXent_r.c: Likewise.
10835         * nss/nss_db/db-XXX.c: Likewise.
10836         * nss/nss_db/db-netgrp.c: Likewise.
10837         * nss/nss_db/nss_db.h: Likewise.
10838         * nss/nss_files/files-XXX.c: Likewise.
10839         * nss/nss_files/files-alias.c: Likewise.
10840         * nss/nsswitch.c: Likewise.
10841         * posix/regex_internal.h: Likewise.
10842         * posix/wordexp.c: Likewise.
10843         * pwd/fgetpwent.c: Likewise.
10844         * resolv/res_hconf.c: Likewise.
10845         * resolv/res_libc.c: Likewise.
10846         * shadow/fgetspent.c: Likewise.
10847         * shadow/lckpwdf.c: Likewise.
10848         * shadow/sgetspent.c: Likewise.
10849         * socket/opensock.c: Likewise.
10850         * stdio-common/reg-modifier.c: Likewise.
10851         * stdio-common/reg-printf.c: Likewise.
10852         * stdio-common/reg-type.c: Likewise.
10853         * stdio-common/vfprintf.c: Likewise.
10854         * stdio-common/vfscanf.c: Likewise.
10855         * stdlib/abort.c: Likewise.
10856         * stdlib/cxa_atexit.c: Likewise.
10857         * stdlib/fmtmsg.c: Likewise.
10858         * stdlib/random.c: Likewise.
10859         * stdlib/setenv.c: Likewise.
10860         * string/strsignal.c: Likewise.
10861         * sunrpc/auth_none.c: Likewise.
10862         * sunrpc/bindrsvprt.c: Likewise.
10863         * sunrpc/create_xid.c: Likewise.
10864         * sunrpc/key_call.c: Likewise.
10865         * sunrpc/rpc_thread.c: Likewise.
10866         * sysdeps/arm/backtrace.c: Likewise.
10867         * sysdeps/generic/ldsodefs.h: Likewise.
10868         * sysdeps/generic/stdio-lock.h: Likewise.
10869         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10870         * sysdeps/i386/backtrace.c: Likewise.
10871         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10872         * sysdeps/m68k/backtrace.c: Likewise.
10873         * sysdeps/mach/hurd/cthreads.c: Likewise.
10874         * sysdeps/mach/hurd/dirstream.h: Likewise.
10875         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10876         * sysdeps/nptl/malloc-machine.h: Likewise.
10877         * sysdeps/nptl/stdio-lock.h: Likewise.
10878         * sysdeps/posix/dirstream.h: Likewise.
10879         * sysdeps/posix/getaddrinfo.c: Likewise.
10880         * sysdeps/posix/system.c: Likewise.
10881         * sysdeps/pthread/aio_suspend.c: Likewise.
10882         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10883         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10884         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10885         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10886         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10887         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10888         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10889         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10890         * sysdeps/unix/sysv/linux/system.c: Likewise.
10891         * sysdeps/x86_64/backtrace.c: Likewise.
10892         * time/alt_digit.c: Likewise.
10893         * time/era.c: Likewise.
10894         * time/tzset.c: Likewise.
10895         * wcsmbs/wcsmbsload.c: Likewise.
10896         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10897         instead of <bits/libc-lock.h> in comment.
10899 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10901         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10902         Only use .set mips2 if the current ISA is below mips2.
10903         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10904         Likewise.
10905         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10906         mips32r2 if the current ISA is below mips32r2.
10907         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10908         (TLS_IE): Updated to use the TLD_RDHWR macro.
10909         (TLS_LE): Likewise.
10910         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10911         __ASSEMBLER__ condition.
10913 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10915         Fix parallel build of before-compile targets.
10917         * sysdeps/mach/Makefile ($(patsubst
10918         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10919         mach-before-compile target.
10920         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10921         io fs process)): Move rule to dedicated hurd-before-compile target.
10923 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10925         Fix rules generating headers in hurd/ and mach/ when initial make call
10926         has subdir= explicitly set.
10928         * sysdeps/mach/Makefile ($(patsubst
10929         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10930         calling $(MAKE).
10931         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10932         io fs process)): Force subdir to hurd when calling $(MAKE).
10933         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10934         subdir to mach when calling $(MAKE).
10936 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10938         Check sysheaders when looking for Mach and Hurd headers
10940         * sysdeps/mach/configure.ac: Add sysheaders check.
10941         * sysdeps/mach/configure: Regenerate.
10942         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10943         * sysdeps/mach/hurd/configure: Regenerate.
10945 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10947         [BZ #18921]
10948         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10949         Fix inverted sense of test of 'o_directory_works' value.
10950         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10951         Bernhard Voelker <mail@bernhard-voelker.de>.
10953 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #14912]
10956         * bits/linkmap.h: Move to ...
10957         * sysdeps/generic/linkmap.h: ...here.
10958         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10959         * sysdeps/aarch64/linkmap.h: ...here.
10960         * sysdeps/arm/bits/linkmap.h: Move to ...
10961         * sysdeps/arm/linkmap.h: ...here.
10962         * sysdeps/hppa/bits/linkmap.h: Move to ...
10963         * sysdeps/hppa/linkmap.h: ...here.
10964         * sysdeps/ia64/bits/linkmap.h: Move to ...
10965         * sysdeps/ia64/linkmap.h: ...here.
10966         * sysdeps/mips/bits/linkmap.h: Move to ...
10967         * sysdeps/mips/linkmap.h: ...here.
10968         * sysdeps/s390/bits/linkmap.h: Move to ...
10969         * sysdeps/s390/linkmap.h: ...here.
10970         * sysdeps/sh/bits/linkmap.h: Move to ...
10971         * sysdeps/sh/linkmap.h: ...here.
10972         * sysdeps/x86/bits/linkmap.h: Move to ...
10973         * sysdeps/x86/linkmap.h: ...here.
10974         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10976 2015-09-04  Andreas Schwab  <schwab@suse.de>
10978         [BZ #18635]
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10980         (__makecontext): Terminate FDE before return label.
10981         (__novec_makecontext): Likewise.
10983 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10985         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10986         first member of struct sv in syscall macro.
10988 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #14912]
10991         * bits/stdio-lock.h: Move to ...
10992         * sysdeps/generic/stdio-lock.h: ...here.
10993         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10994         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10995         * sysdeps/nptl/stdio-lock.h: ...here.
10996         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10997         * include/libio.h: Include <stdio-lock.h> instead of
10998         <bits/stdio-lock.h>.
10999         * sysdeps/nptl/fork.c: Likewise.
11000         * sysdeps/pthread/flockfile.c: Likewise.
11001         * sysdeps/pthread/ftrylockfile.c: Likewise.
11002         * sysdeps/pthread/funlockfile.c: Likewise.
11004         [BZ #14912]
11005         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11006         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11007         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11008         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11009         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11010         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11011         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11013 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11015         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11016         (test-xfail-tst-protected1b): New variable.
11018 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11020         [BZ #14912]
11021         * bits/libc-tsd.h: Move to ...
11022         * sysdeps/generic/libc-tsd.h: ...here.
11023         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11024         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11025         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11026         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11027         * include/ctype.h: Include <libc-tsd.h> instead of
11028         <bits/libc-tsd.h>.
11029         * include/rpc/rpc.h: Likewise.
11030         * locale/localeinfo.h: Likewise.
11031         * sunrpc/rpc_thread.c: Likewise.
11032         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11033         * sysdeps/nptl/malloc-machine.h: Likewise.
11035         * Makefile (headers): Remove bits/libc-lock.h.
11036         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11038         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11039         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11040         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11041         <bits/stdio-lock.h>.
11042         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11043         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11045 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11047         [BZ #18757]
11048         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11049         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11050         BZ #18757.
11052 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11054         * malloc/mtrace.pl: Filter out NULL entries.
11056 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11058         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11059         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11060         macro.
11062         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11063         (TCP_CC_INFO): Likewise.
11064         (TCP_SAVE_SYN): Likewise.
11065         (TCP_SAVED_SYN): Likewise.
11067 2015-08-31  Brett Neumeier <brett@neumeier.us>
11069         [BZ #18870]
11070         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11072 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11074         [BZ #18873]
11075         Fix broken overflow check in posix_fallocate
11076         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11077         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11078         Fix parenthesization typo.
11080 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11082         [BZ #18887]
11083         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11084         tst-mntent-blank-passno.
11085         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11086         * misc/tst-mntent-blank-corrupt.c: New test.
11087         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11088         * misc/tst-mntent.c (do_test): ... here.
11090 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11092         [BZ #4404]
11093         * po/de.po: Fix SIGALRM typo.
11095 2015-08-28  James Perkins  <james@loowit.net>
11097         * time/tst-strptime2.c (tests): Replace short list of test
11098         strings for strptime %z specifier with code which exhaustively
11099         tests every combination of sign and 0 to 5 digits. Tests for
11100         rejection of invalid strings.
11102 2015-08-28  James Perkins  <james@loowit.net>
11104         [BZ #16141]
11105         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11106         calculation, removing incorrect decimal time rounding, so that
11107         all minute values result in a valid seconds value.
11108         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11109         offset range limits to UTC-99:59 through UTC+99:59 to parse
11110         current and historical use cases.
11111         * time/tst-strptime2.c (tests): Modify and add tests for the
11112         strptime %z input field descriptor, specifically conversion of
11113         minutes to seconds and validating an offset range of -9959 to
11114         +9959.
11116 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11117             Dmitry V. Levin  <ldv@altlinux.org>
11119         [BZ #18877]
11120         * posix/Makefile (tests): Add tst-mmap-offset.
11121         * posix/tst-mmap.c: New file.
11122         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11123         offset calculation for negative values.
11125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11127         * sysdeps/i386/init-arch.h: New file.
11128         * sysdeps/i386/i586/init-arch.h: Likewise.
11129         * sysdeps/i386/i686/init-arch.h: Likewise.
11130         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11131         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11132         * sysdeps/x86/cpu-features.h (bit_I586): New.
11133         (bit_I686): Likewise.
11134         (bit_CX8): Likewise.
11135         (bit_CMOV): Likewise.
11136         (index_CX8): Likewise.
11137         (index_CMOV): Likewise.
11138         (index_I586): Likewise.
11139         (index_I686): Likewise.
11140         (reg_CX8): Likewise.
11141         (reg_CMOV): Likewise.
11142         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11143         available at compile-time.
11144         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11145         available at compile-time.
11146         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11147         (USE_I686): Likewise.
11149 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11151         * sysdeps/i386/bcopy.S: New file.
11152         * sysdeps/i386/bzero.S: Likewise.
11153         * sysdeps/i386/memcpy.S: Likewise.
11154         * sysdeps/i386/memmove.S: Likewise.
11155         * sysdeps/i386/mempcpy.S: Likewise.
11156         * sysdeps/i386/memset.S: Likewise.
11157         * sysdeps/i386/bzero.c: Removed.
11158         * sysdeps/i386/memset.c: Likewise.
11159         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11160         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11161         * sysdeps/i386/i586/memset_chk.S: Likewise.
11162         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11163         * sysdeps/i386/memcpy_chk.S: Here.
11164         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11165         * sysdeps/i386/memmove_chk.S: Here.
11166         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11167         * sysdeps/i386/mempcpy_chk.S: Likewise.
11168         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11169         * sysdeps/i386/memset_chk.S: Likewise.
11171 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11173         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11174         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11175         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11176         * soft-fp/fmadf4.c: Ditto.
11177         * soft-fp/fmatf4.c: Ditto.
11179 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11181         * sysdeps/i386/i586/Implies: Removed.
11182         * sysdeps/i386/i686/Implies: Likewise.
11184 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11186         * sysdeps/i386/i486/strlen.S: Moved to ...
11187         * sysdeps/i386/strlen.S: Here.
11189 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11191         * sysdeps/i386/i486/strcat.S: Moved to ...
11192         * sysdeps/i386/strcat.S: Here.
11194 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11196         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11197         * sysdeps/i386/pthread_spin_trylock.S: Here.
11198         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11199         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11201 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11203         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11204         * sysdeps/i386/string-inlines.c: Here.
11206 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11208         * sysdeps/i386/i486/htonl.S: Moved ...
11209         * sysdeps/i386/htonl.S: here.
11211 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11213         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11214         * sysdeps/i386/bits/atomic.h: Here.
11216 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11218         * sysdeps/i386/i486/Versions: Removed.
11220 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11222         [BZ #2898]
11223         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11224         Based on patch by Aurelien Jarno.
11226 2015-08-26  Stan Shebs  <stanshebs@google.com>
11228         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11229         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11231 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11233         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11234         * sysdeps/powerpc/dl-procinfo.c:
11235         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11236         feature so it shows when LD_SHOW_AUXV=1.
11238 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11240         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11241         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11242         definition.  ISA 2.07B no longer requires full sync.
11244 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11246         [BZ #18863]
11247         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11248         (si_call_addr): Define.
11249         (si_syscall): Define.
11250         (si_arch): Define.
11252 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11254         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11255         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11256         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11257         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11258         (__memset_zero_constant_len_parameter): New.
11259         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11260         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11261         (__memset_zero_constant_len_parameter): Don't define if
11262         __memset_chk or USE_AS_BZERO are defined.
11264         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11265         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11266         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11268         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11269         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11270         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11271         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11272         comments.
11273         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11274         -mno-mmx for $(all-rtld-routines).
11275         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11276         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11277         i386.
11279 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11281         * sysdeps/generic/unwind.h
11282         (_Unwind_Word): Use __mode__(__unwind_word__)
11283         instead of __mode__(__word__).
11284         (_Unwind_Sword): Likewise.
11286         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11287         (MAX_NEEDED_INPUT): New define.
11288         (MAX_NEEDED_OUTPUT): New define.
11290         * NEWS: New item for IBM z13 string optimizations.
11292         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11293         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11294         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11295         * sysdeps/s390/multiarch/Makefile
11296         (sysdep_routines): Add memrchr functions.
11297         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11298         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11300         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11301         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11302         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11303         * sysdeps/s390/multiarch/Makefile
11304         (sysdep_routines): Add wmemcmp functions.
11305         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11306         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11307         * benchtests/bench-wmemcmp.c: New File.
11308         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11310         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11311         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11312         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11313         * sysdeps/s390/multiarch/Makefile
11314         (sysdep_routines): Add wmemset functions.
11315         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11316         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11317         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11318         * string/test-memset.c: Add wmemset support.
11319         * wcsmbs/test-wmemset.c: New File.
11320         * wcsmbs/Makefile (strop-tests): Add wmemset.
11321         * benchtests/bench-memset.c: Add wmemset support.
11322         * benchtests/bench-wmemset.c: New File.
11323         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11325         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11326         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11327         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11328         * sysdeps/s390/multiarch/Makefile
11329         (sysdep_routines): Add memccpy functions.
11330         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11331         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11332         * string/memccpy.c: Use MEMCCPY if defined.
11334         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11335         * sysdeps/s390/multiarch/memchr.c: Likewise.
11336         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11337         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11338         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11339         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11340         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11341         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11342         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11343         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11345         and rawmemchr functions.
11346         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11347         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11348         and wmemchr.
11349         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11350         * string/test-memchr.c: Add wmemchr support.
11351         * wcsmbs/test-wmemchr.c: New File.
11352         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11353         * benchtests/bench-memchr.c: Add wmemchr support.
11354         * benchtests/bench-wmemchr.c: New File.
11355         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11357         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11358         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11359         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11360         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11361         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11362         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11364         wcscspn functions.
11365         * sysdeps/s390/multiarch/ifunc-impl-list.c
11366         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11367         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11368         * string/test-strcspn.c: Add wcscspn support.
11369         * wcsmbs/test-wcscspn.c: New File.
11370         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11371         * benchtests/bench-strcspn.c: Add wcscspn support.
11372         * benchtests/bench-wcscspn.c: New File.
11373         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11375         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11376         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11377         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11378         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11379         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11380         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11382         wcspbrk functions.
11383         * sysdeps/s390/multiarch/ifunc-impl-list.c
11384         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11385         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11386         * string/test-strpbrk.c: Add wcspbrk support.
11387         * wcsmbs/test-wcspbrk.c: New File.
11388         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11389         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11390         * benchtests/bench-wcspbrk.c: New File.
11391         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11393         * sysdeps/s390/multiarch/strspn-c.c: New File.
11394         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11395         * sysdeps/s390/multiarch/strspn.c: Likewise.
11396         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11397         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11398         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11399         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11401         wcsspn functions.
11402         * sysdeps/s390/multiarch/ifunc-impl-list.c
11403         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11404         * string/test-strspn.c: Add wcsspn support.
11405         * wcsmbs/test-wcsspn.c: New File.
11406         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11407         * benchtests/bench-strspn.c: Add wcsspn support.
11408         * benchtests/bench-wcsspn.c: New File.
11409         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11411         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11412         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11413         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11414         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11415         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11416         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11418         wcsrchr functions.
11419         * sysdeps/s390/multiarch/ifunc-impl-list.c
11420         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11421         * benchtests/bench-wcsrchr.c: New File.
11422         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11424         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11425         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11426         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11427         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11428         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11429         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11430         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11431         wcschrnul functions.
11432         * sysdeps/s390/multiarch/ifunc-impl-list.c
11433         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11434         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11435         * string/test-strchr.c: Add wcschrnul support.
11436         * wcsmbs/test-wcschrnul.c: New File.
11437         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11438         * benchtests/bench-strchr.c: Add wcschrnul support.
11439         * benchtests/bench-wcschrnul.c: New File.
11440         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11442         * sysdeps/s390/multiarch/strchr-c.c: New File.
11443         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11444         * sysdeps/s390/multiarch/strchr.c: Likewise.
11445         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11446         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11447         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11449         wcschr functions.
11450         * sysdeps/s390/multiarch/ifunc-impl-list.c
11451         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11452         * string/strchr.c (STRCHR): Define and use macro.
11453         * benchtests/bench-wcschr.c: New File.
11454         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11456         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11457         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11458         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11459         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11460         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11461         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11462         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11463         wcsncmp functions.
11464         * sysdeps/s390/multiarch/ifunc-impl-list.c
11465         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11466         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11467         * benchtests/bench-strncmp.c: Add wcsncmp support.
11468         * benchtests/bench-wcsncmp.c: New File.
11469         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11471         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11472         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11473         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11474         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11475         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11476         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11477         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11479         wcscmp functions.
11480         * sysdeps/s390/multiarch/ifunc-impl-list.c
11481         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11482         * string/strcmp.c (STRCMP): Define and use macro.
11483         * benchtests/bench-wcscmp.c: New File.
11484         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11485         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11486         instead of _HAVE_STRING_ARCH_memchr.
11488         * sysdeps/s390/multiarch/strncat-c.c: New File.
11489         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11490         * sysdeps/s390/multiarch/strncat.c: Likewise.
11491         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11492         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11493         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11494         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11495         wcsncat functions.
11496         * sysdeps/s390/multiarch/ifunc-impl-list.c
11497         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11498         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11499         * string/test-strncat.c: Add wcsncat support.
11500         * wcsmbs/test-wcsncat.c: New File.
11501         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11502         * benchtests/bench-strncat.c: Add wcsncat support.
11503         * benchtests/bench-wcsncat.c: New File.
11504         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11506         * sysdeps/s390/multiarch/strcat-c.c: New File.
11507         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11508         * sysdeps/s390/multiarch/strcat.c: Likewise.
11509         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11510         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11511         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11513         wcscat functions.
11514         * sysdeps/s390/multiarch/ifunc-impl-list.c
11515         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11516         * string/strcat.c (STRCAT): Define and use macro.
11517         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11518         * string/test-strcat.c: Add wcscat support.
11519         * wcsmbs/test-wcscat.c: New File.
11520         * wcsmbs/Makefile (strop-tests): Add wcscat.
11521         * benchtests/bench-strcat.c: Add wcscat support.
11522         * benchtests/bench-wcscat.c: New File.
11523         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11525         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11526         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11527         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11528         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11529         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11530         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11531         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11532         wcpncpy functions.
11533         * sysdeps/s390/multiarch/ifunc-impl-list.c
11534         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11535         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11536         * string/test-stpncpy.c: Add wcpncpy support.
11537         * wcsmbs/test-wcpncpy.c: New File.
11538         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11539         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11540         * benchtests/bench-wcpncpy.c: New File.
11541         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11543         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11544         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11545         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11546         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11547         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11548         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11549         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11551         wcsncpy functions.
11552         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11553         * sysdeps/s390/multiarch/ifunc-impl-list.c
11554         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11555         * string/test-strncpy.c: Add wcsncpy support.
11556         * wcsmbs/test-wcsncpy.c: New File.
11557         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11558         * benchtests/bench-strncpy.c: Add wcsncpy support.
11559         * benchtests/bench-wcsncpy.c: New File.
11560         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11562         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11563         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11564         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11565         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11566         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11567         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11569         wcpcpy functions.
11570         * string/stpcpy.c: Use STPCPY if defined.
11571         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11572         * sysdeps/s390/multiarch/ifunc-impl-list.c
11573         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11574         * string/test-stpcpy.c: Add wcpcpy support.
11575         * wcsmbs/test-wcpcpy.c: New File.
11576         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11577         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11578         * benchtests/bench-wcpcpy.c: New File.
11579         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11581         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11582         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11583         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11584         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11585         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11586         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11587         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11589         wcscpy functions.
11590         * sysdeps/s390/multiarch/ifunc-impl-list.c
11591         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11592         * benchtests/bench-wcscpy.c: New File.
11593         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11595         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11596         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11597         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11598         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11599         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11600         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11602         wcsnlen functions.
11603         * sysdeps/s390/multiarch/ifunc-impl-list.c
11604         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11605         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11606         * string/test-strnlen.c: Add wcsnlen support.
11607         * wcsmbs/test-wcsnlen.c: New File.
11608         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11609         * benchtests/bench-strnlen.c: Add wcsnlen support.
11610         * benchtests/bench-wcsnlen.c: New File.
11611         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11613         * sysdeps/s390/multiarch/Makefile: New File.
11614         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11615         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11616         * sysdeps/s390/multiarch/strlen.c: Likewise.
11617         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11618         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11619         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11620         * string/strlen.c (STRLEN): Define and use macro.
11621         * sysdeps/s390/multiarch/ifunc-impl-list.c
11622         (IFUNC_VX_IMPL): New macro function.
11623         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11624         * benchtests/Makefile (wcsmbs-bench): New variable.
11625         (string-bench-all): Added wcsmbs-bench.
11626         * benchtests/bench-wcslen.c: New File.
11628         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11629         s390_vx_libc_ifunc2): New macro function.
11631         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11632         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11633         assembler support.
11634         * sysdeps/s390/configure: Regenerated.
11636         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11637         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11639         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11640         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11641         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11643         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11644         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11645         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11646         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11647         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11648         (memcmp, bcmp): Use __memcmp_default as alias source.
11649         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11650         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11651         Rename to __memcmp_default.
11652         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11653         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11654         (memcpy): Use __memcpy_default as alias source.
11655         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11656         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11657         Rename to __memcpy_default.
11658         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11659         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11660         (memset): Use __memset_default as alias source.
11661         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11662         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11663         Rename to __memset_default.
11664         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11665         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11666         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11667         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11668         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11669         (memcmp, bcmp): Use __memcmp_default as alias source.
11670         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11671         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11672         Rename to __memcmp_default.
11673         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11674         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11675         (memcpy): Use __memcpy_default as alias source.
11676         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11677         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11678         Rename to __memcpy_default.
11679         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11680         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11681         (memset): Use __memset_default as alias source.
11682         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11683         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11684         Rename to __memset_default.
11685         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11686         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11688         [BZ #18610]
11689         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11690         __ieee_instruction_pointer to __unused.
11691         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11692         __ieee_instruction_pointer.
11693         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11694         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11695         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11696         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11697         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11698         Mark dxc-field as reserved.
11700 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11702         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11703         if the weak reference is not null.
11705 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11707         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11709         [BZ #11214]
11710         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11712 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11715         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11716         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11717         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11718         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11719         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11720         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11721         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11722         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11723         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11724         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11725         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11726         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11727         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11728         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11729         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11730         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11731         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11733 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11735         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11736         register other than r0 for tabort, it has special meaning.
11737         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11738         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11739         transaction before starting syscall.
11741 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11743         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11745 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11747         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11749         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11750         * sysdeps/x86_64/rtld-memset.S: Likewise.
11751         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11752         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11753         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11754         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11756         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11758 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11760         * debug/strcpy_chk.c: Improve performance.
11761         * debug/stpcpy_chk.c: Likewise.
11762         * sysdeps/x86_64/strcpy_chk.S: Remove.
11763         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11765         [BZ #18240]
11766         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11768 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11770         [BZ #15128]
11771         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11772         ifuncmain8.
11773         (modules-names): Add ifuncmod8.
11774         ($(objpfx)ifuncmain8): New rule.
11775         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11776         <cpuid.h>.
11777         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11778         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11779         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11780         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11781         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11782         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11783         * sysdeps/x86_64/ifuncmain8.c: New file.
11784         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11785         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11786         Removed.
11787         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11788         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11789         Change rtld_savespace_sse to __glibc_unused2.
11790         (RTLD_CHECK_FOREIGN_CALL): Removed.
11791         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11792         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11793         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11795 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11797         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11799 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11801         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11802         Unconditionally set __fpcr to avoid uninialized warning.
11803         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11805 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11808         is corrupt.
11810         * malloc/arena.c (arena_get2): Drop unused argument.
11811         (arena_lock): Adjust.
11812         (arena_get_retry): Likewise.
11814 2015-08-24  Andreas Schwab  <schwab@suse.de>
11816         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11817         Don't define.
11818         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11819         (__ASSUME_IPC64): Don't undef.
11820         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11823         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11824         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11825         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11826         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11827         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11828         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11829         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11830         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11831         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11832         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11833         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11834         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11835         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11836         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11837         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11838         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11839         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11840         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11842 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11844         * manual/Makefile (install): Only build manual when perl is available.
11846 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11849         '#undef memcpy' by '#undef memchr'.
11851 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11853         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11854         memchr not point to the internal __GI_memchr implementation.
11856 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11858         * timezone/Makefile (CFLAGS-zdump.c): Remove
11859         -Wno-strict-prototypes.
11860         (CFLAGS-zic.c): Likewise.
11861         (CFLAGS-ialloc.c): Likewise.
11862         (CFLAGS-scheck.c): Likewise.
11864         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11865         -Wno-error=undef.
11867 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11869         * i386/i686/multiarch/strcasestr-c.c: Removed.
11870         * x86_64/multiarch/strcasestr.c: Likewise.
11871         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11872         Remove strcasestr.
11874 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11876         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11878         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11879         variables for high and low parts before possibly modifying them.
11881 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11883         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11884         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11885         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11886         of "multiarch/init-arch.h".
11887         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11888         * sysdeps/x86/init-arch.h: This.
11890 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11892         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11893         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11895 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11897         [BZ #17787]
11898         * manual/macros.texi: Add twoexp macro.
11899         * manual/filesys.texi: Fix exponents.
11900         * manual/llio.texi: Likewise.
11901         * manual/stdio.texi: Likewise.
11903 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11905         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11906         incorrect use.
11908 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #18370]
11911         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11912         whose real or imaginary part has small absolute value.
11913         * math/s_csqrtf.c (__csqrtf): Likewise.
11914         * math/s_csqrtl.c (__csqrtl): Likewise.
11915         * math/auto-libm-test-in: Add more tests of csqrt.
11916         * math/auto-libm-test-out: Regenerated.
11917         * sysdeps/i386/fpu/libm-test-ulps: Update.
11919 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11921         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11922         __ppc_set_ppr_very_low): New functions.
11923         * manual/platform.texi: Add documentation about
11924         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11926 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11928         * string/stpncpy.c (stpncpy): Improve performance using
11929         __strnlen/memcpy/memset.
11931 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11933         [BZ #18796]
11934         * scripts/test-installation.pl: Don't add -lmvec to build options if
11935         libmvec wasn't built.
11937 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11939         [BZ #14341]
11940         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11941         case when there is a gap between DT_REL and DT_JMPREL sections.
11942         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11943         (LDFLAGS-tst-split-dynreloc): New.
11944         (tst-split-dynreloc-ENV): Likewise.
11945         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11946         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11948 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11950         [BZ #18822]
11951         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11952         attribute_hidden.
11953         (__xstat64_conv): Likewise.
11954         (__xstat32_conv): Likewise.
11956 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11958         [BZ #18822]
11959         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11960         Don't load %ebx when calling __setcontext.  Call __setcontext
11961         with HIDDEN_JUMPTARGET.
11962         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11963         libc_hidden_def.
11965 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11967         * sysdeps/i386/i686/Makefile
11968         [$(subdir) == string] (sysdep_routines): Moved to ...
11969         * sysdeps/i386/Makefile: Here.
11970         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11971         * sysdeps/i386/cacheinfo.c: Here.
11972         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11973         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11974         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11975         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11977 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11979         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11980         __i586__ is defined.
11981         (HAS_I686): Defined to 1 if __i686__ is defined.
11983 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11985         * elf/Makefile [$(have-z-execstack) = yes]
11986         (CPPFLAGS-tst-execstack.c): New variable.
11988         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11989         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11990         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11991         UTMPX || _HAVE_UT_TV].
11992         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11993         UTMPX || _HAVE_UT_TV - 0].
11995 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11997         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11998         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11999         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12001 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12003         * sysdeps/powerpc/dl-procinfo.c:
12004         (_dl_powerpc_cap_flags): Added missing strings for some
12005         hwcap features.
12006         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12008 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12010         Port the 0x7efe...feff pattern to GCC 6.
12011         See Steve Ellcey's bug report in:
12012         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12013         * string/memrchr.c (MEMRCHR):
12014         * string/rawmemchr.c (RAWMEMCHR):
12015         * string/strchr.c (strchr):
12016         * string/strchrnul.c (STRCHRNUL):
12017         Rewrite code to avoid issues with signed shift overflow.
12019 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12021         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12022         whether cpuid is available only if HAS_CPUID is 0.
12023         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12024         (HAS_I586): Likewise.
12025         (HAS_I686): Likewise.
12027 2015-08-18  Zack Weinberg  <zackw@panix.com>
12029         * misc/Versions (libc): Add GLIBC_2.23.
12031 2015-08-18  Alan Modra  <amodra@gmail.com>
12033         [BZ #18421]
12034         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12035         .Lp__global.
12036         (_start): Load %dp via .Lp__global.
12037         [!SHARED]: Use .section .rodata.
12039 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12041         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12042         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12044 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12046         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12047         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12049 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12051         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12052         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12054 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12056         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12057         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12059 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12061         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12062         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12064 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12066         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12067         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12071         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12073 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12075         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12076         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12077         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12078         (__ASSUME_LWS_CAS): Delete.
12080 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12082         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12083         * sysdeps/hppa/configure: Regenerated.
12084         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12085         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12086         * sysdeps/hppa/nptl/tls.h: Likewise.
12088 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #18823]
12091         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12092         for scaling up small arguments.
12093         * math/s_csqrtf.c (__csqrtf): Likewise.
12094         * math/s_csqrtl.c (__csqrtl): Likewise.
12095         * math/auto-libm-test-in: Add more tests of csqrt.
12096         * math/auto-libm-test-out: Regenerated.
12098 2015-08-17  Andreas Schwab  <schwab@suse.de>
12100         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12101         version set GLIBC_2.19.
12103 2015-08-16  Zack Weinberg  <zackw@panix.com>
12105         [BZ #18681]
12106         * misc/regexp.h: This interface is no longer supported.
12107         Remove all contents, leaving only an #error directive.
12108         * misc/regexp.c (loc1, loc2, locs, step, advance):
12109         Demote to compatibility symbols.
12111 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12113         [BZ #18084]
12114         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12115         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12116         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12117         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12118         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12119         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12120         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12121         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12122         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12124 2015-08-15  Zack Weinberg  <zackw@panix.com>
12126         [BZ #18795]
12127         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12128         buffer length is known to be too large, not if it's known to be
12129         small enough.
12130         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12131         overflow at runtime, involving a length parameter, twice: once
12132         with a compile-time constant length parameter, once without.
12134 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12136         [BZ #18824]
12137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12138         scaling x * y up instead of down.
12139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12141         * math/auto-libm-test-in: Add more tests of fma.
12142         * math/auto-libm-test-out: Regenerated.
12144 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12148 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12151         unnecessary movq.
12152         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12153         Likewise.
12155 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12157         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12158         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12159         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12160         and tgamma.
12161         * math/auto-libm-test-out: Regenerated.
12162         * sysdeps/i386/fpu/libm-test-ulps: Update.
12163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165         [BZ #16520]
12166         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12167         (__tanh): Force underflow exception for arguments with small
12168         absolute value.
12169         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12170         (__tanhf): Force underflow exception for arguments with small
12171         absolute value.
12172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12173         (__tanhl): Force underflow exception for arguments with small
12174         absolute value.
12175         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12176         (__tanhl): Force underflow exception for arguments with small
12177         absolute value.
12178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12179         (__tanhl): Force underflow exception for arguments with small
12180         absolute value.
12181         * math/auto-libm-test-in: Add more tests of tanh.
12182         * math/auto-libm-test-out: Regenerated.
12183         * sysdeps/i386/fpu/libm-test-ulps: Update.
12185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12187         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12188         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12190 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12192         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12193         <cpuid.h>.
12195 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12197         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12198         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12200 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12202         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12203         Remove $(objpfx)init-arch.o.
12204         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12205         init-arch.
12206         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12207         (INIT_ARCH_EXT): Defined as empty.
12208         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12210         __init_cpu_features call.  Replace HAS_XXX with
12211         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12212         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12213         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12214         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12215         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12216         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12217         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12218         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12219         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12220         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12221         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12223         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12225         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12227         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12228         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12229         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12235         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12236         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12237         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12239         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12240         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12244         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12248 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12250         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12251         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12252         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12253         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12254         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12255         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12256         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12257         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12258         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12259         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12260         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12261         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12262         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12263         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12264         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12265         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12276         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12277         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12278         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12279         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12280         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12281         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12282         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12283         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12284         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12285         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12286         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12287         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12288         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12289         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12290         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12291         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12292         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12294 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12296         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12297         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12301         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12303         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12304         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12307         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12308         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12309         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12310         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12311         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12312         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12313         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12315         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12317         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12318         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12319         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12320         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12321         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12322         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12323         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12324         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12325         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12326         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12327         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12328         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12329         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12330         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12331         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12332         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12333         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12334         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12335         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12337         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12338         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12340 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12342         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12343         (dl_platform_init): Call init_cpu_features.
12344         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12345         * sysdeps/i386/i686/cacheinfo.c
12346         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12347         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12348         * sysdeps/i386/i686/multiarch/Versions: Removed.
12349         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12350         Removed.
12351         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12352         * sysdeps/unix/sysv/linux/x86/Makefile
12353         (libpthread-sysdep_routines): Remove init-arch.
12354         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12355         <sysdeps/x86_64/dl-procinfo.c> instead of
12356         sysdeps/generic/dl-procinfo.c>.
12357         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12358         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12359         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12360         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12361         [$(subdir) == elf] (tests-static): Add
12362         tst-get-cpu-features-static.
12363         * sysdeps/x86/Versions: New file.
12364         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12365         * sysdeps/x86/cpu-features.c: Likewise.
12366         * sysdeps/x86/cpu-features.h: Likewise.
12367         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12368         * sysdeps/x86/libc-start.c: Likewise.
12369         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12370         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12371         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12372         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12373         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12374         Assume USE_MULTIARCH is defined and don't check it.
12375         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12376         (is_amd): Likewise.
12377         (max_cpuid): Likewise.
12378         (intel_check_word): Likewise.
12379         (__cache_sysconf): Don't call __init_cpu_features.
12380         (__x86_preferred_memory_instruction): Removed.
12381         (init_cacheinfo): Don't call __init_cpu_features. Replace
12382         __cpu_features with GLRO(dl_x86_cpu_features).
12383         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12384         (dl_platform_init): Call init_cpu_features.
12385         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12386         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12387         * sysdeps/x86_64/multiarch/Versions: Removed.
12388         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12389         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12390         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12391         Removed.
12392         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12394 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12396         [BZ #18820]
12397         * libio/Makefile (test-fmemopen-mem): New test.
12398         * libio/test-fmemopen.c (do_bz18820): New test.
12399         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12400         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12402 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12404         [BZ #16734]
12405         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12406         (FREE_BUF): Delete.
12407         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12408         * libio/genops.c (_IO_setb): Use malloc and free directly.
12409         (_IO_default_doallocate, _IO_default_finish): Likewise.
12410         ( _IO_unbuffer_all): Likewise.
12411         ( libc_freeres_fn): Likewise.
12412         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12413         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12414         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12415         (_IO_wdefault_doallocate): Likewise.
12417 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12419         [BZ #18086]
12420         * sysdeps/posix/nice.c (nice): Restore old errno.
12421         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12423 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12427 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12429         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12430         __bcopy and add a weak_alias to bcopy.
12431         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12432         for static build.
12434         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12435         cleanup macro usage.
12436         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12439         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12440         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12441         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12442         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12443         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12444         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12445         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12447         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12449         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12450         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12452         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12453         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12454         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12456         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12457         libc_hidden_def.
12458         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12460         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12461         (sysdep_routines): Add strstr-ppc64.
12462         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12464 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12466         [BZ #18778]
12467         * elf/Makefile (tests): Add Add tst-nodelete2.
12468         (modules-names): Add tst-nodelete2mod.
12469         (tst-nodelete2mod.so-no-z-defs): New.
12470         ($(objpfx)tst-nodelete2): Likewise.
12471         ($(objpfx)tst-nodelete2.out): Likewise.
12472         (LDFLAGS-tst-nodelete2): Likewise.
12473         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12474         out of loop through all loaded libraries.
12475         * elf/tst-nodelete2.c: New file.
12476         * elf/tst-nodelete2mod.c: Likewise.
12477         * elf/tst-znodelete-zlib.cc: Delete.
12479 2015-08-11  Andreas Schwab  <schwab@suse.de>
12481         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12482         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12483         (__openat64_nocancel): Likewise.
12485 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12487         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12488         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12489         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12490         * math/auto-libm-test-out: Regenerated.
12491         * sysdeps/i386/fpu/libm-test-ulps: Update.
12492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12496         [BZ #18790]
12497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12498         threshold for returning +/- 1.
12499         * math/auto-libm-test-in: Add more tests of tanh.
12500         * math/auto-libm-test-out: Regenerated.
12501         * sysdeps/i386/fpu/libm-test-ulps: Update.
12503 2015-08-10  Andreas Schwab  <schwab@suse.de>
12505         [BZ #18781]
12506         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12507         MORE_OFLAGS to oflag.
12508         * io/test-lfs.c (do_test): Test openat64.
12510 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #18789]
12513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12514         smaller threshold for returning the argument.
12515         * math/auto-libm-test-in: Add more tests of sinh.
12516         * math/auto-libm-test-out: Regenerated.
12517         * sysdeps/i386/fpu/libm-test-ulps: Update.
12519 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12521         [BZ #18674]
12522         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12523         break.
12525 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12527         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12528         (generated): Don't add $(addprefix z.,$(tzfiles)).
12530 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12532         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12533         * scripts/sysd-rules.awk: Likewise.
12535 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12537         * iconvdata/tst-tables.sh: Change echo -n to printf.
12538         * nss/db-Makefile: Likewise.
12539         * posix/tst-getconf.sh: Likewise.
12540         * stdio-common/tst-unbputc.sh: Likewise.
12542 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12544         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12545         MADV_*_PAGES defines behind this feature check.
12547 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12549         [BZ #18480]
12550         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12551         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12552         Define.
12553         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12554         LOAD_REGS_5, LOAD_REGS_6): Update.
12555         (INTERNAL_SYSCALL): Update using new LOAD defines.
12556         (INTERNAL_SYSCALL_NCS): Likewise.
12557         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12559 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12561         [BZ #16734]
12562         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12564 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12566         [BZ #17905]
12567         * catgets/Makefile (tst-catgets-mem): New test.
12568         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12569         * catgets/open_catalog.c (__open_catalog): Likewise.
12570         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12572 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12574         [BZ #18787]
12575         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12576         clobber registers.
12577         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12578         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12579         Cast return to __typeof (oldval).
12581 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12583         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12584         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12585         and delete sys/syscall.h include.
12587 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12589         [BZ #16517]
12590         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12591         (tan): Force underflow exception for arguments with small absolute
12592         value.
12593         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12594         (__kernel_tanf): Force underflow exception for arguments with
12595         small absolute value.
12596         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12597         (__kernel_tanl): Force underflow exception for arguments with
12598         small absolute value.
12599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12600         (__kernel_tanl): Force underflow exception for arguments with
12601         small absolute value.
12602         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12603         (__kernel_tanl): Force underflow exception for arguments with
12604         small absolute value.
12605         * math/auto-libm-test-in: Add more tests of tan.
12606         * math/auto-libm-test-out: Regenerated.
12608 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12610         Fix sysdeps/i386/fpu/s_scalbn.S build
12612         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12614 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12616         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12618 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12620         Fix gcrt0.o compilation
12622         When static-start-installed-name is different from
12623         start-installed-name, we must not use the shared objects.
12625         * csu/Makefile
12626         (extra-objs): Add gmon-start.o when building shared library and
12627         $(static-start-installed-name) is different from
12628         $(start-installed-name).
12629         $(objpfx)g$(static-start-installed-name): When building shared
12630         library and $(static-start-installed-name) is different from
12631         $(static-start-installed-name), revert to non-shared rule,
12632         i.e. using $(objpfx)% and gmon-start.o.
12634 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12636         [BZ #16519]
12637         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12638         (__ieee754_sinh): Force underflow exception for arguments with
12639         small absolute value.
12640         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12641         (__ieee754_sinhf): Force underflow exception for arguments with
12642         small absolute value.
12643         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12644         (__ieee754_sinhl): Force underflow exception for arguments with
12645         small absolute value.
12646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12647         (__ieee754_sinhl): Force underflow exception for arguments with
12648         small absolute value.
12649         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12650         (__ieee754_sinhl): Force underflow exception for arguments with
12651         small absolute value.
12652         * math/auto-libm-test-in: Add more tests of sinh.
12653         * math/auto-libm-test-out: Regenerated.
12654         * sysdeps/i386/fpu/libm-test-ulps: Update.
12656 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12658         * libio/oldfileops.c: Include unistd.h.
12660 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12662         * stdlib/isomac.c: Include ctype.h.
12664 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12666         * dirent/tst-seekdir.c (main): Converted to ...
12667         (do_test): ... this.
12668         (TEST_FUNCTION): New macro.
12669         Include test-skeleton.c.
12670         * elf/tst-dlmodcount.c (main): Converted to ...
12671         (do_test): ... this.
12672         (TEST_FUNCTION): New macro.
12673         Include test-skeleton.c.
12674         * elf/tst-order-main.c (main): Converted to ...
12675         (do_test): ... this.
12676         (TEST_FUNCTION): New macro.
12677         Include test-skeleton.c.
12678         * elf/tst-pie2.c (main): Converted to ...
12679         (do_test): ... this.
12680         (TEST_FUNCTION): New macro.
12681         Include test-skeleton.c.
12682         * inet/tst-ether_aton.c (main): Converted to ...
12683         (do_test): ... this.
12684         (TEST_FUNCTION): New macro.
12685         Include test-skeleton.c.
12686         * misc/tst-mntent.c (main): Converted to ...
12687         (do_test): ... this.
12688         (TEST_FUNCTION): New macro.
12689         Include test-skeleton.c.
12690         * misc/tst-tsearch.c (main): Converted to ...
12691         (do_test): ... this.
12692         (TEST_FUNCTION): New macro.
12693         Include test-skeleton.c.
12694         * posix/tst-regexloc.c (main): Converted to ...
12695         (do_test): ... this.
12696         (TEST_FUNCTION): New macro.
12697         Include test-skeleton.c.
12698         * resolv/tst-aton.c (main): Converted to ...
12699         (do_test): ... this.
12700         (TEST_FUNCTION): New macro.
12701         Include test-skeleton.c.
12702         * stdio-common/test-fwrite.c (main): Converted to ...
12703         (do_test): ... this.
12704         (TEST_FUNCTION): New macro.
12705         Include test-skeleton.c.
12706         * stdio-common/tst-ferror.c (main): Converted to ...
12707         (do_test): ... this.
12708         (TEST_FUNCTION): New macro.
12709         Include test-skeleton.c.
12710         * stdio-common/tst-printf.c (main): Converted to ...
12711         (do_test): ... this.
12712         (TEST_FUNCTION): New macro.
12713         Include test-skeleton.c.
12714         * stdio-common/tst-printfsz.c (main): Converted to ...
12715         (do_test): ... this.
12716         (TEST_FUNCTION): New macro.
12717         Include test-skeleton.c.
12718         * stdlib/tst-strtod.c (main): Converted to ...
12719         (do_test): ... this.
12720         (TEST_FUNCTION): New macro.
12721         Include test-skeleton.c.
12722         * string/tst-strlen.c (main): Converted to ...
12723         (do_test): ... this.
12724         (TEST_FUNCTION): New macro.
12725         Include test-skeleton.c.
12726         * string/tst-svc.c (main): Converted to ...
12727         (do_test): ... this.
12728         (TEST_FUNCTION): New macro.
12729         Include test-skeleton.c.
12730         * time/tst-strptime.c (main): Converted to ...
12731         (do_test): ... this.
12732         (TEST_FUNCTION): New macro.
12733         Include test-skeleton.c.
12734         * timezone/tst-timezone.c (main): Converted to ...
12735         (do_test): ... this.
12736         (TEST_FUNCTION): New macro.
12737         Include test-skeleton.c.
12739 2015-08-05  Zack Weinberg  <zackw@panix.com>
12741         * misc/regexp.h: Update comments.
12743 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12745         [BZ #18635]
12746         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12747         before return label.
12749 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12751         [BZ #18661]
12752         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12753         when calling __errno_location.
12754         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12755         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12757 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12759         [BZ #18661]
12760         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12761         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12762         __gettimeofday.
12764 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12766         [BZ #18661]
12767         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12768         (__start_context): Don't use pop to restore %rdi so that stack
12769         is aligned to 16 bytes when calling __setcontext.
12771 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12773         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12774         only for libc.
12775         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12777 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12779         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12780         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12781         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12783 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12785         * string/memccpy.c (memccpy):
12786         Improve performance by using memchr/memcpy/__mempcpy.
12788 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12790         * string/strncpy.c (strncpy):
12791         Improve performance by using __strnlen/memcpy.
12793 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12795         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12796         Optimize to avoid an unnecessary FPCR read.
12798 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12800         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12801         Optimize to reduce FPCR/FPSR accesses.
12803 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12805         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12806         dead->data[category] != NULL.
12808 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12810         [BZ #18647]
12811         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12812         and |x| close to 1, use absolute value of x when computing log.
12813         * math/auto-libm-test-in: Add more tests of pow.
12814         * math/auto-libm-test-out: Regenerated.
12816 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12818         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12819         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12820         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12822 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12824         [BZ #18525]
12825         * locales/km_KH: Remove timezone definition.
12826         * locales/lo_LA: Likewise.
12827         * locales/my_MM: Likewise.
12828         * locales/nan_TW@latin: Likewise.
12829         * locales/th_TH: Likewise.
12830         * locales/uk_UA: Likewise.
12832 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12834         [BZ #18265]
12835         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12836         (wcsncat): Likewise.
12837         (wcscmp): Likewise.
12838         (wcsncmp): Likewise.
12840 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12842         * test-skeleton.c (usage): New function.
12843         (main): Call usage when opt is '?'.
12845 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12847         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12848         before first use.
12850 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12852         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12853         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12854         in there too.
12856 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12858         * version.h (RELEASE): Set to "development".
12859         (VERSION): Set to "2.22.90"
12861         * version.h (RELEASE): Set to "stable".
12862         (VERSION): Set to "2.22"
12863         * include/features.h (__GLIBC_MINOR__): Set to 22.
12865 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12867         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12868         Restructure macro to avoid "value computed is not used" warning.
12869         (atomic_compare_and_exchange_val_acq): Likewise.
12871 2015-08-04  Andreas Schwab  <schwab@suse.de>
12873         [BZ #18635]
12874         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12875         ret.
12876         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12878 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12880         * po/pl.po: Updated translation.
12881         * po/uk.po: Likewise.
12882         * po/fi.po: Likewise.
12883         * po/ko.po: Likewise.
12884         * po/ru.po: Likewise.
12885         * po/vi.po: Likewise.
12887 2015-07-31  Zack Weinberg  <zackw@panix.com>
12889         [BZ #18681]
12890         * regexp.h: Add unconditional #warning stating that this header
12891         will be removed soon.  Revise banner comment to match.
12892         (compile): Consistently use ERROR instead of RETURN to report
12893         errors (partial fix for bz#18681).
12894         * regexp.c: Don't include regexp.h. Remove some unnecessary
12895         declarations.
12897 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12899         * po/libc.pot: Regenerated.
12901 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12903         [BZ #18740]
12904         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12905         float-vlen4-arch-ext-cflags): Removed.
12906         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12907         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12909 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12911         [BZ #14113]
12912         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12913         aligned to __aligned__.
12914         (pthread_cond_t, pthread_rwlock_t): Likewise.
12916 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12918         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12920 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12922         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12923         (struct sigaction): Change sa_flags from a long to an int, and add
12924         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12926 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12928         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12929         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12930         sysdeps/generic/sysdep.h include.
12931         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12932         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12933         sysdeps/hppa/sysdep.h.
12934         (ENTRY, PSEUDO): Undefine before defining.
12936 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12938         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12939         from scratch to use INTERNAL_SYSCALL.
12941 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12943         [BZ #18078]
12944         * scripts/check-localplt.awk: Support alternate relocations.
12945         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12946         sections.
12947         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12948         malloc entries with + REL R_386_GLOB_DAT.
12949         * sysdeps/x86_64/localplt.data: New file.
12951 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12953         [BZ #18731]
12954         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12956         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12958 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12960         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12962 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12964         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12965         directly in terms of __sync_fetch_and_add and delete (int) cast.
12967 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12969         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12970         the -D_ASM_IA64_CURRENT_H flag.
12972 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12974         [BZ #18641]
12975         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12977 2015-07-27  Andreas Schwab  <schwab@suse.de>
12979         * conform/conformtest.pl (checknamespace): Filter out string
12980         literals while tokenizing.
12982 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12984         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12985         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12986         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12988 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12990         * nptl/tst-join7mod.c: Add #include <string.h>.
12992 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12994         * sysdeps/nios2/libm-test-ulps: Update.
12996 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12998         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12999         Fix order of arguments to the rt_sigprocmask syscall.
13000         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13001         Likewise.
13003 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13005         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13007 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13009         [BZ #18457]
13010         * nptl/Makefile (tests): New test case tst-join7.
13011         (modules-names): New test case module tst-join7mod.
13012         * nptl/tst-join7.c: New file.
13013         * nptl/tst-join7mod.c: New file.
13014         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13015         all translation units in libc.so, libpthread.so and rtld.
13017 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13021 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13024         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13025         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13030         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13032         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13036         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13038         implementation.
13040 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13042         [BZ #17711]
13043         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13044         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13045         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13046         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13047         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13048         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13050 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13052         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13053         instead of just saying load lock in the comments.
13055 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13057         * sysdeps/unix/Subdirs: Moved ...
13058         * sysdeps/posix/Subdirs: ... here.
13059         * login/pty.h (struct termios, struct winsize): Add forward decls.
13060         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13061         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13062         * sysdeps/arm/nacl/libc.abilist: Updated.
13063         * sysdeps/nacl/libutil.abilist: New file.
13065         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13066         (SIGWINCH): New macro.
13068         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13069         * sysdeps/arm/nacl/libc.abilist: Add it.
13071 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13073         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13075 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13077         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13078         Swap __glibc_reserved0 and sa_flags order.
13080 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13082         [BZ #18657]
13083         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13084         are pending TLS destructor calls.
13085         * include/link.h (struct link_map): Add concurrency note for
13086         L_TLS_DTOR_COUNT.
13087         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13088         Don't touch the link map flag.  Atomically increment
13089         l_tls_dtor_count.
13090         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13091         Avoid taking the load lock and don't touch the link map flag.
13092         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13093         * stdlib/Makefile (tests): Use it.
13094         * stdlib/tst-tls-atexit.c (do_test): dlopen
13095         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13096         to allow tst-tls-atexit-nodelete test case to use it.
13098 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13100         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13101         to bits/types.h.
13102         (msgqnum_t): New typedef.
13103         (msglen_t): Likewise.
13104         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13105         and msg_qbytes type to msglen_t.
13107 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13109         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13110         pad0 to __glibc_reserved0.
13111         (struct stat64): Likewise.
13113 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13115         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13116         Change sa_flags from a long to an int and add __glibc_reserved0 before
13117         it for padding.
13119 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13121         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13122         anonymous by deleting "siginfo" name.
13124 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13126         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13127         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13128         rather than __nacl_irt_filename.
13129         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13131         * NEWS: New item for arm-nacl port.
13132         * sysdeps/arm/nacl/libc.abilist: New file.
13133         * sysdeps/nacl/ld.abilist: New file.
13134         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13135         * sysdeps/nacl/libanl.abilist: New file.
13136         * sysdeps/nacl/libcrypt.abilist: New file.
13137         * sysdeps/nacl/libdl.abilist: New file.
13138         * sysdeps/nacl/libm.abilist: New file.
13139         * sysdeps/nacl/libpthread.abilist: New file.
13140         * sysdeps/nacl/libresolv.abilist: New file.
13141         * sysdeps/nacl/librt.abilist: New file.
13143 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13145         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13146         __startcontext to initialize the new context.
13147         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13148         up CFI directive to forbid further backtracing.
13150 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13152         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13153         reference.
13154         * charmaps/ANSI_X3.4-1968: Likewise.
13155         * charmaps/BS_4730: Likewise.
13156         * charmaps/BS_VIEWDATA: Likewise.
13157         * charmaps/CP1250: Likewise.
13158         * charmaps/CP1251: Likewise.
13159         * charmaps/CP1252: Likewise.
13160         * charmaps/CP1253: Likewise.
13161         * charmaps/CP1254: Likewise.
13162         * charmaps/CP1255: Likewise.
13163         * charmaps/CP1256: Likewise.
13164         * charmaps/CSN_369103: Likewise.
13165         * charmaps/EBCDIC-DK-NO: Likewise.
13166         * charmaps/GB_1988-80: Likewise.
13167         * charmaps/GREEK-CCITT: Likewise.
13168         * charmaps/GREEK7: Likewise.
13169         * charmaps/INIS-8: Likewise.
13170         * charmaps/ISIRI-3342: Likewise.
13171         * charmaps/ISO_2033-1983: Likewise.
13172         * charmaps/ISO_5427-EXT: Likewise.
13173         * locales/POSIX: Likewise.
13174         * locales/ar_SA: Likewise.
13175         * locales/be_BY: Likewise.
13176         * locales/be_BY@latin: Likewise.
13177         * locales/ca_ES: Likewise.
13178         * locales/cs_CZ: Likewise.
13179         * locales/da_DK: Likewise.
13180         * locales/de_BE: Likewise.
13181         * locales/de_CH: Likewise.
13182         * locales/de_LU: Likewise.
13183         * locales/en_AU: Likewise.
13184         * locales/en_BW: Likewise.
13185         * locales/en_CA: Likewise.
13186         * locales/en_DK: Likewise.
13187         * locales/en_GB: Likewise.
13188         * locales/en_IE: Likewise.
13189         * locales/en_NZ: Likewise.
13190         * locales/en_ZA: Likewise.
13191         * locales/en_ZW: Likewise.
13192         * locales/es_AR: Likewise.
13193         * locales/es_BO: Likewise.
13194         * locales/es_CL: Likewise.
13195         * locales/es_CO: Likewise.
13196         * locales/es_DO: Likewise.
13197         * locales/es_EC: Likewise.
13198         * locales/es_ES: Likewise.
13199         * locales/es_HN: Likewise.
13200         * locales/es_MX: Likewise.
13201         * locales/es_PA: Likewise.
13202         * locales/es_PE: Likewise.
13203         * locales/es_PY: Likewise.
13204         * locales/es_SV: Likewise.
13205         * locales/es_US: Likewise.
13206         * locales/es_UY: Likewise.
13207         * locales/es_VE: Likewise.
13208         * locales/et_EE: Likewise.
13209         * locales/fa_IR: Likewise.
13210         * locales/fo_FO: Likewise.
13211         * locales/fr_CA: Likewise.
13212         * locales/fr_CH: Likewise.
13213         * locales/gv_GB: Likewise.
13214         * locales/he_IL: Likewise.
13215         * locales/hr_HR: Likewise.
13216         * locales/id_ID: Likewise.
13217         * locales/is_IS: Likewise.
13218         * locales/it_CH: Likewise.
13219         * locales/iw_IL: Likewise.
13220         * locales/kl_GL: Likewise.
13221         * locales/ko_KR: Likewise.
13222         * locales/kw_GB: Likewise.
13223         * locales/lg_UG: Likewise.
13224         * locales/lt_LT: Likewise.
13225         * locales/lv_LV: Likewise.
13226         * locales/mi_NZ: Likewise.
13227         * locales/nhn_MX: Likewise.
13228         * locales/nl_BE: Likewise.
13229         * locales/pl_PL: Likewise.
13230         * locales/sk_SK: Likewise.
13231         * locales/sl_SI: Likewise.
13232         * locales/sv_FI: Likewise.
13233         * locales/tl_PH: Likewise.
13234         * locales/tr_TR: Likewise.
13235         * locales/vi_VN: Likewise.
13237 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13239         [BZ #17475]
13240         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13241         of tu_IN and bh_IN.
13243 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13245         [BZ #18694]
13246         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13247         bits/wordsize.h.
13248         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13250 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13253         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13254         (spawn_thread): New function.
13255         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13256         (do_test): ... here.  Use IS_LOADED to test for its
13257         availability.
13259 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13261         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13263 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13265         [BZ #18696]
13266         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13267         si_addr_bnd.
13268         (si_lower): New.
13269         (si_upper): Likewise.
13271 2015-07-16  David S. Miller  <davem@davemloft.net>
13273         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13275 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13277         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13278         buffer.
13279         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13280         fail output information.
13282 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13285         and strstr-ppc64..
13286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13287         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13288         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13289         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13290         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13292 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13294         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13295         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13296         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13297         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13299 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13301         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13302         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13303         rtld_hidden_proto.
13304         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13306 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13308         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13309         the test can fail.
13311         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13313         [BZ #18676]
13314         * elf/tst-nodelete-opened.c: New test case.
13315         * elf/tst-nodelete-opened-lib.c: New test case module.
13316         * elf/Makefile (tests, modules-names): Use them.
13317         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13318         early.
13320 2015-07-15  David S. Miller  <davem@davemloft.net>
13322         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13323         futex-intenal.h
13324         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13325         * sysdeps/sparc/sparc64/Makefile: Likewise.
13326         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13327         Remove space from macro define.
13328         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13330 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13332         [BZ #17475]
13333         * locale/iso-639.def: Update Bhili and Tulu language codes as
13334         per iso639-3.
13336 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13338         * elf/tst-leaks1.c (main): Converted to ...
13339         (do_test): ... this.
13340         (TEST_FUNCTION): New macro.
13341         Include test-skeleton.c.
13342         * localedata/tst-langinfo.c (main): Converted to ...
13343         (do_test): ... this.
13344         (TEST_FUNCTION): New macro.
13345         Include test-skeleton.c.
13346         * math/test-fpucw.c (main): Converted to ...
13347         (do_test): ... this.
13348         (TEST_FUNCTION): New macro.
13349         Include test-skeleton.c.
13350         * math/test-tgmath.c (main): Converted to ...
13351         (do_test): ... this.
13352         (TEST_FUNCTION): New macro.
13353         Include test-skeleton.c.
13354         * math/test-tgmath2.c (main): Converted to ...
13355         (do_test): ... this.
13356         (TEST_FUNCTION): New macro.
13357         Include test-skeleton.c.
13358         * setjmp/tst-setjmp.c (main): Converted to ...
13359         (do_test): ... this.
13360         (TEST_FUNCTION): New macro.
13361         Include test-skeleton.c.
13362         * stdio-common/tst-sscanf.c (main): Converted to ...
13363         (do_test): ... this.
13364         (TEST_FUNCTION): New macro.
13365         Include test-skeleton.c.
13366         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13367         (do_test): ... this.
13368         (TEST_FUNCTION): New macro.
13369         Include test-skeleton.c.
13371         * elf/tst-audit9.c (main): Converted to ...
13372         (do_test): ... this.
13373         (TEST_FUNCTION): New macro.
13374         Include test-skeleton.c.
13376 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13378         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13380 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13382         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13383         New variable.
13385 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13387         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13389 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13391         * sysdeps/generic/dl-fileid.h: New file.
13392         * sysdeps/posix/dl-fileid.h: New file.
13393         * sysdeps/nacl/dl-fileid.h: New file.
13394         * include/link.h: Include <dl-fileid.h>.
13395         (struct link_map): Replace l_dev and l_ino with l_file_id.
13396         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13397         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13398         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13400 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13402         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13404 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13406         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13407         Add iff $CXX is set.
13408         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13409         Likewise.
13410         (tst-nodelete-zmodiff): Likewise.
13411         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13413 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13415         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13417 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13419         * sysdeps/aarch64/fpu/math_private.h
13420         (define math_opt_barrier): Add AArch64 version.
13421         (math_force_eval): Likewise.
13423 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13425         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13427 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13429         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13430         %ld with %jd and cast to intmax_t.
13431         (do_test_length_zero): Likewise.
13433 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13435         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13437 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13439         * sysdeps/tile/libm-test-ulps: Regenerated.
13441         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13442         Comment out the whole function, not just its body.
13444 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13446         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13447         locks.
13449         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13451 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13453         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13454         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13456 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13458         * sysdeps/nptl/futex-internal.h: New file.
13459         * sysdeps/nacl/futex-internal.h: New file.
13460         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13461         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13462         error checking.
13463         (setxid_unmark_thread): Likewise.
13464         (__nptl_setxid): Likewise.
13465         (__wait_lookup_done): Likewise.
13466         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13467         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13468         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13469         * nptl/pthread_once.c (clear_once_control): Likewise.
13470         (__pthread_once_slow): Likewise.
13471         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13472         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13473         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13474         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13475         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13476         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13477         Likewise.
13478         (__pthread_rwlock_rdlock): Likewise.
13479         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13480         Likewise.
13481         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13482         Likewise.
13483         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13484         Likewise.
13485         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13486         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13487         Likewise.
13488         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13489         __ASSUME_PRIVATE_FUTEX check.
13490         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13491         Check that shared futexes are supported.
13492         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13493         wrappers with error checking.
13494         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13495         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13496         * nptl/pthread_barrierattr_setpshared.c
13497         (pthread_barrierattr_setpshared): Check that shared futexes are
13498         supported.
13499         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13500         Likewise.
13501         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13502         Likewise.
13503         * nptl/sem_init.c (futex_private_if_supported): Remove.
13504         (__new_sem_init): Adapt and check that shared futexes are supported.
13505         * nptl/sem_open.c (sem_open): Likewise.
13506         * nptl/sem_post.c (futex_wake): Remove.
13507         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13508         (do_futex_wait): Use futex wrappers with error checking.
13509         * nptl/sem_wait.c: Include lowlevellock.h.
13510         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13511         Use futex_supports_pshared.
13512         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13513         Use futex wrappers with error checking.
13514         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13515         Likewise.
13516         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13517         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13518         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13519         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13520         (futex_wake): Likewise.
13521         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13522         (do_futex_wait): Use futex wrappers with error checking.
13523         (__new_sem_wait_slow): Update EINTR handling.
13524         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13526 2015-07-09  Martin Sebor  <msebor@redhat.com>
13528         [BZ #18435]
13529         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13530         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13531         * nptl/Makefile (test-xfail-tst-once5): Define.
13533 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13535         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13536         * elf/dl-minimal.c: For readability, reorder some definitions and
13537         introduce more page breaks.  Include <stdio.h>.
13538         (__libc_fatal): New function.
13540         * include/unistd.h: Add rtld_hidden_proto for _exit.
13541         * posix/_exit.c: Add rtld_hidden_def.
13542         * sysdeps/mach/hurd/_exit.c: Likewise.
13543         * sysdeps/nacl/_exit.c: Likewise.
13544         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13545         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13547 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13550         bndmov encoding with zero displacement.
13552 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13553             H.J. Lu  <hongjiu.lu@intel.com>
13555         [BZ #18134]
13556         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13557         * sysdeps/i386/configure: Regenerated.
13558         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13559         (_dl_runtime_profile): Save and restore Intel MPX return bound
13560         registers when calling _dl_call_pltexit.  Add
13561         PRESERVE_BND_REGS_PREFIX before return.
13562         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13563         (LRV_BND1_OFFSET): Likewise.
13564         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13565         lrv_bnd1.
13566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13567         typo in bndmov encoding.
13568         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13569         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13570         branch instructions to preserve bounds.
13572 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13575         [GLIBC_2.22]: Add fmemopen.
13577 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13579         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13580         returns an error, also try to use host port from __mach_host_self for
13581         the __vm_wire call.
13582         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13584 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13586         [BZ #18400]
13587         [BZ #18648]
13588         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13589         Fix pr_uid and pr_gid members.
13590         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13591         definition to elf_greg_t.
13593 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13595         [BZ #18383]
13596         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13597         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13598         * sysdeps/arm/configure: Regenerated.
13599         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13600         (test-xfail-tst-tlsalign-static): Variable removed.
13602         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13603         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13604         rather than explicit 'ln -s'.
13606         * resolv/rpc/netdb.h: New file.
13607         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13609 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13611         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13612         length buffers.
13613         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13614         test-skeleton.c.
13616         [BZ #6544]
13617         [BZ #11216]
13618         [BZ #12836]
13619         [BZ #13151]
13620         [BZ #13152]
13621         [BZ #14292]
13622         * include/stdio.h (fmemopen): Remove hidden prototype.
13623         (__fmemopen): Add new hidden prototype.
13624         * libio/Makefile: Add oldfmemopen object.
13625         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13626         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13627         compliance.
13628         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13629         symbol compatibility.
13630         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13631         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13632         fmemopen.
13633         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13634         on append and read mode.
13635         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13636         fmemopen.
13637         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13638         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13639         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13640         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13641         Likewise.
13642         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13643         [GLIBC_2.22]: Likewise.
13644         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13645         Likewise.
13646         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13647         Likewise.
13648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13649         [GLIBC_2.22]: Likewise.
13650         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13651         [GLIBC_2.22]: Likewise.
13652         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13653         [GLIBC_2.22]: Likewise.
13654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13655         [GLIBC_2.22]: Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13657         [GLIBC_2.22]: Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13659         [GLIBC_2.22]: Likewise.
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13661         [GLIBC_2.22]: Likewise.
13662         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13663         Likewise.
13664         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13665         Likewise.
13666         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13668         [GLIBC_2.22]: Likewise.
13669         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13670         [GLIBC_2.22]: Likewise.
13671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13672         [GLIBC_2.22]: Likewise.
13673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13674         [GLIBC_2.22]: Likewise.
13675         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13676         Likewise.
13677         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13678         Likewise.
13679         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13680         Likewise.
13681         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13682         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13684 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13686         [BZ #18643]
13687         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13688         IPV6_PATHMTU, and IPV6_DONTFRAG.
13690 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13692         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13693         and _IO_UNBUFFERED.
13694         * libio/oldfileops.c: Likewise.
13695         * libio/wfileops.c: Likewise.
13697 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13699         * nscd/selinux.c: Delete selinux/flask.h include.
13701 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13703         [BZ #18641]
13704         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13705         (putpwent): Likewise.
13706         (getpwnam): Likewise.
13707         (getpwent_r): Likewise.
13708         (getpwuid_r): Likewise.
13709         (getpwnam_r): Likewise.
13710         (fgetpwent_r): Likewise.
13712 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13714         [BZ #18557]
13715         * inet/rcmd.c (__validuser2_sa): Check user first to
13716         short-circuit host check.
13718 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13719             Mikhail Ilin  <m.ilin@samsung.com>
13721         [BZ #17833]
13722         * elf/Makefile (tests): Add tst-nodelete.
13723         (modules-names): Add tst-nodelete-uniquemod.
13724         (tst-nodelete-uniquemod.so-no-z-defs): New.
13725         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13726         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13727         ($(objpfx)tst-nodelete): Likewise.
13728         ($(objpfx)tst-nodelete.out): Likewise.
13729         (LDFLAGS-tst-nodelete): Likewise.
13730         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13731         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13732         implement forced object deletion.
13733         (_dl_close): Pass false to _dl_close_worker.
13734         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13735         * elf/tst-nodelete.cc: New file.
13736         * elf/tst-nodeletelib.cc: Likewise.
13737         * elf/tst-znodeletelib.cc: Likewise.
13738         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13740 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13742         [BZ #18508]
13743         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13744         Depend on $(libdl).
13745         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13746         is not called infinitely times.
13747         (backtrace_helper): New function.
13748         (trace_arg): New struct.
13749         (st1): Enlarge stack size.
13750         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13751         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13752         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13753         Likewise.
13755 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13757         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13759 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13761         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13762         Include sys/types.h instead of bits/types.h.
13763         Remove inclusion of bits/wordsize.h.
13765 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13767         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13768         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13769         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13770         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13771         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13772         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13774 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13776         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13777         link-defines.sym.
13778         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13779         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13780         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13781         and LR_SIZE.
13782         * sysdeps/i386/link-defines.sym: New file.
13784 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13786         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13787         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13788         ($(objpfx)tst-audit3): New rule.
13789         ($(objpfx)tst-audit3.out): Likewise.
13790         * sysdeps/i386/tst-audit3.c: New file.
13791         * sysdeps/i386/tst-audit3.h: Likewise.
13792         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13793         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13795 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13797         [BZ #18633]
13798         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13799         pointer in C code.
13800         (__strcat_c): Likewise.
13801         (__strcat_g): Likewise.
13803 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13805         [BZ #18592]
13806         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13808 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13810         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13811         New function.  (__ieee754_sqrtf): New function.
13812         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13813         New function.
13814         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13815         New function.
13817 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13819         * sysdeps/ieee754/support.c: Remove unused file.
13821 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13823         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13824         registers instead of d ones so the layout is kernel abi compatible.
13825         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13826         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13827         Likewise.
13829 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13831         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13833 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13835         [BZ #18619]
13836         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13837         and return argument in case of subnormal argument.
13839 2015-07-01  Martin Sebor  <msebor@redhat.com>
13841         [BZ #18435]
13842         * nptl/Makefile: Add tst-once5.cc.
13843         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13844         Remove macro redefinitions.
13845         * nptl/tst-once5.cc: New test.
13847 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13849         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13851         * sysdeps/arm/libm-test-ulps: Regenerated.
13853         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13854         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13856 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13858         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13859         lll_lock_wait_private and lll_futex_wake probes.
13861         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13862         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13863         Likewise.
13864         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13865         atomic_spin_nop.
13866         * sysdeps/x86_64/bits/atomic.h: Likewise.
13867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13868         to atomic_spin_nop and move ...
13869         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13870         ... here and ...
13871         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13872         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13873         atomic_spin_nop instead of BUSY_WAIT_NOP.
13874         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13875         Likewise.
13876         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13877         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13878         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13879         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13880         instead of atomic_delay.
13882 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13884         [BZ #18613]
13885         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13886         X_ADJ not X when adjusting exponent.
13887         (__ieee754_gamma_r): Do intermediate computations in
13888         round-to-nearest then adjust overflowing and underflowing results
13889         as needed.
13890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13891         of X_ADJ not X when adjusting exponent.
13892         (__ieee754_gammaf_r): Do intermediate computations in
13893         round-to-nearest then adjust overflowing and underflowing results
13894         as needed.
13895         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13896         log of X_ADJ not X when adjusting exponent.
13897         (__ieee754_gammal_r): Do intermediate computations in
13898         round-to-nearest then adjust overflowing and underflowing results
13899         as needed.  Use 1.0L not 1.0f as numerator of division.
13900         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13901         log of X_ADJ not X when adjusting exponent.
13902         (__ieee754_gammal_r): Do intermediate computations in
13903         round-to-nearest then adjust overflowing and underflowing results
13904         as needed.  Use 1.0L not 1.0f as numerator of division.
13905         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13906         of X_ADJ not X when adjusting exponent.
13907         (__ieee754_gammal_r): Do intermediate computations in
13908         round-to-nearest then adjust overflowing and underflowing results
13909         as needed.  Use 1.0L not 1.0f as numerator of division.
13910         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13911         to auto-libm-test-in.
13912         (tgamma_test): Use ALL_RM_TEST.
13913         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13914         tests of tgamma with spurious-overflow.
13915         * math/auto-libm-test-out: Regenerated.
13916         * math/gen-libm-have-vector-test.sh: Do not check for START.
13917         * sysdeps/i386/fpu/libm-test-ulps: Update.
13918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13920         [BZ #18612]
13921         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13922         arguments, just return 0.5 times the argument, with underflow
13923         forced as needed.
13924         * math/auto-libm-test-in: Add more tests of j1.
13925         * math/auto-libm-test-out: Regenerated.
13927         [BZ #16559]
13928         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13929         (__ieee754_j1): Force underflow exception for small results.
13930         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13931         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13932         (__ieee754_j1f): Force underflow exception for small results.
13933         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13937         (__ieee754_j1l): Force underflow exception for small results.
13938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13939         * math/auto-libm-test-in: Add more tests of j1 and jn.
13940         * math/auto-libm-test-out: Regenerated.
13942         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13944         (PF_MPLS): Likewise.
13945         (AF_IB): Likewise.
13946         (AF_MPLS): Likewise.
13947         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13948         value and macro.
13949         (MS_RMT_MASK): Include MS_LAZYTIME.
13951 2015-06-26  Mel Gorman  <mgorman@suse.de>
13953         [BZ #18502]
13954         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13955         already minimal.
13957 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13959         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13960         (DT_MIPS_NUM): Update.
13961         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13962         DT_MIPS_RLD_MAP_REL.
13964 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13966         [BZ #16559]
13967         [BZ #18602]
13968         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13969         round-to-nearest internally then recompute results that
13970         underflowed to zero in the original rounding mode.
13971         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13972         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13975         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13976         * sysdeps/i386/fpu/libm-test-ulps: Update.
13977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13979 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13981         * NEWS: Fixed description of link with vector math library.
13983 2015-06-25  Andreas Schwab  <schwab@suse.de>
13985         [BZ #18549]
13986         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13987         * libio/test-fmemopen.c (do_test): Add test for it.
13989 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13991         [BZ #17841]
13992         * Makeconfig (no-pie-ldflag): New.
13993         (+link): Set to $(+link-pie) if default to PIE.
13994         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13995         * config.make.in (build-pie-default): New.
13996         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13997         is default.  AC_SUBST.
13998         * configure: Regenerated.
13999         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14001 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14003         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14004         to 'unsigned int'.
14006         * resolv/gai_misc.h (struct waitlist): Change type of field
14007         counterp to 'volatile unsigned int *'.
14008         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14009         FUTEXADDR and OLDVAL.
14010         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14011         Give local variable TOTAL type 'volatile unsigned int'.
14012         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14013         * resolv/gai_suspend.c (gai_suspend):
14014         Give local variable CNTR type 'unsigned int'.
14016         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14017         counterp to 'volatile unsigned int *'.
14018         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14019         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14020         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14021         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14022         Give local variable TOTAL type 'volatile unsigned int'.
14023         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14025 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14027         [BZ #18383]
14028         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14029         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14030         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14031         comment for i386/x86-64.
14032         (test-xfail-tst-tlsalign-extern-static): Removed.
14034 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14036         * math/test-double.h: New file.
14037         * math/test-float.h: Likewise.
14038         * math/test-ldouble.h: Likewise.
14039         * math/test-math-inline.h: Likewise.
14040         * math/test-math-no-inline.h: Likewise.
14041         * math/test-math-scalar.h: Likewise.
14042         * math/test-math-vector.h: Likewise.
14043         * math/test-vec-loop.h: Remove file.  Contents moved into
14044         test-math-vector.h.
14045         * math/libm-test.inc (MATHCONST): Do not document macro.
14046         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14047         and test-math-scalar.h.
14048         (FUNC): Remove macro.
14049         (FUNC_TEST): Likewise.
14050         (FLOAT): Likewise.
14051         (MATHCONST): Likewise.
14052         (PRINTF_EXPR): Likewise.
14053         (PRINTF_XEXPR): Likewise.
14054         (PRINTF_NEXPR): Likewise.
14055         (TEST_DOUBLE): Likewise.
14056         (TEST_MATHVEC): Likewise.
14057         (__NO_MATH_INLINES): Likewise.
14058         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14059         and test-math-scalar.h.
14060         (FUNC): Remove macro.
14061         (FUNC_TEST): Likewise.
14062         (FLOAT): Likewise.
14063         (MATHCONST): Likewise.
14064         (PRINTF_EXPR): Likewise.
14065         (PRINTF_XEXPR): Likewise.
14066         (PRINTF_NEXPR): Likewise.
14067         (TEST_FLOAT): Likewise.
14068         (TEST_MATHVEC): Likewise.
14069         (__NO_MATH_INLINES): Likewise.
14070         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14071         and test-math-scalar.h.
14072         (FUNC): Remove macro.
14073         (FUNC_TEST): Likewise.
14074         (FLOAT): Likewise.
14075         (MATHCONST): Likewise.
14076         (PRINTF_EXPR): Likewise.
14077         (PRINTF_XEXPR): Likewise.
14078         (PRINTF_NEXPR): Likewise.
14079         (TEST_DOUBLE): Likewise.
14080         (TEST_MATHVEC): Likewise.
14081         (TEST_INLINE): Likewise.
14082         (__NO_MATH_INLINES): Likewise.
14083         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14084         test-math-scalar.h.
14085         (FUNC): Remove macro.
14086         (FUNC_TEST): Likewise.
14087         (FLOAT): Likewise.
14088         (MATHCONST): Likewise.
14089         (PRINTF_EXPR): Likewise.
14090         (PRINTF_XEXPR): Likewise.
14091         (PRINTF_NEXPR): Likewise.
14092         (TEST_FLOAT): Likewise.
14093         (TEST_MATHVEC): Likewise.
14094         (TEST_INLINE): Likewise.
14095         (__NO_MATH_INLINES): Likewise.
14096         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14097         and test-math-scalar.h.
14098         (FUNC): Remove macro.
14099         (FUNC_TEST): Likewise.
14100         (FLOAT): Likewise.
14101         (MATHCONST): Likewise.
14102         (PRINTF_EXPR): Likewise.
14103         (PRINTF_XEXPR): Likewise.
14104         (PRINTF_NEXPR): Likewise.
14105         (TEST_LDOUBLE): Likewise.
14106         (TEST_MATHVEC): Likewise.
14107         (TEST_INLINE): Likewise.
14108         (__NO_MATH_INLINES): Likewise.
14109         * math/test-ldouble.c: Include test-ldouble.h,
14110         test-math-no-inline.h and test-math-scalar.h.
14111         (FUNC): Remove macro.
14112         (FUNC_TEST): Likewise.
14113         (FLOAT): Likewise.
14114         (MATHCONST): Likewise.
14115         (PRINTF_EXPR): Likewise.
14116         (PRINTF_XEXPR): Likewise.
14117         (PRINTF_NEXPR): Likewise.
14118         (TEST_LDOUBLE): Likewise.
14119         (TEST_MATHVEC): Likewise.
14120         (__NO_MATH_INLINES): Likewise.
14121         * math/test-double-vlen2.h: Include test-double.h,
14122         test-math-no-inline.h and test-math-vector.h.
14123         (FLOAT): Remove macro.
14124         (FUNC): Likewise.
14125         (MATHCONST): Likewise.
14126         (PRINTF_EXPR): Likewise.
14127         (PRINTF_XEXPR): Likewise.
14128         (PRINTF_NEXPR): Likewise.
14129         (TEST_DOUBLE): Likewise.
14130         (TEST_MATHVEC): Likewise.
14131         (__NO_MATH_INLINES): Likewise.
14132         (CNCT): Likewise.
14133         (CONCAT): Likewise.
14134         (WRAPPER_NAME): Likewise.
14135         (WRAPPER_DECL): Likewise.
14136         (WRAPPER_DECL_ff): Likewise.
14137         (WRAPPER_DECL_fFF): Likewise.
14138         (VECTOR_WRAPPER): Likewise.
14139         (VECTOR_WRAPPER_ff): Likewise.
14140         (VECTOR_WRAPPER_fFF): Likewise.
14141         (VEC_LEN): New macro.
14142         * math/test-double-vlen4.h: Include test-double.h,
14143         test-math-no-inline.h and test-math-vector.h.
14144         (FLOAT): Remove macro.
14145         (FUNC): Likewise.
14146         (MATHCONST): Likewise.
14147         (PRINTF_EXPR): Likewise.
14148         (PRINTF_XEXPR): Likewise.
14149         (PRINTF_NEXPR): Likewise.
14150         (TEST_DOUBLE): Likewise.
14151         (TEST_MATHVEC): Likewise.
14152         (__NO_MATH_INLINES): Likewise.
14153         (CNCT): Likewise.
14154         (CONCAT): Likewise.
14155         (WRAPPER_NAME): Likewise.
14156         (WRAPPER_DECL): Likewise.
14157         (WRAPPER_DECL_ff): Likewise.
14158         (WRAPPER_DECL_fFF): Likewise.
14159         (VECTOR_WRAPPER): Likewise.
14160         (VECTOR_WRAPPER_ff): Likewise.
14161         (VECTOR_WRAPPER_fFF): Likewise.
14162         (VEC_LEN): New macro.
14163         * math/test-double-vlen8.h: Include test-double.h,
14164         test-math-no-inline.h and test-math-vector.h.
14165         (FLOAT): Remove macro.
14166         (FUNC): Likewise.
14167         (MATHCONST): Likewise.
14168         (PRINTF_EXPR): Likewise.
14169         (PRINTF_XEXPR): Likewise.
14170         (PRINTF_NEXPR): Likewise.
14171         (TEST_DOUBLE): Likewise.
14172         (TEST_MATHVEC): Likewise.
14173         (__NO_MATH_INLINES): Likewise.
14174         (CNCT): Likewise.
14175         (CONCAT): Likewise.
14176         (WRAPPER_NAME): Likewise.
14177         (WRAPPER_DECL): Likewise.
14178         (WRAPPER_DECL_ff): Likewise.
14179         (WRAPPER_DECL_fFF): Likewise.
14180         (VECTOR_WRAPPER): Likewise.
14181         (VECTOR_WRAPPER_ff): Likewise.
14182         (VECTOR_WRAPPER_fFF): Likewise.
14183         (VEC_LEN): New macro.
14184         * math/test-float-vlen4.h: Include test-float.h,
14185         test-math-no-inline.h and test-math-vector.h.
14186         (FLOAT): Remove macro.
14187         (FUNC): Likewise.
14188         (MATHCONST): Likewise.
14189         (PRINTF_EXPR): Likewise.
14190         (PRINTF_XEXPR): Likewise.
14191         (PRINTF_NEXPR): Likewise.
14192         (TEST_FLOAT): Likewise.
14193         (TEST_MATHVEC): Likewise.
14194         (__NO_MATH_INLINES): Likewise.
14195         (CNCT): Likewise.
14196         (CONCAT): Likewise.
14197         (WRAPPER_NAME): Likewise.
14198         (WRAPPER_DECL): Likewise.
14199         (WRAPPER_DECL_ff): Likewise.
14200         (WRAPPER_DECL_fFF): Likewise.
14201         (VECTOR_WRAPPER): Likewise.
14202         (VECTOR_WRAPPER_ff): Likewise.
14203         (VECTOR_WRAPPER_fFF): Likewise.
14204         (VEC_LEN): New macro.
14205         * math/test-float-vlen8.h: Include test-float.h,
14206         test-math-no-inline.h and test-math-vector.h.
14207         (FLOAT): Remove macro.
14208         (FUNC): Likewise.
14209         (MATHCONST): Likewise.
14210         (PRINTF_EXPR): Likewise.
14211         (PRINTF_XEXPR): Likewise.
14212         (PRINTF_NEXPR): Likewise.
14213         (TEST_FLOAT): Likewise.
14214         (TEST_MATHVEC): Likewise.
14215         (__NO_MATH_INLINES): Likewise.
14216         (CNCT): Likewise.
14217         (CONCAT): Likewise.
14218         (WRAPPER_NAME): Likewise.
14219         (WRAPPER_DECL): Likewise.
14220         (WRAPPER_DECL_ff): Likewise.
14221         (WRAPPER_DECL_fFF): Likewise.
14222         (VECTOR_WRAPPER): Likewise.
14223         (VECTOR_WRAPPER_ff): Likewise.
14224         (VECTOR_WRAPPER_fFF): Likewise.
14225         (VEC_LEN): New macro.
14226         * math/test-float-vlen16.h: Include test-float.h,
14227         test-math-no-inline.h and test-math-vector.h.
14228         (FLOAT): Remove macro.
14229         (FUNC): Likewise.
14230         (MATHCONST): Likewise.
14231         (PRINTF_EXPR): Likewise.
14232         (PRINTF_XEXPR): Likewise.
14233         (PRINTF_NEXPR): Likewise.
14234         (TEST_FLOAT): Likewise.
14235         (TEST_MATHVEC): Likewise.
14236         (__NO_MATH_INLINES): Likewise.
14237         (CNCT): Likewise.
14238         (CONCAT): Likewise.
14239         (WRAPPER_NAME): Likewise.
14240         (WRAPPER_DECL): Likewise.
14241         (WRAPPER_DECL_ff): Likewise.
14242         (WRAPPER_DECL_fFF): Likewise.
14243         (VECTOR_WRAPPER): Likewise.
14244         (VECTOR_WRAPPER_ff): Likewise.
14245         (VECTOR_WRAPPER_fFF): Likewise.
14246         (VEC_LEN): New macro.
14247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14248         test-vec-loop.h.
14249         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14251         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14252         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14253         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14254         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14257 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14259         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14260         (__getlogin_r): ... this.
14262 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14264         [BZ #18594]
14265         * math/s_ccosh.c (__ccosh): Compare with least normal value
14266         instead of comparing class with FP_SUBNORMAL.
14267         * math/s_ccoshf.c (__ccoshf): Likewise.
14268         * math/s_ccoshl.c (__ccoshl): Likewise.
14269         * math/s_cexp.c (__cexp): Likewise.
14270         * math/s_cexpf.c (__cexpf): Likewise.
14271         * math/s_cexpl.c (__cexpl): Likewise.
14272         * math/s_csin.c (__csin): Likewise.
14273         * math/s_csinf.c (__csinf): Likewise.
14274         * math/s_csinh.c (__csinh): Likewise.
14275         * math/s_csinhf.c (__csinhf): Likewise.
14276         * math/s_csinhl.c (__csinhl): Likewise.
14277         * math/s_csinl.c (__csinl): Likewise.
14278         * math/s_ctan.c (__ctan): Likewise.
14279         * math/s_ctanf.c (__ctanf): Likewise.
14280         * math/s_ctanh.c (__ctanh): Likewise.
14281         * math/s_ctanhf.c (__ctanhf): Likewise.
14282         * math/s_ctanhl.c (__ctanhl): Likewise.
14283         * math/s_ctanl.c (__ctanl): Likewise.
14284         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14285         csin, csinh, ctan and ctanh.
14286         * math/auto-libm-test-out: Regenerated.
14287         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14288         * sysdeps/i386/fpu/libm-test-ulps: Update.
14289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14291 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14293         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14294         return value is wrong, print the expected value too.
14296 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14298         [BZ #18585]
14299         * elf/readlib.c (is_gdb_python_file): New.
14300         (process_file): Don't issue errors on filenames with -gdb.py
14301         suffix.
14303 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14305         * math/auto-libm-test-in: Add more tests of csin and csinh.
14306         * math/auto-libm-test-out: Regenerated.
14307         * math/libm-test.inc (csin_test_data): Remove tests moved to
14308         auto-libm-test-in.
14309         (csinh_test_data): Likewise.
14311         [BZ #18593]
14312         * math/s_csin.c (__csin): Negate before rather than after possibly
14313         overflowing multiplication.
14314         * math/s_csinf.c (__csinf): Likewise.
14315         * math/s_csinh.c (__csinh): Likewise.
14316         * math/s_csinhf.c (__csinhf): Likewise.
14317         * math/s_csinhl.c (__csinhl): Likewise.
14318         * math/s_csinl.c (__csinl): Likewise.
14319         * math/auto-libm-test-in: Add some tests of csin and csinh.
14320         * math/auto-libm-test-out: Regenerated.
14321         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14322         (csinh_test_data): Likewise.
14323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14325         [BZ #18586]
14326         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14327         underflow exception for small results.
14329 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14333         variable and included header.
14334         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14337         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14340         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14341         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14342         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14343         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14344         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14345         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14346         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14347         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14348         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14349         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14351 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14353         [BZ #16526]
14354         [BZ #16538]
14355         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14356         (__sin): Force underflow exception for arguments with small
14357         absolute value.
14358         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14359         (__kernel_sinf): Force underflow exception for arguments with
14360         small absolute value.
14361         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14362         (__kernel_sincosl): Force underflow exception for arguments with
14363         small absolute value.
14364         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14365         (__kernel_sinl): Force underflow exception for arguments with
14366         small absolute value.
14367         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14368         (__kernel_sincosl): Force underflow exception for arguments with
14369         small absolute value.
14370         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14371         (__kernel_sinl): Force underflow exception for arguments with
14372         small absolute value.
14373         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14374         (__kernel_sinl): Force underflow exception for arguments with
14375         small absolute value.
14376         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14377         (__kernel_sinf): Force underflow exception for arguments with
14378         small absolute value.
14379         * math/auto-libm-test-in: Add more tests of sin and sincos.
14380         * math/auto-libm-test-out: Regenerated.
14382         [BZ #18245]
14383         [BZ #18583]
14384         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14385         (__kernel_standard_l): Use feholdexcept and fesetenv around
14386         conversion to double instead of special-casing overflow and
14387         underflow.
14388         * math/libm-test.inc (fmod_test_data): Add more tests.
14389         (remainder_test_data): Likewise.
14390         (sqrt_test_data): Likewise.
14392 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14394         [BZ #17403]
14395         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14396         atomic_read_barrier, atomic_write_barrier): Define.
14397         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14398         atomic_read_barrier, atomic_write_barrier): Define.
14400 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14402         * math/Makefile [$(PERL) != no]
14403         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14404         dependency on libm-test.stmp below the inclusion of Rules.
14406 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14410         and included header.
14411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14412         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14415         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14417         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14418         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14419         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14420         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14421         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14422         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14423         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14424         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14425         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14426         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14427         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14428         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14429         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14431 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14433         [BZ #18371]
14434         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14435         intermediate but not final result might underflow.
14436         * math/s_csqrtf.c (__csqrtf): Likewise.
14437         * math/s_csqrtl.c (__csqrtl): Likewise.
14438         * math/auto-libm-test-in: Add more tests of csqrt.
14439         * math/auto-libm-test-out: Regenerated.
14440         * sysdeps/i386/fpu/libm-test-ulps: Update.
14442         [BZ #18219]
14443         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14444         threshold on absolute value of exponent for which scaling is used.
14445         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14446         * math/auto-libm-test-in: Add more tests of exp2.
14447         * math/auto-libm-test-out: Regenerated.
14449 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14451         [BZ #17977]
14452         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14453         when initializing interface list, based on the bug analysis
14454         and the patch proposed by Eric Newton.
14455         * resolv/tst-res_hconf_reorder.c: New test.
14456         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14457         tst-res_hconf_reorder.
14458         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14459         and $(shared-thread-library).
14460         (tst-res_hconf_reorder-ENV): New variable.
14462         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14463         in comment.
14465 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #16353]
14468         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14469         (__expm1): Force underflow exception for arguments with small
14470         absolute value.
14471         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14472         (__expm1f): Force underflow exception for arguments with small
14473         absolute value.
14474         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14475         (__expm1): Force underflow exception for arguments with small
14476         absolute value.
14477         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14478         (__expm1f): Force underflow exception for arguments with small
14479         absolute value.
14480         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14481         Check for small arguments before calling __expm1.
14482         * math/auto-libm-test-in: Do not mark underflow exceptions as
14483         possibly missing for bug 16353.
14484         * math/auto-libm-test-out: Regenerated.
14486 2015-06-22  Andreas Schwab  <schwab@suse.de>
14488         [BZ #18513]
14489         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14490         PTR queries.
14492 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14494         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14496         * string/strcoll_l.c: Remove unused struct element idxnow.
14498 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14500         [BZ #18569]
14501         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14502         underflow and return argument in case of subnormal argument.
14503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14504         Likewise.
14505         * math/auto-libm-test-in: Add more tests of expm1.
14506         * math/auto-libm-test-out: Regenerated.
14508         [BZ #16361]
14509         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14510         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14511         tiny results.
14512         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14513         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14514         tiny results.
14515         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14516         mark underflow exceptions as possibly missing for bug 16361.
14517         * math/auto-libm-test-out: Regenerated.
14519 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14521         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14522         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14523         Remove variable.
14524         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14525         (test-xfail-XOPEN2K8/utmpx.h/conform).
14527         * conform/conformtest.pl ($xerrors): New variable.
14528         (note_error): New function.
14529         (compiletest): New argument $xfail.  Use not_error.
14530         (runtest): Likewise.
14531         (top level): Handle xfail- lines.  Update calls to compiletest and
14532         runtest.  Handle xfail- and optional- in headers listed with
14533         allow-header.
14534         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14535         (O_EXEC): Likewise.
14536         (O_SEARCH): Likewise.
14537         * conform/data/stropts.h-data (ioctl): Likewise.
14538         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14539         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14540         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14541         (msghdr.msg_controllen): Likewise.
14542         (cmsghdr.cmsg_len): Likewise.
14543         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14544         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14545         variable.
14546         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14547         (test-xfail-XPG4/stropts.h/conform): Likewise.
14548         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14549         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14550         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14551         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14552         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14553         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14554         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14555         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14556         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14557         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14558         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14559         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14560         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14561         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14562         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14563         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14564         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14565         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14566         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14568 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14570         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14571         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14572         definitions for proper unfolding of __MATHDECL_VEC.
14574 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14576         * benchtests/bench-strcoll.c:
14577         Include string.h.
14578         (main): Remove unused variable res.
14580 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14582         * timezone/Makefile (%/UTC %/Universal):
14583         Generate test-result files for UTC and Universal.
14585 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14587         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14589 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14591         [BZ #16350]
14592         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14593         for arguments with small absolute value.
14594         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14595         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14596         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14597         (__asinh): Force underflow exception for arguments with small
14598         absolute value.
14599         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14600         (__asinhf): Force underflow exception for arguments with small
14601         absolute value.
14602         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14603         (__asinhl): Force underflow exception for arguments with small
14604         absolute value.
14605         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14606         (__asinhl): Force underflow exception for arguments with small
14607         absolute value.
14608         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14609         (__asinhl): Force underflow exception for arguments with small
14610         absolute value.
14611         * math/auto-libm-test-in: Do not mark underflow exceptions as
14612         possibly missing for bug 16350.
14613         * math/auto-libm-test-out: Regenerated.
14615         * include/bits/ipc.h: Remove file.
14616         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14617         variable.
14618         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14619         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14620         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14621         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14622         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14623         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14624         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14625         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14626         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14628         * math/auto-libm-test-in: Remove spurious underflow allowance for
14629         tests of cexp.
14630         * math/auto-libm-test-out: Regenerated.
14632         [BZ #18558]
14633         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14634         unconditional definition.
14635         (MCAST_BLOCK_SOURCE): Likewise.
14636         (MCAST_UNBLOCK_SOURCE): Likewise.
14637         (MCAST_LEAVE_GROUP): Likewise.
14638         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14639         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14640         (MCAST_MSFILTER): Likewise.
14641         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14642         Remove variable.
14643         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14644         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14645         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14646         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14647         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14649 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14651         * NEWS: Mention addition of x86_64 vector sincosf.
14652         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14653         * math/test-float-vlen4.h: Likewise.
14654         * math/test-float-vlen8.h: Likewise.
14655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14656         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14658         * sysdeps/x86_64/fpu/Versions: New versions added.
14659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14661         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14666         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14668         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14669         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14670         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14671         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14672         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14673         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14674         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14675         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14676         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14677         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14678         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14681         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14682         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14684         * NEWS: Mention addition of x86_64 vector sincos.
14685         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14686         * math/math.h (__MATHDECL_VEC): New macro.
14687         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14688         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14689         declaration under condition.
14690         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14691         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14692         TEST_VEC_LOOP change.
14693         * math/test-double-vlen4.h: Likewise.
14694         * math/test-double-vlen8.h: Likewise.
14695         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14696         * math/test-float-vlen4.h: Likewise.
14697         * math/test-float-vlen8.h: Likewise.
14698         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14699         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14700         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14701         * sysdeps/x86_64/fpu/Versions: New versions added.
14702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14703         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14704         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14705         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14707         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14708         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14709         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14710         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14711         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14712         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14713         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14714         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14715         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14716         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14717         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14718         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14719         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14720         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14722         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14723         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14724         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14725         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14728         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14729         redirections for powf.
14730         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14731         * sysdeps/x86_64/fpu/Versions: New versions added.
14732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14734         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14735         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14738         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14739         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14740         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14742         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14743         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14744         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14745         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14746         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14747         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14748         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14749         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14750         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14751         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14752         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14754         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14755         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14756         * math/test-float-vlen16.h: Fixed 2 argument macro.
14757         * math/test-float-vlen4.h: Likewise.
14758         * math/test-float-vlen8.h: Likewise.
14759         * NEWS: Mention addition of x86_64 vector powf.
14761 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14763         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14764         and redefine.
14765         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14766         and redefine.
14767         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14768         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14769         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14771         [BZ #18553]
14772         * resource/getpriority.c (getpriority): Rename to __getpriority
14773         and define as weak alias of __getpriority.
14774         * resource/setpriority.c (setpriority): Rename to __setpriority
14775         and define as weak alias of __setpriority.
14776         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14777         __getpriority and define as weak alias of __getpriority.
14778         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14779         __setpriority and define as weak alias of __setpriority.
14780         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14781         strong name.
14782         (setpriority): Use __setpriority as strong name.
14783         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14784         __getpriority and define as weak alias of __getpriority.
14785         * include/sys/resource.h (__getpriority): Declare.  Use
14786         libc_hidden_proto.
14787         (__setpriority): Likewise.
14788         (getpriority): Don't use libc_hidden_proto.
14789         (setpriority): Likewise.
14790         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14791         getpriority.  Call __setpriority instead of setpriority.
14792         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14793         Remove variable.
14795         [BZ #18547]
14796         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14797         as weak alias of __getttynam.  Use prototype function definition.
14798         Call __setttyent, __getttyent and __endttyent instead of
14799         setttyent, getttyent and endttyent.
14800         (getttyent): Rename to __getttyent and define as weak alias of
14801         __getttyent.  Call __setttyent instead of setttyent.  Call
14802         __fgets_unlocked instead of fgets_unlocked.
14803         (setttyent): Rename to __setttyent and define as weak alias of
14804         __setttyent.
14805         (endttyent): Rename to __endttyent and define as weak alias of
14806         __endttyent.
14807         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14808         (__setttyent): Likewise.
14809         (__endttyent): Likewise.
14810         (getttyent): Don't use libc_hidden_proto.
14811         (setttyent): Likewise.
14812         (endttyent): Likewise.
14813         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14814         __endttyent instead of setttyent, getttyent and endttyent.
14815         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14816         Remove variable.
14818         [BZ #18546]
14819         * socket/recv.c (__recv): Use libc_hidden_def.
14820         * socket/socket.c (__socket): Likewise.
14821         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14822         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14823         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14824         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14825         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14826         libc_hidden_def.
14827         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14828         libc_hidden_weak.
14829         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14830         Use libc_hidden_proto.
14831         (__recv): Likewise.
14832         * socket/Versions (libc): Export __recv and __socket at version
14833         GLIBC_PRIVATE.
14834         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14835         instead of recv.
14836         (init_mq_netlink): Call __socket instead of socket.
14837         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14838         Remove variable.
14840         [BZ #18545]
14841         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14842         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14843         hidden_weak.
14844         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14845         define as alias of __mq_timedsend.  Use hidden_weak.
14846         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14847         __mq_timedsend as strong name.
14848         (mq_timedreceive): Use __mq_timedreceive as strong name.
14849         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14850         (__mq_timedreceive): Likewise.
14851         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14852         __mq_timedreceive instead of mq_timedreceive.
14853         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14854         instead of mq_timedsend.
14855         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14856         Remove variable.
14858         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14859         hidden_def and hidden_weak instead of libc_hidden_def and
14860         libc_hidden_weak.
14861         (top level): Refer to hidden_def in comment.
14862         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14863         macro.  Use it instead of libc_hidden_def.
14864         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14865         specify __GI_* name explicitly.
14866         (mq_timedreceive): Likewise.
14867         (mq_setattr): Likewise.
14869         [BZ #18544]
14870         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14871         __pthread_barrier_init and define as weak alias of
14872         __pthread_barrier_init.
14873         * sysdeps/sparc/nptl/pthread_barrier_init.c
14874         (pthread_barrier_init): Likewise.
14875         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14876         __pthread_barrier_wait and define as weak alias of
14877         __pthread_barrier_wait.
14878         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14879         (pthread_barrier_wait): Likewise.
14880         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14881         (pthread_barrier_wait): Likewise.
14882         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14883         (pthread_barrier_wait): Likewise.
14884         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14885         (pthread_barrier_wait): Likewise.
14886         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14887         __pthread_barrier_wait at version GLIBC_PRIVATE.
14888         * include/pthread.h (__pthread_barrier_init): Declare.
14889         (__pthread_barrier_wait): Likewise.
14890         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14891         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14892         (helper_thread): Likewise.
14893         (init_mq_netlink): Call __pthread_barrier_init instead of
14894         pthread_barrier_init.
14896         [BZ #18542]
14897         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14898         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14899         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14900         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14901         vswscanf.
14902         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14903         Remove variable.
14905         [BZ #18540]
14906         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14907         strong alias of _IO_fflush.  Use libc_hidden_def.
14908         * libio/iofflush_u.c (fflush_unlocked): Rename to
14909         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14910         Use libc_hidden_weak.
14911         * include/stdio.h (__fflush_unlocked): Declare.  Use
14912         libc_hidden_proto.
14913         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14914         fflush_unlocked.
14915         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14916         Remove variable.
14918         [BZ #18539]
14919         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14920         define as weak alias of __addseverity.
14921         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14922         Remove variable.
14923         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14924         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14925         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14927         [BZ #18536]
14928         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14929         (__tfind): Likewise.
14930         (__tdelete): Likewise.
14931         (__twalk): Likewise.
14932         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14933         __twalk to GLIBC_PRIVATE.
14934         * include/search.h (__tsearch): Use libc_hidden_proto.
14935         (__tfind): Likewise.
14936         (__tdelete): Likewise.
14937         (__twalk): Likewise.
14938         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14939         Call __tdelete instead of tdelete.
14940         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14941         tfind.  Call __tsearch instead of tsearch.
14942         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14943         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14944         Remove variable.
14945         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14947         [BZ #18534]
14948         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14949         (dprintf): Define as a weak alias of __dprintf, not a strong
14950         alias.
14951         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14952         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14953         dprintf.
14954         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14955         Remove variable.
14956         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14957         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14959         [BZ #18533]
14960         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14961         not a strong alias.
14962         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14963         Remove variable.
14965         [BZ #18532]
14966         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14967         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14968         (in6addr_loopback): Rename to __in6addr_loopback and define as
14969         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14970         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14971         libc_hidden_proto.
14972         (__in6addr_any): Likewise.
14973         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14974         in6addr_any.
14975         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14976         variable.
14977         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14979 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14981         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14982         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14985         redirections for pow.
14986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14987         * sysdeps/x86_64/fpu/Versions: New versions added.
14988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14990         build of SSE, AVX2 and AVX512 IFUNC versions.
14991         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14994         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14995         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14996         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14997         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14998         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14999         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15000         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15001         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15002         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15003         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15004         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15011         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15012         * NEWS: Mention addition of x86_64 vector pow.
15014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15016         redirections for expf.
15017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15018         * sysdeps/x86_64/fpu/Versions: New versions added.
15019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15021         build of SSE, AVX2 and AVX512 IFUNC versions.
15022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15023         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15024         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15025         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15027         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15028         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15029         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15030         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15031         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15032         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15033         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15035         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15036         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15037         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15041         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15042         * NEWS: Mention addition of x86_64 vector expf.
15044         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15045         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15047         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15048         redirections for exp.
15049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15050         * sysdeps/x86_64/fpu/Versions: New versions added.
15051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15053         build of SSE, AVX2 and AVX512 IFUNC versions.
15054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15056         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15059         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15060         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15061         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15062         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15063         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15064         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15065         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15067         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15071         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15073         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15074         * NEWS: Mention addition of x86_64 vector exp.
15076         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15077         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15078         redirections for logf.
15079         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15080         * sysdeps/x86_64/fpu/Versions: New versions added.
15081         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15083         build of SSE, AVX2 and AVX512 IFUNC versions.
15084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15087         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15089         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15090         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15091         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15092         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15093         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15094         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15095         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15096         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15097         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15098         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15099         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15101         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15102         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15103         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15104         * NEWS: Mention addition of x86_64 vector logf.
15106         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15107         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15108         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15109         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15110         redirections for log.
15111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15112         * sysdeps/x86_64/fpu/Versions: New versions added.
15113         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15114         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15115         build of SSE, AVX2 and AVX512 IFUNC versions.
15116         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15117         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15118         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15119         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15120         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15121         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15122         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15123         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15124         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15125         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15126         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15127         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15128         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15129         test.
15130         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15132         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15134         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15136         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15137         * NEWS: Mention addition of x86_64 vector log.
15139 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15141         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15142         cfi_adjust_cfa_offset argument.
15143         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15144         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15146         [BZ #18034]
15147         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15148         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15149         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15150         ordering using ldar.
15151         (_dl_tlsdesc_dynamic): Likewise.
15152         (_dl_tlsdesc_return_lazy): Likewise.
15153         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15154         relaxed atomics instead of volatile and synchronize with release store.
15155         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15156         volatile.
15157         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15159 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15164         * sysdeps/x86_64/fpu/Versions: New versions added.
15165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15167         build of SSE, AVX2 and AVX512 IFUNC versions.
15168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15170         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15174         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15175         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15176         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15177         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15178         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15179         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15180         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15181         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15182         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15183         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15184         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15186         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15187         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15188         * NEWS: Mention addition of x86_64 vector sinf.
15190 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15192         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15193         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15194         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15195         Remove variable.
15196         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15197         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15199 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15201         [BZ #18530]
15202         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15203         strong alias of _IO_fputs.  Use libc_hidden_def.
15204         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15205         and define as weak alias of __fputs_unlocked.  Use
15206         libc_hidden_weak.
15207         * include/stdio.h (__fputs_unlocked): Declare.  Use
15208         libc_hidden_proto.
15209         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15210         fputs_unlocked.
15212         [BZ #18529]
15213         * resolv/netdb.h [__USE_POSIX]: Change condition to
15214         [__USE_XOPEN2K].
15215         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15216         not expect.
15217         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15218         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15219         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15220         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15221         [XPG4 || UNIX98] (AI_ALL): Likewise.
15222         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15223         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15224         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15225         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15226         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15227         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15228         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15229         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15230         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15231         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15232         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15233         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15234         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15235         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15236         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15237         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15238         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15239         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15240         [XPG4 || UNIX98] (gai_strerror): Likewise.
15241         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15242         [XPG4 || UNIX98] (getnameinfo): Likewise.
15244         [BZ #18528]
15245         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15246         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15247         __USE_XOPEN2K8].
15248         (getgrent): Likewise.
15249         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15250         expect.
15251         [XPG3 || POSIX2008] (endgrent): Likewise.
15252         [XPG3] (setgrent): Likewise.
15253         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15254         variable.
15255         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15257         [BZ #18527]
15258         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15259         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15260         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15261         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15262         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15263         * include/unistd.h (__getlogin_r): Declare.  Use
15264         libc_hidden_proto.
15265         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15266         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15267         variable.
15268         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15269         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15270         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15272 2015-06-12  Martin Sebor  <msebor@redhat.com>
15274         [BZ #18512]
15275         * Makerules (check-install-supported): New target.
15276         (install): Add check-install-supported as a dependency.
15277         * manual/install.texi (Installing the C Library): Document
15278         that overriding prefix and exec_prefix is not supported.
15279         Mention DESTDIR.
15280         * INSTALL: Regenerate from the above.
15282 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15284         [BZ #18519]
15285         * posix/Versions (libc): Export __libc_pread at version
15286         GLIBC_PRIVATE.
15287         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15288         instead of pread.
15289         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15290         variable.
15292         [BZ #18522]
15293         * misc/efgcvt_r.c
15294         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15295         (cvt_symbol): Use weak_alias instead of strong_alias.
15296         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15297         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15298         Remove variable.
15299         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15300         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15302         [BZ #18520]
15303         * inet/herrno.c (h_errno): Rename to __h_errno.
15304         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15305         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15306         to __h_errno instead of h_errno.
15307         * nptl/herrno.c (h_errno): Rename to __h_errno.
15308         (__h_errno_location): Refer to __h_errno not h_errno.
15309         * resolv/Versions (h_errno): Rename to __h_errno.
15310         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15311         Remove variable.
15312         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15314 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15316         * configure.ac: More strict check for AVX512 assembler support.
15317         * configure: Regenerated.
15319         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15320         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15322         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15323         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15324         * sysdeps/x86_64/fpu/Versions: New versions added.
15325         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15326         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15327         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15330         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15334         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15335         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15336         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15337         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15338         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15339         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15340         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15341         test.
15342         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15343         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15345         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15346         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15347         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15348         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15349         * NEWS: Mention addition of x86_64 vector sin.
15351 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15353         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15354         comment.
15356 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15358         [BZ #18479]
15359         * nptl/pt-interp.c: New file.
15360         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15361         Add pt-interp.
15362         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15363         $(common-objpfx)runtime-linker.h.
15365 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15367         * Makeconfig (+interp): Remove unused variable.
15368         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15369         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15370         $(elf-objpfx)runtime-linker.h.
15371         ($(elf-objpfx)runtime-linker.h): Rename to
15372         $(common-objpfx)runtime-linker.h and move ...
15373         * Makerules [$(build-shared) = yes]: ... here.
15374         * elf/interp.c: Include <runtime-linker.h> instead of
15375         <elf/runtime-linker.h>.
15377 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15379         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15380         (__gettimeofday_syscall): Remove vsyscall fallback.
15381         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15382         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15383         Add syscall fallback function.
15384         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15385         if vDSO is not present.
15386         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15387         fallback function.
15388         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15389         present.
15390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15391         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15393 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15395         [BZ #18497]
15396         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15397         of wcscmp.
15398         (wcscmp): Define as weak alias of WCSCMP.
15399         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15400         wcscoll.
15401         (USE_HIDDEN_DEF): Define.
15402         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15403         __wcscoll.  Don't use libc_hidden_weak.
15404         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15405         wcscmp.
15406         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15407         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15408         __GI_wcscmp.
15409         (weak_alias): Undefine and redefine.
15410         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15411         __wcscmp and define as weak alias of __wcscmp.
15412         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15413         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15414         (__wcscoll): Likewise.
15415         (wcscmp): Don't use libc_hidden_proto.
15416         (wcscoll): Likewise.
15417         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15418         wcscoll.
15419         * posix/regexec.c (check_node_accept_bytes): Likewise.
15420         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15421         variable.
15422         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15423         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15425         [BZ #18507]
15426         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15427         __fstatvfs and define as weak alias of __fstatvfs.  Use
15428         libc_hidden_weak.
15429         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15430         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15431         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15432         Define as alias of __fstatvfs, not fstatvfs.
15433         (fstatvfs64): Likewise.
15434         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15435         Define as alias of __statvfs, not statvfs.
15436         (statvfs64): Likewise.
15437         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15438         Remove variable.
15440 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15443         (HAVE_GETCPU_VSYSCALL): Define.
15444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15445         (HAVE_GETCPU_VSYSCALL): Likewise.
15446         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15447         * sysdeps/unix/sysv/linux/sched_getcpu.c
15448         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15449         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15450         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15451         prototype.
15452         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15453         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15456         Define.
15457         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15458         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15459         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15460         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15462 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15464         * sysdeps/x86_64/fpu/Makefile: New file.
15465         * sysdeps/x86_64/fpu/Versions: New file.
15466         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15467         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15468         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15469         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15470         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15471         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15472         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15474         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15475         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15476         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15477         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15478         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15480         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15482         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15483         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15484         * sysdeps/x86_64/configure: Regenerated.
15485         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15486         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15487         * manual/install.texi (Configuring and compiling): Document
15488         --disable-mathvec.
15489         * INSTALL: Regenerated.
15490         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15492         * math/Makefile: Added rules for vector tests.
15493         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15494         declaration under condition.
15495         * math/test-double-vlen2.h: New file.
15496         * math/test-double-vlen4.h: New file.
15497         * math/test-double-vlen8.h: New file.
15498         * math/test-vec-loop.h: Added initialization macro.
15499         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15501         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15503         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15507         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15509         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15512         * sysdeps/x86_64/fpu/Versions: New versions added.
15513         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15516         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15517         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15519         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15520         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15521         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15522         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15523         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15524         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15525         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15527         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15528         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15529         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15530         * NEWS: Mention addition of x86_64 vector cosf.
15532         * math/Makefile: Added CFLAGS for new tests.
15533         * math/test-float-vlen16.h: New file.
15534         * math/test-float-vlen4.h: New file.
15535         * math/test-float-vlen8.h: New file.
15536         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15537         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15539         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15540         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15541         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15542         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15543         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15544         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15545         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15546         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15548 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15550         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15551         * locale/programs/ld-ctype.c: Likewise.
15553 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15555         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15556         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15557         bit_ZMM16_31_state): New macro.
15558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15559         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15561 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15563         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15565 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15567         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15569 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15571         [BZ #18498]
15572         * libio/memstream.c (open_memstream): Rename to __open_memstream
15573         and define as weak alias of __open_memstream.
15574         * include/stdio.h (__open_memstream): Declare.  Use
15575         libc_hidden_proto.
15576         (open_memstream): Don't use libc_hidden_proto.
15577         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15578         open_memstream.
15579         * posix/getopt.c (_getopt_internal_r): Likewise.
15580         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15581         variable.
15582         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15583         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15584         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15586         [BZ #18496]
15587         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15588         instead of wcrtomb.
15590         [BZ #18483]
15591         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15592         [__USE_XOPEN2K8].  Remove redundant #endif.
15593         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15594         Remove redundant #if.
15595         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15596         Remove variable.
15597         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15598         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15600         [BZ #18495]
15601         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15602         (__iswlower): Likewise.
15603         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15604         (__iswlower): Likewise.
15605         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15606         instead of towlower.
15607         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15608         instead of iswlower.  Call __towupper instead of towupper.
15609         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15610         instead of iswalnum.
15612 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15614         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15615         errors to stderr.
15617 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15619         [BZ #15661]
15620         [BZ #17322]
15621         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15622         Check for overflow properly.  Check for O_APPEND.  Ignore large
15623         file system block sizes.  Add comments about problems.
15624         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15625         * manual/filesys.texi (Storage Allocation): New node.
15627 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15629         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15630         cancellable syscalls.
15631         (SYS_ify): Add guard to no redefine it.
15632         (INLINE_SYSCALL): Likewise.
15633         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15634         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15635         SYSCALL_CANCEL instead.
15636         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15637         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15638         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15639         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15640         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15641         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15642         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15643         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15644         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15645         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15646         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15647         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15648         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15649         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15650         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15652         Likewise.
15653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15654         (__libc_pread64): Likewise.
15655         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15656         (__libc_preadv): Likewise.
15657         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15658         (__libc_readv64): Likewise.
15659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15660         (__libc_pwrite): Likewise.
15661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15662         (__libc_pwrite64): Likewise.
15663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15664         (__libc_pwritev): Likewise.
15665         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15666         (__libc_pwritev64): Likewise.
15667         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15668         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15669         (sync_file_range): Likewise.
15670         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15671         Likewise.
15672         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15675         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15676         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15677         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15678         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15679         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15680         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15681         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15683         Likewise.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15685         (__libc_read64): Likewise.
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15687         Likewise.
15688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15689         Likewise.
15690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15691         Likewise.
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15693         Likewise.
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15695         (__libc_pread64): Likewise.
15696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15697         Likewise.
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15699         (__libc_pwrite64): Likewise.
15700         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15701         (sync_file_range): Likewise.
15702         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15703         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15704         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15705         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15706         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15707         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15708         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15709         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15710         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15711         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15712         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15713         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15714         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15715         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15716         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15717         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15718         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15719         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15720         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15721         Likewise.
15722         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15723         Likewise.
15724         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15725         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15726         Likewise.
15727         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15728         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15729         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15730         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15731         Likewise.
15732         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15733         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15734         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15735         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15736         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15738 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15740         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15741         Include dl-vdso.
15742         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15743         Use VDSO routines for gettimeofday, clock_gettime if
15744         available.
15745         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15746         Declare VDSO symbols.
15747         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15748         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15749         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15750         * sysdeps/unix/sysv/linux/arm/Versions: Add
15751         __vdso_clock_gettime.
15753 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15755         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15756         be an inline implementation regardless of library is built within.
15757         (open_not_cancel_2): Likewise.
15758         (__read_nocancel): Likewise.
15759         (__write_nocancel): Likewise.
15760         (openat_not_cancel): Likewise.
15761         (openat_not_cancel_3): Likewise.
15762         (openat64_not_cancel): Likewise.
15763         (openat64_not_cancel_3): Likewise.
15764         (__close_nocancel): Likewise.
15765         (pause_not_cancel): Likewise.
15766         (nanosleep_not_cancel): Likewise.
15767         (sigsuspend_not_cancel): Likewise.
15769 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15771         [BZ #14958]
15772         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15773         wake-up.
15774         (__pthread_rwlock_rdlock_slow): Likewise.
15775         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15776         Likewise.
15777         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15778         Likewise.
15779         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15780         * nptl/tst-rwlock16.c: New file.
15781         * nptl/Makefile (tests): Add new test.
15783 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15785         [BZ #18324]
15786         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15787         missing wake-up of readers.
15788         * nptl/tst-rwlock15.c: New file.
15789         * nptl/Makefile (tests): Add new test.
15791 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15793         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15794         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15795         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15796         and __nacl_supply_interface_rtld.
15797         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15798         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15799         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15800         Add __nacl_supply_interface_rtld.
15801         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15803 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15805         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15806         isfinite.
15807         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15808         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15810 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15812         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15813         __signbit* with standard C99 macros.
15814         * math/e_exp10l.c: Likewise.
15815         * math/e_exp2l.c: Likewise.
15816         * math/e_scalb.c: Likewise.
15817         * math/e_scalbf.c: Likewise.
15818         * math/e_scalbl.c: Likewise.
15819         * math/s_ldexp.c: Likewise.
15820         * math/s_ldexpf.c: Likewise.
15821         * math/s_ldexpl.c: Likewise.
15822         * math/w_atan2.c: Likewise.
15823         * math/w_atan2f.c: Likewise.
15824         * math/w_atan2l.c: Likewise.
15825         * math/w_cosh.c: Likewise.
15826         * math/w_coshf.c: Likewise.
15827         * math/w_coshl.c: Likewise.
15828         * math/w_exp10.c: Likewise.
15829         * math/w_exp10f.c: Likewise.
15830         * math/w_exp10l.c: Likewise.
15831         * math/w_exp2.c: Likewise.
15832         * math/w_exp2f.c: Likewise.
15833         * math/w_exp2l.c: Likewise.
15834         * math/w_fmod.c: Likewise.
15835         * math/w_fmodf.c: Likewise.
15836         * math/w_fmodl.c: Likewise.
15837         * math/w_hypot.c: Likewise.
15838         * math/w_hypotf.c: Likewise.
15839         * math/w_hypotl.c: Likewise.
15840         * math/w_jnl.c: Likewise.
15841         * math/w_lgamma.c: Likewise.
15842         * math/w_lgamma_r.c: Likewise.
15843         * math/w_lgammaf.c: Likewise.
15844         * math/w_lgammaf_r.c: Likewise.
15845         * math/w_lgammal.c: Likewise.
15846         * math/w_lgammal_r.c: Likewise.
15847         * math/w_pow.c: Likewise.
15848         * math/w_powf.c: Likewise.
15849         * math/w_powl.c: Likewise.
15850         * math/w_remainder.c: Likewise.
15851         * math/w_remainderf.c: Likewise.
15852         * math/w_remainderl.c: Likewise.
15853         * math/w_scalb.c: Likewise.
15854         * math/w_scalbf.c: Likewise.
15855         * math/w_scalbl.c: Likewise.
15856         * math/w_scalbln.c: Likewise.
15857         * math/w_scalblnf.c: Likewise.
15858         * math/w_scalblnl.c: Likewise.
15859         * math/w_sinh.c: Likewise.
15860         * math/w_sinhf.c: Likewise.
15861         * math/w_sinhl.c: Likewise.
15862         * math/w_tgamma.c: Likewise.
15863         * math/w_tgammaf.c: Likewise.
15864         * math/w_tgammal.c: Likewise.
15865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15866         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15868         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15869         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15871         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15872         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15873         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15874         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15875         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15876         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15877         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15878         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15879         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15882         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15883         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15884         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15885         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15886         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15887         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15889         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15890         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15892         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15893         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15895         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15896         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15897         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15898         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15899         * stdio-common/printf_fp.c: Likewise.
15900         * stdio-common/printf_fphex.c: Likewise.
15901         * stdio-common/printf_size.c: Likewise.
15903 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15905         [BZ #18470]
15906         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15907         strnlen.
15908         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15909         Remove variable.
15910         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15911         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15912         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15913         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15914         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15915         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15916         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15917         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15918         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15919         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15921         [BZ #18468]
15922         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15923         weak alias of __wmemchr.  Use libc_hidden_weak.
15924         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15925         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15926         instead of wmemchr.
15928 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15930         [BZ #18383]
15931         * elf/tst-tlsalign-extern.c: New file.
15932         * elf/tst-tlsalign-extern-static.c: New file.
15933         * elf/tst-tlsalign-vars.c: New file.
15934         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15935         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15936         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15937         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15938         (test-xfail-tst-tlsalign-extern-static): New variable.
15940 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15942         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15943         Use variable name _sc_err instead of err.
15944         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15945         instead of ret.
15946         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15947         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15948         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15949         (INLINE_SYSCALL): Likewise.
15951         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15952         * include/string.h (__strnlen): Use libc_hidden_proto.
15953         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15954         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15955         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15956         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15957         (libc_hidden_def): Undefine and redefine.
15958         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15959         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15960         __GI_strnlen.
15961         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15962         libc_hidden_def.
15963         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15965         [BZ #18469]
15966         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15967         weak alias of __towlower.  Use libc_hidden_weak.
15968         (towupper): Rename to __towupper and define as weak alias of
15969         __towupper.  Use libc_hidden_weak.
15970         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15971         (__towupper): Likewise.
15972         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15973         __towlower instead of towlower.
15975 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15977         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15978         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15980 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15982         * sysdeps/aarch64/libm-test-ulps: Update.
15984 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15986         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15987         Define.
15988         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15990         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15991         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15992         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15993         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15994         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15996 2015-06-01  Martin Sebor  <msebor@redhat.com>
15998         [BZ #18116]
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16000         (__setcontext): Use extended four-operand version of mtsf whenever
16001         possible.
16002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16003         (__novec_swapcontext): Likewise.
16005 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16007         * benchtests/scripts/compare_bench.py: New file.
16008         * benchtests/scripts/import_bench.py (mean): New function.
16009         (split_list): Likewise.
16010         (do_for_all_timings): Likewise.
16011         (compress_timings): Likewise.
16013         * benchtests/scripts/import_bench.py: New file.
16014         * benchtests/scripts/validate_benchout.py: Import import_bench
16015         instead of jsonschema.
16016         (validate_bench): Remove function.
16017         (main): Use import_bench.
16019 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16021         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16022         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16024 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16028 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16030         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16031         set THREAD_SELF->tid to a magic value and futex-wake it.
16032         Pass its address to the thread_exit system call.
16033         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16034         bit is clear.
16035         * sysdeps/nacl/lowlevellock.h: New file.
16036         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16038         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16039         Add TIMEOUT to current time, don't subtract it.
16041 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16043         [BZ #2981]
16044         [BZ #18422]
16045         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16046         ($(objpfx)tst-audit2.out): Also depend on
16047         $(objpfx)tst-auditmod9b.so.
16048         * elf/tst-audit2.c: Include <dlfcn.h>.
16049         (calloc_called): New.
16050         (calloc): Allow to be called more than once.
16051         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16053 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16055         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16056         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16058 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16060         * stdlib/monetary.h: Fix comment.
16062 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16064         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16065         Avoid using variables in #defines that might cause shadowing.
16066         (INTERNAL_VSYSCALL_CALL): Likewise.
16068 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16070         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16072         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16073         * nptl/lll_timedlock_wait.c: ... to this new file.
16074         * nptl/Makefile (libpthread-routines): Add it.
16075         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16076         * nptl/lll_timedwait_tid.c: ... to this new file.
16077         * nptl/Makefile (libpthread-routines): Add it.
16078         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16079         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16080         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16081         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16082         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16083         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16084         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16085         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16086         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16087         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16089 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16091         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16092         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16093         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16095         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16099         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16100         * sysdeps/unix/sysv/linux/tile/sysdep.h
16101         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16102         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16103         using vDSO syscall macro.
16105 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16107         [BZ #17293]
16108         * uk_UA: Fix sorting order for Ukrainian locale
16110 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16112         * stdlib/monetary.h: Fix comment.
16114 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16116         [BZ #18234]
16117         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16118         st_mtim and st_ctim members.
16119         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16120         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16121         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16122         (struct stat64): Likewise.
16123         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16124         (struct stat64): Likewise.
16125         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16126         (struct stat64): Likewise.
16128 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16130         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16131         Define and include sysdep-vdso.h.
16132         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16133         Likewise.
16134         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16135         Likewise.
16136         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16137         Define with VDSO_SYMBOL and use PTR_MANGLE.
16138         (__vdso_clock_gettime): Likewise.
16139         (__vdso_clock_getres): Likewise.
16140         (_libc_vdso_platform_setup): Likewise.
16141         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16142         Likewise.
16143         (_libc_vdso_platform_setup): Likewise.
16144         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16145         Likewise.
16146         (__vdso_clock_gettime): Likewise.
16147         (__vdso_clock_getres): Likewise.
16148         (__vdso_get_tbfreq): Likewise.
16149         (__vdso_getcpu): Likewise.
16150         (__vdso_time): Likewise.
16151         (__vdso_sigtramp_rt64): Likewise.
16152         (__vdso_signtramp32): Likewise.
16153         (__vdso_sigtramp_rt32): Likewise.
16154         (_libc_vdso_platform_setup): Likewise.
16155         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16156         Likewise.
16157         (__vdso_clock_gettime): Likewise.
16158         (__vdso_clock_getres): Likewise.
16159         (_libc_vdso_platform_setup): Likewise.
16160         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16161         Likewise.
16162         (__vdso_clock_gettime): Likewise.
16163         (_libc_vdso_platform_setup): Likewise.
16164         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16165         Likewise.
16166         (__vdso_getcpu): Likewise.
16167         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16168         Use VDSO_SYMBOL macro to define.
16169         (__vdso_clock_gettime): Likewise.
16170         (__vdso_clock_getres): Likewise.
16171         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16172         Likewise.
16173         (__vdso_clock_gettime): Likewise.
16174         (__vdso_clock_getres): Likewise.
16175         (__vdso_get_tbfreq): Likewise.
16176         (__vdso_getcpu): Likewise.
16177         (__vdso_time): Likewise.
16178         (__vdso_sigtramp_rt64): Likewise.
16179         (__vdso_signtramp32): Likewise.
16180         (__vdso_sigtramp_rt32): Likewise.
16181         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16182         Likewise.
16183         (__vdso_clock_gettime): Likewise.
16184         (__vdso_clock_getres): Likewise.
16185         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16186         Likewise.
16187         (__vdso_clock_gettime): Likewise.
16188         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16189         Likewise.
16190         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16191         macro.
16192         (INTERNAL_VSYSCALL): Likewise.
16193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16194         Remove macro.
16195         (INTERNAL_VSYSCALL): Likewise.
16196         (INTERNAL_VSYSCALL_NCS): Likewise.
16197         (INTERNAL_VSYSCALL_CALL): New macro.
16198         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16200         Likewise.
16201         (INTERNAL_VSYSCALL): Likewise.
16202         (INTERNAL_VSYSCALL_NCS): Likewise.
16203         (INTERNAL_VSYSCALL_CALL): New macro.
16204         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16206         (INLINE_VSYSCALL): Remove macro.
16207         (INTERNAL_VSYSCALL): Remove macro.
16208         (INTERNAL_VSYSCALL_NCS): Remove macro.
16209         (INTERNAL_VSYSCALL_CALL): New macro.
16210         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16211         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16212         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16213         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16214         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16216         (INLINE_VSYSCALL): Remove macro.
16217         (INTERNAL_VSYSCALL): Likewise.
16218         (INTERNAL_VSYSCALL_NCS): Likewise.
16219         (INTERNAL_VSYSCALL_CALL): New macro.
16220         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16221         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16222         PTR_DEMANGLE on vDSO pointer.
16223         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16224         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16225         macro.
16226         (INTERNAL_SYSCALL): Likewise.
16227         (INTERNAL_VSYSCALL_NCS): Remove macro.
16228         (INTERNAL_VSYSCALL_CALL): New macro.
16229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16230         Remove macro.
16231         (INTERNAL_VSYSCALL): Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16233         sysdep-vdso.h instead of libc-vdso.h.
16234         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16235         definition.
16236         (INLINE_VSYSCALL): Likewise.
16237         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16238         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16239         definition.
16240         (INLINE_VSYSCALL): Likewise.
16241         (INTERNAL_VSYSCALL): Likewise.
16242         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16243         * sysdeps/unix/sysv/linux/timespec_get.c
16244         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16245         (timespec_get): Use ANSI prototype.
16246         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16247         and definition for Linux.
16249 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16251         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16252         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16254 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16256         [BZ #2981]
16257         [BZ #18410]
16258         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16259         for missing DT_PLTRELSZ.
16261 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16263         Remove obsolete aliases that broke 'locale -a'
16264         [BZ #18412]
16265         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16266         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16267         breaking some applications that use 'locale -a' output.
16268         Change the encoding of this file from Latin-1 to ASCII to avoid
16269         other potential problems with people grepping this file.
16271 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16273         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16274         -fasynchronous-unwind-tables.
16275         (CFLAGS-sendto.c): Likewise.
16276         (CFLAGS-sendmsg.c): Likewise.
16277         (CFLAGS-connect.c): Likewise.
16278         (CFLAGS-recvmsg.c): Likewise.
16279         (CFLAGS-recvfrom.c): Likewise.
16280         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16281         (SOCKETCALL): New macro: non-cancellable socketcall.
16282         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16283         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16284         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16285         * sysdeps/unix/sysv/linux/accept.c: New file.
16286         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16287         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16288         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16289         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16290         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16291         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16292         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16293         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16294         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16295         * sysdeps/unix/sysv/linux/send.c: Likewise.
16296         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16297         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16298         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16299         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16300         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16301         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16302         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16303         prototype.
16304         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16305         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16306         instead of __internal_xxx function.
16307         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16308         prototype.
16309         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16310         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16311         instead of __internal_xxx function.
16312         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16313         prototype.
16314         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16315         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16316         instead of __internal_xxx function.
16317         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16318         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16319         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16320         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16321         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16322         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16323         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16324         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16325         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16326         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16327         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16328         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16329         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16330         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16331         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16332         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16333         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16334         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16335         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16336         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16339         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16340         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16341         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16342         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16343         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16344         * sysdeps/unix/sysv/linux/send.S: Likewise.
16345         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16346         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16347         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16348         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16349         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16350         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16351         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16352         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16353         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16354         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16355         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16356         socketcall is implemented in GLIBC.
16358 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16360         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16361         (__fma): Ignore uninitialized warnings around packing.
16362         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16363         (__fmaf): Ignore uninitialized warnings around packing.
16364         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16365         (__fmal): Ignore uninitialized warnings around packing.
16367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16368         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16369         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16370         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16372         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16373         switch statement into default case.
16374         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16376         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16377         a conditional in forcing "inexact".
16378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16379         Likewise.
16381 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16383         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16384         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16385         for each INTERNAL_SYSCALL use.
16387 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16389         [BZ #438]
16390         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16391         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16392         variable.
16394         [BZ #18444]
16395         * string/basename.c (basename): Rename to __basename and define as
16396         weak alias of __basename.  Use libc_hidden_weak.
16397         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16398         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16399         __basename instead of basename.
16400         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16401         Remove variable.
16402         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16404 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16406         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16407         (_IO_JUMPS_FILE_plus): New.
16408         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16409         _IO_CAST_FIELD_ACCESS.
16410         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16411         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16412         * libio/freopen.c (freopen): Likewise.
16413         * libio/freopen64.c (freopen64): Likewise.
16414         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16415         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16416         * libio/iofwide.c (_IO_fwide): Likewise.
16417         * libio/memstream.c (open_memstream): Likewise.
16418         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16419         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16420         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16422 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16424         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16425         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16426         NADJ.
16427         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16428         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16429         NADJ.
16430         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16431         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16432         NADJ.
16434         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16435         (p == 4) case.
16437         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16438         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16439         Remove variable.
16440         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16441         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16442         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16444 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16446         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16447         Adjust jump table label generation macros.
16449 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16451         * stdio-common/vfprintf.c (vfprintf): Move local variables
16452         args_malloced, specs, specs_malloced, and the code after
16453         do_positional to the printf_positional function.
16454         (printf_positional): New function.
16456 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16458         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16459         function.
16460         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16461         STEP4_TABLE, process_arg): Move macro definitions
16462         out of the vfprintf function.  (Cosmetic change only.)
16464 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16466         * benchtests/Makefile (stdio-common-bench): Define.
16467         (benchset): Add stdio-common-bench.
16468         * sprintf-inputs: New file.
16469         * sprintf-source.c: New file.
16471 2015-05-21  Andreas Schwab  <schwab@suse.de>
16473         [BZ #13028]
16474         [BZ #17053]
16475         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16476         of struct __res_state.
16477         * resolv/res_send.c (__libc_res_nsend): Likewise.
16478         (get_nsaddr): New function.
16479         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16480         statp directly.
16482 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16484         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16485         -D_POSIX_C_SOURCE=199506L.
16487         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16489         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16490         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16491         Do not mention otherwise.
16492         [POSIX] (_XOPEN_VERSION): Do not expect.
16493         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16494         [POSIX] (_POSIX2_C_BIND): Likewise.
16495         [POSIX] (_POSIX2_VERSION): Likewise.
16496         [POSIX] (_XOPEN_XPG2): Likewise.
16497         [POSIX] (_XOPEN_XPG3): Likewise.
16498         [POSIX] (_XOPEN_XPG4): Likewise.
16499         [POSIX] (_XOPEN_UNIX): Likewise.
16500         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16501         [POSIX] (_POSIX_BARRIERS): Likewise.
16502         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16503         [POSIX] (_POSIX_CPUTIME): Likewise.
16504         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16505         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16506         [POSIX] (_POSIX_SHELL): Likewise.
16507         [POSIX] (_POSIX_SPAWN): Likewise.
16508         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16509         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16510         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16511         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16512         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16513         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16514         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16515         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16516         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16517         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16518         [POSIX] (_POSIX2_PBS): Likewise.
16519         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16520         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16521         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16522         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16523         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16524         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16525         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16526         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16527         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16528         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16529         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16530         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16531         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16532         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16533         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16534         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16535         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16536         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16537         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16538         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16539         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16540         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16541         [POSIX] (_SC_2_C_BIND): Likewise.
16542         [POSIX] (_SC_2_C_VERSION): Likewise.
16543         [POSIX] (_SC_2_PBS): Likewise.
16544         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16545         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16546         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16547         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16548         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16549         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16550         [POSIX] (_SC_BARRIERS): Likewise.
16551         [POSIX] (_SC_BASE): Likewise.
16552         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16553         [POSIX] (_SC_DEVICE_IO): Likewise.
16554         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16555         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16556         [POSIX] (_SC_FD_MGMT): Likewise.
16557         [POSIX] (_SC_FIFO): Likewise.
16558         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16559         [POSIX] (_SC_FILE_LOCKING): Likewise.
16560         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16561         [POSIX] (_SC_IOV_MAX): Likewise.
16562         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16563         [POSIX] (_SC_NETWORKING): Likewise.
16564         [POSIX] (_SC_PAGE_SIZE): Likewise.
16565         [POSIX] (_SC_PASS_MAX): Likewise.
16566         [POSIX] (_SC_PIPE): Likewise.
16567         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16568         [POSIX] (_SC_REGEXP): Likewise.
16569         [POSIX] (_SC_SHELL): Likewise.
16570         [POSIX] (_SC_SIGNALS): Likewise.
16571         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16572         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16573         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16574         [POSIX] (_SC_USER_GROUPS): Likewise.
16575         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16576         [POSIX] (_SC_STREAMS): Likewise.
16577         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16578         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16579         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16580         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16581         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16582         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16583         [POSIX] (_PC_FILESIZEBITS): Likewise.
16584         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16585         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16586         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16587         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16588         [POSIX] (uid_t): Likewise.
16589         [POSIX] (gid_t): Likewise.
16590         [POSIX] (off_t): Likewise.
16591         [POSIX] (pid_t): Likewise.
16592         [POSIX] (cuserid): Allow.
16593         (_SC_2_CHAR_TERM): Require constant.
16594         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16595         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16596         variable.
16598 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16600         * sysdeps/nacl/pthread-pids.h: New file.
16601         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16602         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16604         * nptl/pthread-pids.h: New file.
16605         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16606         * nptl/nptl-init.c: Include <pthread-pids.h>.
16607         (__pthread_initialize_minimal_internal):
16608         Call __pthread_initialize_pids instead of set_tid_address syscall.
16610         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16611         * sysdeps/posix/usleep.c: ... here.
16613 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16615         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16616         call_pselect6 object.
16617         [$(subdir) = io]: Remove call_sync_file_range object.
16618         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16619         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16620         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16621         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16623 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16625         * math/s_cproj.c: Add include "math_private.h".
16626         * math/s_cprojf.c: Likewise.
16627         * math/s_cprojl.c: Likewise.
16629 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #18244]
16632         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16633         high mantissa bit when testing whether P is a NaN.
16634         * math/libm-test.inc (remainder_test_data): Add more tests.
16635         (remquo_test_data): Likewise.
16637         [BZ #18049]
16638         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16639         below -32, return the argument, with underflow if subnormal.
16640         * math/auto-libm-test-in: Add more tests of atanh.
16641         * math/auto-libm-test-out: Regenerated.
16643 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16645         [BZ #18434]
16646         * nptl/tst-sem15.c: New file.
16647         * nptl/Makefile (tests): Add it.
16648         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16649         s/<</>>/ to fix typo in EOVERFLOW check.
16650         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16652 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16654         * manual/strings.texi (envz_remove): Fix typo in safety
16655         annotations.
16657 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16658             Steve Ellcey  <sellcey@imgtec.com>
16660         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16661         in order to avoid strict alias warnings.
16662         (iruserok_af): Ditto for ra.
16664 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16666         [BZ #17581]
16667         * malloc/hooks.c
16668         (magicbyte): Convert to a function and avoid returning 0x01.
16669         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16670         (mem2chunk_check): Fix unsigned comparisons to zero.
16671         Hoist defs of sz and magic.
16673 2015-05-19  Richard Henderson  <rth@redhat.com>
16675         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16677         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16679 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16681         [BZ #16159]
16682         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16683         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16684         (reused_arena): Find a non-corrupt arena.
16685         (heap_trim): Pass arena to unlink.
16686         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16687         malloc_printerr.
16688         (top_check): Likewise.
16689         (free_check): Likewise.
16690         (realloc_check): Likewise.
16691         * malloc/malloc.c (malloc_printerr): Add arena argument.
16692         (unlink): Likewise.
16693         (munmap_chunk): Adjust.
16694         (ARENA_CORRUPTION_BIT): New macro.
16695         (arena_is_corrupt): Likewise.
16696         (set_arena_corrupt): Likewise.
16697         (sysmalloc): Use mmap if there are no usable arenas.
16698         (_int_malloc): Likewise.
16699         (__libc_malloc): Don't fail if arena_get returns NULL.
16700         (_mid_memalign): Likewise.
16701         (__libc_calloc): Likewise.
16702         (__libc_realloc): Adjust for additional argument to
16703         malloc_printerr.
16704         (_int_free): Likewise.
16705         (malloc_consolidate): Likewise.
16706         (_int_realloc): Likewise.
16707         (_int_memalign): Don't touch corrupt arenas.
16708         * malloc/tst-malloc-backtrace.c: New test case.
16710         * Makefile (summarize-tests): Fix return value on success.
16712         * manual/string.texi (Envz Functions): Add envz_remove.
16714 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16716         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16717         (invalid_name): New function, broken out of ...
16718         (__opendirat): ... here.  Call it.
16719         (need_isdir_precheck): New function, broken out of ...
16720         (__opendirat): ... here.  Call it.
16721         Use __fxstatat64, not __xstatat64.
16722         (opendir_oflags): New function, broken out of ...
16723         (__opendirat): ... here.  Call it.
16724         (opendir_tail): New function, broken out of ...
16725         (__opendirat): ... here.  Call it.
16726         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16727         opendir_tail, rather than punting to __opendirat.
16728         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16730 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16732         * .gitignore: Ignore generated *.pyc.
16734 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16736         * include/stdio.h: Define __need_wint_t.
16737         * test-skeleton.c: Avoid `for' loop initial declaration.
16738         * nptl/tst-initializers1.c: Use test-skeleton.c.
16740 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16742         [BZ #18418]
16743         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16745 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16747         [BZ #16352]
16748         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16749         (__ieee754_atanh): Force underflow exception for results with
16750         small absolute value.
16751         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16752         (__ieee754_atanhf): Force underflow exception for results with
16753         small absolute value.
16754         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16755         (__ieee754_atanh): Force underflow exception for results with
16756         small absolute value.
16757         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16758         (__ieee754_atanhf): Force underflow exception for results with
16759         small absolute value.
16760         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16761         (__ieee754_atanhl): Force underflow exception for results with
16762         small absolute value.
16763         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16764         (__ieee754_atanhl): Force underflow exception for results with
16765         small absolute value.
16766         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16767         (__ieee754_atanhl): Force underflow exception for results with
16768         small absolute value.
16769         * math/auto-libm-test-in: Do not allow missing underflow
16770         exceptions from atanh.
16771         * math/auto-libm-test-out: Regenerated.
16773         [BZ #18221]
16774         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16775         2**-28 as threshold for returning x or +/- 1/x.
16776         * math/auto-libm-test-in: Add more tests of tan.
16777         * math/auto-libm-test-out: Regenerated.
16779         [BZ #18220]
16780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16781         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16782         * math/auto-libm-test-in: Add another test of lgamma.
16783         * math/auto-libm-test-out: Regenerated.
16785 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16787         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16788         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16789         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16790         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16791         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16792         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16793         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16796         (log1): Use fabs.  (my_log2): Use fabs.
16797         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16798         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16800         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16802         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16803         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16804         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16805         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16806         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16807         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16809 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16811         [BZ #18217]
16812         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16813         as threshold for returning 1 - x.
16814         * math/auto-libm-test-in: Add more tests of erfc.
16815         * math/auto-libm-test-out: Regenerated.
16817 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16819         [BZ #18196]
16820         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16821         threshold for large arguments.
16822         * math/auto-libm-test-in: Add another test of atan.
16823         * math/auto-libm-test-out: Regenerated.
16825         [BZ #16339]
16826         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16827         (__log1p): Force underflow exception for results with small
16828         absolute value.
16829         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16830         (__log1pf): Force underflow exception for results with small
16831         absolute value.
16832         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16833         (__log1p): Force underflow exception for results with small
16834         absolute value.
16835         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16836         (__log1pf): Force underflow exception for results with small
16837         absolute value.
16838         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16839         (__log1pl): Force underflow exception for results with small
16840         absolute value.
16841         * math/auto-libm-test-in: Do not allow missing underflow
16842         exceptions from log1p.
16843         * math/auto-libm-test-out: Regenerated.
16845 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16846             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16848         [BZ #16704]
16849         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16851 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16853         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16854         (libmvec): New variable.
16855         * configure.ac: Added option for mathvec build.
16856         * configure: Regenerated.
16857         * mathvec/Depend: New file.
16858         * mathvec/Makefile: New file.
16859         * shlib-versions: Added libmvec.
16860         * math/Makefile: Added rule for libm.so installation.
16862         * bits/math-vector.h: New file.
16863         * bits/libm-simd-decl-stubs.h: New header.
16864         * math/Makefile (headers): Added new header
16865         libm-simd-decl-stubs.h.
16866         * math/math.h (__MATHCALL_VEC): New macro.
16868         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16869         for conditions in testing functions.
16870         * math/Makefile: Added call of libm-have-vector-test.sh.
16871         * math/libm-test.inc (HAVE_VECTOR): New macros.
16873         * math/libm-test.inc: START refactored.
16874         * math/test-double.c (TEST_MATHVEC): Add define.
16875         * math/test-float.c: Likewise.
16876         * math/test-idouble.c: Likewise.
16877         * math/test-ifloat.c: Likewise.
16878         * math/test-ildoubl.c: Likewise.
16879         * math/test-ldouble.c: Likewise.
16880         * sysdeps/generic/math-tests-arch.h
16881         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16882         architecture check.
16884         * math/test-double.c (FUNC_TEST): New macro.
16885         * math/test-float.c: Likewise.
16886         * math/test-idouble.c: Likewise.
16887         * math/test-ifloat.c: Likewise.
16888         * math/test-ildoubl.c: Likewise.
16889         * math/test-ldouble.c: Likewise.
16890         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16892 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16894         * sysdeps/nacl/fdopendir.c: New file.
16896         * dirent/scandir-tail.c: New file.
16897         * dirent/scandir64-tail.c: New file.
16898         * dirent/Makefile (routines): Add them.
16899         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16900         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16901         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16902         [!SCANDIR] (SCANDIR_TAIL): New macro.
16903         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16904         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16905         (SCANDIRAT): Macro removed.
16906         (SCANDIR_TAIL): New macro.
16907         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16908         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16909         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16910         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16911         (READDIR): Macro removed.
16912         (SCANDIR_TAIL): New macro.
16913         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16914         (SCANDIR_TAIL): New macro.
16916         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16917         * dirent/scandir-cancel.c: ... to this new file.
16918         * dirent/Makefile (routines): Add it.
16919         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16920         * sysdeps/unix/sysv/linux/i386/scandir64.c
16921         (SKIP_SCANDIR_CANCEL): Macro removed.
16922         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16924         * dirent/tst-scandir.c: New file.
16925         * dirent/tst-scandir64.c: New file.
16926         * dirent/Makefile (tests): Add them.
16928 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16930         [BZ #18409]
16931         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16933 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16935         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16936         list.
16938 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16940         * benchtests/bench-strcoll.c: New benchmark.
16941         * benchtests/Makefile: Generate locales and run benchmark.
16942         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16943         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16944         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16945         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16946         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16947         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16948         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16949         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16950         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16951         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16952         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16953         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16954         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16955         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16956         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16957         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16958         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16959         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16960         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16961         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16962         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16963         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16964         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16965         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16967 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16969         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16970         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16972 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16974         * posix/uname-values.h: New file.
16975         * posix/uname.c: Include that instead of <config-name.h>.
16976         * sysdeps/nacl/uname-values.h: New file.
16977         * sysdeps/arm/nacl/uname-values.h: New file.
16979 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16981         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16982         splitting into fields.
16984 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16986         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16987         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16988         * locale/localeinfo.h: Add enum collation_encoding_type.
16989         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16990         * programs/ld-collate.c (collate_output): Add encoding type info.
16991         * string/strcoll_l.c (STRDIFF): New function.
16992         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16993         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16995 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16997         [BZ #18397]
16998         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16999         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17000         <fpu_control.h> instead of <math/fpu_control.c>.
17001         * sysdeps/mips/mips32/fpu/Makefile: New file.
17003 2015-05-11  Andreas Schwab  <schwab@suse.de>
17005         [BZ #18007]
17006         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17007         nss_endgrent.
17008         (_nss_compat_endgrent): Call nss_endgrent.
17009         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17010         nss_endpwent.
17011         (_nss_compat_endpwent): Call nss_endpwent.
17012         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17013         needent, call nss_setspent only if non-zero.
17014         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17015         (internal_endspent): Don't call nss_endspent.
17016         (_nss_compat_endspent): Call nss_endspent.
17017         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17018         Remove.  All uses removed.
17019         (internal_setent): Remove parameter stayopen, add parameter
17020         stream.  Use it instead of global variable.
17021         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17022         (internal_endent, internal_getent): Add parameter stream.  Use it
17023         instead of global variable.
17024         (CONCAT(_nss_files_end,ENTNAME))
17025         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17026         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17027         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17028         uses removed.
17029         (internal_setent, internal_endent): Add parameter stream.  Use it
17030         instead of global variable.
17031         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17032         stream.
17033         (get_next_alias): Add parameter stream.
17034         (_nss_files_getaliasent_r): Pass global stream.
17035         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17036         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17037         (_nss_files_gethostbyname4_r): Pass local stream to
17038         internal_setent, internal_getent and internal_endent.  Remove
17039         locking.
17041 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17043         * tst-strfmon1.c (tests): Update expected currency symbol.
17045 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17047         * sysdeps/nacl/gethostname.c: New file.
17049 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17051         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17052         and sinh.
17053         * math/auto-libm-test-out: Regenerated.
17054         * sysdeps/i386/fpu/libm-test-ulps: Update.
17055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17057 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17059         [BZ #18125]
17060         * stdlib/tst-setcontext3.c: New file.
17061         * stdlib/tst-setcontext3.sh: New file.
17062         * stdlib/Makefile (tests): Add tst-setcontext3.
17063         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17064         to verify test program created output file.
17065         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17066         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17067         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17068         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17070 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17072         [BZ #18383]
17073         * elf/tst-tlsalign.c: New file.
17074         * elf/tst-tlsalign-static.c: New file.
17075         * elf/tst-tlsalign-lib.c: New file.
17076         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17077         (tests-static): Add tst-tlsalign-static.
17078         (modules-names): Add tst-tlsalign-lib.
17079         (test-xfail-tst-tlsalign): New variable.
17080         (test-xfail-tst-tlsalign-static): New variable.
17082         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17083         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17085 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17087         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17088         csqrt, erfc, sin and sincos.
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-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17095         * sysdeps/aarch64/libm-test-ulps: Update.
17097 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17099         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17100         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17101         * math/auto-libm-test-out: Regenerated.
17102         * sysdeps/i386/fpu/libm-test-ulps: Update.
17103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17107         [BZ #18265]
17108         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17109         (wcsncpy): Likewise.
17111 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17113         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17114         Assume __ASSUME_FALLOCATE is always true.
17115         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17116         (__posix_fallocate64_l64): Likweise.
17117         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17118         (posix_fallocate): Likewise.
17119         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17120         (__posix_fallocate64_l64): Likewise.
17121         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17122         [!__ASSUME_FALLOCATE]: Add comment.
17124 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17126         * sysdeps/unix/sysv/linux/i386/Makefile
17127         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17128         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17129         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17130         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17131         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17132         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17133         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17135 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17137         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17138         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17139         tgamma.
17140         * math/auto-libm-test-out: Regenerated.
17141         * sysdeps/i386/fpu/libm-test-ulps: Update.
17142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17144 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17146         * math/auto-libm-test-in: Add more tests of tgamma.
17147         * math/auto-libm-test-out: Regenerated.
17148         * sysdeps/i386/fpu/libm-test-ulps: Update.
17149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17151         * math/auto-libm-test-in: Add more tests of tanh.
17152         * math/auto-libm-test-out: Regenerated.
17153         * sysdeps/i386/fpu/libm-test-ulps: Update.
17154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17156         * math/auto-libm-test-in: Add more tests of tan.
17157         * math/auto-libm-test-out: Regenerated.
17158         * sysdeps/i386/fpu/libm-test-ulps: Update.
17159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17161         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17162         * math/auto-libm-test-out: Regenerated.
17163         * sysdeps/i386/fpu/libm-test-ulps: Update.
17164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17166         * math/auto-libm-test-in: Add another test of pow.
17167         * math/auto-libm-test-out: Regenerated.
17168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17170         * math/auto-libm-test-in: Add more tests of lgamma.
17171         * math/auto-libm-test-out: Regenerated.
17172         * sysdeps/i386/fpu/libm-test-ulps: Update.
17173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17176         log1p.
17177         * math/auto-libm-test-out: Regenerated.
17178         * sysdeps/i386/fpu/libm-test-ulps: Update.
17179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17183         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17184         Elf64_Chdr structs and ELFCOMPRESS constants.
17186 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17188         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17189         expm1.
17190         * math/auto-libm-test-out: Regenerated.
17191         * sysdeps/i386/fpu/libm-test-ulps: Update.
17192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17194         * math/auto-libm-test-in: Add more tests of erf and erfc.
17195         * math/auto-libm-test-out: Regenerated.
17196         * sysdeps/i386/fpu/libm-test-ulps: Update.
17197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17201         * config.h.in (HAVE_AARCH64_BE): Add.
17203 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17205         * math/auto-libm-test-in: Add more tests of csqrt.
17206         * math/auto-libm-test-out: Regenerated.
17207         * sysdeps/i386/fpu/libm-test-ulps: Update.
17208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17210         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17211         * math/auto-libm-test-out: Regenerated.
17212         * sysdeps/i386/fpu/libm-test-ulps: Update.
17213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17215         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17217 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17219         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17220         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17222         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17223         (euidaccess, eaccess): Define as weak aliases.
17225         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17226         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17227         but __suseconds_t is often 'long int' so some sources assume that
17228         type is being used (e.g. they use %ld to print tv_usec).
17230 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17232         [BZ #18007]
17233         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17234         (CVE-2014-8121)
17235         * nss/tst-nss-getpwent.c: New file.
17236         * nss/Makefile (tests): Add new test.
17238 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17240         [BZ #18346]
17241         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17242         exponents less than 48 as cases where high part of mantissa needs
17243         examining to determine whether argument is integral.
17244         * math/libm-test.inc (round_test_data): Add more tests.
17246 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17248         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17250 2015-04-27  David S. Miller  <davem@davemloft.net>
17252         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17253         __tls_get_addr.
17254         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17256 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17258         [BZ#18333]
17259         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17261 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17263         [BZ#18333]
17264         * time/tzset.c (parse_tzname): Return error on memory allocation
17265         failure.
17266         * test-skeleton.c (struct temp_name_list): Change type of name
17267         member to non-const.
17268         (add_temp_file): Create a copy of the file name.
17269         (delete_temp_files): Deallocate memory.
17270         (create_temp_file): Add comment.
17272 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17274         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17275         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17277 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17279         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17280         * sysdeps/arm/configure: Regenerated.
17282 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17284         [BZ #17715]
17285         * time/tzfile.c (__tzfile_read): Check for large values of
17286         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17287         * time/tzset.c (__tzstring_len): New function, based on the old
17288         __tzstring function.
17289         (__tzstring): Call __tzstring_len.
17290         (parse_tzname): New helper function extracted from
17291         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17292         the input string.
17293         (parse_offset): New helper function extracted from
17294         __tzset_parse_tz.  Replace switch with fallthrough with
17295         initialization before sscanf.
17296         (parse_rule): Likewise.
17297         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17298         new-style function definition.
17299         * timezone/Makefile (tests): Add tst-tzset.
17300         (tst-tzset.out): Dependencies on time zone files.
17301         (tst-tzset-ENV): Set TZDIR.
17302         (testdata/XT%): Copy crafted time zone files.
17303         * timezone/README: Mention crafted time zone files.
17304         * timezone/testdata/XT1, timezone/testdata/XT2,
17305         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17306         files.
17307         * timezone/tst-tzset.c: New test.
17309 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17311         * Makeconfig (+gccwarn): Remove -Winline.
17313 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17315         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17317 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17319         * NEWS: Mention sysconf() cache information support for s390.
17320         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17322 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17324         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17325         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17326         (__nearbyint): Likewise.
17327         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17328         (copysignl): Likewise.
17330 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17332         [BZ #18287]
17333         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17334         based on padding.  (CVE-2015-1781)
17336 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17338         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17339         libc-vdso.h.
17340         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17341         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17342         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17343         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17344         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17345         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17346         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17347         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17348         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17349         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17350         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17351         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17352         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17353         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17354         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17355         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17356         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17358         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17359         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17360         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17361         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17362         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17364 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17366         * stdlib/setenv.c (__add_to_environ):
17367         Dump core quickly if setenv (..., NULL, ...) is called.
17368         This time, do it the right way, and pacify GCC with a pragma.
17370 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17372         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17373         IMAP->l_prev cannot be null, and #if out the code for the contrary
17374         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17375         believe that NS (&_dl_ns[NSID]) could point outside the array.
17377         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17378         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17379         before using NSID as an index.
17381 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17383         [BZ #17825]
17384         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17385         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17386         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17388 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17390         Add preliminary port to Google Native Client on ARM.
17391         * abi-tags (.*-.*-nacl.*): New entry.
17392         * sysdeps/arm/nacl: New directory.
17393         * sysdeps/nacl: New directory.
17395 2015-04-16  David S. Miller  <davem@davemloft.net>
17397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17398         lowlevellock-futex.h
17400 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17402         * sysdeps/tile/configure.ac: New file.
17403         * sysdeps/tile/configure: Regenerated.
17405 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17407         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17408         conditionals for weak_alias and libc_hidden_weak.
17409         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17410         libc_hidden_weak and weak_alias.
17411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17412         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17413         and weak_alias for static one.
17415 2015-04-15  David S. Miller  <davem@davemloft.net>
17417         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17419 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17421         [BZ #18206]
17422         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17423           Use signed comparision instead of substraction to avoid
17424           overflow bug.
17425         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17426           Take the sign of ret.
17427         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17428           Do not expect precise return values. Only the sign matters.
17429         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17430         * wcsmbs/test-wcsncmp.c: New File.
17431         * string/test-strncmp.c: Add wcsncmp support.
17433 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17435         [BZ #6792]
17436         * math/w_log1p.c: New file.
17437         * math/w_log1pf.c: Likewise.
17438         * math/w_log1pl.c: Likewise.
17439         * math/Makefile (libm-calls): Add w_log1p.
17440         * math/s_log1pl.c (log1pl): Remove weak_alias.
17441         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17442         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17443         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17444         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17445         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17446         [NO_LONG_DOUBLE] (log1pl): Likewise.
17447         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17448         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17449         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17450         (log1p): Remove long_double_symbol.
17451         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17452         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17453         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17454         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17455         remove weak_alias for corresponding log1p function.
17456         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17457         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17458         * sysdeps/ia64/fpu/w_log1p.c: New file.
17459         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17460         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17461         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17463 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17465         [BZ #18247]
17466         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17467         decimal exponent by 1.
17468         * stdlib/tst-strtod-round-data: Add more tests.
17469         * stdlib/tst-strtod-round.c (tests): Regenerated.
17471 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17473         * math/auto-libm-test-in: Add more tests of clog and clog10.
17474         * math/auto-libm-test-out: Regenerated.
17475         * sysdeps/i386/fpu/libm-test-ulps: Update.
17476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17478 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17480         * Makeconfig (module-cppflags): Exclude all .v.i files.
17481         (skip-module-cppflags): Variable removed.
17483         * configure.ac (libc_config_ok): Initialize before reading
17484         preconfigure scripts, not after.
17485         * configure: Regenerated.
17487         * test-skeleton.c (TIMEOUT): Move #define to top level.
17488         (main): Grok environment variable TEST_DIRECT.  If set, print
17489         test expectation details into that file and then behave as if
17490         given --direct.
17492 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17494         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17495         warning on 32-bit.
17497 2015-04-08  David S. Miller  <davem@davemloft.net>
17499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17501 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17503         * math/auto-libm-test-in: Add more tests of atanh.
17504         * math/auto-libm-test-out: Regenerated.
17505         * sysdeps/i386/fpu/libm-test-ulps: Update.
17506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17508         * math/auto-libm-test-in: Add more tests of atan.
17509         * math/auto-libm-test-out: Regenerated.
17510         * sysdeps/i386/fpu/libm-test-ulps: Update.
17511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17513 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17515         * elf/pldd.c (main): Rewrite to use struct
17516         scratch_buffer instead of extend_alloca.
17517         * elf/pldd-xx.c (find_maps): Likewise.
17518         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17519         <alloca.h>.
17520         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17521         scratch_buffer instead of extend_alloca.
17522         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17523         grp/compat-initgroups.c.
17524         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17525         Rewrite to use struct scratch_buffer instead of extend_alloca.
17526         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17527         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17529 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17531         * math/auto-libm-test-in: Add more tests of cbrt.
17532         * math/auto-libm-test-out: Regenerated.
17533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17535         * math/auto-libm-test-in: Add more tests of cabs.
17536         * math/auto-libm-test-out: Regenerated.
17537         * sysdeps/i386/fpu/libm-test-ulps: Update.
17538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17540         [BZ #18210]
17541         [BZ #18211]
17542         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17543         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17544         computations.
17545         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17546         clog10.
17547         * math/auto-libm-test-out: Regenerated.
17548         * sysdeps/i386/fpu/libm-test-ulps: Update.
17549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17551         [BZ #18197]
17552         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17553         (atan): Set FE_TONEAREST mode for internal computations.
17554         * math/auto-libm-test-in: Add more tests of atan.
17555         * math/auto-libm-test-out: Regenerated.
17557 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17559         [BZ #17930]
17560         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17562 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17564         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17566 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17568         * include/scratch_buffer.h: New file.
17569         * malloc/scratch_buffer_grow.c: Likewise.
17570         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17571         * malloc/scratch_buffer_set_array_size.c: Likewise.
17572         * malloc/tst-scratch_buffer.c: Likewise.
17573         * malloc/Makefile (routines): Add scratch_buffer_grow.
17574         (tests): Add test case.
17575         * malloc/Versions (GLIBC_PRIVATE): Export
17576         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17577         __libc_scratch_buffer_set_array_size.
17579 2015-04-06  Richard Henderson  <rth@redhat.com>
17581         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17582         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17584         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17585         unsigned int before printing.
17587 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17589         [BZ #17596]
17590         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17591         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17593 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17595         * include/libc-internal.h (libc_max_align_t): Define.
17597 2015-04-02  Andreas Schwab  <schwab@suse.de>
17599         [BZ #16850]
17600         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17602 2015-04-02  Mel Gorman  <mgorman@suse.de>
17604         [BZ #17195]
17605         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17606         as well as the main arena.
17608 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17610         [BZ #18185]
17611         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17612         sharing L2 cache to 2 for Silvermont/Knights Landing.
17614 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17616         [BZ #17711]
17617         * config.make.in (have-protected-data): New.
17618         * configure.ac: Check linker support for protected data symbol.
17619         * configure: Regenerated.
17620         * elf/Makefile (modules-names): Add tst-protected1moda and
17621         tst-protected1modb if $(have-protected-data) is yes.
17622         (tests): Add tst-protected1a and tst-protected1b if
17623         $(have-protected-data) is yes.
17624         ($(objpfx)tst-protected1a): New.
17625         ($(objpfx)tst-protected1b): Likewise.
17626         (tst-protected1modb.so-no-z-defs): Likewise.
17627         * elf/tst-protected1a.c: New file.
17628         * elf/tst-protected1b.c: Likewise.
17629         * elf/tst-protected1mod.h: Likewise.
17630         * elf/tst-protected1moda.c: Likewise.
17631         * elf/tst-protected1modb.c: Likewise.
17633 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17635         [BZ #17711]
17636         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17637         indicates it is called from do_lookup_x on relocation against
17638         protected data, skip the data definion in the executable from
17639         copy reloc.
17640         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17641         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17642         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17643         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17644         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17645         otherwise to 0.
17646         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17647         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17648         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17649         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17650         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17651         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17653 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17655         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17656         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17658 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17660         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17661         THREAD_SETMEM_NC.
17662         * sysdeps/x86_64/nptl/tls.h: Ditto.
17664 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17666         * dlfcn/tststatic.c (main): Converted to ...
17667         (do_test): ... this.
17668         (TEST_FUNCTION): New macro.
17669         Include test-skeleton.c.
17671 2015-03-26  Alan Modra  <amodra@gmail.com>
17673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17674         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17675         zero for undefined weak.
17676         (elf_machine_plt_conflict): Similarly.
17678 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17680         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17681         atanh.
17682         * math/auto-libm-test-out: Regenerated.
17683         * sysdeps/i386/fpu/libm-test-ulps: Update.
17684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17686         * math/auto-libm-test-in: Add another test of asin.
17687         * math/auto-libm-test-out: Regenerated.
17688         * sysdeps/i386/fpu/libm-test-ulps: Update.
17689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17691         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17692         Remove macro.
17693         (LLL_EBX_REG): Likewise.
17694         (LLL_ENTER_KERNEL): Likewise.
17696         * math/auto-libm-test-in: Add more tests of asin.
17697         * math/auto-libm-test-out: Regenerated.
17698         * sysdeps/i386/fpu/libm-test-ulps: Update.
17699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701         [BZ #18138]
17702         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17703         libc_do_syscall_args): New structure.
17704         (INTERNAL_SYSCALL_MAIN_0): New macro.
17705         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17706         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17707         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17708         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17709         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17710         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17711         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17712         Replace conditional definitions by conditional definitions of ....
17713         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17714         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17715         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17716         (libpthread-sysdep_routines): Add libc-do-syscall.
17717         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17719         to __NR_futex not 240.
17721 2015-03-25  Alan Modra  <amodra@gmail.com>
17723         * NEWS: Advertise TLS optimization.
17724         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17725         (DT_PPC_NUM): Increment.
17726         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17727         (CHECK_STATIC_TLS): Use here.
17728         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17729         TLS descriptors.
17730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17731         * sysdeps/powerpc/dl-tls.c: New file.
17732         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17733         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17734         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17735         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17740 2015-03-25  Alan Modra  <amodra@gmail.com>
17742         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17743         for overlapping .opd entries" to "support...".
17744         * sysdeps/powerpc/powerpc64/configure: Regenerate
17746 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17748         * math/auto-libm-test-in: Add more tests of acos.
17749         * math/auto-libm-test-out: Regenerated.
17750         * sysdeps/i386/fpu/libm-test-ulps: Update.
17751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17753         * math/auto-libm-test-in: Add more tests of expm1.
17754         * math/auto-libm-test-out: Regenerated.
17755         * sysdeps/i386/fpu/libm-test-ulps: Update.
17756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17760         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17761         * math/auto-libm-test-out: Regenerated.
17762         * sysdeps/i386/fpu/libm-test-ulps: Update.
17763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17768         * math/auto-libm-test-in: Add more tests of log2.
17769         * math/auto-libm-test-out: Regenerated.
17770         * sysdeps/i386/fpu/libm-test-ulps: Update.
17771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17773 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17775         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17776         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17777         _IO_IS_APPENDING bit in READ_WRITE instead.
17779 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17781         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17782         (__determine_cpumask_size): Replace extend_alloca with a
17783         variable-length array.  Do not treat res == 0 as an error.
17785 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17787         [BZ #18100]
17788         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17789         and integer overflow.
17790         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17791         (main): Add integer overflow tests.
17792         * manual/pattern.texi (Calling Wordexp): Document additional use
17793         for WRDE_SYNTAX.
17795 2015-03-23  Alan Modra  <amodra@gmail.com>
17797         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17798         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17799         and false branch of conditional.
17800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17801         Likewise.
17803 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17805         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17806         libc-modules.h
17807         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17808         unused declaration of _hurd_intr_rpc_msg_in_trap.
17809         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17810         defined instead of whether it is non-zero.
17811         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17812         input constraint instead of both input and output constraint.  Use ecx
17813         clobber instead of %ecx.
17814         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17815         mutex_unlock): Use a statement expression instead of an expression list.
17816         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17817         type to vm_size_t instead of vm_address_t.
17818         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17819         defined instead of whether it is non-zero.
17820         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17821         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17822         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17823         comparisons with mapaddr.
17824         * nscd/nscd-client.h: Include <time.h>.
17825         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17826         9th parameter to __vm_region instead of int.
17827         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17828         * scripts/check-local-headers.sh (exclude): Add device/,
17829         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17830         cthreads.h.
17832 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17834         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17835         to account for alignment padding.
17836         * sysdeps/arm/memmove.S: Likewise.
17838 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17840         * sysdeps/unix/sysv/linux/generic/README: New file.
17842 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17844         [BZ #18138]
17845         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17846         (futex_abstimed_wait)
17847         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17848         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17849         of lll_futex_timed_wait.
17851 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17853         [BZ #17542]
17854         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17856 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17858         [BZ #17090]
17859         [BZ #17620]
17860         [BZ #17621]
17861         [BZ #17628]
17862         * NEWS: Update.
17863         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17864         entries with Static TLS too.  Skip entries past the end of the
17865         allocated DTV, from Alan Modra.
17866         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17867         Static TLS DTV entry set up from...
17868         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17869         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17870         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17871         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17872         for Static TLS.
17873         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17874         that the slot we find is associated with the given map before
17875         using its generation count.
17876         * nptl_db/db_info.c: Include ldsodefs.h.
17877         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17878         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17879         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17880         (link_map::l_tls_offset): New struct field.
17881         (dtv_t::counter): Likewise.
17882         (rtld_global): New struct.
17883         (_rtld_global): New rtld variable.
17884         (dl_tls_dtv_slotinfo_list): New rtld global field.
17885         (dtv_slotinfo_list): New struct.
17886         (dtv_slotinfo): Likewise.
17887         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17888         (td_lookup): Rename to...
17889         (td_mod_lookup): ... this.  Use new mod parameter instead of
17890         LIBPTHREAD_SO.
17891         * nptl_db/td_thr_tlsbase.c: Include link.h.
17892         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17893         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17894         addresses even if the DTV is out of date or missing them.
17895         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17896         index zero-length arrays.
17897         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17898         (td_lookup): Make it a macro implemented in terms of...
17899         (td_mod_lookup): ... this declaration.
17900         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17901         (DB_MAIN_VARIABLE): Likewise.
17903 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17905         [BZ #18134]
17906         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17908 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17910         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17912 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17914         [BZ #18128]
17915         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17916         (atomic_add, atomic_increment_and_test)
17917         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17919 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17921         * stdlib/setenv.c (__add_to_environ):
17922         Dump core quickly if setenv (..., NULL, ...) is called.
17924 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17926         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17927         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17928         all the necessary asm magic in one place.
17929         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17930         using those.
17932 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17934         [BZ #14906]
17935         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17936         traced file mtime. Use consistent log message.
17937         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17938         (register_traced_file): Call install_watches. Always set mtime.
17939         (invalidate_cache): Iterate over all trace files. Call install_watches.
17940         (inotify_check_files): Don't inline. Handle watching parent
17941         directories and configuration file movement in and out.
17942         (handle_inotify_events): New function.
17943         (main_loop_poll): Call handle_inotify_events.
17944         (main_loop_epoll): Likewise.
17945         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17946         (struct traced_file): Use array of inotify fds. Add parent directory,
17947         and basename.
17948         (struct database_dyn): Remove unused file_mtime.
17949         (init_traced_file): New inline function.
17950         (define_traced_file): New macro.
17951         * nss/nss_db/db-init.c: Use define_traced_file.
17952         (_nss_db_init): Use init_traced_file.
17953         * nss/nss_files/files-init.c: Use define_traced_file.
17954         (_nss_files_init): Use init_traced_file.
17956 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17958         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17959         [_LIBC]: Do not include <stdlib.h>.
17960         [!_LIBC] (abort): Remove declaration.
17961         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17962         _FP_STATIC_ASSERT instead of conditionally calling abort.
17963         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17964         (_FP_EXTEND_CNAN): Likewise.
17965         (FP_TRUNC): Likewise.
17966         (__FP_CLZ): Likewise.
17967         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17969 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17971         * manual/string.texi (XPG basename): Fix prototype.
17973 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17975         [BZ #18080]
17976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17977         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17978         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17979         (__setcontext): Likewise.
17980         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17981         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17982         Call rt_sigprocmask syscall one time to set new signal mask
17983         and retrieve the current signal mask instead of two calls.
17984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17985         (__swapcontext): Likewise.
17986         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17987         * stdlib/tst-setcontext2.c: New file.
17989 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17991         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17993 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17995         [BZ #18093]
17996         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17997         the wrong size.
17999 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18001         [BZ #18043]
18002         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18004 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18006         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18007         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18008         Remove define.
18009         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18010         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18011         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18012         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18013         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18014         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18015         define.
18016         * nptl_db/td_symbol_list.c (td_lookup): Remove
18017         HAVE_ASM_GLOBAL_DOT_NAME code.
18018         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18019         HAVE_ASM_GLOBAL_DOT_NAME check.
18020         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18021         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18022         (DOT_LABEL): Remove define.
18023         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18024         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18025         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18026         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18027         (__TLS_GET_ADDR): Likewise.
18028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18029         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18031 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18033         [BZ #18111]
18034         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18035         (_FPU_SETCW): Initialize cw from fpsr before storing.
18036         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18037         (fesetexceptflag): Rewrite using fpu_control.h.
18038         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18040 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18042         [BZ #18110]
18043         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18044         asms.
18045         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18047 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18049         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18050         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18051         abort.
18052         (_FP_FMA): Likewise.
18053         (_FP_DIV): Likewise.
18055 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18057         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18058         with 0 in that case.
18059         * Makefile (summarize-tests): New canned sequence, factored out of
18060         commands for targets tests and xtests.  Display summary lines that
18061         don't start with PASS: or XFAIL: rather than ones that do start with
18062         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18063         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18064         do start with ERROR: or FAIL:.
18065         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18066         (except for [$(build-shared) = yes]).
18067         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18068         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18069         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18070         * nptl/Makefile: Revert 2015-03-04 changes.
18071         [$(CXX) empty] (tests-unsupported): New variable.
18072         * debug/Makefile: Likewise.
18074         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18075         gnulib file.  Replace __attribute with __attribute__ throughout.
18077 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18079         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18081 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18083         [BZ #18104]
18084         * math/auto-libm-test-in: Add another test of pow.
18085         * math/auto-libm-test-out: Regenerated.
18087 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18089         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18090         $(config-cflags-nofma).
18092 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18094         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18095         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18096         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18097         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18098         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18099         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18100         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18101         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18102         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18103         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18104         Add comment on closing #endif.
18106 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18108         * posix/wordexp.c (CHAR_IN_SET): New macro.
18109         (parse_param): Use it.
18111 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18113         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18115 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18117         [BZ #18043]
18118         * posix/wordexp.c (parse_param): Fix buffer overflow.
18119         * posix/wordexp-test.c (test_case): Add test case.
18121 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18123         [BZ #18042]
18124         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18125         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18127 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18129         [BZ #18043]
18130         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18131         (do_bz18043): Delete.
18132         (at_page_end): New.
18133         (testit): Refactor to have words at the edge of unreadable page.
18135 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18137         [BZ #16734]
18138         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18139         Cleanup read-only streams as well.
18140         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18142 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18144         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18145         <bits/libc-lockP.h>
18147 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18149         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18150         on [__KERNEL__].
18151         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18152         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18153         * soft-fp/op-common.h (_FP_DECL): Likewise.
18155 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18157         * elf/ifuncdep2.c (global): Replace
18158         __attribute__((visibility("protected"))) with
18159         asm (".protected global").
18160         * elf/ifuncmod1.c (global): Likewise.
18161         * elf/ifuncmod5.c (global): Likewise.
18163 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18165         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18166         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18168 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18170         * manual/install.texi (Configuring and compiling):
18171         Document test-wrapper-env-only.
18172         * INSTALL: Regenerated.
18174 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18176         [BZ #18043]
18177         * posix/wordexp.c (parse_param): Fix buffer overflow.
18178         * posix/wordexp-test.c (do_bz18043): Add test case.
18180 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18182         * time/tst-strptime2.c (do_test): Ensure failing tests are
18183         reported correctly.
18184         * time/tst-strptime3.c (do_test): Likewise.
18186 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18188         Fix aio_error thread-safety.
18189         * sysdeps/pthread/aio_error.c: New file
18190         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18191         synchronization.
18193 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18195         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18196         (group_number, vfprintf): Use it.
18197         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18198         (JUMP, REF): Use it.
18199         (WORK_BUFFER_SIZE): New enum constant.
18200         (process_arg, vfprintf): Use it.
18202 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18204         * manual/errno.texi (Error Messages): Complete example function
18205         by adding missing #define.
18206         (program_invocation_name): Add statement indicating GNU
18207         extension and reference which header file declares the variable.
18208         (program_invocation_short_name): Likewise.
18210 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18212         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18213         compatibility note.
18215 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18217         * Makeconfig (test-wrapper-env-only): New variable.
18218         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18219         then use that with $(test-wrapper-env-only) rather than using
18220         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18222 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18224         [BZ #18082]
18225         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18226         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18227         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18228         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18229         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18230         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18231         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18232         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18233         Likewise.
18234         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18235         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18236         Likewise.
18237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18238         Likewise.
18239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18240         Likewise.
18241         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18242         Likewise.
18243         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18244         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18245         Likewise.
18246         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18247         Likewise.
18248         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18249         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18251 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18253         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18254         (ETH_ALEN): New macro.
18255         (struct ether_addr): Use it for length of ether_addr_octet.
18257         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18258         (setdb): Don't call __nss_configure_lookup for "rpc".
18259         (do_test): Don't call test_rpc.
18260         (output_rpcent, test_rpc): Functions moved ...
18261         * sunrpc/test-rpcent.c: ... to this new file.
18262         * sunrpc/Makefile (tests): Add it.
18264         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18265         __xpg_sigpause.
18266         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18267         * nptl/tst-signal6.c: Likewise.
18268         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18269         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18271         * configure.ac (libc_cv_cxx_link_ok): New check.
18272         Reset CXX to empty if it fails to link.
18273         * configure: Regenerated.
18274         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18275         bug-atexit3-lib only if $(CXX) is nonempty.
18276         * nptl/Makefile (tests): Likewise for tst-cancel24.
18277         (tests, tests-static): Likewise for tst-cancel24-static.
18278         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18279         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18280         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18281         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18283 2015-03-04  Andreas Schwab  <schwab@suse.de>
18285         [BZ #17631]
18286         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18287         for non-GCC compilers.
18288         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18289         Likewise.
18291 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18293         [BZ #17776]
18294         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18295         integer before bitwise and assembly operations.
18296         (feclearexcept): Likewise.
18297         * math/test-fenvinline.c: New file.
18298         * math/Makefile: Add test-fenvinline test.
18300 2015-03-03  Alan Modra  <amodra@gmail.com>
18302         [BZ #16512]
18303         * scripts/localplt.awk: Strip off symbol version.
18304         * NEWS: Mention bug fix.
18306 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18308         * sysdeps/pthread/timer_routines.c
18309         (timer_free_list, thread_free_list, thread_active_list): Make static.
18311 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18313         [BZ #17779]
18314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18315         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18316         Undefine.
18317         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18318         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18319         Likewise.
18320         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18321         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18322         Likewise.
18324 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18326         [BZ #18036]
18327         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18328         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18330 2015-03-02  Andreas Schwab  <schwab@suse.de>
18332         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18333         variable name.
18335 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18337         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18338         Return error status.
18340 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18342         [BZ #15969]
18343         * locale/findlocale.c (_nl_find_locale): Introduce const
18344         version of loc_name and drop unsafe type casts.
18346 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18348         * dlfcn/tststatic2.c (main): Converted to ...
18349         (do_test): ... this.
18350         (TEST_FUNCTION): New macro.
18351         Include test-skeleton.c.
18353 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18355         [BZ #17711]
18356         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18357         (tests-pie): Add vismain.
18358         (CFLAGS-vismain.c): New.
18359         * elf/vismain.c: Add comments for PIE requirement.
18361 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18363         [BZ #18046]
18364         [BZ #18047]
18365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18366         0x1p-56L as threshold for just returning the argument.
18367         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18368         0x1p-32L as threshold for just returning the argument.
18369         * math/auto-libm-test-in: Add more tests of atanh.
18370         * math/auto-libm-test-out: Regenerated.
18371         * sysdeps/i386/fpu/libm-test-ulps: Update.
18372         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18374 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18376         * string/bcopy.c (bcopy): Call memmove for performance.
18378 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18380         * string/bzero.c (__bzero): Call memset for performance.
18382 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18384         [BZ #18068]
18385         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18386         to 00100000.
18388 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18390         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18392 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18394         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18395         (__kernel_standard): Use CSTR macro when setting exc.name.
18396         * sysdeps/ieee754/Makefile [$(subdir) = math]
18397         (CFLAGS-k_standard.c): Remove variable.
18399         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18400         setting p and q from "else if" to "else".
18401         (qzero): Likewise.
18402         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18403         (qone): Likewise.
18404         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18405         (qzerof): Likewise.
18406         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18407         (qonef): Likewise.
18408         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18409         (qzero): Likewise.
18410         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18411         (qone): Likewise.
18413         [BZ #18038]
18414         [BZ #18039]
18415         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18416         return pi/2 for arguments below 0x1p-113L.
18417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18418         return pi/2 for arguments below 0x1p-106L.
18419         * math/auto-libm-test-in: Add more tests of acos.
18420         * math/auto-libm-test-out: Regenerated.
18422         [BZ #16351]
18423         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18424         (MO): New macro.
18425         (__ieee754_asin): Force underflow exception for results with small
18426         absolute value.
18427         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18428         (MO): New macro.
18429         (__ieee754_asinf): Force underflow exception for results with
18430         small absolute value.
18431         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18432         (__ieee754_asin): Force underflow exception for results with small
18433         absolute value.
18434         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18435         (__ieee754_asinf): Force underflow exception for results with
18436         small absolute value.
18437         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18438         (__ieee754_asinl): Force underflow exception for results with
18439         small absolute value.
18440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18441         (__ieee754_asinl): Force underflow exception for results with
18442         small absolute value.
18443         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18444         (__ieee754_asinl): Force underflow exception for results with
18445         small absolute value.
18446         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18447         Include <math.h>.
18448         * math/auto-libm-test-in: Do not mark underflow exceptions as
18449         possibly missing for bug 16351.
18450         * math/auto-libm-test-out: Regenerated.
18452         [BZ #18030]
18453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18454         of power of 2 down when low part has opposite sign.
18455         * math/libm-test.inc (logb_test_data): Add more tests.
18457 2015-02-26  Andreas Schwab  <schwab@suse.de>
18459         [BZ #18032]
18460         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18461         over collating symbol inside a bracket expression.  Minor cleanup.
18462         * posix/tst-fnmatch3.c (do_test): Add test case.
18464 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18466         [BZ #18029]
18467         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18468         Adjust exponent of power of 2 down when low part has opposite
18469         sign.
18470         * math/libm-test.inc (ilogb_test_data): Add more tests.
18472 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18474         [BZ #15969]
18475         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18476         the previous change.
18478         [BZ #15969]
18479         * locale/findlocale.c (_nl_find_locale): Retry archive search
18480         after alias expansion.
18482 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18484         * iconv/tst-iconv3.c (main): Converted to ...
18485         (do_test): ... this.
18486         (TEST_FUNCTION): New macro.
18487         Include test-skeleton.c.
18489         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18490         (convert): Make function static.
18491         (test_unalign): Likewise.  Add const to argument pointee types.
18492         (main): Replace with static function do_test.
18493         Print "Succeeded." only if RET is zero.
18494         (TEST_FUNCTION): New macro.
18495         Include test-skeleton.c.
18497         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18498         returns a null pointer.
18500 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18502         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18503         to __memcpy_ppc only for static builds.
18505 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18507         [BZ #18020]
18508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18509         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18510         * math/auto-libm-test-in: Add more tests of asinh.
18511         * math/auto-libm-test-out: Regenerated.
18512         * sysdeps/i386/fpu/libm-test-ulps: Update.
18513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18515 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18517         [BZ #15850]
18518         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18519         and ip6_mtuinfo definitions here.
18520         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18521         in this define too.  Update comment.
18523 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18525         * elf/sprof.c (load_shobj): Tweak error message to match others.
18527 2015-02-24  Kevin Easton  <kevin@guarana.org>
18529         [BZ #16145] (partial fix)
18530         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18531         to reduce lock contention.
18533 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18535         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18536         (struct timex): Update time comment.
18537         (ADJ_SETOFFSET): Define.
18539 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18541         [BZ #18019]
18542         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18543         2**56 not 2**28 as threshold for log (2x) formula.
18544         * math/auto-libm-test-in: Add more tests of acosh.
18545         * math/auto-libm-test-out: Regenerated.
18546         * sysdeps/i386/fpu/libm-test-ulps: Update.
18547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18549 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18551         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18552         parenthesis around the buf assignment.
18553         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18555 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18557         [BZ #16783]
18558         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18559         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18560         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18561         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18562         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18563         * math/libm-test.inc (scalb_test_data): Add more tests.
18565 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18567         [BZ #17916]
18568         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18569         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18571 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18573         [BZ #17523]
18574         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18575         * io/bits/fcntl2.h (open): Use it.
18576         (openat): Likewise.
18577         * io/open.c (__libc_open): Likewise.
18578         * io/open64.c (__libc_open64): Likewise.
18579         * io/open64_2.c (__open64_2): Likewise.
18580         * io/open_2.c (__open_2): Likewise.
18581         * io/openat.c (__openat): Likewise.
18582         * io/openat64.c (__openat64): Likewise.
18583         * io/openat64_2.c (__openat64_2): Likewise.
18584         * io/openat_2.c (__openat_2): Likewise.
18585         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18586         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18587         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18588         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18589         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18590         (__open_nocancel): Likewise.
18591         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18592         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18593         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18595 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18597         [BZ #14841]
18598         * resolv/gethnamaddr.c (getanswer): Skip logging if
18599         RES_USE_DNSSEC is set.
18600         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18602 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18604         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18606 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18608         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18609         201304L, for Unicode 7.
18611 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18613         [BZ #17836]
18614         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18615         shared library.  Add gmon-start.os otherwise.
18616         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18617         $(objpfx)gmon-start.os if builing shared library.
18618         ($(objpfx)g$(static-start-installed-name)): Likewise.
18620 2015-02-23  Andreas Schwab  <schwab@suse.de>
18622         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18624 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18626         [BZ #17269]
18627         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18628         (enlarge_userbuf): Likewise.
18630 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18632         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18633         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18634         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18635         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18637 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18639         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18640         expression inside statement expression.
18642 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18644         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18645         <sysdeps/nptl/lowlevellock.h> and remove macros and
18646         functions that are now defined there.
18647         (SYS_futex): Remove.
18648         (lll_compare_and_swap): Remove.
18649         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18651 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18653         [BZ #17999]
18654         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18655         instead of scandirat.
18656         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18657         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18658         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18659         __scandirat.
18660         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18661         (__scandirat): Declare.  Use libc_hidden_proto.
18662         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18663         Remove variable.
18664         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18666 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18668         [BZ #15319]
18669         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18670         (MO): New macro.
18671         (__ieee754_atan2): For results with small absolute value, force
18672         underflow exception and remove excess range and precision from
18673         return value.
18674         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18675         (MO): New macro.
18676         (__ieee754_atan2f): For results with small absolute value, force
18677         underflow exception and remove excess range and precision from
18678         return value.
18679         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18680         (MO): New macro.
18681         (__atan): For results with small absolute value, force underflow
18682         exception and remove excess range and precision from return value.
18683         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18684         (MO): New macro.
18685         (__atanf): For results with small absolute value, force underflow
18686         exception and remove excess range and precision from return value.
18687         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18688         <math.h>.
18689         (__ieee754_atan2): Force underflow exception for results with
18690         small absolute value.
18691         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18692         <math_private.h>.
18693         (atan): Force underflow exception for results with small absolute
18694         value.
18695         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18696         (__atanf): Force underflow exception for results with small
18697         absolute value.
18698         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18699         <math.h>.
18700         (__atanl): Force underflow exception for results with small
18701         absolute value.
18702         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18703         (__atanl): Force underflow exception for results with small
18704         absolute value.
18705         * sysdeps/x86/fpu/bits/mathinline.h
18706         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18707         (__ieee754_atan2): Only define inline for long double.
18708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18709         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18710         * math/auto-libm-test-in: Do not mark underflow exceptions as
18711         possibly missing for bug 15319.  Add more tests of atan2.
18712         * math/auto-libm-test-out: Regenerated.
18713         * math/libm-test.inc (casin_test_data): Do not mark underflow
18714         exceptions as possibly missing for bug 15319.
18715         (casinh_test_data): Likewise.
18716         * sysdeps/i386/fpu/libm-test-ulps: Update.
18718 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18720         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18721         * sysdeps/mips/bits/endian.h: Fix comments.
18723 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18725         [BZ #17996]
18726         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18727         (hdestroy_r): Likewise.
18728         (hsearch_r): Likewise.
18729         (__hcreate_r): Declare and use libc_hidden_proto.
18730         (__hdestroy_r): Likewise.
18731         (__hsearch_r): Likewise.
18732         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18733         (hcreate): Call __hcreate_r instead of hcreate_r.
18734         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18735         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18736         as weak alias of __hcreate_r.
18737         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18738         __hdestroy_r.
18739         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18740         __hsearch_r.
18741         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18742         Remove variable.
18743         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18744         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18745         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18746         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18748 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18750         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18751         arena_lock into a single arena_get.
18753 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18755         * dl-reloc.c: Inlucde libc-internal.h.
18756         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18757         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18758         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18759         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18760         (grow_heap): Likewise.
18761         * malloc/malloc.c: Include libc-internal.h.
18762         (do_check_malloc): Call powerof2.
18763         (sysmalloc): Use pagesize. Call ALIGN_UP.
18764         (systrim): Use pagesize.
18765         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18766         (__libc_valloc): Use pagesize.
18767         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18769 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18771         [BZ #17991]
18772         * include/sys/resource.h (__getrlimit64): Declare.  Use
18773         libc_hidden_proto.
18774         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18775         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18776         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18777         getrlimit64.
18778         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18779         __getrlimit64.
18780         [!getrlimit64] (getrlimit64): Define as weak alias of
18781         __getrlimit64.  Use libc_hidden_weak.
18782         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18783         using __getrlimit64 not __new_getrlimit64.
18784         (__GI_getrlimit64): Likewise.
18785         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18786         Likewise.
18787         (__GI_getrlimit64): Likewise.
18788         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18790         (getrlimit): Add __getrlimit64 alias.
18791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18792         Likewise.
18793         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18794         Remove variable.
18795         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18796         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18798 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18800         * libio/fileops.c: Add missing sys/mman.h
18801         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18803 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18805         * manual/math.texi (Errors in Math Functions): Clarify goals
18806         regarding inexact and underflow exceptions.
18808 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18810         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18811         * sysdeps/mips/memset.S: Ditto.
18813 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18815         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18817 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18819         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18820         (__v1longjmp): Remove versioned symbol.
18821         (__v1siglongjmp): Remove alias and versioned symbol.
18822         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18823         (__v2siglongjmp): Likewise.
18825 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18829 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18831         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18833 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18835         [BZ #17987]
18836         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18837         zero result does not depend on the sign resulting from
18838         subtraction.
18839         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18840         Likewise.
18841         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18842         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18843         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18844         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18845         * math/libm-test.inc (remquo_test_data): Add more tests.
18847 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18849         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18850         Problem reported by J William Piggott.
18852 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18854         [BZ #17978]
18855         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18856         products 4 * y and 2 * y where those would overflow.
18857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18858         Likewise.
18859         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18860         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18861         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18862         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18863         * math/libm-test.inc (remquo_test_data): Add more tests.
18865         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18867         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18868         [defined _COMPILING_NEWLIB].
18869         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18870         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18872         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18873         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18875 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18877         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18878         acquired.
18880 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18882         [BZ #17792]
18883         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18884         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18885         HOST_STACK_END_ADDR): Likewise.
18887 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18889         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18890         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18891         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18893 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18895         * sysdeps/generic/c++-types.data: New file.
18896         * sysdeps/generic/ld.abilist: New file.
18897         * sysdeps/generic/libBrokenLocale.abilist: New file.
18898         * sysdeps/generic/libanl.abilist: New file.
18899         * sysdeps/generic/libc.abilist: New file.
18900         * sysdeps/generic/libcrypt.abilist: New file.
18901         * sysdeps/generic/libdl.abilist: New file.
18902         * sysdeps/generic/libm.abilist: New file.
18903         * sysdeps/generic/libpthread.abilist: New file.
18904         * sysdeps/generic/libresolv.abilist: New file.
18905         * sysdeps/generic/librt.abilist: New file.
18907 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18909         [BZ #17569]
18910         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18911         Compute absolute value of x as modified by fmod, not original
18912         value of x.
18913         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18914         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18915         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18916         RUN_TEST_ffI_f1_mod8.
18917         (remquo_test_data): Add more tests.
18919 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18921         * sysdeps/init_array/pt-crti.S: New file.
18923 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18925         [BZ #17967]
18926         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18927         __builtin_fmaf instead of relying on contraction of a * b + c.
18929 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18931         [BZ #17969]
18932         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18933         node.
18935 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18937         [BZ #17964]
18938         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18939         __builtin_fma instead of relying on contraction of a * b + c.
18941 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18943         * Makeconfig (ASFLAGS): Add -Werror=undef.
18944         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18945         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18946         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18948         * Makeconfig (after-link): New variable.
18949         (+link-pie, +link-pie-tests): Use it.
18950         (+link-static, +link-static-tests): Likewise.
18951         (+link, +link-tests): Likewise.
18952         * Makerules (build-module, build-module-asneeded): Likewise.
18953         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18954         Likewise.
18955         * elf/Makefile ($(objpfx)ld.so): Likewise.
18957 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18959         [BZ #17965]
18960         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18961         both struct timeval and struct timespec.
18963 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18965         [BZ #16560]
18966         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18967         and redefine.
18968         (__ieee754_exp2l): Do not multiply small fractional parts by
18969         M_LN2l.
18970         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18971         small argument.
18972         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18973         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18974         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18975         * math/auto-libm-test-in: Add more tests of exp2.
18976         * math/auto-libm-test-out: Regenerated.
18978 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18980         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18981         unaligned path.
18983 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18985         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18986         little endian.
18988 2015-02-12  Andreas Schwab  <schwab@suse.de>
18990         [BZ #15790]
18991         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18992         Filter out elision flags from value returned in kind.
18993         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18994         * nptl/tst-pthread-mutexattr.c: New file.
18996 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18998         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18999         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19000         into gnu-gnu, and update comment to refer to abi-tags.
19002 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19004         [BZ #15467]
19005         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19006         (__sincos): Set errno to EDOM for infinite argument.
19007         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19008         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19009         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19010         (__sincosl): Set errno to EDOM for infinite argument.
19011         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19012         (__sincosl): Set errno to EDOM for infinite argument.
19013         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19014         (__sincosl): Set errno to EDOM for infinite argument.
19015         * math/libm-test.inc (sincos_test_data): Test errno setting.
19017 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19019         * string/strxfrm_l.c: Remove #define STRCMP.
19020         * string/strcoll_l.c: Remove #define STRLEN.
19021         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19022         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19024 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19026         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19027         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19028         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19029         * sysdeps/mips/mips64/Makefile: ... here.
19030         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19031         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19032         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19033         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19034         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19035         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19036         * sysdeps/mips/mips64/n64/Implies: Likewise.
19038 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19040         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19041         <sys/time.h>, <string.h>, and <errno.h>.
19042         (dest_offset, dest_address, value, zero): Remove unused variables.
19043         (ldouble): Remove typedef.
19044         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19045         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19046         1).  Fix code style.
19047         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19048         (check): Function removed.
19049         (CHECK): New macro.
19050         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19051         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19052         Don't call set_sigaction_FP and remove_sigaction_FP here.
19053         (ldouble_test): Just use 'long double' as macro argument, no need for
19054         the 'ldouble' typedef.
19055         (do_test): Set up SIGFPE handler at start, using plain signal rather
19056         than sigaction.  Fix code style.
19058 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19060         [BZ #17949]
19061         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19062         jump label.
19064 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19066         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19067         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19069         * sysdeps/powerpc/configure.ac: Remove file.
19070         * sysdeps/powerpc/configure: Likewise.
19072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19073         [sysdep_routines]: Remove wordcopy-power6 object.
19074         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19075         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19077         (__memmove_ppc32): Likewise.
19078         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19079         file.
19080         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19081         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19082         Remove preprocessor.
19084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19085         [sysdep_routines]: Remove wide chars objects.
19086         [wcsmbs]: New rule for wide char objects.
19088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19089         Remove wordcopy-power6 obejct.
19090         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19091         Use local call for wordcopy and memcpy symbols.
19092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19094         implementation for loader.
19095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19098         Remove wordcopy-power7 object.
19099         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19100         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19101         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19102         (_wordcopy_fwd_dest_aligned): Likewise.
19103         (_wordcopy_bwd_aligned): Likewise.
19104         (_wordcopy_bwd_dest_aligned): Likewise.
19106         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19107         Rewrite to call __memmove_ppc instead of include default
19108         implementation.
19110         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19111         Remove wide chars objects.
19112         [wcsmbs]: New rule for wide char objects.
19114 2015-02-09  Andreas Schwab  <schwab@suse.de>
19116         [BZ #17912]
19117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19118         in terms of __O_DIRECTORY.
19120 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19122         * time/getdate.c: Include <stdbool.h>.
19123         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19124         call PTR_MANGLE.
19125         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19126         PTR_DEMANGLE.
19128 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19130         Add ersatz _Static_assert on older C hosts
19131         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19132         pre-C11 C platform that is not known to support _Static_assert.
19134 2015-02-07  Richard Braun  <rbraun@sceen.net>
19136         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19137         sigstate.
19138         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19140 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19142         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19143         priority against unexistent AIO_PRIO_DELTA_MAX.
19144         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19145         instead of int.
19146         * misc/fchflags.c (fchflags): Likewise.
19147         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19148         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19149         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19150         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19151         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19152         Declare macros.
19153         [__USE_MISC] (chflags, fchflags): Declare functions.
19154         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19155         EINVAL when nfds is greater than FD_SETSIZE.
19156         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19157         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19158         45.
19159         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19160         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19161         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19162         MACH_RCV_TIMED_OUT.
19163         * hurd/hurd/signal.h (_hurd_self_sigstate,
19164         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19165         Explicit casts from void *.
19166         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19167         * abi-tags: Rename gnu-gnu os into gnu.
19169         [BZ #4719]
19170         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19171         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19172         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19173         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19174         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19175         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19177         [BZ #17944]
19178         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19179         duplicates ADDR->sun_path with sockaddr LEN limitation.
19180         * sysdeps/mach/hurd/connect.c: Include <string.h>
19181         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19182         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19183         * sysdeps/mach/hurd/sendto.c: Likewise.
19184         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19185         implementing it by hand.
19187 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19189         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19190         Use sfi_breg on ldr.
19191         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19192         Likewise.
19194         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19195         it's defined.
19196         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19197         Test SIGSETXID only if it's defined.
19199         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19201         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19202         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19204         * nptl/tst-align2.c: Moved ...
19205         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19206         * nptl/Makefile (tests): Remove tst-align2.
19207         * sysdeps/unix/sysv/linux/Makefile
19208         [$(subdir) = nptl] (tests): Add tst-align-clone.
19209         * nptl/tst-getpid1.c: Moved ...
19210         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19211         * nptl/tst-getpid2.c: Moved ...
19212         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19213         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19214         * sysdeps/unix/sysv/linux/Makefile
19215         [$(subdir) = nptl] (tests): ... here.
19216         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19217         * sysdeps/unix/sysv/linux/Makefile
19218         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19220         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19221         Drop trailing \n from perror argument.  Use return rather than exit.
19223         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19224         on [SA_SIGINFO].
19225         * nptl/tst-cancel21.c (do_test): Likewise.
19226         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19227         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19228         [!SA_SIGINFO]: Make it a stub test.
19230         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19231         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19233         * posix/tst-getlogin.c: Move to ...
19234         * login/tst-getlogin.c: ... here.
19235         * posix/Makefile (tests): Move tst-getlogin to ...
19236         * login/Makefile (tests): ... here.
19238         * libio/tst-atime.c (do_test): Move local variables SV and E
19239         inside [ST_NOATIME] conditional.
19241         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19243         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19245         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19246         (wait_code): New function replaces macro.
19247         Call nanosleep rather than syscall.
19249         * nptl/pt-system.c: Rewritten.  Put everything under
19250         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19251         Use IFUNC to redirect when possible.
19253         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19254         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19255         Use IFUNC to redirect when possible.
19257         * nptl/pt-fork.c: Rewritten.  Put everything under
19258         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19259         Use IFUNC to redirect when possible.
19260         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19263         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19264         unconditionally nowadays.  This included the only reference to
19265         __vdso_clock_gettime that appears outside libc proper.
19266         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19267         Remove version set (containing only __vdso_clock_gettime).
19268         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19269         Add attribute_hidden.
19270         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19271         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19272         libc_hidden_data_def.
19273         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19274         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19276         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19277         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19278         setrpcent, and getrpcport to ...
19279         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19280         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19281         getrpcbynumber_r, and getrpcent_r to ...
19282         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19283         * inet/getrpcbyname.c: Moved ...
19284         * sunrpc/getrpcbyname.c: ... here.
19285         * inet/getrpcbyname_r.c: Moved ...
19286         * sunrpc/getrpcbyname_r.c: ... here.
19287         * inet/getrpcbynumber.c: Moved ...
19288         * sunrpc/getrpcbynumber.c: ... here.
19289         * inet/getrpcbynumber_r.c: Moved ...
19290         * sunrpc/getrpcbynumber_r.c: ... here.
19291         * inet/getrpcent.c: Moved ...
19292         * sunrpc/getrpcent.c: ... here.
19293         * inet/getrpcent_r.c: Moved ...
19294         * sunrpc/getrpcent_r.c: ... here.
19295         * inet/Makefile (routines): Move those to ...
19296         * sunrpc/Makefile (routines): ... here.
19297         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19298         the $(subdirs) list.
19299         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19300         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19301         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19302         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19304         * elf/Makefile (routines): Include $(all-dl-routines), not just
19305         $(dl-routines).
19306         (rtld-routines): Likewise.  Use = rather than :=.
19307         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19308         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19309         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19310         * sysdeps/arm/Makefile: Likewise.
19311         * sysdeps/i386/Makefile: Likewise.
19312         * sysdeps/x86_64/Makefile: Likewise.
19313         * sysdeps/hppa/Makefile [$(subdir) = elf]
19314         (sysdep_routines, sysdep-rtld-routines): Don't add
19315         $(sysdep-dl-routines) to these.
19316         * sysdeps/ia64/Makefile: Likewise.
19317         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19318         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19319         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19320         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19321         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19322         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19324         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19325         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19326         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19327         these; sysdep-dl-routines alone is enough.
19329 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19331         [BZ #17932]
19332         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19333         where multiplication results in zero and third argument is finite
19334         and nonzero.
19335         * math/auto-libm-test-in: Add more tests of fma.
19336         * math/auto-libm-test-out: Regenerated.
19338         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19339         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19340         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19341         (_FP_CMP_EQ): Likewise.
19342         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19344         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19345         extra argument CHECK_NAN.  Redefine as wrapper around
19346         _FP_EXTEND_CNAN.
19348 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19350         * version.h (RELEASE): Set to "stable".
19351         (VERSION): Set to "2.21"
19352         * include/features.h (__GLIBC_MINOR__): Set to 21.
19354         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19356 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19357             Paul Eggert  <eggert@cs.ucla.edu>
19359         [BZ #16618]
19360         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19361         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19362         size in bytes. Store needed elements in wpmax. Use needed size
19363         in bytes for extend_alloca.
19365 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19367         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19368         binutls 2.25, and texinfo 5.2.
19369         * INSTALL: Regenerate.
19370         * sysdeps/nios2/configure: Regenerate.
19371         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19372         * manual/contrib.texi: Update.
19373         * po/be.po: Update.
19374         * po/bg.po: Update.
19375         * po/ca.po: Update.
19376         * po/cs.po: Update.
19377         * po/da.po: Update.
19378         * po/de.po: Update.
19379         * po/el.po: Update.
19380         * po/eo.po: Update.
19381         * po/es.po: Update.
19382         * po/fi.po: Update.
19383         * po/fr.po: Update.
19384         * po/gl.po: Update.
19385         * po/hr.po: Update.
19386         * po/hu.po: Update.
19387         * po/ia.po: Update.
19388         * po/id.po: Update.
19389         * po/it.po: Update.
19390         * po/ja.po: Update.
19391         * po/ko.po: Update.
19392         * po/lt.po: Update.
19393         * po/nb.po: Update.
19394         * po/nl.po: Update.
19395         * po/pl.po: Update.
19396         * po/pt_BR.po: Update.
19397         * po/ru.po: Update.
19398         * po/rw.po: Update.
19399         * po/sk.po: Update.
19400         * po/sl.po: Update.
19401         * po/sv.po: Update.
19402         * po/tr.po: Update.
19403         * po/uk.po: Update.
19404         * po/vi.po: Update.
19405         * po/zh_CN.po: Update.
19406         * po/zh_TW.po: Update.
19408         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19409         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19410         * sysdeps/hppa/dl-irel.h: Remove #warning.
19411         * sysdeps/hppa/entry.h: Provide prototype for
19412         __canonicalize_funcptr_for_compare and cast argument.
19413         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19414         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19415         * sysdeps/hppa/sotruss-lib.c: New file.
19416         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19417         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19418         (atomic_compare_and_exchange_bool_acq): Likewise.
19419         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19420         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19422         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19423         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19424         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19426 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19428         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19429         called function in non-PIC case.
19431 2015-01-31  David S. Miller  <davem@davemloft.net>
19433         * sysdeps/sparc/sparc32/bits/atomic.h
19434         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19435         unlock not after it.
19436         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19437         volatile register usage warnings from the compiler.
19439         * sysdeps/sparc/nptl/sem_init.c: Delete.
19440         * sysdeps/sparc/nptl/sem_post.c: Delete.
19441         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19442         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19443         * sysdeps/sparc/sparc32/sem_init.c: New file.
19444         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19445         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19446         padding explicitly initialized.
19447         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19448         padding for in-semaphore spinlock.
19449         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19450         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19451         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19452         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19453         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19454         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19455         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19456         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19457         version.
19458         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19459         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19461 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19463         [BZ #17801]
19464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19465         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19466         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19467         New.
19468         (index_AVX_Fast_Unaligned_Load): Likewise.
19469         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19470         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19471         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19472         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19473         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19474         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19475         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19476         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19477         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19479 2015-01-29  Andreas Schwab  <schwab@suse.de>
19481         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19483 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19485         [BZ #17892]
19486         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19488 2015-01-28  Martin Sebor  <msebor@redhat.com>
19490         * math/README.libm-test: Clarify. Add "How to read the test output."
19492 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19494         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19495         Define to 0.
19497 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19499         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19500         (__HAVE_64B_ATOMICS): Define to 0.
19502 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19504         [BZ #17885]
19505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19506         value to set as new flag.
19508         [BZ #16576]
19509         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19510         and use _ARCH_PPCSQ instead.
19511         (__ieee754_sqrt): Likewise.
19512         (__ieee754_sqrtf): Likewise.
19513         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19514         _ARCH_PPCSQ is defined.
19515         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19516         fsqrt instruction.
19517         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19518         _ARCH_PPCSQ is defined.
19519         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19520         fsqrts instruction.
19521         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19523 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19525         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19526         bug (GCC BZ #64739).
19528 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19530         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19531         Mark _retval as used.
19532         (lll_futex_wake_unlock): Likewise.
19533         (lll_futex_timed_wait_requeue_pi): Likewise.
19535         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19536         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19537         register variables.
19539         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19540         libm_hidden_def.
19542         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19543         (__bswap_64): Mark as __always_inline.
19545 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19547         [BZ #15378]
19548         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19549         when none of the search directories exist.
19551 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19553         [BZ #17869]
19554         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19555         power8 in .machine directive.
19557         [BZ #17868]
19558         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19559         set dependency from opd value.
19561 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19564         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19565         architecture.
19567 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19569         [BZ #17870]
19570         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19571         with uint64_t.
19572         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19573         (uint64_t) 1.
19574         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19575         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19576         Replace 1UL with (uint64_t) 1.
19577         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19578         int with uint64_t.
19580 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19582         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19583         (if_freenameindex): Likewise.
19585         * resource/getrlimit64.c: Add missing libc_hidden_def.
19587 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19589         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19590         __label__.
19591         (_FP_FMA): Likewise.
19592         (_FP_TO_INT_ROUND): Likewise.
19593         (_FP_FROM_INT): Likewise.
19595 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19597         [BZ #16418]
19598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19599         Make code racy and cancel safe.
19601 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19603         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19604         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19605         attribution.
19607         * pwd/tst-getpw.c: Rewrite.
19609         [BZ #17702]
19610         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19611         (modules-names): Add moddummy1 and moddummy2.
19612         ($(objpfx)tst-rec-dlopen): Define.
19613         * dlfcn/moddummy1.c: New file.
19614         * dlfcn/moddummy2.c: New file.
19615         * dlfcn/tst-rec-dlopen.c: New file.
19616         * elf/dl-cache.c (_dl_load_cache_lookup):
19617         Return char*. Copy result with alloca/strcpy/strdup.
19618         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19619         returns char*. Free cached. If not saving realname
19620         free cached.
19621         * elf/dl-open.c (dl_open_worker): Do not assert that
19622         _r_debug->r_state is RT_CONSISTENT.
19623         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19624         returns char*.
19626 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19627             Carlos O'Donell  <carlos@redhat.com>
19629         [BZ #12674]
19630         * nptl/sem_waitcommon.c: New file.
19631         * nptl/sem_wait.c: Include sem_waitcommon.c.
19632         (__sem_wait_cleanup, do_futex_wait): Remove.
19633         (__new_sem_wait): Adapt.
19634         (__new_sem_trywait): New function.
19635         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19636         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19637         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19638         (sem_timedwait): Adapt.
19639         * nptl/sem_post.c (__new_sem_post): Adapt.
19640         (futex_wake): New function.
19641         (__old_sem_post): Add release MO fence.
19642         * nptl/sem_open.c (sem_open): Adapt.
19643         * nptl/sem_init.c (__new_sem_init): Adapt.
19644         (futex_private_if_supported): New function.
19645         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19646         (__old_sem_getvalue): Add using previous code.
19647         * sysdeps/nptl/internaltypes.h: Adapt.
19648         * nptl/tst-sem13.c (do_test): Adapt.
19649         * nptl/tst-sem11.c (main): Adapt.
19650         * nptl/sem_trywait.c: Remove.
19651         * nptl/DESIGN-sem.txt: Remove.
19652         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19653         (gen-as-const-headers): Remove structsem.sym.
19654         * nptl/structsem.sym: Remove.
19655         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19656         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19657         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19658         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19659         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19660         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19661         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19662         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19663         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19664         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19665         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19666         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19667         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19668         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19669         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19670         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19671         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19672         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19673         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19674         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19675         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19676         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19678 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19680         * INSTALL: Regenerated.
19682         * po/libc.pot: Regenerated.
19684 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19685             Sandra Loosemore  <sandra@codesourcery.com>
19686             Andrew Jenner  <andrew@codesourcery.com>
19687             Joseph Myers  <joseph@codesourcery.com>
19688             Nathan Sidwell  <nathan@codesourcery.com>
19690         * NEWS: Mention new Nios II port.
19691         * sysdeps/nios2/Implies: New file.
19692         * sysdeps/nios2/Makefile: New file.
19693         * sysdeps/nios2/Subdirs: New file.
19694         * sysdeps/nios2/Versions: New file.
19695         * sysdeps/nios2/__longjmp.S: New file.
19696         * sysdeps/nios2/abort-instr.h: New file.
19697         * sysdeps/nios2/backtrace.c: New file.
19698         * sysdeps/nios2/bits/endian.h: New file.
19699         * sysdeps/nios2/bits/fenv.h: New file.
19700         * sysdeps/nios2/bits/link.h: New file.
19701         * sysdeps/nios2/bits/setjmp.h: New file.
19702         * sysdeps/nios2/bsd-_setjmp.S: New file.
19703         * sysdeps/nios2/bsd-setjmp.S: New file.
19704         * sysdeps/nios2/configure: New generated file.
19705         * sysdeps/nios2/configure.ac: New file.
19706         * sysdeps/nios2/crti.S: New file.
19707         * sysdeps/nios2/crtn.S: New file.
19708         * sysdeps/nios2/dl-init.c: New file.
19709         * sysdeps/nios2/dl-machine.h: New file.
19710         * sysdeps/nios2/dl-sysdep.h: New file.
19711         * sysdeps/nios2/dl-tls.h: New file.
19712         * sysdeps/nios2/dl-trampoline.S: New file.
19713         * sysdeps/nios2/gccframe.h: New file.
19714         * sysdeps/nios2/gmp-mparam.h: New file.
19715         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19716         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19717         * sysdeps/nios2/ldsodefs.h: New file.
19718         * sysdeps/nios2/libc-tls.c: New file.
19719         * sysdeps/nios2/libm-test-ulps: New file.
19720         * sysdeps/nios2/machine-gmon.h: New file.
19721         * sysdeps/nios2/math-tests.h: New file.
19722         * sysdeps/nios2/math_private.h: New file.
19723         * sysdeps/nios2/memusage.h: New file.
19724         * sysdeps/nios2/nptl/Makefile: New file.
19725         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19726         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19727         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19728         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19729         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19730         * sysdeps/nios2/nptl/tls.h: New file.
19731         * sysdeps/nios2/preconfigure: New file.
19732         * sysdeps/nios2/s_fma.c: New file.
19733         * sysdeps/nios2/s_fmaf.c: New file.
19734         * sysdeps/nios2/setjmp.S: New file.
19735         * sysdeps/nios2/sfp-machine.h: New file.
19736         * sysdeps/nios2/sotruss-lib.c: New file.
19737         * sysdeps/nios2/stackguard-macros.h: New file.
19738         * sysdeps/nios2/stackinfo.h: New file.
19739         * sysdeps/nios2/start.S: New file.
19740         * sysdeps/nios2/sysdep.h: New file.
19741         * sysdeps/nios2/tls-macros.h: New file.
19742         * sysdeps/nios2/tst-audit.h: New file.
19743         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19744         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19745         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19746         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19747         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19748         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19749         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19750         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19751         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19752         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19753         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19754         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19755         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19756         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19757         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19758         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19759         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19760         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19761         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19762         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19763         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19764         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19765         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19766         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19767         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19768         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19769         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19770         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19771         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19772         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19773         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19774         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19775         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19776         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19777         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19778         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19779         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19780         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19781         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19782         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19783         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19784         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19785         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19786         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19788 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19790         [BZ #17844]
19791         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19792         (getutent): Use weak_alias in non SHARED case
19793         and default_symbol_version in SHARED case.
19794         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19795         (getutent_r, pututline): Likewise.
19796         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19797         (getutid): Likewise.
19798         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19799         (getutid_r): Likewise.
19800         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19801         (getutline): Likewise.
19802         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19803         (getutline_r): Likewise.
19804         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19805         (updwtmp): Likewise.
19807 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19809         [BZ #17848]
19810         * sysdeps/s390/s390-32/memcmp.S
19811         (memcmp_g5): Rename to __memcmp_g5.
19812         * sysdeps/s390/s390-32/memcpy.S
19813         (memcpy_g5): Rename to __memcpy_g5.
19814         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19815         (memcpy_mvcle) Rename to __memcpy_mvcle.
19816         * sysdeps/s390/s390-32/memset.S
19817         (memset_g5): Rename to __memset_g5.
19818         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19819         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19820         and use prefixed functions.
19821         * sysdeps/s390/s390-32/multiarch/memcmp.S
19822         (memcmp_z196): Rename to __memcmp_z196.
19823         (memcmp_z10): Rename to __memcmp_z10.
19824         (memcmp): Set alias to __memcmp_g5.
19825         (bcmp): Set alias to __memcmp_g5.
19826         * sysdeps/s390/s390-32/multiarch/memcpy.S
19827         (memcpy_z196): Rename to __memcpy_z196.
19828         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19829         (memcpy_z10): Rename to __memcpy_z10.
19830         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19831         (memcpy): Set alias to __memcpy_g5.
19832         * sysdeps/s390/s390-32/multiarch/memset.S
19833         (memset_z196): Rename to __memset_z196.
19834         Jump to __memset_mvcle instead of memset_mvcle.
19835         (memset_z10): Rename to __memset_z10.
19836         Jump to __memset_mvcle instead of memset_mvcle.
19837         (memset_mvcle) Rename to __memset_mvcle.
19838         (memset): Set alias to __memset_g5.
19839         * sysdeps/s390/s390-64/memcmp.S
19840         (memcmp_z900): Rename to __memcmp_z900.
19841         * sysdeps/s390/s390-64/memcpy.S
19842         (memcpy_z900): Rename to __memcpy_z900.
19843         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19844         (memcpy_mvcle) Rename to __memcpy_mvcle.
19845         * sysdeps/s390/s390-64/memset.S
19846         (memset_z900): Rename to __memset_z900.
19847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19848         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19849         and use prefixed functions.
19850         * sysdeps/s390/s390-64/multiarch/memcmp.S
19851         (memcmp_z196): Rename to __memcmp_z196.
19852         (memcmp_z10): Rename to __memcmp_z10.
19853         (memcmp): Set alias to __memcmp_z900.
19854         (bcmp): Set alias to __memcmp_z900.
19855         * sysdeps/s390/s390-64/multiarch/memcpy.S
19856         (memcpy_z196): Rename to __memcpy_z196.
19857         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19858         (memcpy_z10): Rename to __memcpy_z10.
19859         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19860         (memcpy): Set alias to __memcpy_z900.
19861         * sysdeps/s390/s390-64/multiarch/memset.S
19862         (memset_z196): Rename to __memset_z196.
19863         Jump to __memset_mvcle instead of memset_mvcle.
19864         (memset_z10): Rename to __memset_z10.
19865         Jump to __memset_mvcle instead of memset_mvcle.
19866         (memset_mvcle) Rename to __memset_mvcle.
19867         (memset): Set alias to __memset_z900.
19869 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19871         [BZ #17748]
19872         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19873         __fesetenv instead of fesetenv.
19875 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19877         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19878         macro.
19880 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19882         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19883         regression on LE.
19885         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19886         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19888         strncmp-power8 object.
19889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19890         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19891         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19892         * NEWS: Update.
19894 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19895             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19897         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19898         trailing byte check.
19900 2015-01-13  David S. Miller  <davem@davemloft.net>
19902         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19904 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19906         * login/logout.c (logout): Use memset rather than bzero.
19907         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19908         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19909         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19910         (_gethtbyaddr): Likewise.
19911         * locale/programs/simple-hash.c (bcopy): Macro removed.
19913 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19916         Add strcmp-power8 object.
19917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19918         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19919         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19920         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19921         __strcmp_power8 implementation.
19922         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19923         * NEWS: Update.
19925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19926         Add strncpy-power8 and stpncpy-power8 objects.
19927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19928         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19929         implementations.
19930         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19932         __stpncpy_power8 implementation.
19933         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19934         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19935         __strncpy_power8 implementation.
19936         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19937         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19938         * NEWS: Update.
19940         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19941         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19942         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19945         strncat-power8 object.
19946         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19947         __strcat_power8 implementation.
19948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19949         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19950         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19951         optimized strcat for power8.
19953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19954         strcpy-power8 and stpcpy-power8 objects.
19955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19956         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19957         implementations.
19958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19959         multiarch stpcpy implementation for POWER8.
19960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19961         multiarch strcpy implementation for POWER8.
19962         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19963         __strcpy_power8 function.
19964         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19965         stpcpy for POWER8.
19966         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19967         strcpy for POWER8.
19968         * NEWS: Update.
19970 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19972         [BZ #16009]
19973         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19974         weights and rules. Use do_xfrm_cached if data fits in cache,
19975         do_xfrm otherwise.  Moved former main loop to...
19976         * (do_xfrm_cached): New function.
19977         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19978         find_idx, find_position and stack_push.
19979         * (find_idx): New function.
19980         * (find_position): Likewise.
19981         * localedata/sort-test.sh: Added test run for do_xfrm.
19982         * localedata/xfrm-test.c (main): Added command line option
19983         -nocache to run the test with strings that are too large for
19984         the STRXFRM cache.
19986 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19988         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19989         variable to lll_futex_wake call, not the value itself.
19991 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19993         [BZ #17803]
19994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19995         twom64.  Adjust value to 0x1p-64L.
19996         (__scalblnl): Only return standard underflowing result for K <=
19997         -64 not K <= -63; adjust exponent for underflowing result by 64
19998         not 63.
19999         * math/libm-test.inc (scalbn_test_data): Add more tests.
20000         (scalbln_test_data): Likewise.
20002         [BZ #17834]
20003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20004         0x1p63L.
20005         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20006         not HX.
20007         * math/libm-test.inc (scalbn_test_data): Add more tests.
20008         (scalbln_test_data): Likewise.
20010 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20011             Stefani Seibold  <stefani@seibold.net>
20013         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20014         (sysdep_routines): Add dl-vdso here, ...
20015         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20016         (sysdep_routines): ... not here.
20017         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20018         fallback when vDSO is not presented.
20019         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20020         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20021         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20022         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20023         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20024         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20025         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20026         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20027         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20028         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20029         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20030         fallback configurable symbol when vDSO is not available.
20031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20032         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20033         be able to redefine fallback symbol when vDSO is not available.
20034         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20035         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20037 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20039         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20040         (TLS_INIT_TP): Add tm_capable initialization.
20041         (TLS_DEFINE_INIT_TP): Likewise.
20042         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20043         TCB.
20044         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20045         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20046         calculation.
20047         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20048         transactoion is lock elision is built and TCB tm_capable is set.
20049         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20051         (INTERNAL_SYSCALL_NCS): Likewise.
20052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20053         (INTERNAL_SYSCALL_NCS): Likewise.
20054         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20056         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20057         for powerpc.
20058         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20059         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20060         and remove it for 32 bits case.
20061         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20063         initialization.
20064         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20065         Disable lock elision with rdlocks if elision is not available.
20067         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20068         (sysdep_routines): Add lock elision objects.
20069         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20070         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20071         [pthread_mutex_t] (__elision): Add field.
20072         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20073         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20074         elision definitions for powerpc.
20075         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20076         implementation of lock elision for powerpc.
20077         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20078         implementation of timed lock elision for powerpc.
20079         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20080         implementation of trylock with lock elision for powerpc.
20081         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20082         implementaion of unlock for lock elision for powerpc.
20083         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20084         automatic enable lock elision for mutexes.
20085         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20086         transaction execution definitions for powerpc.
20087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20088         definitions.
20089         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20090         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20091         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20092         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20093         * NEWS: Update.
20095 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20097         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20098         for #include of <shm-directory.h>.
20100 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20103         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20105 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20107         [BZ #17791]
20108         * NEWS: Mention bug fix.
20109         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20110         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20111         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20113 2015-01-09  Torvald Riegel <triegel@redhat.com>
20115         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20117 2015-01-09  Torvald Riegel <triegel@redhat.com>
20119         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20121 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20123         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20124         pointer and cast to uintptr_t.
20126 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20128         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20129         removed.
20130         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20132 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20134         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20135         of 0.
20137 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20139         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20140         <nptl/pthreadP.h> instead.
20141         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20143         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20144         already defined.
20145         [__SIGRTMIN] (init): Function removed.
20146         [__SIGRTMIN] (initialized): Variable removed.
20147         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20148         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20149         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20150         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20151         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20152         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20153         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20154         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20155         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20156         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20157         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20158         * sysdeps/nptl/allocrtsig.c: New file.
20159         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20160         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20161         * sysdeps/generic/testrtsig.h: File removed.
20163         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20164         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20166         * nptl/nptl-init.c (pthread_functions): Conditionalize
20167         .ptr__nptl_setxid initialization on [SIGSETXID].
20169         * sysdeps/nptl/sys/procfs.h: New file.
20170         * nptl_db/Makefile (headers): Add it.
20171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20173         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20174         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20175         * nptl/pthread_attr_setaffinity.c: Include it.
20176         * nptl/pthread_setattr_default_np.c: Likewise.
20177         * nptl/check-cpuset.h: New file.
20179 2015-01-08  Richard Henderson  <rth@redhat.com>
20181         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20182         (CFLAGS-tst-execstack-prog.c): Likewise.
20183         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20185 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20186             Sandra Loosemore  <sandra@codesourcery.com>
20187             Andrew Jenner  <andrew@codesourcery.com>
20188             Joseph Myers  <joseph@codesourcery.com>
20189             Nathan Sidwell  <nathan@codesourcery.com>
20191         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20192         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20193         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20194         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20195         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20196         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20197         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20198         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20199         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20200         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20201         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20202         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20203         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20204         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20205         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20206         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20207         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20209 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20211         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20212         timespec struct member in syscall macro.
20213         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20214         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20215         first timeval struct member in syscall macro.
20216         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20218 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20220         [BZ #17748]
20221         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20222         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20223         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20224         __feupdateenv and define as weak alias of __feupdateenv.  Use
20225         libm_hidden_weak.
20226         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20227         libm_hidden_def.
20228         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20229         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20230         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20231         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20232         libm_hidden_def.
20233         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20234         __feupdateenv and define as weak alias of __feupdateenv.  Use
20235         libm_hidden_weak.
20236         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20237         libm_hidden_def.
20238         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20239         __feupdateenv and define as weak alias of __feupdateenv.  Use
20240         libm_hidden_weak.
20241         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20242         libm_hidden_def.
20243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20244         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20245         (__feupdateenv): Likewise.
20246         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20247         __feupdateenv and define as weak alias of __feupdateenv.  Use
20248         libm_hidden_weak.
20249         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20250         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20251         libm_hidden_def.
20252         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20253         function.
20254         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20255         libm_hidden_def.
20256         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20257         __feupdateenv instead of feupdateenv.
20258         (default_libc_feupdateenv_test): Likewise.
20259         (libc_feresetround_ctx): Likewise.
20261 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20263         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20264         prototype.
20266 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20268         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20269         COLL_SYM in a couple of places to avoid uninitialized variable
20270         wanings on tilegx gcc 4.8.2.
20272 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20274         * sysdeps/aarch64/strcpy.S: New file.
20275         * sysdeps/aarch64/stpcpy.S: New file.
20276         * NEWS: Updated.
20278 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20280         * sysdeps/aarch64/strrchr.S: New file.
20281         * NEWS: Updated.
20283 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20285         [BZ #17658]
20286         * stdlib/setenv.c: Fix memory leak when setting large,
20287         duplicate string.
20289 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20291         [BZ #17273]
20292         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20293         and tabs from buffer before parsing fstab entry.
20294         * misc/tst-mntent.c (main): Add test for mount entry with
20295         trailing spaces and tabs.
20297 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20299         [BZ #17748]
20300         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20301         * math/fesetround.c (fesetround): Rename to __fesetround and
20302         define as weak alias of __fesetround.  Use libm_hidden_weak.
20303         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20304         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20305         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20306         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20307         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20308         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20309         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20310         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20311         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20312         __fesetround_inline.
20313         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20314         __fesetround_inline instead of __fesetround.
20315         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20316         __fesetround and define as weak alias of __fesetround.  Use
20317         libm_hidden_weak.  Call __fesetround_inline instead of
20318         __fesetround.
20319         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20320         __fesetround and define as weak alias of __fesetround.  Use
20321         libm_hidden_weak.
20322         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20323         Likewise.
20324         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20325         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20326         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20327         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20328         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20329         __fesetround and define as weak alias of __fesetround.  Use
20330         libm_hidden_weak.
20331         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20332         __fesetround instead of fesetround.
20333         (default_libc_feholdexcept_setround): Likewise.
20334         (libc_feholdsetround_ctx): Likewise.
20335         (libc_feholdsetround_noex_ctx): Likewise.
20337         [BZ #17748]
20338         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20339         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20340         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20341         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20342         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20343         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20344         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20345         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20346         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20347         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20348         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20349         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20350         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20351         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20352         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20353         libm_hidden_def.
20354         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20355         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20356         Likewise.
20357         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20358         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20359         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20360         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20361         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20362         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20363         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20364         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20365         __fesetenv instead of fesetenv.
20366         (libc_feresetround_noex_ctx): Likewise.
20367         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20368         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20369         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20370         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20371         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20372         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20373         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20374         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20375         (__feupdateenv): Likewise.
20376         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20377         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20378         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20379         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20381 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20383         [BZ #17806]
20384         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20385         addresses have been freed.
20387 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20389         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20390         and nservall.
20392 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20394         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20395         Clean up check_pf allocation pattern. addresses
20397 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20399         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20400         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20401         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20402         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20403         * nptl/pthread_join.c (pthread_join): Likewise.
20404         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20405         * sysdeps/posix/waitid.c (__waitid): Likewise.
20406         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20407         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20408         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20409         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20411         Likewise.
20412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20413         (__libc_pread64): Likewise.
20414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20415         (__libc_pwrite): Likewise.
20416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20417         (__libc_pwrite64): Likewsie.
20418         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20419         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20420         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20421         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20422         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20423         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20424         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20426         Likewise.
20427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20428         (__libc_pread64): Likewise.
20429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20430         Likewise.
20431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20432         (__libc_pwrite64): Likewise.
20433         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20434         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20435         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20436         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20437         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20438         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20439         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20440         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20441         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20442         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20443         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20444         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20445         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20446         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20447         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20448         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20449         Likewise.
20451 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20453         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20454         (CFLAGS-test-double.c): Likewise.
20455         (CFLAGS-test-ldouble.c): Likewise.
20456         (CPPFLAGS-test-ifloat.c): Likewise.
20457         (CPPFLAGS-test-idouble.c): Likewise.
20458         (CPPFLAGS-test-ildoubl.c): Likewise.
20459         (CFLAGS-test-test-fenv.c): Remove variable.
20460         (CFLAGS-test-misc.c): Likewise.
20462 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20464         [BZ #17797]
20465         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20466         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20467         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20468         CLOCKS_PER_SEC == 1000000.
20469         * time/clocktest.c (main): Replace %ld with %jd and cast to
20470         intmax_t.
20472 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20474         * sysdeps/generic/unwind-resume.h: New file.
20475         * sysdeps/gnu/unwind-resume.c: Include it.
20476         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20477         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20478         argument list.
20479         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20480         global rather than static.
20481         (_Unwind_Resume): Update user.
20482         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20483         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20484         rather than static.  Add __attribute__ ((cold)).
20485         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20486         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20487         * sysdeps/arm/arm-unwind-resume.S: New file.
20488         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20489         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20490         * sysdeps/arm/Makefile [$(subdir) = csu]
20491         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20492         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20493         Add rt-arm-unwind-resume.
20494         [$(subdir) = nptl]
20495         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20496         Add pt-arm-unwind-resume.
20497         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20498         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20500 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20502         [BZ #17748]
20503         * include/fenv.h (__feholdexcept): Declare.  Use
20504         libm_hidden_proto.
20505         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20506         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20507         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20508         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20510         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20511         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20512         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20513         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20514         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20515         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20516         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20517         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20518         (feholdexcept): Likewise.
20519         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20520         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20521         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20522         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20523         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20524         __feholdexcept instead of feholdexcept.
20525         (default_libc_feholdexcept_setround): Likewise.
20527 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20529         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20530         to avoid using stl/str to align destination.
20532 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20534         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20536 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #17796]
20539         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20540         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20541         Define as weak alias not strong alias.
20543 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20545         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20546         bltzal with addiupc.
20547         (RTLD_START): Ditto.
20549 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20551         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20552         for __vdso_* functions in declarations.
20553         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20554         definitions.
20555         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20556         INTERNAL_VSYSCALL): Use struct return types to check for error.
20558         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20559         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20560         function with cast from llround().
20561         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20562         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20563         Define.
20565 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #17793]
20568         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20569         Define as weak alias not strong alias.
20571         [BZ #17635]
20572         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20573         ...
20574         * ctype/ctype-extn.c: ... here.
20575         (__isblank_l): Move to ...
20576         * ctype/ctype-c99_l.c: ... here.  New file.
20577         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20578         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20579         Remove variable.
20580         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20581         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20582         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20583         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20584         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20586         [BZ #17777]
20587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20588         (posix_fadvise64): Define as weak alias not strong alias.
20589         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20590         (posix_fallocate64): Likewise.
20591         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20592         Remove variable.
20593         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20594         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20595         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20596         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20597         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20599 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20601         [BZ #16191]
20602         * NEWS: Mention bug fix.
20603         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20604         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20605         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20606         (HOST_STACK_END_ADDR): Likewise.
20608 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20610         [BZ #17748]
20611         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20612         * math/fegetround.c (fegetround): Rename to __fegetround and
20613         define as weak alias of __fegetround.  Use libm_hidden_weak.
20614         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20615         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20616         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20617         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20618         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20619         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20620         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20621         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20622         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20623         Undefine after rather than before function definition; use
20624         parentheses around function name in definition.
20625         (__fegetround): Also undefine macro after function definition.
20626         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20627         __fegetround and define as weak alias of __fegetround.  Use
20628         libm_hidden_weak.  Do not undefine as macro.
20629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20630         Likewise.
20631         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20632         __fegetround and define as weak alias of __fegetround.  Use
20633         libm_hidden_weak.
20634         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20635         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20636         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20637         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20638         __fegetround and define as weak alias of __fegetround.  Use
20639         libm_hidden_weak.
20640         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20641         __fegetround instead of fegetround.
20643         [BZ #17782]
20644         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20645         Condition macro definition on [__USE_MISC].
20647         [BZ #17781]
20648         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20649         (struct sigaction): Change type of sa_flags field to int.
20651         [BZ #17780]
20652         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20653         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20654         __glibc_reserved0.
20656         * nptl/version.c (banner): Use single year in copyright notice.
20658         * NEWS: Update copyright dates.
20659         * catgets/gencat.c (print_version): Likewise.
20660         * csu/version.c (banner): Likewise.
20661         * debug/catchsegv.sh: Likewise.
20662         * debug/pcprofiledump.c (print_version): Likewise.
20663         * debug/xtrace.sh (do_version): Likewise.
20664         * elf/ldconfig.c (print_version): Likewise.
20665         * elf/ldd.bash.in: Likewise.
20666         * elf/pldd.c (print_version): Likewise.
20667         * elf/sotruss.sh: Likewise.
20668         * elf/sprof.c (print_version): Likewise.
20669         * iconv/iconv_prog.c (print_version): Likewise.
20670         * iconv/iconvconfig.c (print_version): Likewise.
20671         * locale/programs/locale.c (print_version): Likewise.
20672         * locale/programs/localedef.c (print_version): Likewise.
20673         * login/programs/pt_chown.c (print_version): Likewise.
20674         * malloc/memusage.sh (do_version): Likewise.
20675         * malloc/memusagestat.c (print_version): Likewise.
20676         * malloc/mtrace.pl: Likewise.
20677         * manual/libc.texinfo: Likewise.
20678         * nptl/version.c (banner): Likewise.
20679         * nscd/nscd.c (print_version): Likewise.
20680         * nss/getent.c (print_version): Likewise.
20681         * nss/makedb.c (print_version): Likewise.
20682         * posix/getconf.c (main): Likewise.
20683         * scripts/test-installation.pl: Likewise.
20684         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20686 2015-01-02  Will Newton  <will.newton@linaro.org>
20688         * sysdeps/arm/armv7/configure: Removed.
20689         * sysdeps/arm/armv7/configure.ac: Likewise.
20691 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20693         * All files with FSF copyright notices: Update copyright dates
20694         using scripts/update-copyrights.
20695         * intl/plural.c: Regenerated.
20696         * locale/programs/charmap-kw.h: Likewise.
20697         * locale/programs/locfile-kw.h: Likewise.
20699 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20703 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20705         [BZ #17748]
20706         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20707         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20708         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20709         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20710         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20711         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20712         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20713         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20714         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20715         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20716         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20717         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20718         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20719         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20720         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20721         libm_hidden_def.
20722         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20723         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20724         Likewise.
20725         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20726         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20727         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20728         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20729         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20730         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20731         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20732         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20733         __fegetenv instead of fegetenv.
20734         (libc_feholdsetround_noex_ctx): Likewise.
20736 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20738         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20739         (Elf_MIPS_ABIFlags_v0): New structure.
20740         (EF_MIPS_FP64): Define.
20741         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20742         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20743         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20744         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20745         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20746         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20747         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20748         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20749         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20750         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20751         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20752         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20753         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20754         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20755         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20756         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20757         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20758         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20759         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20760         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20761         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20762         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20763         field.
20764         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20765         EF_MIPS_FP64.
20766         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20767         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20768         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20769         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20770         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20771         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20772         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20773         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20774         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20775         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20776         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20777         record the current FP ABI extension.
20778         (mips-mode-switch): Define to show if kernel headers support mode
20779         switching.
20780         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20781         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20782         supported SYSV ABI version to 3.
20783         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20784         feature.
20786 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20787             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20789         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20790         path.
20791         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20793 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20795         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20796         __fegetround and redefine to call __fegetround.  Remove condition
20797         on [!__NO_MATH_INLINES].
20798         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20799         function.
20800         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20802         Remove macro.
20803         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20804         instead of <fenv_libc.h>.
20805         (__llrintl): Call fegetround instead of __fegetround.
20806         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20807         instead of <fenv_libc.h>.
20808         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20809         (__lrintl): Call fegetround instead of __fegetround.
20810         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20811         instead of <fenv_libc.h>.
20812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20813         (__rintl): Call fegetround instead of __fegetround.
20815 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20817         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20818         arrays.
20820 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20822         [BZ #17775]
20823         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20824         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20825         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20827 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20829         * sysdeps/i386/tls-macros.h: Include <features.h>.
20830         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20831         (TLS_IE): Likewise.
20832         (TLS_LD): Likewise.
20833         (TLS_GD): Likewise.
20834         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20835         define for GCC >= 5.0.
20837 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20839         * math/test-fenv.c (test_single_exception, set_single_exc,
20840         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20841         feexcp_mask_test, feenable_test, fe_single_test): Add
20842         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20843         case where they are not used.
20844         * math/libm-test.inc: Likewise.
20845         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20846         unused in the absence of FP rounding/exception support.
20847         * stdio-common/tst-printf-round.c: Likewise.
20848         * stdlib/tst-strtod-round.c: Likewise.
20849         * stdlib/tst-strtod-underflow.c: Likewise.
20851 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20853         [BZ #17723]
20854         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20855         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20856         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20857         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20858         libm_hidden_weak.
20859         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20860         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20861         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20862         libm_hidden_def.
20863         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20864         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20865         libm_hidden_weak.
20866         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20867         Likewise.
20868         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20869         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20870         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20871         libm_hidden_weak.
20872         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20873         libm_hidden_def.
20874         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20875         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20876         (__feraiseexcept): Likewise.
20877         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20878         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20879         libm_hidden_weak.
20880         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20881         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20882         libm_hidden_def.
20883         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20884         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20885         Use libm_hidden_def.
20886         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20887         libm_hidden_def.
20888         (feraiseexcept): Define as weak not strong alias.  Use
20889         libm_hidden_weak.
20890         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20891         New inline function.  Factored out of ...
20892         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20893         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20894         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20895         feraiseexcept.
20896         * math/w_acos.c (__acos): Likewise.
20897         * math/w_asin.c (__asin): Likewise.
20898         * math/w_ilogb.c (__ilogb): Likewise.
20899         * math/w_j0.c (y0): Likewise.
20900         * math/w_j1.c (y1): Likewise.
20901         * math/w_jn.c (yn): Likewise.
20902         * math/w_log.c (__log): Likewise.
20903         * math/w_log10.c (__log10): Likewise.
20904         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20905         * sysdeps/aarch64/fpu/math_private.h
20906         (libc_feupdateenv_test_aarch64): Likewise.
20907         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20908         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20909         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20910         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20911         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20912         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20913         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20914         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20915         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20916         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20918 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20920         [BZ #17732]
20921         * io/test-utime.c (main): Replace %ld with %jd and cast to
20922         intmax_t.
20923         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20924         * nptl/tst-mutex5.c: Include <stdint.h>.
20925         (do_test): Replace %ld with %jd and cast to intmax_t.
20926         * posix/tst-regex.c (run_test): Likewise.
20927         (run_test_backwards): Likewise.
20928         * rt/tst-clock.c: Include <stdint.h>.
20929         (clock_test): Replace %ld with %jd and cast to intmax_t.
20930         * rt/tst-cpuclock1.c: Include <stdint.h>.
20931         (do_test): Replace %lu with %ju and cast to uintmax_t.
20932         * rt/tst-cpuclock2.c: Include <stdint.h>.
20933         (do_test): Replace %lu with %ju and cast to uintmax_t.
20934         * rt/tst-mqueue1.c: Include <stdint.h>.
20935         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20936         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20937         intmax_t.
20938         * rt/tst-mqueue4.c (do_test): Likewise.
20939         * rt/tst-timer4.c: Include <stdint.h>.
20940         (check_ts): Replace %ld with %jd and cast to intmax_t.
20941         (do_test): Likewise.
20942         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20943         and cast to intmax_t.
20944         * sysdeps/pthread/tst-timer.c (main): Likewise.
20945         * time/clocktest.c (main): Likewise.
20946         * time/tst-posixtz.c (do_test): Likewise.
20947         * timezone/tst-timezone.c (main): Likewise.
20949 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20950             H.J. Lu  <hongjiu.lu@intel.com>
20952         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20953         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20954         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20955         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20956         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20957         version if bit_Fast_Unaligned_Load is set.
20958         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20959         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20960         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20961         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20962         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20965         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20966         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20967         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20968         to 4.
20969         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20970         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20971         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20972         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20974 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20976         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20977         instead of #if to avoid a Wundef warning.
20978         * stdlib/tst-limits.c (do_test): Likewise.
20980         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20981         parallel other exception macros.
20982         (fegetenv): Convert from macro to extern inline so that it applies
20983         retroactively to inline functions already seen by the compiler.
20984         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20986         * posix/Makefile (before-compile): Use $(objpfx) for
20987         posix-conf-vars-def.h.
20989 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20991         * posix/getconf.c (main): Use size_t for type of I.
20992         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20993         NSPEC.
20995         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20996         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20997         * posix/posix-envs.def: Likewise.
20998         * sysdeps/posix/sysconf.c: Likewise.
20999         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21000         (specs): Remove array.
21001         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21002         array.
21004         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21005         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21006         (__sysconf): Use CONF_IS_* macros.
21008         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21009         ($(objpfx)posix-conf-vars-def.h): New target.
21010         * posix/posix-conf-vars.list: New file.
21011         * posix/posix-conf-vars.h: New file.
21012         * posix/confstr.c: Include posix-conf-vars.h.
21013         (confstr): Use CONF_IS_* macros.
21014         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21015         CONF_IS_* macros.
21016         * scripts/gen-posix-conf-vars.awk: New file.
21018 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21020         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21021         fegetround): Add no-op macros to avoid linknamespace issues.
21023         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21024         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21026         * sysdeps/unix/sysv/linux/tile/sysdep.h
21027         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21028         assembly-specific section to avoid a redefinition warning.
21030         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21031         long before casting to pointer to avoid a cast warning.
21033 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21035         * sysdeps/tile/tilegx/Implies: New file.
21037 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21039         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21041 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21043         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21045 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21048         not define.
21049         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21050         <kernel-features.h>.
21051         (__utimes) [__NR_utimes]: Make code unconditional.
21052         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21054         (__ASSUME_UTIMES): Do not undefine.
21055         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21056         (__ASSUME_UTIMES): Likewise.
21057         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21058         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21059         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21060         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21062 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21064         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21066 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21068         [BZ #17747]
21069         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21070         alias to weak alias for j0l, y0l.
21071         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21072         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21074         [BZ #17746]
21075         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21076         conversion.
21078 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21080         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21081         to zero if not already defined.
21083 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21085         [BZ #17724]
21086         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21087         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21088         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21089         (char *) casts added.
21090         * sysdeps/ieee754/k_standardf.c: New file.
21091         * sysdeps/ieee754/k_standardl.c: Likewise.
21092         * math/Makefile (libm-support): Remove k_standard.
21093         (libm-calls): Add k_standard.
21095 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21097         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21098         Optimize to avoid an unnecessary FPCR read.
21100 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21103         Optimize to reduce FPCR/FPSR accesses.
21105 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21107         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21108         Call libc_fetestexcept_aarch64.
21110 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21112         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21113         Call libc_fesetround_aarch64.
21115 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21117         [BZ #17733]
21118         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21119         (__bind): Do not define as weak alias.
21120         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21121         define.
21122         (__getsockname): Do not define as weak alias.
21124 2014-12-22  Will Newton  <will.newton@linaro.org>
21126         * manual/install.texi: Document that we require bison 2.7
21127         or above.
21128         * INSTALL: Regenerate.
21129         * configure.ac: Use AC_CHECK_PROG_VER instead of
21130         AC_PATH_PROG when checking for bison and check for
21131         version 2.7 or above.
21132         * configure: Regenerate.
21134 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21136         [BZ #17745]
21137         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21138         * sysdeps/tile/ffsll.c (ffsll): To here.
21140         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21142 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21144         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21145         if not defined.
21146         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21147         definition.
21148         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21149         hidden ___tls_get_addr.
21150         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21151         hidden __tls_get_addr.
21152         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21153         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21154         Likewise.
21156 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21158         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21159         _dl_init call.
21161 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21163         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21164         from "call _dl_init@PLT".
21165         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21167 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21169         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21170         guarantees.
21172 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21174         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21176 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21178         [BZ #17744]
21179         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21180         strnlen.
21182 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21184         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21185         of multu on MIPSr6.
21186         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21187         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21188         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21189         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21190         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21192 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21194         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21195         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21196         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21197         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21198         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21199         mips32r6/mips64r6.
21200         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21202 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21204         * string/strncat.c (STRNCAT): Simplify implementation.
21206 2014-12-19  David S. Miller  <davem@davemloft.net>
21208         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21209         access the quad as both a long double and as a series of 4 words.
21211         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21212         link_map->l_info array access.
21214 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21216         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21218         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21219         * math/atest-exp2.c (TIMEOUT): Likewise.
21220         * math/atest-sincos.c (TIMEOUT): Likewise.
21222 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21224         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21225         -Wno-error with -fno-builtin-lround.
21227 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21229         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21230         Contains futex constants and functions moved over from ...
21231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21232         <lowlevellock-futex.h>.
21233         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21234         (lll_timedwait_tid): Add comments and parentheses around macro
21235         arguments.
21237 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21239         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21240         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21241         (__lll_private_flag): Remove.
21242         (lll_futex_wait): Likewise.
21243         (lll_futex_timed_wait): Likewise.
21244         (lll_futex_wake): Likewise.
21245         (lll_futex_requeue): Likewise.
21246         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21247         (__lll_timedwait_tid): Spell out argument names.
21248         (lll_timedwait_tid): Add comments and parentheses around macro
21249         arguments.
21250         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21251         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21253 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21255         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21256         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21258         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21259         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21260         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21261         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21262         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21263         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21269         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21270         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21271         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21272         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21273         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21275 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21277         * sysdeps/x86_64/x32/Makefile: New file.
21279 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21282         1L with (mp_limb_t) 1.
21284 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21286         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21287         * nptl/libc_pthread_init.c: ... here.
21288         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21289         * nptl/register-atfork.c: ... here.
21291         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21292         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21293         Use assert_perror to check its return value.
21294         (__gai_create_helper_thread): Likewise.
21296         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21298         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21300 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21302         [BZ #17725]
21303         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21304         __profil_counter.
21305         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21306         Likewise.
21307         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21308         Likewise.
21309         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21310         Likewise.
21311         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21312         (profil_counter): Likewise.
21313         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21314         (profil_counter): Likewise.
21315         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21316         Likewise.
21317         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21318         Likewise.
21319         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21320         (profil_counter): Likewise.
21321         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21322         Likewise.
21323         [!__profil_counter] (profil_counter): Define as weak alias of
21324         __profil_counter.
21325         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21326         (profil_counter): Rename to __profil_counter.
21327         [!__profil_counter] (profil_counter): Define as weak alias of
21328         __profil_counter.
21329         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21330         (profil_counter): Rename to __profil_counter.
21331         [!__profil_counter] (profil_counter): Define as weak alias of
21332         __profil_counter.
21333         * sysdeps/posix/profil.c: Update comment referring to
21334         profil_counter.
21335         (__profil): Use __profil_counter instead of profil_counter.
21336         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21337         __profil_counter.  Use __profil_counter_ushort and
21338         __profil_counter_uint in definitions.
21339         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21340         instead of profil_counter_uint and profil_counter_ushort.
21342         [BZ #17722]
21343         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21344         define as weak alias of __inet_makeaddr.
21345         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21346         as weak alias of __inet_addr.
21347         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21348         as weak alias of __inet_pton.  Use libc_hidden_weak.
21349         * include/arpa/inet.h (__inet_pton): Declare.  Use
21350         libc_hidden_proto.
21351         (inet_makeaddr): Don't use libc_hidden_proto.
21352         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21353         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21354         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21355         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21356         Remove variable.
21357         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21358         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21360 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21362         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21364 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21366         * stdio-common/bug-vfprintf-nargs.c (do_test):
21367         Cast value to intptr_t to avoid format warning
21368         for usage with PRIdPTR printing macro.
21370 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21372         * libio/tst-widetext.c (do_test):
21373         Use format type %td instead of %Zd for ptrdiff_t
21374         in order to avoid format warning.
21376 2014-12-17  Andreas Schwab  <schwab@suse.de>
21378         * nscd/mem.c (gc): Add size_t cast to match printf format.
21380 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21382         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21383         (init): Apply PTR_MANGLE to pointers before storing them.
21384         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21385         before using them.
21387 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21389         [BZ #17719]
21390         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21391         define as weak alias of __memrchr.
21392         (__memrchr): Do not define as strong alias of memrchr.
21393         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21394         Remove variable.
21395         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21396         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21397         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21399         [BZ #17717]
21400         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21401         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21402         (if_indextoname): Rename to __if_indextoname and define as weak
21403         alias of __if_indextoname.  Use libc_hidden_weak.
21404         (if_freenameindex): Rename to __if_freenameindex and define as
21405         weak alias of __if_freenameindex.
21406         (if_nameindex): Rename to __if_nameindex and define as weak alias
21407         of __if_nameindex.
21408         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21409         __if_nametoindex and define as weak alias of __if_nametoindex.
21410         Use libc_hidden_weak.
21411         (if_freenameindex): Rename to __if_freenameindex and define as
21412         weak alias of __if_freenameindex.
21413         (if_nameindex): Rename to __if_nameindex and define as weak alias
21414         of __if_nameindex.
21415         (if_indextoname): Rename to __if_indextoname and define as weak
21416         alias of __if_indextoname.  Use libc_hidden_weak.
21417         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21418         __if_nametoindex and define as weak alias of __if_nametoindex.
21419         Use libc_hidden_weak.
21420         (if_freenameindex): Rename to __if_freenameindex and define as
21421         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21422         (if_nameindex_netlink): Use __if_freenameindex instead of
21423         if_freenameindex.
21424         (if_nameindex): Rename to __if_nameindex and define as weak alias
21425         of __if_nameindex.  Use libc_hidden_weak.
21426         (if_indextoname): Rename to __if_indextoname and define as weak
21427         alias of __if_indextoname.  Use libc_hidden_weak.
21428         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21429         libc_hidden_proto.
21430         [!_ISOMAC] (__if_freenameindex): Likewise.
21431         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21432         if_nametoindex.
21433         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21434         variable.
21435         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21436         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21437         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21438         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21439         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21440         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21441         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21443         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21444         Remove variable.
21445         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21446         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21448 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21450         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21451         subscript above bounds'
21453         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21454         bounds.
21456 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21458         * libio/tst-fopenloc.c: Use test-skeleton.c.
21460         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21461         (entry): Rename to ITEM.
21462         (do_test, comp): Adjust.
21464         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21466 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21468         * string/tester.c: Include <libc-internal.h>.
21469         (test_memset): Ignore -Wmemset-transposed-args.
21471 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21473         * misc/tst-mntent2.c (do_test): Fix warning.
21475 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21477         * elf/tst-unique4lib.cc(a): Mark as used.
21479 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21481         [BZ #17630]
21482         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21483         names.
21485 2014-12-16  Allan McRae  <allan@archlinux.org>
21487         * stdio-common/Makefile (tests): Re-add bug26.
21489 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21491         [BZ #17657]
21492         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21493         static array.
21495 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21497         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21498         (__lll_lock_wait): Likewise.
21499         (__lll_timedlock_wait): Likewise.
21500         (__lll_timedwait_tid): Likewise.
21501         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21502         (__lll_robust_timedlock_wait): Likewise.
21503         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21504         (lll_cond_trylock): Likewise.
21505         (__lll_lock): Likewise.
21506         (__lll_robust_lock): Likewise.
21507         (__lll_cond_lock): Likewise.
21508         (lll_robust_cond_lock): Likewise.
21509         (__lll_timedlock): Likewise.
21510         (__lll_robust_timedlock): Likewise.
21511         (__lll_unlock): Likewise.
21512         (__lll_robust_unlock): Likewise.
21513         (lll_wait_tid): Likewise.
21514         (lll_timedwait_tid): Likewise.
21516 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21518         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21520 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21522         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21524 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21526         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21527         * stdio-common/tst-sprintf.c: Likewise.
21529 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21531         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21533 2014-12-15  Jeff Law  <law@redhat.com>
21535         [BZ #16617]
21536         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21537         on the heap.  (CVE-2012-3406)
21538         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21539         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21540         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21542 2014-12-15  Will Newton  <will.newton@linaro.org>
21544         * manual/install.texi: Bump required version of texinfo
21545         to 4.7 from 4.5.
21546         * INSTALL: Regenerated.
21547         * configure.ac: Check for makeinfo version 4.7 and above.
21548         * configure: Regenerated.
21550 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21552         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21553         PREFIX, string constant to insert between directory and name.
21554         * sysdeps/posix/shm_open.c: Update caller.
21555         * sysdeps/posix/shm_unlink.c: Likewise.
21556         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21557         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21558         (SEM_SHM_PREFIX): New macro.
21559         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21560         [$(have-thread-library) = no].
21561         * nptl/Makefile (libpthread-routines): Add shm-directory.
21562         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21563         * sysdeps/nptl/shm-directory.h: New file.
21564         * sysdeps/posix/shm-directory.c
21565         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21566         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21567         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21568         INTERNAL_SYSCALL.
21569         (__where_is_shmfs): Function removed.
21570         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21571         Variables removed.
21572         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21573         Use SHM_GET_NAME.
21574         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21576         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21577         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21578         unconditional for use inside libpthread.
21579         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21581 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21583         * nptl/pthread_getaffinity.c: New file.
21584         * nptl/pthread_setaffinity.c: New file.
21585         * nptl/pthread_getname.c: New file.
21586         * nptl/pthread_setname.c: New file.
21588         * nptl/pthread_create.c (START_THREAD_DEFN)
21589         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21591 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21592             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21594         * resolv/res_send.c (send_vc): Disable warning resplen may
21595         be used uninitialized.
21597 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21599         * nptl/tst-mutex6.c
21600         (ATTR_NULL): New define checks ATTR against NULL.
21601         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21602         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21604 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21606         [BZ #17581]
21607         * malloc/hooks.c
21608         (mem2mem_check): Revert my previous change.
21609         (malloc_check_get_size): Revert my previous change.
21610         (mem2chunk_check): Revert my previous change.
21612 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21614         * sysdeps/posix/shm-directory.c: New file.
21615         * sysdeps/posix/shm-directory.h: New file.
21616         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21617         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21618         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21619         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21620         Transmute EPERM to EACCES.
21621         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21622         from ...
21623         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21624         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21626 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21628         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21629         pointer and cast to uintptr_t.
21630         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21632         Add cast to avoid warning.
21633         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21635 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21637         * nptl/semaphore.h: Move to ...
21638         * sysdeps/pthread/semaphore.h: ... here.
21639         * Makefile (installed-headers): Change nptl/semaphore.h to
21640         sysdeps/pthread/semaphore.h.
21642 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21644         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21645         generated error format strings.
21647         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21648         -Wformat-extra-args warnings for scanf formats.
21649         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21650         test of zero-length format (duh).
21651         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21652         corner-case scanf format test.
21653         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21654         generated fprintf format string.
21655         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21656         corner-case sprintf format tests.
21657         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21658         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21659         -Wformat-extra-args warnings throughout.
21660         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21661         (CFLAGS-scanf4.c): Likewise.
21662         (CFLAGS-scanf7.c): Likewise.
21663         (CFLAGS-tst-sprintf.c): Likewise.
21664         (CFLAGS-tst-printf.c): Likewise.
21665         (CFLAGS-tst-printfsz.c): Likewise.
21667 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21669         * include/cpio.h: New file.
21670         * include/fmtmsg.h: Likewise.
21672         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21673         corresponding format argument to size_t.
21674         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21675         arguments.
21676         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21677         corresponding format argument to size_t.
21678         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21679         arguments.
21680         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21681         corresponding format argument to size_t.
21682         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21683         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21684         (CFLAGS-tst-mbswcs2.c): Likewise.
21685         (CFLAGS-tst-mbswcs3.c): Likewise.
21686         (CFLAGS-tst-mbswcs4.c): Likewise.
21687         (CFLAGS-tst-mbswcs5.c): Likewise.
21688         (CFLAGS-tst-trans.c): Likewise.
21690 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21692         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21693         rather than assuming they won't contain any '%'s.
21695 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21697         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21698         inhibit_loop_to_libcall to avoid recursive calls.
21699         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21700         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21702 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21704         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21705         prototype.
21707 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21709         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21710         integer value instead of boolean.
21712 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21714         * malloc/malloc.c: Fix powerof2 check.
21716 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21718         * locale/programs/locfile.h (maybe_swap_uint32):
21719         Remove inline and add unused attribute.
21721 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21724         Truncating assembler expression to a .long expression.
21726 2014-12-11  Andreas Schwab  <schwab@suse.de>
21728         * elf/rtld.c (struct map_args): Constify str member.
21729         (do_preload): Constify fname argument.
21731 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21733         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21734         constants definition.
21736 2014-12-11  Andreas Schwab  <schwab@suse.de>
21738         [BZ #16657]
21739         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21740         FORCE_ELISION instead of DO_ELISION.
21741         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21742         Remove.
21743         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21744         Likewise.
21746         * iconvdata/gconv-modules: Remove duplicate entry.
21748 2014-12-11  Will Newton  <will.newton@linaro.org>
21750         Merge gettext 0.19.3 into intl/.
21752         This involves a number of cosmetic changes to comments
21753         and ANSI function definitions and prototypes throughout
21754         all the files. The gettext copyright header is used but
21755         with the date ranges taken from the glibc copy.
21757         * NEWS: Add gettext merge to 2.21.
21758         * intl/bindtextdom.c: Switch to gettext copyright.
21759         Use ANSI definitions and prototypes.
21760         Use gl_* locking primitives rather than __libc_* ones.
21761         Use __builtin_expect rather than __glibc_likely/unlikely.
21762         * intl/dcgettext.c: Switch to gettext copyright.
21763         Use ANSI definitions and prototypes.
21764         * intl/dcigettext.c: Switch to gettext copyright.
21765         Use ANSI definitions and prototypes.
21766         (INTDIV0_RAISES_SIGFPE): New define.
21767         Use gl_* locking primitives rather than __libc_* ones.
21768         Include eval-plural.h instead of plural-eval.c.
21769         Use __builtin_expect rather than __glibc_likely/unlikely.
21770         * intl/dcngettext.c: Switch to gettext copyright.
21771         Use ANSI definitions and prototypes.
21772         * intl/dgettext.c: Likewise.
21773         * intl/dngettext.c: Likewise.
21774         * intl/plural-eval.c: Renamed to...
21775         * intl/eval-plural.h: ...this.
21776         * intl/explodename.c: Switch to gettext copyright.
21777         Use ANSI definitions and prototypes.
21778         (_nl_explode_name): Use strchr instead of __rawmemchr.
21779         * intl/finddomain.c: Switch to gettext copyright.
21780         Use ANSI definitions and prototypes.
21781         Use gl_* locking primitives rather than __libc_* ones.
21782         (_nl_find_domain): Use malloc rather than alloca for
21783         allocation of temporary locale name.
21784         * intl/gettext.c: Switch to gettext copyright.
21785         Use ANSI definitions and prototypes.
21786         * intl/gettextP.h: Switch to gettext copyright.
21787         Use ANSI definitions and prototypes.
21788         Use gl_* locking primitives rather than __libc_* ones.
21789         * intl/gmo.h: Switch to gettext copyright.
21790         (struct sysdep_string): Move struct segment_pair outside of
21791         struct definition.
21792         * intl/hash-string.c: Use ANSI definitions and prototypes.
21793         * intl/hash-string.h: Switch to gettext copyright.
21794         Use ANSI definitions and prototypes.
21795         * intl/l10nflist.c: Switch to gettext copyright.
21796         Use ANSI definitions and prototypes.
21797         (_nl_normalize_codeset): Avoid integer overflow.
21798         * intl/loadinfo.h: Switch to gettext copyright.
21799         Use ANSI definitions and prototypes.
21800         (LIBINTL_DLL_EXPORTED): New define.
21801         (PATH_SEPARATOR): New define.
21802         * intl/loadmsgcat.c: Switch to gettext copyright.
21803         * intl/localealias.c: Switch to gettext copyright.
21804         Use ANSI definitions and prototypes.
21805         (_nl_expand_alias): Use PATH_SEPARATOR.
21806         * intl/ngettext.c: Switch to gettext copyright.
21807         Use ANSI definitions and prototypes.
21808         * intl/plural-exp.c: Likewise.
21809         * intl/plural-exp.h: Switch to gettext copyright.
21810         Use ANSI definitions and prototypes.
21811         (struct expression): Move definition of enum operator outside
21812         of struct definition.
21813         * intl/plural.c: Regenerate.
21814         * intl/plural.y: Switch to gettext copyright.
21815         Use ANSI definitions and prototypes.
21816         Port to bison 3.0.
21817         * intl/textdomain.c: Switch to gettext copyright.
21818         Use ANSI definitions and prototypes.
21819         Use gl_* locking primitives rather than __libc_* ones.
21821 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21823         * debug/warning-nop.c: Add used atrribute.
21825 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21827         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21829         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21830         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21831         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21833 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21834             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21836         [BZ #17634]
21837         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21838         Undefine after defining function.  Define as weak alias of
21839         __wcschr.  Use libc_hidden_weak.
21840         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21841         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21842         (libc_hidden_def): Also define __GI___wcschr alias.
21843         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21844         __wcschr and define as weak alias of __wcschr.
21845         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21846         __wcschr.
21847         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21848         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21849         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21850         libc_hidden_weak.  Do not use libc_hidden_def.
21851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21852         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21853         __GI___wcschr alias.
21854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21855         [IS_IN (libc)] (wcschr): Define as macro expanding to
21856         __redirect_wcschr.
21857         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21858         [IS_IN (libc)] (__wcschr_power6): Likewise.
21859         [IS_IN (libc)] (__wcschr_power7): Likewise.
21860         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21861         instead of wcschr.
21862         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21863         __libc_wcschr.
21864         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21865         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21866         __wcschr and define as weak alias of __wcschr.  Use
21867         libc_hidden_builtin_def.
21868         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21869         as weak alias of __wcschr.  Use libc_hidden_weak.
21870         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21871         wcschr.
21872         * time/era.c (_nl_init_era_entries): Likewise.
21873         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21874         variable.
21875         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21876         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21878 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21880         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21881         format for long int variable.
21883 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21885         [BZ #10672]
21886         * manual/search.texi: (Array Sort Function): Remove claim how to make
21887         qsort stable.
21889 2014-12-10  Andreas Schwab  <schwab@suse.de>
21891         [BZ #12847]
21892         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21893         user-controlled locks.
21895 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21897         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21898         register.
21900 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21902         * configure.ac (--disable-werror): New configure option.
21903         (enable_werror): New AC_SUBST.
21904         * configure: Regenerated.
21905         * config.make.in (enable-werror): New variable.
21906         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21907         -Wno-error=undef.
21908         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21909         * manual/install.texi (Configuring and compiling): Document
21910         --disable-werror.
21911         * INSTALL: Regenerated.
21912         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21913         (CFLAGS-tst-chk2.c): Likewise.
21914         (CFLAGS-tst-chk3.c): Likewise.
21915         (CFLAGS-tst-chk4.cc): Likewise.
21916         (CFLAGS-tst-chk5.cc): Likewise.
21917         (CFLAGS-tst-chk6.cc): Likewise.
21918         (CFLAGS-tst-lfschk1.c): Likewise.
21919         (CFLAGS-tst-lfschk2.c): Likewise.
21920         (CFLAGS-tst-lfschk3.c): Likewise.
21921         (CFLAGS-tst-lfschk4.cc): Likewise.
21922         (CFLAGS-tst-lfschk5.cc): Likewise.
21923         (CFLAGS-tst-lfschk6.cc): Likewise.
21925         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21926         (main): Disable -Wdeprecated-declarations around calls to
21927         register_printf_function.
21929         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21930         (do_test): Disable -Wdiv-by-zero around some calls to
21931         fwrite_unlocked and fread_unlocked.
21933         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21934         (DIAG_POP_NEEDS_COMMENT): Likewise.
21935         (_DIAG_STR1): Likewise.
21936         (_DIAG_STR): Likewise.
21937         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21938         * stdio-common/bug21.c: Include <libc-internal.h>.
21939         (do_test): Disable -Wformat around call to sscanf.
21940         * stdio-common/scanf14.c: Include <libc-internal.h>.
21941         (main): Disable -Wformat around some calls to scanf functions.
21943 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21945         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21947 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21949         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21950         stack variable alignment.
21952 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21954         [BZ #17682]
21955         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21956         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21957         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21958         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21959         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21960         __getrlimit instead of getrlimit.
21961         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21962         __gettimeofday instead of gettimeofday.
21963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21964         Likewise.
21965         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21966         Likewise.
21967         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21968         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21969         Remove variable.
21970         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21971         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21973 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21975         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21976         for wide-character tests.
21978 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21980         * io/openat64.c: #include <libc-internal.h>
21981         (__openat64): Prototypify.  Use ignore_value on MODE.
21982         * io/openat.c: Likewise.
21983         * misc/reboot.c: #include <libc-internal.h>
21984         (reboot): Prototypify.  Use ignore_value on HOWTO.
21985         * misc/ptrace.c: #include <libc-internal.h>
21986         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21988 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21990         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21991         XPG4, UNIX98 and XOPEN2K.
21992         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21993         Remove variable.
21994         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21996 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21998         * libio/fileops.c: Use ISO C style for function definitions.
21999         * libio/iofopen.c: Likewise.
22000         * libio/wfileops.c: Likewise.
22002         [BZ #17653]
22003         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22004         offset on EOF.
22005         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22006         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22007         (fgets_func): Function pointer to fgets and fgetws.
22008         (do_ftell_test): Add test to verify ftell value after read
22009         EOF.
22010         (do_test): Set fgets_func.
22012         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22013         O_TRUNC flag for w and w+ modes.
22014         (do_rewind_test): Likewise.
22015         (do_ftell_test): Likewise.
22016         (do_write_test): Likewise.
22018         [BZ #17647]
22019         * libio/fileops.c (do_ftell): Seek only when there are
22020         unflushed writes.
22021         * libio/wfileops.c (do_ftell_wide): Likewise.
22022         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22023         test case.
22024         (do_one_test): Call it.
22026 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22028         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22029         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22030         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22031         Remove variable.
22032         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22033         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22034         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22036 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22038         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22039         Remove variable.
22040         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22042         [BZ #17668]
22043         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22044         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22045         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22046         __freeifaddrs.  Use libc_hidden_weak.
22047         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22048         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22049         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22050         __freeifaddrs.  Use libc_hidden_weak.
22051         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22052         __getifaddrs and define as weak alias of __getifaddrs.  Use
22053         libc_hidden_weak.
22054         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22055         __freeifaddrs.  Use libc_hidden_weak.
22056         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22057         Remove variable.
22058         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22059         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22061 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22063         [BZ #17601]
22064         * sysdeps/mips/start.S (__start): Use indirect jump to call
22065         __libc_start_main.
22067 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22069         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22071         * nptl/tst-mutex1.c: Include <stdbool.h>.
22072         [!ATTR] (ATTR_NULL): New macro.
22073         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22074         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22075         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22077         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22078         to char *.
22080         [BZ #17665]
22081         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22082         Change conditional to [__USE_MISC].
22084         [BZ #17664]
22085         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22086         fgets_unlocked.
22087         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22088         __fgets_unlocked.
22089         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22090         fgets_unlocked.
22091         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22092         Remove variable.
22093         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22094         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22095         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22096         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22097         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22098         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22099         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22100         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22101         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22103         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22105 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22107         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22108         Remove strpbrk objects.
22109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22110         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22112         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22113         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22114         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22117         Remove strcspn objects.
22118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22119         (__libc_ifunc_impl_list): Remove strcspn implementation.
22120         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22121         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22122         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22123         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22126         Remove strspn objetcs.
22127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22128         (__libc_ifunc_impl_list): Remove strspn implementation.
22129         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22130         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22131         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22132         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22134 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22136         [BZ #17581]
22137         * malloc/hooks.c
22138         (mem2mem_check): Add a terminator to the chain of checking blocks.
22139         (malloc_check_get_size): Use it here.
22140         (mem2chunk_check): Ditto.
22142 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22144         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22145         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22147 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22149         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22151         * nptl/nptl-init.c: Include libc-internal.h.
22152         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22154         * elf/ldconfig.c (search_dir): Expand comment.
22156 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22158         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22159         variable.
22160         (linknamespace-symlist-stdlibs-tests): Likewise.
22161         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22162         instead of $(objpfx)symlist-stdlibs.
22163         (linknamespace-libs-isoc): New variable.
22164         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22165         (linknamespace-libs-ISO): New variable.
22166         (linknamespace-libs-ISO99): Likewise.
22167         (linknamespace-libs-ISO11): Likewise.
22168         (linknamespace-libs-XPG3): Likewise.
22169         (linknamespace-libs-XPG4): Likewise.
22170         (linknamespace-libs-POSIX): Likewise.
22171         (linknamespace-libs-UNIX98): Likewise.
22172         (linknamespace-libs-XOPEN2K): Likewise.
22173         (linknamespace-libs-POSIX2008): Likewise.
22174         (linknamespace-libs-XOPEN2K8): Likewise.
22175         ($(objpfx)symlist-stdlibs): Replace by
22176         $(linknamespace-symlist-stdlibs-tests).  Use
22177         $(linknamespace-libs-$*) as set of libraries.
22178         ($(linknamespace-header-tests)): Update dependencies.  Use
22179         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22180         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22181         * conform/linknamespace.pl: Remove comment about considering
22182         definitions of symbols from irrelevant libraries.
22184 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22186         [BZ #13862]
22187         * elf/dl-tls.c: Include <atomic.h>.
22188         (oom): Remove #ifdef SHARED/#endif.
22189         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22190         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22191         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22192         big enough.
22193         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22194         * nptl/Makefile (tests): Add tst-stack4.
22195         (modules-names): Add tst-stack4mod.
22196         ($(objpfx)tst-stack4): New.
22197         (tst-stack4mod.sos): Likewise.
22198         ($(objpfx)tst-stack4.out): Likewise.
22199         ($(tst-stack4mod.sos)): Likewise.
22200         (clean): Likewise.
22201         * nptl/tst-stack4.c: New file.
22202         * nptl/tst-stack4mod.c: Likewise.
22204 2014-11-27  J. Brown  <jb999@gmx.de>
22206         * sysdeps/x86/bits/string.h: Add recent CPUs.
22208 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22210         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22211         sigblock.
22213         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22214         feof.
22216         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22217         variable.
22219 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22221         * nscd/connections.c: Include libc-internal.h because of macro
22222         usage ignore_value.
22224 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22226         * string/bits/string3.h (__warn_memset_zero_len): Don't
22227         declare for gcc newer than 5.0.
22228         (memset): Don't test for zero-length __LEN for gcc newer than
22229         5.0.
22231 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22233         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22234         size_t for %zu format.
22236         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22237         difference, not %ju.
22239 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22241         * include/libc-internal.h (ignore_value): New macro.
22242         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22243         with ignore_value.
22245         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22246         definition.
22248         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22249         pthread_cleanup_push to void *.
22251         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22252         Undefine.
22254         [BZ #16619]
22255         [BZ #16740]
22256         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22257         instead of 1L << 52.
22259         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22260         * libio/bug-rewind2.c (do_test): Likewise.
22262         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22263         * debug/test-strcpy_chk-ifunc.c: Likewise.
22264         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22265         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22266         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22267         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22268         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22269         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22270         * Rules [$(multi-arch) = no] (tests): Do not filter out
22271         $(tests-ifunc).
22272         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22273         * debug/Makefile (tests-ifunc): Remove variable.
22274         (tests): Do not add $(tests-ifunc).
22275         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22276         (tests): Do not add $(tests-ifunc).
22277         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22278         [TEST_IFUNC]: Remove conditionals.
22279         * string/test-string.h (TEST_IFUNC): Remove macro.
22280         [TEST_IFUNC]: Remove conditionals.
22282         * string/test-strchr.c [!WIDE] (L): New macro.
22283         [WIDE] (L): Likewise.
22284         (check1): Use CHAR instead of char.  Use L on string and character
22285         constants.
22287 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22289         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22290         tests.
22291         * sysdeps/powerpc/bits/atomic.h
22292         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22293         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22294         (atomic_exchange_and_add_acq): Likewise.
22295         (atomic_exchange_and_add_rel): Likewise.
22296         * sysdeps/powerpc/powerpc32/bits/atomic.h
22297         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22298         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22299         * sysdeps/powerpc/powerpc64/bits/atomic.h
22300         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22301         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22303 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22305         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22306         Change synchronization of __sched_fifo_min_prio and
22307         __sched_fifo_max_prio.
22308         * nptl/pthread_mutexattr_getprioceiling.c
22309         (pthread_mutexattr_getprioceiling): Likewise.
22310         * nptl/pthread_mutexattr_setprioceiling.c
22311         (pthread_mutexattr_setprioceiling): Likewise.
22312         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22313         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22314         Likewise.
22316 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22318         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22319         void.
22321 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22323         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22324         third argument const.
22326 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22328         fnmatch: work around GCC compiler warning bug with uninit var
22329         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22330         This works around a bug with x86-64 GCC 4.9.2 and earlier
22331         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22332         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22333         used uninitialized in this function [-Wmaybe-uninitialized]".
22335 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22337         * posix/bug-regex31.c (main): Return RES not 0.
22339 2014-11-25  Anton Blanchard <anton@samba.org>
22341         * sysdeps/powerpc/bits/atomic.h
22342         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22344 2014-11-24  Sterling Augustine  <saugustine@google.com>
22346         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22348 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22350         [BZ #17608]
22351         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22353 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22355         [BZ #17633]
22356         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22357         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22358         variable.
22359         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22360         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22362 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22364         * string/strncpy.c (strncpy): Improve performance by using memset.
22366 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22368         * string/strcpy.c (strcpy):
22369         Improve performance by using strlen and memcpy.
22371 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22373         * string/strcoll_l.c (get_next_seq): __always_inline.
22374         * string/strcoll_l.c (do_compare): __always_inline.
22376 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22378         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22379         defined.
22380         * include/mqueue.h: Likewise.
22381         * include/stdlib.h: Likewise.
22383         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22384         (get_null_defines): Adjust.
22385         * sunrpc/Makefile: Adjust comment.
22386         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22387         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22388         (CFLAGS-interp.c): Likewise.
22389         (CFLAGS-ldconfig.c): Likewise.
22390         (CPPFLAGS-.os): Likewise.
22391         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22392         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22393         * extra-modules.mk (extra-modules.mk): Likewise.
22394         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22395         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22396         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22397         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22398         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22399         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22400         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22401         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22402         * iconvdata/Makefile (CPPFLAGS): Likewise.
22403         (cpp-srcs-left): Add libof for all iconvdata routines.
22404         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22405         * include/assert.h: Likewise.
22406         * include/ctype.h: Likewise.
22407         * include/errno.h: Likewise.
22408         * include/libc-symbols.h: Likewise.
22409         * include/math.h: Likewise.
22410         * include/netdb.h: Likewise.
22411         * include/resolv.h: Likewise.
22412         * include/stdio.h: Likewise.
22413         * include/stdlib.h: Likewise.
22414         * include/string.h: Likewise.
22415         * include/sys/stat.h: Likewise.
22416         * include/wctype.h: Likewise.
22417         * intl/l10nflist.c: Likewise.
22418         * libidn/idn-stub.c: Likewise.
22419         * libio/libioP.h: Likewise.
22420         * nptl/libc_multiple_threads.c: Likewise.
22421         * nptl/pthreadP.h: Likewise.
22422         * posix/regex_internal.h: Likewise.
22423         * resolv/res_hconf.c: Likewise.
22424         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22425         * sysdeps/arm/memmove.S: Likewise.
22426         * sysdeps/arm/sysdep.h: Likewise.
22427         * sysdeps/generic/_itoa.h: Likewise.
22428         * sysdeps/generic/symbol-hacks.h: Likewise.
22429         * sysdeps/gnu/errlist.awk: Likewise.
22430         * sysdeps/gnu/errlist.c: Likewise.
22431         * sysdeps/i386/i586/memcpy.S: Likewise.
22432         * sysdeps/i386/i586/memset.S: Likewise.
22433         * sysdeps/i386/i686/memcpy.S: Likewise.
22434         * sysdeps/i386/i686/memmove.S: Likewise.
22435         * sysdeps/i386/i686/mempcpy.S: Likewise.
22436         * sysdeps/i386/i686/memset.S: Likewise.
22437         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22438         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22439         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22440         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22441         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22442         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22443         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22444         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22445         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22447         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22448         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22449         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22450         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22451         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22453         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22455         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22456         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22457         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22458         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22459         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22460         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22461         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22463         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22464         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22465         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22466         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22467         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22470         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22475         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22479         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22482         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22483         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22484         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22485         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22486         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22487         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22488         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22489         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22490         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22491         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22492         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22493         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22494         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22495         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22497         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22498         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22499         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22500         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22501         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22502         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22503         * sysdeps/posix/closedir.c: Likewise.
22504         * sysdeps/posix/opendir.c: Likewise.
22505         * sysdeps/posix/readdir.c: Likewise.
22506         * sysdeps/posix/rewinddir.c: Likewise.
22507         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22508         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22509         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22511         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22512         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22518         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22519         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22521         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22524         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22525         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22527         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22528         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22530         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22535         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22543         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22544         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22545         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22546         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22547         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22548         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22549         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22551         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22554         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22555         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22556         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22557         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22558         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22564         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22565         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22566         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22567         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22568         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22569         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22570         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22571         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22572         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22573         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22574         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22575         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22576         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22577         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22578         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22579         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22580         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22581         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22582         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22583         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22584         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22585         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22586         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22587         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22588         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22589         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22591         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22592         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22593         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22594         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22595         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22597         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22598         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22599         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22600         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22603         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22605         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22606         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22607         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22608         * sysdeps/unix/alpha/sysdep.S: Likewise.
22609         * sysdeps/unix/alpha/sysdep.h: Likewise.
22610         * sysdeps/unix/make-syscalls.sh: Likewise.
22611         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22613         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22614         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22615         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22616         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22617         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22619         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22620         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22622         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22624         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22625         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22626         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22628         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22629         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22630         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22631         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22632         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22633         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22634         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22635         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22636         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22637         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22640         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22641         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22649         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22650         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22651         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22652         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22654         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22661         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22662         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22663         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22664         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22665         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22666         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22667         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22669         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22670         * sysdeps/x86_64/memcpy.S: Likewise.
22671         * sysdeps/x86_64/memmove.c: Likewise.
22672         * sysdeps/x86_64/memset.S: Likewise.
22673         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22674         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22675         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22676         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22677         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22678         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22679         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22680         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22681         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22682         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22683         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22684         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22685         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22686         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22687         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22688         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22689         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22690         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22692         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22693         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22694         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22695         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22697         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22698         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22699         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22700         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22701         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22702         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22703         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22704         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22705         * sysdeps/x86_64/strcmp.S: Likewise.
22707         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22709         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22710         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22711         * elf/rtld-Rules: Likewise.
22712         * elf/setup-vdso.h: Likewise.
22713         * include/assert.h: Likewise.
22714         * include/bits/stdlib-float.h: Likewise.
22715         * include/errno.h: Likewise.
22716         * include/sys/stat.h: Likewise.
22717         * include/unistd.h: Likewise.
22718         * sysdeps/aarch64/setjmp.S: Likewise.
22719         * sysdeps/alpha/setjmp.S: Likewise.
22720         * sysdeps/arm/__longjmp.S: Likewise.
22721         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22722         * sysdeps/arm/setjmp.S: Likewise.
22723         * sysdeps/arm/sysdep.h: Likewise.
22724         * sysdeps/generic/_itoa.h: Likewise.
22725         * sysdeps/generic/dl-sysdep.h: Likewise.
22726         * sysdeps/generic/ldsodefs.h: Likewise.
22727         * sysdeps/i386/dl-tls.h: Likewise.
22728         * sysdeps/i386/setjmp.S: Likewise.
22729         * sysdeps/m68k/setjmp.c: Likewise.
22730         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22731         * sysdeps/mach/hurd/opendir.c: Likewise.
22732         * sysdeps/posix/getcwd.c: Likewise.
22733         * sysdeps/posix/opendir.c: Likewise.
22734         * sysdeps/posix/profil.c: Likewise.
22735         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22736         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22737         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22738         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22739         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22740         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22741         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22742         * sysdeps/s390/dl-tls.h: Likewise.
22743         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22744         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22745         * sysdeps/sh/sh3/setjmp.S: Likewise.
22746         * sysdeps/sh/sh4/setjmp.S: Likewise.
22747         * sysdeps/unix/alpha/sysdep.h: Likewise.
22748         * sysdeps/unix/arm/sysdep.S: Likewise.
22749         * sysdeps/unix/i386/sysdep.S: Likewise.
22750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22751         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22752         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22753         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22755         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22756         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22757         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22758         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22759         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22760         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22761         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22762         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22765         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22768         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22769         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22773         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22774         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22777         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22778         * sysdeps/x86_64/setjmp.S: Likewise.
22780         * include/math.h: Use IS_IN instead of IS_IN_libm.
22781         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22782         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22786         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22787         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22790         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22791         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22792         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22793         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22794         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22795         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22796         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22797         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22798         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22799         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22800         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22801         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22802         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22803         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22804         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22805         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22806         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22807         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22808         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22809         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22810         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22811         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22812         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22813         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22815         Likewise.
22816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22817         Likewise.
22818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22819         Likewise.
22820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22821         Likewise.
22822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22823         Likewise.
22824         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22825         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22826         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22827         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22828         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22829         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22835         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22836         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22837         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22838         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22839         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22840         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22842         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22843         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22844         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22845         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22848         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22850         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22852         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22853         * nptl/pthreadP.h: Likewise.
22854         * nptl_db/structs.def: Likewise.
22855         * sysdeps/arm/sysdep.h: Likewise.
22856         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22857         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22858         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22859         * sysdeps/unix/alpha/sysdep.h: Likewise.
22860         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22862         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22863         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22864         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22865         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22867         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22868         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22869         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22870         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22871         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22872         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22873         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22878         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22881         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22882         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22883         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22884         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22885         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22887         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22888         * nptl/pthreadP.h: Likewise.
22889         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22890         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22891         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22892         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22893         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22895         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22896         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22897         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22898         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22899         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22900         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22902         Likewise.
22903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22907         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22910         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22911         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22912         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22914         * dlfcn/dladdr.c: Use IS_IN.
22915         * dlfcn/dladdr1.c: Likewise.
22916         * dlfcn/dlclose.c: Likewise.
22917         * dlfcn/dlerror.c: Likewise.
22918         * dlfcn/dlinfo.c: Likewise.
22919         * dlfcn/dlmopen.c: Likewise.
22920         * dlfcn/dlopen.c: Likewise.
22921         * dlfcn/dlsym.c: Likewise.
22922         * dlfcn/dlvsym.c: Likewise.
22924         * include/ifaddrs.h: Use IS_IN.
22925         * inet/check_pf.c: Likewise.
22926         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22927         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22929         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22930         IS_IN_ldconfig.
22931         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22932         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22934         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22935         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22936         IS_IN (libc).
22938         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22940         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22941         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22942         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22943         * include/libc-symbols.h (IS_IN_LIB): New macro.
22944         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22945         * include/netdb.h: Likewise.
22946         * include/stap-probe.h: Remove all uses of IN_LIB.
22948         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22949         instead of IN_MODULE.
22950         * include/libc-symbols.h (IN_MODULE): Define using
22951         MODULE_NAME.
22952         (PASTE_NAME, PASTE_NAME1): New macros.
22953         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22954         of IN_LIB.
22955         (STAP_PROBE_ASM): Likewise.
22957 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22959         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22960         __mach_init in dlopened libc.
22962 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22964         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22965         * sysdeps/arm/preconfigure: Regenerate.
22967 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22969         * nptl/pthread_create.c (__pthread_create_2_1): Set
22970         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22971         when copying values from IATTR into PD.
22973 2014-11-21  Will Newton  <will.newton@linaro.org>
22974             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22976         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22977         Refactor inline-asm.  Also add comment.
22979         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22980         ElfW macro instead of hardcoded Elf64 types.
22981         (la_aarch64_gnu_pltenter): Likewise.
22982         * sysdeps/aarch64/dl-machine.h
22983         (elf_machine_runtime_setup): Use ElfW(Addr).
22985         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22986         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22987         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22988         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22989         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22990         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22991         (R_AARCH64_TLS_DTPMOD): This.
22992         (R_AARCH64_TLS_DTPREL64): Rename to ...
22993         (R_AARCH64_TLS_DTPREL): This.
22994         (R_AARCH64_TLS_TPREL64): Rename to ...
22995         (R_AARCH64_TLS_TPREL): This.
22996         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22997         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22998         R_AARCH64_TLS_TPREL64.
22999         (elf_machine_rela): Likewise.
23001 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23003         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23004         by setting it to 0.  64b atomics are not supported currently.
23006 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23008         [BZ #16469]
23009         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23010         search domain names.
23012 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23014         [BZ #16469]
23015         * NEWS: Update.
23016         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23017         trailing dot.
23018         * posix/tst-getaddrinfo5.c: New.
23019         * posix/Makefile (tests): Add it.
23021 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23023         [BZ #14498]
23024         * NEWS: Fixed.
23025         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23026         after parsing line but before break_if_match.
23027         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23028         if there is a protocol mismatch.
23030 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23032         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23033         because the potential race is on the user-supplied stream.
23035 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23037         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23038         string literal if not passed a buffer.
23039         * manual/job.texi (ctermid): Update reasoning, note deviation
23040         from posix, suggest mtasurace when not passed a buffer, for
23041         future non-preliminary safety notes.
23043 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23045         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23046         of not passing it a buffer.
23047         Reported by Peng Haitao.
23049 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23051         * manual/Makefile ($(objpfx)stamp-summary): Require
23052         check-safety.sh to pass.
23053         * manual/check-safety.sh: Wish for verification that every
23054         @deftypefn and @deftypefun is followed by a @safety remark.
23056 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23058         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23060         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23061         PTHREAD_CANCEL_ASYNCHRONOUS.
23062         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23063         send SIGCANCEL.
23065         * nptl/default-sched.h: New file.
23066         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23067         * nptl/pthread_create.c: Include it.
23068         (__pthread_create_2_1): Use collect_default_sched instead of making
23069         Linux syscalls here directly.
23071 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23073         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23074         __pthread_once): Use C11 atomics.
23076 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23078         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23080 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23082         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23083         atomic_thread_fence_acquire, atomic_thread_fence_release,
23084         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23085         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23086         atomic_compare_exchange_weak_relaxed,
23087         atomic_compare_exchange_weak_acquire,
23088         atomic_compare_exchange_weak_release,
23089         atomic_exchange_acquire, atomic_exchange_release,
23090         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23091         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23092         atomic_fetch_and_acquire,
23093         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23095 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23097         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23098         USE_ATOMIC_COMPILER_BUILTINS): Define.
23099         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23101         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23103         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23105         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23107         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23109         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23111         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23113         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23115         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23117         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23119         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23121         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23125         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23127         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23129         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23131         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23133         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23134         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23135         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23137         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23140 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23142         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23143         the sched_priority value here.  It was already checked when the user
23144         called pthread_attr_setschedparam.
23146         * nptl/tst-bad-schedattr.c: New file.
23147         * nptl/Makefile (tests): Add it.
23149 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23150             Florian Weimer  <fweimer@redhat.com>
23151             Joseph Myers  <joseph@codesourcery.com>
23152             Adam Conrad  <adconrad@0c3.net>
23153             Andreas Schwab  <schwab@suse.de>
23154             Brooks  <bmoses@google.com>
23156         [BZ #17625]
23157         * wordexp-test.c (__dso_handle): Add prototype.
23158         (__register_atfork): Likewise.
23159         (__app_register_atfork): New function.
23160         (registered_forks): New global.
23161         (register_fork): New function.
23162         (test_case): Add 3 new tests for WRDE_CMDSUB.
23163         (main): Call __app_register_atfork.
23164         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23165         fork count is non-zero fail the test.
23166         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23167         is set.
23168         (parse_dollars): Remove check for WRDE_NOCMD.
23169         (parse_dquote): Likewise.
23171 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23173         * Makeconfig (built-modules): List non-library modules to be
23174         built.
23175         (module-cppflags): Include libc-modules.h for
23176         everything except shlib-versions.v.i.
23177         (CPPFLAGS): Use it.
23178         (before-compile): Add libc-modules.h.
23179         ($(common-objpfx)libc-modules.h,
23180         $(common-objpfx)libc-modules.stmp): New targets.
23181         (common-generated): Add libc-modules.h and libc-modules.stmp.
23182         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23183         * include/libc-symbols.h: Don't include libc-modules.h.
23184         * include/libc-modules.h: Remove file.
23185         * scripts/gen-libc-modules.awk: New script to generate
23186         libc-modules.h.
23187         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23188         Depend on libc-modules.stmp.
23190         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23192         * Makeconfig (in-module): Get value of libof set for the
23193         translation unit.
23194         (CPPFLAGS): Use $(in-module).
23195         * Makerules: Don't suffix routine names for nonlib.
23196         * include/libc-modules.h: New file.
23197         * include/libc-symbols.h: Include libc-modules.h
23198         (IS_IN): New macro to replace IS_IN_* macros.
23199         * elf/Makefile: Set libof-* for each routine.
23200         * elf/rtld-Rules: Likewise.
23201         * extra-modules.mk: Likewise.
23202         * iconv/Makefile: Likewise.
23203         * iconvdata/Makefile: Likewise.
23204         * locale/Makefile: Likewise.
23205         * malloc/Makefile: Likewise.
23206         * nss/Makefile: Likewise.
23207         * sysdeps/gnu/Makefile: Likewise.
23208         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23209         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23210         * sysdeps/s390/s390-64/Makefile: Likewise.
23211         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23212         CPPFLAGS for nscd instead of nonlib.
23214 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23216         * nptl/createthread.c: New file.
23218         * nptl/createthread.c: Moved ...
23219         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23221         * nptl/createthread.c: Add proper top-line comment.
23222         (do_clone): Folded into ...
23223         (create_thread): ... here.  Take new arguments STOPPED_START and
23224         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23225         increment __nptl_threads, do event-reporting logic, do
23226         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23227         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23228         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23229         just send SIGCANCEL.
23230         * nptl/pthread_create.c: Forward-declare create_thread before
23231         including createthread.c.
23232         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23233         declaration, and new macro START_THREAD_SELF to replace argument.
23234         Remove return statement.
23235         (report_thread_creation): New function.
23236         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23237         synchronization logic, and __nptl_nthreads increment here, around
23238         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23239         PD->parent_cancelhandling here, before create_thread.  When
23240         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23241         __deallocate_stack, and ENOMEM translation here.
23243 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23245         [BZ #17616]
23246         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23247         (mptwo): Rename to __mptwo.
23248         (__inv): Use __mptwo instead of mptwo.
23249         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23250         (mptwo): Rename to __mptwo.
23251         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23252         of mpone and __mptwo instead of mptwo.
23253         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23254         instead of mpone.
23255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23256         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23257         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23258         of mpone and __mptwo instead of mptwo.
23259         (__mpranred): Use __mpone instead of mpone.
23260         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23261         variable.
23262         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23263         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23264         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23265         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23266         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23267         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23268         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23269         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23270         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23271         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23272         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23273         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23274         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23275         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23276         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23277         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23278         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23279         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23280         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23282 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23284         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23285         replace BSD Handler xref with BSD Signal Handling.
23287 2014-11-17  Richard Henderson  <rth@redhat.com>
23289         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23290         (_FP_PACK_RAW_2): Remove.
23291         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23292         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23293         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23294         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23295         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23296         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23297         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23298         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23299         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23300         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23301         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23302         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23303         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23304         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23305         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23306         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23308 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23310         * signal/signal.h [__USE_MISC]
23311         (struct sigvec): Remove type.
23312         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23313         (sigvec): Remove declaration.
23314         * sysdeps/posix/sigvec.c: Moved ...
23315         * signal/sigvec.c: ... here, replacing old file.
23316         (struct sigvec): New type, copied from old signal.h definition.
23317         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23318         (__sigvec): Convert definition to prototype.
23319         (sigvec): Replace weak_alias with compat_symbol.
23320         * signal/Versions (libc: GLIBC_2.21): New version set.
23321         * include/signal.h: Remove __sigvec declaration.
23322         * sysdeps/unix/bsd/sigvec.c: Remove file.
23323         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23324         * manual/signal.texi (BSD Handler): Remove subsection.
23325         Move siginterrupt up to ...
23326         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23327         (Blocking in BSD): Fold subsection into its parent.
23328         * NEWS: Mention sigvec removal.
23330 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23332         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23333         (DLA_FMS): Make definition conditional only on [__FMA4__].
23334         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23335         definition.
23337         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23338         Make definition conditional only on [PROF].
23339         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23340         definition.
23341         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23342         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23344         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23345         !__GNUC__].
23346         * include/signal.h (__sigpause): Move declaration above call to
23347         libc_hidden_proto.
23348         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23349         variable.
23350         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23351         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23353 2014-11-14  David S. Miller  <davem@davemloft.net>
23355         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23356         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23358 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23360         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23361         * configure: Regenerated.
23362         * manual/install.texi (Tools for Compilation): Document a
23363         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23364         compiler verified to work.
23365         * INSTALL: Regenerated.
23367         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23368         redeclare with asm name.
23369         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23370         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23371         including <string.h>.
23372         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23374         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23375         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23376         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23378         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23380 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23382         * stdlib/strtol.c (__strtol): Use prototype definition.
23384         [BZ #17594]
23385         * stdlib/strtol.c (SYM__): New macro.
23386         (SYM__1): Likewise.
23387         (__strtol): Likewise.
23388         (strtol): Rename to __strtol and define as weak alias of
23389         __strtol.  Use libc_hidden_weak.
23391 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23393         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23394         Use numbered labels in inline assembly.
23396 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23398         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23399         Add setjmp LIBC_PROBE.
23400         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23401         Likewise.
23402         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23403         Add longjmp, longjmp_target LIBC_PROBE.
23404         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23405         Likewise.
23407 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23409         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23410         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23411         to get rid of unused variable warning.
23413 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23415         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23416         Check for unwind_backtrace ==  NULL only in SHARED case.
23417         (__backchain_backtrace): Compile only in SHARED case.
23418         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23419         Likewise.
23420         (__backchain_backtrace): Declare as static.
23422 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23424         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23425         (__libc_multiple_threads_ptr): Variable moved ...
23426         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23428 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23430         * conform/GlibcConform.pm: New file.
23431         * conform/conformtest.pl: Use GlibcConform module.
23432         * conform/linknamespace.pl: New file.
23433         * conform/list-header-symbols.pl: Likewise.
23434         * conform/Makefile (linknamespace-symlists-base): New variable.
23435         (linknamespace-symlists-tests): Likewise.
23436         (linknamespace-header-base): Likewise.
23437         (linknamespace-header-tests): Likewise.
23438         (tests-special): Add new tests.
23439         ($(linknamespace-symlists-tests)): New rule.
23440         (linknamespace-libs): New variable.
23441         ($(objpfx)symlist-stdlibs): New rule.
23442         ($(linknamespace-header-tests)): Likewise.
23443         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23444         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23445         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23446         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23447         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23448         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23449         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23450         (test-xfail-ISO/math.h/linknamespace): Likewise.
23451         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23452         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23453         (test-xfail-ISO/time.h/linknamespace): Likewise.
23454         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23455         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23456         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23457         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23458         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23459         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23460         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23461         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23462         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23463         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23464         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23465         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23466         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23467         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23468         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23469         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23470         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23471         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23472         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23473         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23474         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23475         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23476         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23477         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23478         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23479         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23480         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23481         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23482         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23483         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23484         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23485         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23486         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23487         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23488         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23489         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23490         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23491         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23492         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23493         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23494         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23495         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23496         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23497         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23498         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23499         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23500         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23501         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23502         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23503         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23504         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23505         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23506         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23507         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23508         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23509         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23510         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23511         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23512         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23513         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23514         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23515         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23516         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23517         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23518         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23519         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23520         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23521         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23522         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23523         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23524         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23525         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23526         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23527         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23528         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23529         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23530         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23531         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23532         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23533         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23534         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23535         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23536         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23537         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23538         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23539         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23540         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23541         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23542         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23543         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23544         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23545         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23546         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23547         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23548         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23549         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23550         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23551         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23552         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23553         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23554         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23555         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23556         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23557         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23558         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23559         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23560         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23561         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23562         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23563         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23564         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23565         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23566         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23567         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23568         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23569         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23570         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23571         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23572         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23573         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23574         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23575         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23576         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23577         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23578         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23579         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23580         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23581         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23582         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23583         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23584         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23585         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23586         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23587         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23588         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23589         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23590         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23591         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23592         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23593         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23594         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23595         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23596         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23597         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23598         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23599         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23600         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23601         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23602         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23603         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23605         [BZ #17589]
23606         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23607         of fgets_unlocked.
23609         [BZ #17585]
23610         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23611         (memmem): Rename to __memmem and define as weak alias of
23612         __memmem.  Use libc_hidden_weak.
23613         (__memmem): Use libc_hidden_def.
23614         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23615         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23616         memmem.
23618         [BZ #17582]
23619         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23620         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23621         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23622         and define as weak alias of __fgets_unlocked.  Use
23623         libc_hidden_weak.
23624         (__fgets_unlocked): Use libc_hidden_def.
23625         * include/stdio.h (__fgets_unlocked): Declare.  Use
23626         libc_hidden_proto.
23627         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23628         __fgets_unlocked instead of fgets_unlocked.
23629         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23630         (GET_NPROCS_CONF_PARSER): Likewise.
23631         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23632         (GET_NPROCS_CONF_PARSER): Likewise.
23634         [BZ #17574]
23635         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23636         weak alias of __wmemset.  Use libc_hidden_weak.
23637         (__wmemset): Use libc_hidden_def.
23638         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23639         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23640         of wmemset.
23642         [BZ #17573]
23643         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23644         with asm name __mempcpy.
23645         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23647         [BZ #17572]
23648         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23649         and define as weak alias of __rawmemchr.
23650         (__rawmemchr): Do not define as strong alias of rawmemchr.
23652         [BZ #17571]
23653         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23654         alias of __qsort_r.
23655         (qsort): Call __qsort_r instead of qsort_r.
23656         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23657         (__qsort_r): Declare.  Call libc_hidden_proto.
23658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23659         instead of qsort_r.
23660         * nscd/gai.c (__qsort_r): Define to qsort_r.
23661         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23662         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23663         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23665         [BZ #17570]
23666         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23667         define as weak alias of __malloc_info.
23669         [BZ #17584]
23670         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23671         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23672         (__rewinddir): Use libc_hidden_def.
23673         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23674         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23675         (__rewinddir): Use libc_hidden_def.
23676         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23677         weak alias of __rewinddir.  Don't use libc_hidden_def.
23678         (__rewinddir): Use libc_hidden_def.
23679         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23680         (__rewinddir): Use libc_hidden_proto.
23681         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23682         rewinddir.
23683         (__getcwd): Use __rewinddir instead of rewinddir.
23685         [BZ #17583]
23686         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23687         alias of __fileno.  Use libc_hidden_weak.
23688         (__fileno): Use libc_hidden_def.
23689         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23690         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23691         alias of __ftello.
23692         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23693         __ftello.
23694         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23695         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23696         libc_hidden_def.
23697         (fread_unlocked): Don't use libc_hidden_ver.
23698         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23699         and define as weak alias of __fread_unlocked.  Don't use
23700         libc_hidden_def.
23701         (__fread_unlocked): Use libc_hidden_def.
23702         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23703         (ftello): Don't use libc_hidden_proto.
23704         (__ftello): Declare.  Use libc_hidden_proto.
23705         (fread_unlocked): Don't use libc_hidden_proto.
23706         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23707         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23708         and __ftello instead of fileno, fread_unlocked and ftello.
23710 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23712         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23713         GOT12.
23714         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23715         Likewise.
23716         (_dl_start_user): Likewise.
23717         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23719 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23720             Siddhesh Poyarekar  <siddhesh@redhat.com>
23722         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23723         Move argv and envp down instead of moving argc up.
23724         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23726 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23728         [BZ #17506]
23729         * test-skeleton.c (main): Return successful if one of
23730         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23731         * string/tst-strcoll-overflow.c: Define expected status.
23733 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23735         [BZ #17475]
23736         * locale/iso-639.def: Define Bhili and Tulu language codes.
23738 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23740         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23742 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23744         [BZ #17555]
23745         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23747 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23749         * configure.ac: Updated check of minimal required version to
23750         2.22.
23751         * manual/install.texi (Tools for Compilation): Updated version
23752         number.
23753         * configure: Regenerated.
23754         * INSTALL: Likewise.
23756 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23758         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23759         __tls_get_addr.
23761 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23763         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23764         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23765         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23766         libc_hidden_weak.
23767         (waitpid): Define as alias of __waitpid.
23768         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23769         __waitpid.
23770         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23771         libc_hidden_weak.
23772         (waitpid): Define as alias of __waitpid.
23773         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23774         __libc_waitpid alias.
23775         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23776         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23777         Likewise.
23778         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23779         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23780         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23781         alias.
23782         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23783         __waitpid.
23784         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23785         libc_hidden_weak.
23786         (waitpid): Define as alias of __waitpid.
23788 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23790         * manual/llio.texi: Add comment that write safety has been
23791         fixed in Linux.
23793         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23794         (localplt-build-dso): Add elf/ld.so.
23795         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23796         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23797         and free for ld.so.
23798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23799         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23801         Likewise.
23802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23803         Likewise.
23804         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23805         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23806         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23807         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23808         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23809         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23810         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23811         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23812         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23813         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23814         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23816 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23818         [BZ #14132]
23819         * include/libc-symbols.h (INTUSE): Remove macro.
23820         (INTDEF): Likewise.
23821         (INTVARDEF): Likewise.
23822         (_INTVARDEF): Likewise.
23823         (INTDEF2): Likewise.
23824         (INTVARDEF2): Likewise.
23825         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23826         rtld_hidden_def instead of INTVARDEF.
23827         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23828         (_dl_starting_up_internal): Remove declaration.
23829         (_dl_starting_up): Use rtld_hidden_proto.
23830         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23831         declaration.
23832         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23833         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23834         _dl_starting_up.
23835         * elf/dl-writev.h (_dl_writev): Likewise.
23836         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23837         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23838         _dl_starting_up_internal.
23840 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23842         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23843         test-skeleton.c.
23845 2014-11-05  Will Newton  <will.newton@linaro.org>
23847         * benchtests/Makefile: (bench-malloc): Add malloc thread
23848         scalability benchmark.
23849         * benchtests/bench-malloc-threads.c: New file.
23851 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23853         * sysdeps/aarch64/strchrnul.S: New file.
23855 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23857         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23858         definition.
23859         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23860         Likwise.
23861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23862         Likewise.
23863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23864         Likewise.
23865         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23866         Likewise.
23867         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23868         Likewise.
23870 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23872         * catgets/test-gencat.c: Use test-skeleton.c.
23873         * catgets/tst-catgets.c: Likewise.
23874         * csu/tst-empty.c: Likewise.
23875         * elf/tst-audit2.c: Likewise.
23876         * elf/tst-global1.c: Likewise.
23877         * elf/tst-pathopt.c: Likewise.
23878         * elf/tst-piemod1.c: Likewise.
23879         * elf/tst-tls10.c: Likewise.
23880         * elf/tst-tls11.c: Likewise.
23881         * elf/tst-tls12.c: Likewise.
23882         * gnulib/tst-gcc.c: Likewise.
23883         * iconvdata/tst-e2big.c: Likewise.
23884         * iconvdata/tst-loading.c: Likewise.
23885         * iconv/tst-iconv1.c: Likewise.
23886         * iconv/tst-iconv2.c: Likewise.
23887         * inet/test-inet6_opt.c: Likewise.
23888         * inet/tst-gethnm.c: Likewise.
23889         * inet/tst-network.c: Likewise.
23890         * inet/tst-ntoa.c: Likewise.
23891         * intl/tst-codeset.c: Likewise.
23892         * intl/tst-gettext2.c: Likewise.
23893         * intl/tst-gettext3.c: Likewise.
23894         * intl/tst-ngettext.c: Likewise.
23895         * intl/tst-translit.c: Likewise.
23896         * io/test-stat.c: Likewise.
23897         * libio/test-fmemopen.c: Likewise.
23898         * libio/tst-freopen.c: Likewise.
23899         * libio/tst-sscanf.c: Likewise.
23900         * libio/tst-ungetwc1.c: Likewise.
23901         * libio/tst-ungetwc2.c: Likewise.
23902         * libio/tst-widetext.c: Likewise.
23903         * localedata/tst-ctype.c: Likewise.
23904         * localedata/tst-digits.c: Likewise.
23905         * localedata/tst-leaks.c: Likewise.
23906         * localedata/tst-mbswcs1.c: Likewise.
23907         * localedata/tst-mbswcs2.c: Likewise.
23908         * localedata/tst-mbswcs3.c: Likewise.
23909         * localedata/tst-mbswcs4.c: Likewise.
23910         * localedata/tst-mbswcs5.c: Likewise.
23911         * localedata/tst-setlocale.c: Likewise.
23912         * localedata/tst-trans.c: Likewise.
23913         * localedata/tst-wctype.c: Likewise.
23914         * localedata/tst-xlocale1.c: Likewise.
23915         * login/tst-grantpt.c: Likewise.
23916         * malloc/tst-calloc.c: Likewise.
23917         * malloc/tst-malloc.c: Likewise.
23918         * malloc/tst-mallocstate.c: Likewise.
23919         * malloc/tst-mcheck.c: Likewise.
23920         * malloc/tst-mtrace.c: Likewise.
23921         * malloc/tst-obstack.c: Likewise.
23922         * math/atest-exp2.c: Likewise.
23923         * math/atest-exp.c: Likewise.
23924         * math/atest-sincos.c: Likewise.
23925         * math/test-matherr.c: Likewise.
23926         * math/test-misc.c: Likewise.
23927         * math/test-powl.c: Likewise.
23928         * math/tst-definitions.c: Likewise.
23929         * misc/tst-dirname.c: Likewise.
23930         * misc/tst-efgcvt.c: Likewise.
23931         * misc/tst-fdset.c: Likewise.
23932         * misc/tst-hsearch.c: Likewise.
23933         * misc/tst-mntent2.c: Likewise.
23934         * nptl/tst-sem7.c: Likewise.
23935         * nptl/tst-sem8.c: Likewise.
23936         * nptl/tst-sem9.c: Likewise.
23937         * nss/test-netdb.c: Likewise.
23938         * posix/tst-fnmatch.c: Likewise.
23939         * posix/tst-getlogin.c: Likewise.
23940         * posix/tst-gnuglob.c: Likewise.
23941         * posix/tst-mmap.c: Likewise.
23942         * pwd/tst-getpw.c: Likewise.
23943         * resolv/tst-inet_ntop.c: Likewise.
23944         * rt/tst-timer.c: Likewise.
23945         * stdio-common/test-fseek.c: Likewise.
23946         * stdio-common/test-popen.c: Likewise.
23947         * stdio-common/test-vfprintf.c: Likewise.
23948         * stdio-common/tst-cookie.c: Likewise.
23949         * stdio-common/tst-fileno.c: Likewise.
23950         * stdio-common/tst-gets.c: Likewise.
23951         * stdio-common/tst-obprintf.c: Likewise.
23952         * stdio-common/tst-perror.c: Likewise.
23953         * stdio-common/tst-sprintf2.c: Likewise.
23954         * stdio-common/tst-sprintf3.c: Likewise.
23955         * stdio-common/tst-sprintf.c: Likewise.
23956         * stdio-common/tst-swprintf.c: Likewise.
23957         * stdio-common/tst-tmpnam.c: Likewise.
23958         * stdio-common/tst-unbputc.c: Likewise.
23959         * stdio-common/tst-wc-printf.c: Likewise.
23960         * stdlib/tst-environ.c: Likewise.
23961         * stdlib/tst-fmtmsg.c: Likewise.
23962         * stdlib/tst-limits.c: Likewise.
23963         * stdlib/tst-rand48-2.c: Likewise.
23964         * stdlib/tst-rand48.c: Likewise.
23965         * stdlib/tst-random2.c: Likewise.
23966         * stdlib/tst-random.c: Likewise.
23967         * stdlib/tst-strtol.c: Likewise.
23968         * stdlib/tst-strtoll.c: Likewise.
23969         * stdlib/tst-tls-atexit.c: Likewise.
23970         * stdlib/tst-xpg-basename.c: Likewise.
23971         * string/test-ffs.c: Likewise.
23972         * string/tst-bswap.c: Likewise.
23973         * string/tst-inlcall.c: Likewise.
23974         * string/tst-strtok.c: Likewise.
23975         * string/tst-strxfrm.c: Likewise.
23976         * sysdeps/x86_64/tst-audit10.c: Likewise.
23977         * sysdeps/x86_64/tst-audit3.c: Likewise.
23978         * sysdeps/x86_64/tst-audit4.c: Likewise.
23979         * sysdeps/x86_64/tst-audit5.c: Likewise.
23980         * time/tst-ftime_l.c: Likewise.
23981         * time/tst-getdate.c: Likewise.
23982         * time/tst-mktime3.c: Likewise.
23983         * time/tst-mktime.c: Likewise.
23984         * time/tst-posixtz.c: Likewise.
23985         * time/tst-strptime2.c: Likewise.
23986         * time/tst-strptime3.c: Likewise.
23987         * wcsmbs/tst-btowc.c: Likewise.
23988         * wcsmbs/tst-mbrtowc.c: Likewise.
23989         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23990         * wcsmbs/tst-wchar-h.c: Likewise.
23991         * wcsmbs/tst-wcpncpy.c: Likewise.
23992         * wcsmbs/tst-wcrtomb.c: Likewise.
23993         * wcsmbs/tst-wcsnlen.c: Likewise.
23994         * wcsmbs/tst-wcstof.c: Likewise.
23996 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #14132]
23999         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24000         INTDEF.
24001         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24002         declaration.
24003         (_dl_mcount): Use rtld_hidden_proto.
24004         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24005         _dl_mcount.
24006         * elf/rtld.c (_rtld_global_ro): Likewise.
24008         [BZ #14132]
24009         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24010         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24011         of _dl_init_internal.
24012         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24013         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24014         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24015         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24016         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24017         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24018         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24019         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24020         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24021         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24022         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24023         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24024         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24025         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24026         * sysdeps/tile/dl-start.S (_start): Likewise.
24027         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24028         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24030         [BZ #14132]
24031         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24032         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24033         (rtld_progname): Make macro definition unconditional.
24034         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24035         INTDEF.
24036         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24037         (dl_main): Likewise.
24038         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24039         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24040         instead of _dl_argv_internal.
24041         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24042         __GI__dl_argv instead of INTUSE(_dl_argv).
24043         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24044         __GI__dl_argv instead of _dl_argv_internal.
24046         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24047         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24048         macro.
24049         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24050         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24051         New macro.
24052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24053         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24054         macro.
24055         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24056         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24058 2014-11-04  Andreas Schwab  <schwab@suse.de>
24060         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24062 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24064         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24065         mtvsrd instruction in binary form.
24067 2014-11-03  Andreas Schwab  <schwab@suse.de>
24069         [BZ #17522]
24070         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24071         for less than MB_LEN_MAX use a local buffer of that size.
24072         * libio/tst-fputws.c: New file.
24073         * libio/Makefile (tests): Add tst-fputws.
24075 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24077         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24078         the size of the fpu_fr.fpu_dregs[] array.
24080 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24082         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24083         (__nanosleep): Do not define as alias.
24084         (nanosleep): Define as alias of __nanosleep.
24085         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24086         __libc_nanosleep name.
24088 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24090         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24091         install.texi in comment.
24093 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24095         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24096         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24097         ... add here and use lwsync or sync ...
24098         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24099         ... and add here using lwsync.
24101 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24103         * elf/dl-machine-reject-phdr.h: New file.
24104         * elf/dl-load.c: #include that.
24105         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24106         if that returned true.
24108 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24110         [BZ #17496]
24111         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24112         gen-as-const-headers chunk.  Add a big scare comment after the last
24113         safe place to touch before-compile.
24115 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24117         * manual/install.texi (Tools for Compilation): Update autoconf
24118         version requirements.
24119         * INSTALL: Regenerated.
24121         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24122         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24123         (__libc_pselect): Likewise.
24125         [BZ #14138]
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24131 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24133         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24134         correct barrier instruction.
24135         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24136         Likewise.
24137         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24138         Likewise.
24140 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24142         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24143         after defining inlines.  Instead, just use parens to defeat macro
24144         expansion of __isctype in its declaration.
24146 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24148         * include/sys/uio.h (__libc_readv): Remove declaration.
24149         (__libc_writev): Likewise.
24150         * misc/readv.c (__libc_readv): Rename to __readv.
24151         (__readv): Do not define as alias.
24152         (readv): Define as alias of __readv.
24153         * misc/writev.c (__libc_writev): Rename to __writev.
24154         (__writev): Do not define as alias.
24155         (writev): Define as alias of __writev.
24156         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24157         (__readv): Do not define as alias.
24158         (readv): Define unconditionally as alias of __readv.
24159         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24160         (__writev): Do not define as alias.
24161         (writev): Define unconditionally as alias of __writev.
24162         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24163         name.
24164         (writev): Do not define __libc_writev name.
24166 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24168         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24169         (convert_charseq): New function, broken out of ...
24170         (use_from_charmap): ... here.  Call it.
24171         (use_to_charmap): Use convert_charseq and free instead of duplicating
24172         its code with a variable-length stack struct.
24174 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24176         * include/fcntl.h (__libc_creat): Remove declaration.
24177         * io/creat.c (__libc_creat): Rename to creat.
24178         (creat): Do not define as alias.
24179         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24180         of creat instead of __libc_creat.
24181         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24182         to creat.
24183         (creat): Do not define as alias.
24184         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24185         __libc_creat.
24186         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24187         __libc_creat name.
24188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24189         Likewise.
24191 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24193         * manual/llio.texi: Add comments discussing why write() may be
24194         considered MT-unsafe on Linux.
24196 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24198         * dl-load.c (local_strdup): Remove.
24199         (expand_dynamic_string_token): Use __strdup.
24200         (decompose_rpath): Likewise.
24201         (_dl_map_object): Likewise.
24203 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #14132]
24206         * sysdeps/generic/unwind-dw2-fde.c
24207         (__register_frame_info_bases_internal): Do not declare.
24208         (__register_frame_info_table_bases_internal): Likewise.
24209         (__deregister_frame_info_bases_internal): Likewise.
24210         (__register_frame_info_bases): Declare and use hidden_proto before
24211         definition.  Use hidden_def instead of INTDEF.
24212         (__register_frame_info_table_bases): Likewise.
24213         (__deregister_frame_info_bases): Likewise.
24214         (__register_frame_info): Do not use INTUSE.
24215         (__register_frame): Likewise.
24216         (__register_frame_info_table): Likewise.
24217         (__register_frame_table): Likewise.
24218         (__deregister_frame_info): Likewise.
24219         (__deregister_frame): Likewise.
24221 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24224         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24225         not undefine.
24226         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24227         Likewise.
24228         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24229         Likewise.
24231 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24233         [BZ #14138]
24234         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24235         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24236         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24237         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24238         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24239         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24240         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24241         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24242         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24243         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24244         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24245         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24246         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24247         syscall.
24248         (setfsuid): Likewise.
24249         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24250         (setfsuid): Likewise.
24251         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24252         (setfsuid): Likewise.
24253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24254         Likewise.
24255         (setfsuid): Likewise.
24256         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24257         (setfsuid): Likewise.
24258         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24259         Likewise.
24260         (setfsuid): Likewise.
24262 2014-10-27  Andreas Schwab  <schwab@suse.de>
24264         [BZ #17501]
24265         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24266         check for Slow_SSE4_2 feature bit.
24267         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24268         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24269         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24270         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24272 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24274         * configure.ac: Validate compiler version with a empirical test of
24275         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24276         $CC -v output.
24277         * configure: Regenerated.
24279         * inet/htons.c (htons): Prototypify.
24280         * inet/htonl.c (htonl): Likewise.
24282 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24284         * string/strncat.c (strncat): Improve performance by using strlen.
24286 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24288         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24290 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24292         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24293         Call libc_fetestexcept_aarch64.
24295 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24297         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24298         Call libc_feholdexcept_aarch64.
24300 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24302         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24303         Call get_rounding_mode.
24305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24307         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24308         Simplify logic.
24310 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24312         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24313         Simplify logic.
24315 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24317         [BZ #14138]
24318         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24319         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24320         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24321         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24322         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24323         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24324         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24325         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24326         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24327         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24328         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24329         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24330         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24331         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24332         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24333         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24334         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24335         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24336         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24337         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24338         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24339         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24340         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24341         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24342         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24343         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24344         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24345         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24346         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24347         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24348         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24349         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24350         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24351         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24352         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24353         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24354         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24355         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24356         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24357         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24358         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24359         syscall.
24360         (geteuid): Likewise.
24361         (getgid): Likewise.
24362         (getuid): Likewise.
24363         (getresgid): Likewise.
24364         (getresuid): Likewise.
24365         (getgroups): Likewise.
24366         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24367         (geteuid): Likewise.
24368         (getgid): Likewise.
24369         (getuid): Likewise.
24370         (getresgid): Likewise.
24371         (getresuid): Likewise.
24372         (getgroups): Likewise.
24373         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24374         (geteuid): Likewise.
24375         (getgid): Likewise.
24376         (getuid): Likewise.
24377         (getresgid): Likewise.
24378         (getresuid): Likewise.
24379         (getgroups): Likewise.
24380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24381         Likewise.
24382         (geteuid): Likewise.
24383         (getgid): Likewise.
24384         (getuid): Likewise.
24385         (getresgid): Likewise.
24386         (getresuid): Likewise.
24387         (getgroups): Likewise.
24388         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24389         (geteuid): Likewise.
24390         (getgid): Likewise.
24391         (getuid): Likewise.
24392         (getresgid): Likewise.
24393         (getresuid): Likewise.
24394         (getgroups): Likewise.
24395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24396         Likewise.
24397         (geteuid): Likewise.
24398         (getgid): Likewise.
24399         (getuid): Likewise.
24400         (getgroups): Likewise.
24402         [BZ #14138]
24403         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24404         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24405         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24407         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24408         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24409         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24410         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24411         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24412         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24413         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24414         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24415         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24416         __chown.
24417         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24418         (lchown): Likewise.
24419         (fchown): Likewise.
24420         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24421         Likewise.
24422         (lchown): Likewise.
24423         (fchown): Likewise.
24424         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24425         (lchown): Likewise.
24426         (fchown): Likewise.
24427         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24428         Likewise.
24429         (lchown): Likewise.
24430         (fchown): Likewise.
24432 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24434         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24435         Simplify logic.
24437 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24439         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24440         Cleanup logic.
24442 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24444         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24445         Remove unused include.
24447 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24449         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24450         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24451         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24452         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24454 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24455             Helge Deller <deller@gmx.de>
24457         [BZ #17508]
24458         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24459         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24460         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24462 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24464         [BZ #14132]
24465         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24466         Remove macro definition.
24467         (__ashrdi3_v_glibc20): Likewise.
24468         (__lshrdi3_v_glibc20): Likewise.
24469         (__cmpdi2_v_glibc20): Likewise.
24470         (__ucmpdi2_v_glibc20): Likewise.
24471         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24472         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24473         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24474         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24475         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24476         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24478 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24480         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24481         old GNU extension [0] syntax.
24482         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24483         alloca rather than an array member with variable length.
24484         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24485         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24486         (parse_opt): ... here.  Likewise use alloca there.
24487         Validate the -i argument before checking for rootness.
24488         (send_shutdown): New function, broken out of ...
24489         (parse_opt): ... here.
24491 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24493         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24494         macro to get at the _rt_local_ro field.
24495         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24496         ([PIC] case) or _dl_hwcap ([!PIC] case).
24497         * sysdeps/arm/setjmp.S: Likewise.
24499         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24500         * sysdeps/arm/configure.ac: New check to define it.
24501         * sysdeps/arm/configure: Regenerated.
24502         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24503         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24504         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24505         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24506         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24507         Use move/movt pair instead of a load.
24508         (LDST_GLOBAL): Macro removed.
24509         (LDR_GLOBAL): New macro replaces it.
24510         (LDR_HIDDEN): New macro.
24511         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24512         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24514         * setjmp/tst-setjmp-static.c: New file.
24515         * setjmp/Makefile (tests): Add it.
24516         (tests-static): New variable.
24518 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24520         [BZ #17485]
24521         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24523 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24525         [BZ #14132]
24526         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24528 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24530         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24532 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24534         * io/fts.c (dirent_not_directory): New function.
24535         (fts_build): Call it.
24537 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24539         * nptl/version.c (__nptl_main): Use normal __write rather than
24540         INTERNAL_SYSCALL.
24541         (banner): Update copyright years.
24543         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24544         gettimeofday.
24545         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24546         * nptl/pthread_cond_timedwait.c: Likewise.
24547         * nptl/pthread_mutex_timedlock.c: Likewise.
24548         * nptl/sem_timedwait.c: Likewise.
24550         * sysdeps/nptl/bits/libc-lock.h
24551         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24552         (__libc_lock_init_recursive): Return void, not 0.
24553         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24554         (__libc_rwlock_init): Likewise.
24555         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24557 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24559         [BZ #15215]
24560         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24561         (__pthread_once_slow): ... here.
24562         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24563         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24565 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24567         [BZ #15215]
24568         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24569         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24570         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24571         * nptl/pthread_once.c (__pthread_once): Likewise.
24572         Update comments.
24574 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24576         [BZ #14138]
24577         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24578         name.
24579         (writev): Use __libc_writev as strong name.
24580         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24581         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24583 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24585         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24587         * sysdeps/i386/nptl/tls.h
24588         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24589         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24590         New macros.
24591         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24592         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24593         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24594         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24595         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24596         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24598         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24599         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24600         on [__NR_futex].
24601         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24602         broken out of ...
24603         (__pthread_mutex_init): ... here.  Call it.
24604         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24605         Conditionalize PI cases on [__NR_futex].
24606         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24607         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24608         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24610         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24611         conditional on [SIGSETXID].
24612         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24613         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24614         is defined.  Likewise for SIGSETXID.
24615         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24616         Conditionalize definitions on [SIGSETXID].
24617         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24618         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24619         unblocking on [SIGCANCEL].
24621         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24622         [__NR_set_robust_list].
24624 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24626         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24627         (do_compare): Likewise.
24629 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24631         [BZ #15884]
24632         * string/strcoll_l.c: Don't include stdio.h.
24633         (coll_seq): Remove members idxarr and rulearr.
24634         (get_next_seq_cached): Remove function.
24635         (get_next_seq): Likewise.
24636         (get_next_seq_nocache): Rename to get_next_seq.
24637         (do_compare): Remove function.
24638         (do_compare_nocache): Rename to do_compare.
24639         (STRCOLL): Remove weight and rules cache.
24641 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24643         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24644         * sysdeps/arm/sfp-machine.h: ... to here.
24645         * sysdeps/arm/Implies: Remove arm/soft-fp.
24647 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24649         * conform/data/sys/utsname.h-data (*_t): Allow.
24650         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24651         [POSIX] (WEXITED): Do not expect constant.
24652         [POSIX] (WSTOPPED): Likewise.
24653         [POSIX] (WNOHANG): Likewise.
24654         [POSIX] (WNOWAIT): Likewise.
24655         [POSIX] (siginfo_t): Do not expect type or elements.
24656         [POSIX] (pid_t): Do not expect type.
24657         [POSIX] (signal.h): Do not allow header.
24658         [POSIX] (sys/resource.h): Likewise.
24659         [POSIX] (si_*): Do not allow pattern.
24660         [POSIX] (W*): Likewise.
24661         [POSIX] (P_*): Likewise.
24662         [POSIX] (BUS_*): Likewise.
24663         [POSIX] (CLD_*): Likewise.
24664         [POSIX] (FPE_*): Likewise.
24665         [POSIX] (ILL_*): Likewise.
24666         [POSIX] (POLL_*): Likewise.
24667         [POSIX] (SEGV_*): Likewise.
24668         [POSIX] (SI_*): Likewise.
24669         [POSIX] (TRAP_*): Likewise.
24670         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24671         variable.
24673 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24675         [BZ #12926]
24676         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24677         infinite loop when __recvmsg returns 0.
24679 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24681         * CANCEL-FCT-WAIVE: Remove file.
24682         * CANCEL-FILE-WAIVE: Likewise.
24684         [BZ #14132]
24685         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24686         instead of INTVARDEF.
24687         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24688         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24689         rtld_hidden_data_def instead of INTVARDEF.
24690         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24691         * elf/dl-deps.c (expand_dst): Likewise.
24692         * elf/dl-load.c (_dl_dst_count): Likewise.
24693         (_dl_dst_substitute): Likewise.
24694         (decompose_rpath): Likewise.
24695         (_dl_init_paths): Likewise.
24696         (open_path): Likewise.
24697         (_dl_map_object): Likewise.
24698         * elf/rtld.c (dl_main): Likewise.
24699         (process_dl_audit): Likewise.
24700         (process_envvars): Likewise.
24701         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24702         Remove declaration.
24703         (__libc_enable_secure): Use rtld_hidden_proto.
24705 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24707         * elf/dl-load.c
24708         (add_path): New function broken out of _dl_rtld_di_serinfo.
24709         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24711 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24713         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24714         parentheses around macro arguments.
24715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24726         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24729         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24730         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24731         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24744         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24747         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24748         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24749         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24750         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24751         Likewise.
24752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24759         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24760         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24761         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24762         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24763         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24764         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24773         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24774         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24775         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24776         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24777         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24778         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24779         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24780         (_FP_FRAC_SRS_1): Likewise.
24781         (_FP_FRAC_CLZ_1): Likewise.
24782         (_FP_MUL_MEAT_1_imm): Likewise.
24783         (_FP_MUL_MEAT_1_wide): Likewise.
24784         (_FP_MUL_MEAT_1_hard): Likewise.
24785         (_FP_SQRT_MEAT_1): Likewise.
24786         (_FP_FRAC_ASSEMBLE_1): Likewise.
24787         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24788         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24789         (__FP_CLZ_2): Likewise.
24790         (_FP_MUL_MEAT_2_wide): Likewise.
24791         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24792         (_FP_MUL_MEAT_2_gmp): Likewise.
24793         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24794         (_FP_SQRT_MEAT_2): Likewise.
24795         (_FP_FRAC_ASSEMBLE_2): Likewise.
24796         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24797         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24798         (_FP_FRAC_CLZ_4): Likewise.
24799         (_FP_MUL_MEAT_4_wide): Likewise.
24800         (_FP_MUL_MEAT_4_gmp): Likewise.
24801         (_FP_SQRT_MEAT_4): Likewise.
24802         (_FP_FRAC_ASSEMBLE_4): Likewise.
24803         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24804         * soft-fp/op-common.h (_FP_CMP): Likewise.
24805         (_FP_CMP_EQ): Likewise.
24806         (_FP_CMP_UNORD): Likewise.
24807         (_FP_TO_INT): Likewise.
24808         (_FP_FROM_INT): Likewise.
24809         [!__FP_CLZ] (__FP_CLZ): Likewise.
24810         (_FP_DIV_HELP_imm): Likewise.
24811         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24812         Likewise.
24813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24824         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24827         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24828         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24829         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24833         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24842         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24843         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24844         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24845         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24846         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24847         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24848         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24849         (FP_UNPACK_RAW_SP): Likewise.
24850         (FP_PACK_RAW_S): Likewise.
24851         (FP_PACK_RAW_SP): Likewise.
24852         (FP_UNPACK_S): Likewise.
24853         (FP_UNPACK_SP): Likewise.
24854         (FP_UNPACK_SEMIRAW_S): Likewise.
24855         (FP_UNPACK_SEMIRAW_SP): Likewise.
24856         (FP_PACK_S): Likewise.
24857         (FP_PACK_SP): Likewise.
24858         (FP_PACK_SEMIRAW_S): Likewise.
24859         (FP_PACK_SEMIRAW_SP): Likewise.
24860         (_FP_SQRT_MEAT_S): Likewise.
24861         (FP_CMP_S): Likewise.
24862         (FP_CMP_EQ_S): Likewise.
24863         (FP_CMP_UNORD_S): Likewise.
24864         (FP_TO_INT_S): Likewise.
24865         (FP_FROM_INT_S): Likewise.
24867         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24869         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24870         (FP_EX_INVALID_IMZ): Likewise.
24871         (FP_EX_INVALID_IMZ_FMA): Likewise.
24872         (FP_EX_INVALID_ISI): Likewise.
24873         (FP_EX_INVALID_ZDZ): Likewise.
24874         (FP_EX_INVALID_IDI): Likewise.
24875         (FP_EX_INVALID_SQRT): Likewise.
24876         (FP_EX_INVALID_CVI): Likewise.
24877         (FP_EX_INVALID_VC): Likewise.
24878         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24879         "invalid" exceptions.
24880         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24881         (_FP_ADD_INTERNAL): Likewise.
24882         (_FP_MUL): Likewise.
24883         (_FP_FMA): Likewise.
24884         (_FP_DIV): Likewise.
24885         (_FP_CMP_CHECK_NAN): Likewise.
24886         (_FP_SQRT): Likewise.
24887         (_FP_TO_INT): Likewise.
24888         (FP_EXTEND): Likewise.
24890 2014-10-09  Allan McRae  <allan@archlinux.org>
24892         * po/fr.po: Update French translation from translation project.
24894 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24896         [BZ #14132]
24897         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24898         of INTDEF.
24899         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24900         (__cxa_atexit): Use libc_hidden_proto.
24901         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24903         [BZ #14132]
24904         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24905         declaration.
24906         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24907         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24908         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24909         [!_ISOMAC] (__iswctype_internal): Likewise.
24910         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24911         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24912         alias.
24913         (fcntl): Remove __fcntl_internal alias.
24914         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24915         __connect_internal alias.
24916         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24917         Likewise.
24919         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24920         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24921         FP_DENORM_ZERO.
24922         (_FP_CHECK_FLUSH_ZERO): New macro.
24923         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24924         (_FP_CMP): Likewise.
24925         (_FP_CMP_EQ): Likewise.
24926         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24927         FP_DENORM_ZERO.
24928         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24929         (FP_TRUNC): Likewise.
24931         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24932         treated as invalid conversion, not as normal exponent.
24934         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24935         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24936         (_FP_CMP_EQ): Likewise.
24937         (_FP_CMP_UNORD): Likewise.
24938         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24939         (FP_CMP_EQ_D): Likewise.
24940         (FP_CMP_UNORD_D): Likewise.
24941         * soft-fp/extended.h (FP_CMP_E): Likewise.
24942         (FP_CMP_EQ_E): Likewise.
24943         (FP_CMP_UNORD_E): Likewise.
24944         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24945         (FP_CMP_EQ_Q): Likewise.
24946         (FP_CMP_UNORD_Q): Likewise.
24947         * soft-fp/single.h (FP_CMP_S): Likewise.
24948         (FP_CMP_EQ_S): Likewise.
24949         (FP_CMP_UNORD_S): Likewise.
24950         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24951         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24952         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24953         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24954         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24955         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24956         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24957         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24958         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24959         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24960         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24961         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24962         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24963         to FP_CMP_Q.
24964         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24965         FP_CMP_Q.
24966         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24967         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24968         FP_CMP_EQ_Q.
24969         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24970         FP_CMP_Q.
24971         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24972         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24973         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24974         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24975         FP_CMP_EQ_Q.
24976         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24977         FP_CMP_Q.
24978         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24979         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24980         FP_CMP_EQ_Q.
24981         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24982         FP_CMP_Q.
24983         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24984         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24985         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24986         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24987         FP_CMP_EQ_Q.
24989         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24990         a subnormal result, set the underflow exception if trapping on
24991         underflow is enabled.
24992         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24993         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24994         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24995         redefine to 0.
24996         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24997         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24998         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24999         * soft-fp/extendxftf2.c (__extendxftf2): Use
25000         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25002         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25003         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25004         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25005         FP_HANDLE_EXCEPTIONS.
25006         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25007         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25008         FP_HANDLE_EXCEPTIONS.
25009         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25010         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25011         FP_HANDLE_EXCEPTIONS.
25012         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25013         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25014         FP_HANDLE_EXCEPTIONS.
25016 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25018         [BZ #14132]
25019         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25020         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25021         use INTUSE.
25022         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25023         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25024         Remove alias.
25025         (__adjtimex): Define using libc_hidden_ver.
25026         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25027         Remove declaration.
25028         (ntp_gettime): Call __adjtimex directly.
25029         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25030         Remove declaration.
25031         (ntp_gettimex): Call __adjtimex directly.
25032         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25033         __adjtimex_internal alias.
25035 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25037         [BZ #17460]
25038         * nscd/nscd.c (more_help): Rewrite list of tables collection
25039         using xstrdup and asprintf.
25041         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25043 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25044             Roland McGrath  <roland@hack.frob.com>
25046         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25047         (do_lookup_unique): ... local function 'enter' here; update callers.
25049 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25051         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25052         compat_symbol calls on [SHARED].
25053         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25054         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25055         Remove.
25056         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25057         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25058         (oldsetrlimit): Remove.
25059         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25061         (lchown): New syscall entry.
25062         (oldsetrlimit): Remove.
25063         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25064         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25065         (oldsetrlimit): Remove.
25066         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25068         [BZ #14138]
25069         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25070         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25071         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25072         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25073         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25074         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25075         (fchown): Likewise.
25076         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25077         (fchown): Likewise.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25079         Likewise.
25081 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25084         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25085         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25086         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25087         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25088         Likewise.
25089         (__old_sem_post): Likewise.
25091 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25093         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25094         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25095         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25096         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25097         Use INLINE_VSYSCALL macro.
25098         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25099         __vdso_clock_gettime.
25100         * sysdeps/unix/sysv/linux/tile/init-first.c
25101         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25102         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25103         __vdso_clock_gettime.
25105         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25106         to set up frame more cleanly.
25108         * sysdeps/tile/memcmp.c: New file.
25110         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25112         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25113         * sysdeps/tile/tilegx/strcasestr.c: New file.
25114         * sysdeps/tile/tilegx/strnlen.c: New file.
25115         * sysdeps/tile/tilegx/strstr.c: New file.
25117         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25119 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25121         * nptl/tst-setuid3.c: Write errors to stdout.
25123 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25125         * elf/dl-deps.c
25126         (preload): New functions broken out of _dl_map_object_deps.
25127         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25129 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #14138]
25132         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25133         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25135 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25137         * sysdeps/mips/strcmp.S: New.
25139 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25141         [BZ #14138]
25142         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25143         (linkat): Likewise.
25144         (mkdirat): Likewise.
25145         (readlinkat): Likewise.
25146         (renameat): Likewise.
25147         (symlinkat): Likewise.
25148         (unlinkat): Likewise.
25149         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25150         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25151         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25152         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25153         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25154         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25155         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25157 2014-09-30  Will Newton  <will.newton@linaro.org>
25159         * math/math.h: Define long double math functions if
25160         _LIBC_TEST is defined.
25161         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25163         * localedata/Makefile: Move assignment to tests-special
25164         into an ifdef testing run-built-tests.
25165         * timezone/Makefile: Likewise.
25167 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25170         with $(BASH) not $(SHELL).
25172 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25173             Matthew LeGendre  <legendre1@llnl.gov>
25175         [BZ #17411]
25176         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25177         l_reloc_result.
25179 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25181         * stdio-common/printf_fp.c
25182         (hack_digit): New function, broken out of ...
25183         (__printf_fp): ... local function here.  Update call sites.
25184         hack_digit now takes an additional parameter that is a pointer
25185         to a struct of the referenced locals.  Those locals moved inside
25186         the struct and references updated.
25188 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25190         * aclocal.m4: Require autoconf 2.69.
25191         * configure: Regenerated.
25192         * sysdeps/aarch64/configure: Likewise.
25193         * sysdeps/alpha/configure: Likewise.
25194         * sysdeps/arm/armv7/configure: Likewise.
25195         * sysdeps/arm/configure: Likewise.
25196         * sysdeps/ia64/configure: Likewise.
25197         * sysdeps/mach/configure: Likewise.
25198         * sysdeps/mips/configure: Likewise.
25199         * sysdeps/s390/configure: Likewise.
25200         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25203         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25204         file.
25205         * sysdeps/ia64/configure.ac: Likewise.
25207 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25210         specify symbol version for ld.so.  Do not include entry for
25211         libpthread.
25212         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25213         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25214         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25216         [BZ #14171]
25217         * Makeconfig [$(build-shared) = yes]
25218         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25219         makefiles.
25220         [$(build-shared) = yes && $(soversions.mk-done) = t]
25221         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25222         [$(build-shared) = yes && $(soversions.mk-done) = t]
25223         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25224         to Makerules.
25225         [$(build-shared) = yes && $(soversions.mk-done) = t]
25226         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25227         here.
25228         [$(build-shared) = yes && $(soversions.mk-done) = t]
25229         (common-generated): Don't append gnu/lib-names.h and
25230         gnu/lib-names.stmp here.
25231         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25232         (lib-names-h-abi): New variable.
25233         [$(build-shared) = yes && $(soversions.mk-done) = t]
25234         (lib-names-stmp-abi): Likewise.
25235         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25236         abi-variants] (before-compile): Append
25237         $(common-objpfx)$(lib-names-h-abi).
25238         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25239         abi-variants] (common-generated): Append gnu/lib-names.h.
25240         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25241         abi-variants] (install-others-nosubdir): Depend on
25242         $(inst_includedir)/$(lib-names-h-abi).
25243         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25244         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25245         [$(build-shared) = yes && $(soversions.mk-done) = t]
25246         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25247         [$(build-shared) = yes && $(soversions.mk-done) = t]
25248         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25249         [$(build-shared) = yes && $(soversions.mk-done) = t]
25250         (common-generated): Append $(lib-names-h-abi) and
25251         $(lib-names-stmp-abi).
25252         * scripts/lib-names.awk: Do not handle multi being set.
25253         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25254         Remove variable.
25255         (abi-lp64_be-ld-soname): Likewise.
25256         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25257         Likewise.
25258         (abi-hard-ld-soname): Likewise.
25259         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25260         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25261         Remove variable.
25262         (abi-o32_hard-ld-soname): Likewise.
25263         (abi-o32_soft_2008-ld-soname): Likewise.
25264         (abi-o32_hard_2008-ld-soname): Likewise.
25265         (abi-n32_soft-ld-soname): Likewise.
25266         (abi-n32_hard-ld-soname): Likewise.
25267         (abi-n32_soft_2008-ld-soname): Likewise.
25268         (abi-n32_hard_2008-ld-soname): Likewise.
25269         (abi-n64_soft-ld-soname): Likewise.
25270         (abi-n64_hard-ld-soname): Likewise.
25271         (abi-n64_soft_2008-ld-soname): Likewise.
25272         (abi-n64_hard_2008-ld-soname): Likewise.
25273         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25274         Likewise.
25275         (abi-64-v2-ld-soname): Likewise.
25276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25277         ld.so entries.
25278         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25279         variable.
25280         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25281         entry.
25282         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25283         variable.
25284         (abi-64-ld-soname): Likewise.
25285         (abi-x32-ld-soname): Likewise.
25286         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25287         entry.
25288         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25290 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25292         [BZ #14138]
25293         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25294         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25295         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25296         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25297         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25298         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25299         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25300         syscall entry for GLIBC_2.2 symbol version.
25301         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25302         Likewise.
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25304         (setrlimit): Likewise.
25305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25306         Likewise.
25308 2014-09-23  Will Newton  <will.newton@linaro.org>
25310         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25311         _LINUX_ARM_SYSDEP_H include guard too.
25312         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25313         define.
25315 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25317         * sysdeps/unix/sysv/linux/eventfd.c:
25318         Make first argument unsigned.
25319         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25320         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25322 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25324         [BZ #16852]
25325         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25326         * socket/sys/socket.h: Likewise.
25327         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25329 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25331         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25333 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25335         * time/tst-ftime.c: New test.
25336         * time/Makefile (tests): Add tst-ftime.
25338 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25340         * soft-fp/extended.h: Fix comment formatting.
25341         * soft-fp/op-1.h: Likewise.
25342         * soft-fp/op-2.h: Likewise.
25343         * soft-fp/op-4.h: Likewise.
25344         * soft-fp/op-8.h: Likewise.
25345         * soft-fp/op-common.h: Likewise.
25346         * soft-fp/soft-fp.h: Likewise.
25348         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25350 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25352         [BZ #6652]
25353         * Makeconfig (soversions-default-setname): Remove variable.
25354         ($(common-objpfx)soversions.i): Don't pass default_setname to
25355         soversions.awk.
25356         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25357         oldest_abi to abi-versions.awk.
25358         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25359         * config.make.in (oldest-abi): Remove variable.
25360         * configure.ac (--enable-oldest-abi): Remove configure option.
25361         * configure: Regenerated.
25362         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25363         text.
25364         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25365         * scripts/soversions.awk: Do not handle default_setname variable.
25366         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25367         variable.
25368         * sysdeps/mach/hurd/configure: Regenerated.
25369         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25370         variable.
25371         * sysdeps/unix/sysv/linux/configure: Regenerated.
25373 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25375         * elf/Makefile (CFLAGS-interp.c): Remove.
25376         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25377         path string.
25378         * elf/interp.c: Include generated runtime-linker.h
25380         * Makerules (lib%.so): Don't include $(+interp) in
25381         prerequisites.
25382         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25383         * dlfcn/eval.c: Remove file.
25385         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25386         macros.
25388         [BZ #17266]
25389         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25390         4.2 and newer.
25392         [BZ #17370]
25393         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25395 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25396             Jakub Jelinek  <jakub@redhat.com>
25398         [BZ #17266]
25399         * libio/stdio.h: Check definition of __fortify_function
25400         instead of __extern_always_inline to include bits/stdio2.h.
25401         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25402         check if __extern_always_inline is defined.
25403         [__USE_MISC || __USE_XOPEN]: Likewise.
25404         [__USE_ISOC99] Likewise.
25405         * misc/sys/cdefs.h (__fortify_function): Define only if
25406         __extern_always_inline is defined.
25407         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25408         __extern_always_inline and __extern_inline only for g++-4.3
25409         and newer or a compatible gcc.
25411 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25413         [BZ #17371]
25414         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25415         last change to handle zero prefix length.
25417 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25419         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25420         _SC_REGEX_VERSION.
25422         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25423         _POSIX_RAW_SOCKETS.
25425 2014-09-13  Allan McRae  <allan@archlinux.org>
25427         * po/ru.po: Update Russian translation from translation project.
25429 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25431         * locale/programs/locale.c (show_locale_vars): Inline local function
25432         into its sole call site.  Clean up some style nits.
25433         (print_item): New function, broken out of ...
25434         (show_info): ... local function here.  Clean up style nits.
25436         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25437         out of ...
25438         (set_class_defaults): ... local function set_default here.
25439         Define set_default as a macro locally to pass constant parameters.
25440         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25441         rather than a shared local.
25443         * stdlib/rpmatch.c (try): New function, broken out of ...
25444         (rpmatch): ... local function here.  Also, prototypify definition.
25446 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25448         * scripts/soversions.awk: Do not handle configuration names.
25449         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25450         vendor and os variables to soversions.awk.
25451         * configure.ac: Do not modify gnu-* host_os.
25452         * configure: Regenerated
25453         * shlib-versions: Remove first column with configuration names.
25454         * nptl/shlib-versions: Likewise.
25455         * nptl_db/shlib-versions: Likewise.
25456         * sysdeps/hppa/shlib-versions: Likewise.
25457         * sysdeps/m68k/shlib-versions: Likewise.
25458         * sysdeps/mach/hurd/shlib-versions: Likewise.
25459         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25460         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25461         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25462         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25463         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25464         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25465         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25466         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25468         Likewise.
25469         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25470         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25471         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25472         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25473         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25474         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25475         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25479         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25481         Regenerated.
25482         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25484         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25486         * shlib-versions: Remove OS-specific entries.  Moved to files in
25487         sysdeps.
25488         * sysdeps/mach/hurd/shlib-versions: New file.
25489         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25491         * nptl/shlib-versions: Remove architecture-specific entries.
25492         Moved to files in sysdeps.
25493         * shlib-versions: Likewise.
25494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25495         file.
25496         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25497         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25498         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25499         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25501         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25502         (UDP_NO_CHECK6_RX): Likewise.
25504 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25506         * sysdeps/posix/sysconf.c (__sysconf): Spell
25507         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25509 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25511         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25512         loading.
25513         * iconv/Versions (__gconv_transliterate): Export for use from
25514         gconv modules.
25515         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25516         (struct __gconv_trans_data, __gconv_trans_fct,
25517         __gconv_trans_context_fct, __gconv_trans_query_fct,
25518         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25519         definitions.
25520         (struct __gconv_step_data): Remove __trans member.
25521         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25522         longer hidden.  Remove unused trans_data argument.
25523         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25524         (__gconv_translit_find): Remove declaration.
25525         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25526         prototype.
25527         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25528         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25529         trans_data argument.  Add hidden definition.
25530         (__gconv_translit_find): Remove.
25531         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25532         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25533         * iconv/skeleton.c: Remove transliteration initialization.
25534         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25535         __gconv_step_data initialization.
25536         * libio/iofwide.c (__libio_translit_): Remove.
25537         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25538         * wcsmbs/btowc.c (__btowc): Likewise.
25539         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25540         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25541         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25542         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25543         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25544         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25545         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25546         * wcsmbs/wctob.c (wctob): Likewise.
25548 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25550         [BZ #16194]
25551         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25552         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25553         register usage.
25554         * sysdeps/x86/Makefile: Adjust.
25556 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25557             Roland McGrath  <roland@hack.frob.com>
25559         * locale/weight.h: Add include guard.
25560         (findidx): Make static rather than auto; take new parameters
25561         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25562         * locale/weightwc.h: Likewise.
25563         * posix/fnmatch_loop.c
25564         (FCT): Change type of EXTRA from int32_t to wint_t.
25565         Don't include either header inside the function.
25566         Call FINDIDX rather than findidx, and pass new arguments.
25567         #undef FINDIDX at the end of the file.
25568         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25569         FINDIDX before including fnmatch_loop.c for the non-wide version.
25570         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25571         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25572         for the wide version.
25573         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25574         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25575         Pass new arguments to findidx.
25576         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25577         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25578         Don't #include it inside the function.  Pass new arguments to findidx.
25579         * posix/regex_internal.h
25580         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25581         (re_string_elem_size_at): Don't #include it inside the function.
25582         Pass new arguments to findidx.
25583         * string/strcoll_l.c: #include WEIGHT_H at top level.
25584         (get_next_seq): Don't #include it inside the function.
25585         Pass new arguments to findidx.
25586         (get_next_seq_nocache): Likewise.
25587         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25588         (STRXFRM): Don't #include it inside the function.
25589         Pass new arguments to findidx.
25591 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25593         [BZ #17344]
25594         * malloc/malloc.c (unlink): Turn asserts into a call to
25595         malloc_printerr.
25597 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25599         [BZ #17370]
25600         * libio/wfileops (do_ftell_wide): Free OUT.
25602 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25604         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25606 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25608         [BZ #17363]
25609         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25610         group if the current group is empty.
25612 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25614         * benchtests/bench-memset.c (test_main): Add more test from size
25615         from 32 to 512 bytes.
25616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25617         Add POWER8 memset object.
25618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25619         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25620         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25621         implementation.
25622         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25623         Likewise.
25624         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25625         multiarch POWER8 memset optimization.
25626         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25627         POWER8 memset optimization.
25629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25630         Remove bzero multiarch objects.
25631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25634         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25635         Remove define.
25636         [__bzero]: Redefine to specific name.
25637         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25638         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25639         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25640         define.
25641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25642         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25644 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25646         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25647         warnings into errors.
25649         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25650         __cxa_thread_atexit_impl prototype.
25652 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25654         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25655         Fix capitalization of error message.
25657 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25659         * sysdeps/mips/preconfigure: Modify ABI tests.
25661 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25663         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25665 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25666             Carlos O'Donell  <carlos@systemhalted.org>
25668         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25669         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25670         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25671         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25672         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25674         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25675         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25676         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25689         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25690         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25691         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25692         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25693         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25694         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25695         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25696         Deconditionalize the code that was previously under [RESET_PID].
25697         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25698         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25699         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25700         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25701         include sysdep.h.
25703 2014-09-08  Allan McRae  <allan@archlinux.org>
25705         * version.h (RELEASE): Set to "development".
25706         (VERSION): Set to "2.20.90"
25708 2014-09-07  Allan McRae  <allan@archlinux.org
25710         * version.h (RELEASE): Set to "stable".
25711         (VERSION): Set to "2.20"
25712         * include/features.h (__GLIBC_MINOR__): Set to 20.
25714         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25715         Liebler.
25717         * po/ko.po: Update Korean translation from translation project.
25719 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25721         [BZ #17354]
25722         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25723         macro for handling signed relocations.
25725 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25727         [BZ #17325]
25728         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25729         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25730         assert.
25731         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25732         * iconvdata/ibm935.c (BODY): Likewise.
25733         * iconvdata/ibm937.c (BODY): Likewise.
25734         * iconvdata/ibm939.c (BODY): Likewise.
25735         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25736         assert.
25737         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25738         script.
25739         * iconvdata/run-iconv-test.sh: New test loop for checking for
25740         decoder crashers.
25742 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25744         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25745         libm_hidden_ver.
25747 2014-09-01  Allan McRae  <allan@archlinux.org>
25749         * po/eo.po: Update Esperanto translation from translation project.
25751         * po/ca.po: Update Catalan translation from translation project.
25753 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25755         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25756         __proc_dostop call.
25758 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25760         [BZ #17319]
25761         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25762         to call set_thread_area instead of hand written asm.
25763         (__NR_set_thread_area): Removed define.
25764         (TLS_FLAG_WRITABLE): Likewise.
25765         (__ASSUME_SET_THREAD_AREA): Remove check.
25766         (TLS_EBX_ARG): Remove define.
25767         (TLS_LOAD_EBX): Likewise.
25769 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25771         Simplify atomicity of socket creation in bind.
25773         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25774         looking up the name after linking the file.
25776 2014-08-27  Allan McRae  <allan@archlinux.org>
25778         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25780 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25782         [BZ #17187]
25783         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25784         trans_compare, open_translit, __gconv_translit_find):
25785         Remove module loading code.
25787 2014-08-26  Allan McRae  <allan@archlinux.org>
25789         * po/vi.po: Update Vietnamese translation from translation project.
25791         * po/uk.po: Update Ukrainian translation from translation project.
25793         * po/fr.po: Update French translation from translation project.
25795         * po/ru.po: Update Russian translation from translation project.
25797         * po/pl.po: Update Polish translation from translation project.
25799         * po/cs.po: Update Czech translation from translation project.
25801         * po/de.po: Update German translation from translation project.
25803         * po/bg.po: Update Bulgarian translation from translation project.
25805         * po/sv.po: Update Sweedish translation from translation project.
25807         * po/nl.po: Update Dutch translation from translation project.
25809         * po/es.po: Update Spanish translation from translation project.
25811 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25815         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25816         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25817         (CPPFLAGS-iconvconfig): Likewise.
25818         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25820         * include/libc-symbols.h: Remove unnecessary check for
25821         NOT_IN_libc.
25822         * nptl/pthreadP.h: Likewise.
25823         * sysdeps/aarch64/setjmp.S: Likewise.
25824         * sysdeps/alpha/setjmp.S: Likewise.
25825         * sysdeps/arm/sysdep.h: Likewise.
25826         * sysdeps/i386/setjmp.S: Likewise.
25827         * sysdeps/m68k/setjmp.c: Likewise.
25828         * sysdeps/posix/getcwd.c: Likewise.
25829         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25830         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25831         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25832         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25833         * sysdeps/sh/sh3/setjmp.S: Likewise.
25834         * sysdeps/sh/sh4/setjmp.S: Likewise.
25835         * sysdeps/unix/alpha/sysdep.h: Likewise.
25836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25837         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25838         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25839         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25844         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25847         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25849         * sysdeps/x86_64/setjmp.S: Likewise.
25851 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25853         [BZ #17263]
25854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25855         <stdint.h>.
25856         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25857         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25859 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25861         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25863         [BZ #17262]
25864         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25865         and __x86_64__ when disabling x87 inline functions.
25867 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25869         [BZ #17259]
25870         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25871         asm statement with __cpuid_count.
25873 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25875         * configure.ac: Change __ehdr_start code to dereference the struct.
25876         Run readelf on the output to look for relocations.
25877         * configure: Regenerated.
25879 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25881         [BZ #17261]
25882         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25883         value to 0.
25884         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25886 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25888         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25890 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25892         [BZ #16892]
25893         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25894         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25896 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25898         * malloc/malloc.c: Fix typo in comment.
25900 2014-08-09  Allan McRae  <allan@archlinux.org>
25902         * Regenerate libc.po.
25904 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25906         * intl/tst-gettext2.sh: Check every lang file for creation.
25908 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25910         * sysdeps/aarch64/fpu/math_private.h
25911         (libc_feholdsetround_noex_aarch64_ctx): New function.
25913 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25915         * sysdeps/arm/armv6/strcpy.S (strcpy):
25916         Fix performance issue in misaligned cases.
25918 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25920         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25921         Move definition from termios.h.
25922         (struct termio): Likewise.
25923         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25924         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25925         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25926         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25927         Likewise.
25928         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25929         Move definition to ioctl-types.h
25930         (struct termio): Likewise.
25931         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25933         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25934         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25935         Likewise.
25937 2014-08-05  Richard Henderson  <rth@redhat.com>
25939         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25940         exceptions.
25941         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25942         Add fraiseexcpt.
25943         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25944         Use __feraiseexcept.
25945         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25946         Protect libm symbols with IS_IN_libm.
25948         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25950 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25952         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25954 2014-08-04  Will Newton  <will.newton@linaro.org>
25956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25957         file.
25959 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25961         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25962         variants for each function.
25964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25966         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25967         appended ...
25968         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25969         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25970         appended ...
25971         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25972         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25973         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25974         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25975         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25976         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25977         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25978         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25979         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25980         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25981         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25982         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25983         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25984         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25985         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25986         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25987         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25988         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25989         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25990         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25991         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25992         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25993         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25994         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25995         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25996         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25997         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25998         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25999         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26000         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26001         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26002         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26003         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26004         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26005         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26006         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26007         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26008         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26010         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26011         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26013         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26015         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26017         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26019         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26021         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26022         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26023         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26024         Update #include.
26025         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26026         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26028 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26031         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26033         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26034         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26035         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26037 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26039         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26040         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26041         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26042         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26044 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26046         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26047         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26048         (__libc_vfork): Define function under this name.
26049         (__vfork): Define as an alias.
26050         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26051         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26053 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26055         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26056         that was previously under [RESET_PID].
26057         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26059 2014-08-04  Andreas Schwab  <schwab@suse.de>
26061         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26063 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26065         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26066         (main): Likewise.
26068 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26070         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26072 2014-08-01  Richard Henderon  <rth@redhat.com>
26074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26075         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26076         typo in exact zero test.
26077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26081 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26083         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26084         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26085         * sysdeps/arm/sysdep.h: ... here.
26086         [!__ASSEMBLER__]: Include <stdint.h>.
26088 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26090         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26091         (HAVE_WCTYPE_H): Likewise.
26092         (HAVE_ISWCTYPE): Likewise.
26093         (ENABLE_NLS): Likewise.
26094         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26095         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26097         * posix/regex_internal.c: Check if DEBUG is defined and is
26098         set.
26100         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26101         (HAVE_MBSRTOWCS): Likewise.
26102         * posix/fnmatch.c: Include string.h unconditionally.
26104 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26106         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26107         reversal.
26109 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26111         * sysdeps/generic/safe-fatal.h: New file.
26112         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26113         * nptl/forward.c: Include it.
26114         (__pthread_unwind): Use __safe_fatal as default action, rather
26115         than a bogus use of INTERNAL_SYSCALL that could never work.
26117         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26118         * configure.ac (libc_cv_builtin_trap): New test.
26119         * configure: Regenerated.
26120         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26121         (ABORT_INSTRUCTION): Define using __builtin_trap.
26123         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26124         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26125         * sysdeps/nptl/nptl-signals.h: New file.
26126         * nptl/pthreadP.h: Include <nptl-signals.h>.
26128 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26130         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26131         (ONE_DIRECTION): Define.
26132         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26133         (ONE_DIRECTION): Define.
26134         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26135         (ONE_DIRECTION): Define.
26137 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26139         * sysdeps/s390/Makefile: Delete file.
26140         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26141         * sysdeps/s390/__longjmp.c: Delete file.
26142         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26143         Remove fields __flags and __reserved.
26144         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26145         and add versioning.
26146         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26147         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26148         * sysdeps/s390/rtld-setjmp.S: Likewise.
26149         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26150         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26151         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26152         * sysdeps/s390/s390-32/setjmp.S: ... here.
26153         Add versioning.
26154         (__sigsetjmp): Remove setting __flags field.
26155         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26156         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26157         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26158         * sysdeps/s390/s390-64/setjmp.S: ... here.
26159         Add versioning.
26160         (__sigsetjmp): Remove setting __flags field.
26161         * sysdeps/s390/setjmp.S: Delete file.
26162         * sysdeps/s390/sigjmp.c: Likewise.
26163         * sysdeps/s390/v1-longjmp.c: Likewise.
26164         * sysdeps/s390/v1-setjmp.h: Likewise.
26165         * sysdeps/s390/v1-sigjmp.c: Likewise.
26166         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26167         Remove v1-longjmp_chk.
26168         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26169         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26170         Include debug/longjmp_chk.c and add versioning.
26171         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26172         Include nptl/pt-longjmp.c and add versioning.
26173         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26174         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26175         Include __longjmp.c.
26176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26177         Move to ...
26178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26179         (__getcontext): Remove setting __flags field.
26180         Add versioning.
26181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26182         Don't restore upper high grps.
26183         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26184         Likewise.
26185         (__swapcontext): Remove setting uc_flags field.
26186         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26187         Delete file.
26188         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26189         Include __longjmp.c.
26190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26191         Move to ...
26192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26193         (__getcontext): Remove setting __flags field.
26194         Add versioning.
26195         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26196         (__swapcontext): Remove setting uc_flags field.
26197         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26199         Remove fields uc_high_gprs and __reserved.
26200         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26201         New file with reverted content.
26202         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26204         Regenerated.
26205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26206         Regenerated.
26208 2014-07-31  Andreas Schwab  <schwab@suse.de>
26210         * config.h.in (HAVE_IFUNC): Define to 0.
26211         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26212         definedness.
26214 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26217         memmove-avx-unaligned, memcpy-avx-unaligned and
26218         mempcpy-avx-unaligned.
26219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26220         Add tests for AVX memcpy functions.
26221         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26223         memcpy_chk.
26224         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26225         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26226         memmove_chk.
26227         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26228         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26229         mempcpy_chk.
26230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26231         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26232         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26234 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26236         [BZ #17213]
26237         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26238         powerpc64le.
26240 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26242         [BZ #16839]
26243         * manual/llio.texi: Add section about open file description locks.
26244         * manual/examples/ofdlocks.c: Example of open file description
26245         lock usage.
26246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26247         F_OFD_SETLK, and F_OFD_SETLKW.
26249 2014-07-23  Allan McRae  <allan@archlinux.org>
26251         * po/es.po: Update Spanish translation from translation project.
26253 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26257 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26259         [BZ #17078]
26260         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26261         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26262         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26264 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26266         [BZ #17088]
26267         * math/fesetenv.c (__fesetenv)
26268         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26269         * math/feupdateenv.c (__feupdateenv)
26270         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26272         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26274         (__ASSUME_SOCKETCALL): Do not define.
26276         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26277         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26278         (__ASSUME_SOCKETCALL): Do not define.
26279         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26280         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26281         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26282         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26284         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26285         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26286         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26288         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26289         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26290         (__ASSUME_SOCKETCALL): Do not define.
26291         (__ASSUME_IPC64): Define unconditionally.
26292         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26294         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26296         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26298         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26299         Likewise.
26301         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26302         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26303         (__ASSUME_SOCKETCALL): Do not define.
26304         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26305         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26306         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26307         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26308         (__ASSUME_REQUEUE_PI): Define unconditionally.
26309         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26310         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26311         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26312         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26314         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26316         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26317         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26318         (__ASSUME_SOCKETCALL): Do not define.
26319         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26321         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26322         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26324         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26326         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26327         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26328         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26329         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26331         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26333         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26334         (__ASSUME_GETCPU_SYSCALL): Likewise.
26336         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26337         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26338         cases for individual architectures.
26339         * sysdeps/gnu/configure: Regenerated.
26340         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26341         LIBC_SLIBDIR_RTLDDIR.
26342         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26343         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26344         LIBC_SLIBDIR_RTLDDIR.
26345         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26347         LIBC_SLIBDIR_RTLDDIR.
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26349         Regenerated.
26350         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26351         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26352         file.
26353         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26354         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26355         file.
26356         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26357         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26358         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26359         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26361         * sysdeps/aarch64/shlib-versions: Move to ...
26362         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26363         * sysdeps/alpha/shlib-versions: Move to ...
26364         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26365         * sysdeps/arm/shlib-versions: Move to ...
26366         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26367         * sysdeps/hppa/shlib-versions: Move all contents except for
26368         libgcc_s entry to ...
26369         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26370         entry from ...
26371         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26372         * sysdeps/ia64/shlib-versions: Move to ...
26373         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26374         entry from ...
26375         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26376         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26377         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26378         * sysdeps/microblaze/shlib-versions: Move to ...
26379         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26380         * sysdeps/mips/shlib-versions: Move to ...
26381         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26382         entry from ...
26383         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26384         * sysdeps/tile/shlib-versions: Move to ...
26385         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26386         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26387         from ...
26388         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26389         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26390         entry from ...
26391         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26393 2014-07-17  Will Newton  <will.newton@linaro.org>
26395         * sysdeps/arm/bits/atomic.h
26396         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26397         (__arch_compare_and_exchange_bool_16_int): Likewise.
26398         (__arch_compare_and_exchange_bool_64_int): Likewise.
26400         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26401         into an #else block.
26403 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26405         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26406         just Linux configurations.  Test empirically that the compiler sets
26407         __ARM_EABI__, rather than using the tuple to decide.
26408         * sysdeps/arm/preconfigure: Regenerated.
26409         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26410         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26411         contents appended ...
26412         * sysdeps/arm/configure.ac: ... here.
26413         * sysdeps/arm/configure: Regenerated.
26415 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26417         * nptl/pthread_kill.c: New file.
26418         * nptl/pthread_sigmask.c: New file.
26419         * nptl/pthread_sigqueue.c: New file.
26421         * sysdeps/nptl/lowlevellock.h: New file.
26422         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26423         * sysdeps/nptl/lowlevellock-futex.h: New file.
26425         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26426         Remove dead declarations.
26428 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26430         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26431         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26432         config-cflags-avx2.
26433         * sysdeps/x86_64/configure.ac: Likewise.
26434         * sysdeps/i386/configure: Regenerated.
26435         * sysdeps/x86_64/configure: Likewise.
26436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26437         memset-avx2 only if config-cflags-avx2 is yes.
26438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26439         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26440         defined.
26441         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26442         only if HAVE_AVX2_SUPPORT is defined.
26443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26445 2014-07-14  Alan Modra  <amodra@gmail.com>
26447         [BZ #17153]
26448         * elf/elf.h (DT_PPC64_NUM): Correct value.
26449         * NEWS: Add to fixed bug list.
26451 2014-07-13  Jim Meyering  <meyering@fb.com>
26453         [BZ 17150]
26454         regex: don't deref NULL upon heap allocation failure
26455         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26456         failure in one more place.
26457         To trigger the segfault, configure grep -with-included-regex,
26458         build it, and run these commands:
26459         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26461 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26463         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26465 2014-07-11  Richard Henderson  <rth@redhat.com>
26467         * sysdeps/aarch64/libm-test-ulps: Update.
26469 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26471         [BZ #17135]
26472         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26473         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26474         (__nptl_setxid): Initialize error member.  Call
26475         __nptl_setxid_error.
26476         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26477         * nptl/descr.h (struct xid_command): Add error member.
26478         * nptl/tst-setuid3.c: New file.
26479         * nptl/Makefile (tests): Add it.
26481 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26484         New define.
26485         (__lll_trylock): Use __lll_base_trylock.
26486         (__lll_cond_trylock): Likewise.
26488 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26490         * nptl/pthread_create.c (start_thread): Use atomic_or and
26491         lll_futex_wake directly rather than lll_robust_dead.
26492         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26493         (lll_robust_dead): Macro removed.
26494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26495         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26496         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26499         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26500         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26502         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26504         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26510         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26511         Use atomic_compare_and_exchange_val_acq directly rather than
26512         lll_robust_trylock.
26513         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26514         (__lll_robust_trylock, lll_robust_trylock): Removed.
26515         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26516         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26517         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26519         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26520         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26522         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26524         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26527         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26530 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26532         * manual/locale.texi (Locale Names): New section documenting
26533         locale name syntax.  Adjust menu and node chaining accordingly.
26534         (Choosing Locale): Reference Locale Names, Locale Categories.
26535         Mention setting LC_ALL=C.  Reflect that name syntax is now
26536         documented.
26537         (Locale Categories): New section title.  Reference Locale Names.
26538         LC_ALL is an environment variable, but not a category.
26539         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26540         description, now in Locale Name.  Reference that section.  Locale
26541         name syntax is now documented.
26543 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26545         [BZ #17137]
26546         * locale/findlocale.c (name_present, valid_locale_name): New
26547         functions.
26548         (_nl_find_locale): Use the loc_name variable to store name
26549         candidates.  Call name_present and valid_locale_name to check and
26550         validate locale names.  Return an error if the locale is invalid.
26552 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26554         * locale/setlocale.c (setlocale): Use strdup for allocating
26555         composite name copy.
26557 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26559         Sync up with gnulib.
26560         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26561         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26562         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26563         and _GL_ARG_NONNULL.
26564         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26565         [!_LIBC]: Include code for Windows and Cygwin.
26566         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26567         Include prototype for int strerror_r.
26568         [!_LIBC] (is_open): New function.
26569         (flush_stdout): New function.
26570         (print_errno_message): Use it.
26571         (error): Likewise.
26572         (error_at_line): Likewise.
26573         (error_tail) Add function attribute macros.  Use
26574         __builtin_expect.
26576         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26578         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26580         * io/ftw.c: Include sys/param.h unconditionally.
26582         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26584         [BZ #17125]
26585         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26586         libc_freeres_ptr.
26587         (freecache): New function to free CACHE on exit.
26589         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26590         initialization.
26592 2014-07-09  David S. Miller  <davem@davemloft.net>
26594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26596         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26597         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26598         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26599         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26600         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26601         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26602         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26603         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26604         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26605         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26606         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26607         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26608         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26610 2014-07-09  Andreas Schwab  <schwab@suse.de>
26612         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26613         output.
26614         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26615         (do_test): Likewise.
26617         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26619 2014-07-09  Will Newton  <will.newton@linaro.org>
26621         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26622         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26623         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26624         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26625         * sysdeps/hppa/start.S (_start): Likewise.
26627 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26629         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26631         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26632         defined.
26634 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26636         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26637         after checking that it is non-NULL.
26639         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26641 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26643         * sysdeps/powerpc/memmove.c: Remove file.
26644         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26647         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26649         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26650         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26651         string memmove instead of removed powerpc one.
26653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26654         [weak_alias]: Fix compiler warning due trailing data.
26655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26656         [weak_alias]: Likewise.
26657         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26658         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26661         (__libc_ifunc_impl_list): Add memmove functions.
26663 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26665         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26666         Remove code.
26667         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26668         Likewise.
26669         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26670         Likewise.
26671         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26672         Likewise.
26673         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26674         Likewise.
26675         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26676         Likewise.
26677         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26678         Likewise.
26679         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26680         Likewise.
26681         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26682         Likewise.
26683         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26684         Likewise.
26685         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26686         Likewise.
26687         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26688         Likewise.
26689         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26690         Likewise.
26691         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26692         Likewise.
26693         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26694         Likewise.
26695         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26696         Likewise.
26697         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26698         Likewise.
26700 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26702         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26703         to avoid alignment traps in non-cacheable memory.
26704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26707         multiarch objects.
26708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26709         file: multiarch power7 memmove.
26710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26711         multiarch default memmove.
26712         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26713         multiarch memove for powerpc32/power4.
26715         * string/bcopy.c: Use full path to include memmove.c.
26716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26717         multiarch objects.
26718         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26719         bcopy for powerpc64.
26720         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26721         bcopy for powerpc64.
26722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26723         and memmove implementations.
26724         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26725         optimized multiarch memmove for POWER7/powerpc64.
26726         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26727         default multiarch memmove for powerpc64.
26728         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26729         multiarch for powerpc64.
26730         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26731         for POWER7/powerpc64.
26732         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26733         memmove for POWER7/powerpc64.
26735         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26736         glibc default one.
26738         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26739         __ELF_NATIVE_CLASS equal to 64.
26741 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26743         * sysdeps/nptl/lowlevellock.h: File removed.
26745         * NEWS: NPTL is no longer an add-on!
26746         * nptl/internaltypes.h: Moved ...
26747         * sysdeps/nptl/internaltypes.h: ... here.
26748         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26749         * sysdeps/nptl/fork.c: Likewise.
26750         * sysdeps/nptl/gai_misc.h: Likewise.
26751         * sysdeps/nptl/librt-cancellation.c: Likewise.
26752         * sysdeps/nptl/jmp-unwind.c: Likewise.
26753         * sysdeps/nptl/setxid.h: Likewise.
26754         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26755         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26756         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26757         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26758         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26759         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26760         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26761         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26762         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26763         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26764         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26765         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26766         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26767         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26768         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26769         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26770         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26771         * nptl/Makeconfig: Moved ...
26772         * sysdeps/nptl/Makeconfig: ... here.
26773         * nptl/configure: File removed.
26774         * nptl/ANNOUNCE: File removed.
26775         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26776         * sysdeps/unix/sysv/linux/configure: Regenerated.
26778         * nptl/Makefile (routines): Add libc_pthread_init,
26779         libc_multiple_threads, register-atfork and unregister-atfork.
26780         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26781         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26782         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26783         pthread-pi-defines.sym, structsem.sym.
26784         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26785         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26786         [$(subdir) = nptl] (tests): Add tst-setgetname.
26787         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26788         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26789         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26790         [!LIBC_SIGACTION]: Remove aliases.
26791         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26792         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26793         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26794         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26795         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26796         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26797         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26799         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26800         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26801         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26802         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26803         __libc_allocate_rtsig_private.
26804         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26805         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26806         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26807         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26808         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26809         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26810         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26811         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26812         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26813         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26814         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26815         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26816         * nptl/internaltypes.h: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26818         * sysdeps/nptl/jmp-unwind.c: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26820         * nptl/libc-lowlevellock.c: ... here.
26821         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26822         * nptl/libc_multiple_threads.c: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26824         * nptl/libc_pthread_init.c: ... here.
26825         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26826         * nptl/lowlevelbarrier.sym: ... here.
26827         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26828         * nptl/lowlevelcond.sym: ... here.
26829         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26830         * nptl/lowlevellock.c: ... here.
26831         * nptl/lowlevellock.h: Moved ...
26832         * sysdeps/nptl/lowlevellock.h: ... here.
26833         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26834         * nptl/lowlevelrobustlock.c: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26836         * nptl/lowlevelrobustlock.sym: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26838         * nptl/lowlevelrwlock.sym: ... here.
26839         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26840         * nptl/pt-fork.c: ... here.
26841         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26842         * nptl/pthread-pi-defines.sym: ... here.
26843         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26844         * nptl/pthread_attr_getaffinity.c: ... here.
26845         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26846         * nptl/pthread_attr_setaffinity.c: ... here.
26847         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26848         * nptl/pthread_mutex_cond_lock.c: ... here.
26849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26850         Update #include.
26851         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26852         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26853         * nptl/pthread_once.c: ... here, replacing old file.
26854         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26855         * nptl/pthread_yield.c: ... here.
26856         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26857         * nptl/register-atfork.c: ... here.
26858         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26859         * nptl/sem_post.c: ... here.
26860         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26861         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26862         * nptl/sem_timedwait.c: ... here.
26863         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26864         * nptl/sem_trywait.c: ... here.
26865         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26866         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26867         * nptl/sem_wait.c: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26869         * nptl/structsem.sym: ... here.
26870         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26871         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26872         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26873         * nptl/unregister-atfork.c: ... here.
26874         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26875         * nptl/unwindbuf.sym: ... here.
26876         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26877         * sysdeps/nptl/fork.c: ... here.
26878         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26879         * sysdeps/nptl/fork.h: ... here.
26880         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26881         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26882         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26883         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26884         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26885         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26886         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26887         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26888         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26889         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26890         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26892         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26893         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26894         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26895         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26896         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26897         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26898         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26899         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26900         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26901         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26902         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26903         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26904         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26905         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26906         * sysdeps/unix/sysv/linux/raise.c: ... here.
26907         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26908         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26909         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26910         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26911         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26912         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26913         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26914         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26915         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26916         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26917         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26918         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26919         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26920         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26921         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26923 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26925         * sysdeps/generic/memcopy.h: Add comment for
26926         MEMCPY_OK_FOR_FWD_MEMMOVE.
26928 2014-07-04  Will Newton  <will.newton@linaro.org>
26930         * string/memchr.c: Merge from gnulib.
26931         [_LIBC]: Remove conditionals.
26932         (__ptr_t): Remove define.
26933         (LONG_MAX_32_BITS): Likewise.
26934         (LONG_MAX): Likewise.
26935         (MEMCHR): Use ANSI prototype and optimize algorithm.
26937         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26939 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26941         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26942         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26944         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26945         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26946         in a bare environment with no <stdlib.h> installed.
26947         * sysdeps/nptl/configure: Regenerated.
26949         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26951         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26952         AC_EGREP_CPP for kernel header checks, so they only succeed if
26953         including <linux/version.h> actually works right.
26954         * sysdeps/unix/sysv/linux/configure: Regenerated.
26956         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26957         value so it's not diagnosed as unused.
26959         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26960         thing) with "ifeq ($(subdir),rt)".
26962 2014-07-03  Richard Henderson  <rth@redhat.com>
26964         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26965         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26966         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26968         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26969         (math_force_eval): New.
26971         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26972         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26974         * sysdeps/alpha/fpu/s_round.c: Remove file.
26975         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26977         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26978         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26979         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26980         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26981         (_dl_start, print_statistics): Likewise.
26982         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26983         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26985         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26986         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26987         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26988         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26989         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26990         (HP_SMALL_TIMING_AVAIL): Define.
26991         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26992         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26993         (HP_SMALL_TIMING_AVAIL): Define.
26994         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26995         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26997         * sysdeps/aarch64/hp-timing.h: New file.
26999         * sysdeps/generic/hp-timing.h: Remove dead comment.
27000         * sysdeps/generic/hp-timing-common.h: New file.
27001         * sysdeps/alpha/hp-timing.h: Include it.
27002         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27003         * sysdeps/i386/i686/hp-timing.h: Likewise.
27004         * sysdeps/ia64/hp-timing.h: Likewise.
27005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27006         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27007         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27008         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27009         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27010         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27011         (hp_timing_t): New.
27013         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27014         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27015         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27016         * elf/rtld.c (_dl_start_final): Likewise.
27017         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27018         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27019         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27020         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27021         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27023         (HP_TIMING_DIFF_INIT): Remove.
27024         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27025         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27026         (HP_TIMING_DIFF_INIT): Remove.
27027         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27028         * sysdeps/i386/i686/hp-timing.c: Remove file.
27029         * sysdeps/x86_64/hp-timing.c: Remove file.
27030         * sysdeps/ia64/hp-timing.c: Remove file.
27031         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27032         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27034         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27036         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27037         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27038         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27039         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27041         (HP_TIMING_ACCUM): Remove.
27042         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27044         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27046         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27047         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27048         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27049         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27051         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27052         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27053         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27055         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27057 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27059         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27061 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063         Sync up with gettext.
27064         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27065         [_MSC_VER]: Include malloc.h
27066         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27067         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27068         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27069         TEMP_FAILURE_RETRY.  Cast return of alloca.
27070         [!_LIBC] Call gl_rwlock_init.
27071         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27073 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27075         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27076         before checking its value.
27078 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27080         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27082         * debug/memcpy_chk.c: Don't include pagecopy.h.
27083         * debug/mempcpy_chk.c: Likewise.
27084         * string/memcpy.c: Likewise.
27085         * string/memmove.c: Likewise.
27086         * sysdeps/powerpc/memmove.c: Likewise.
27087         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27088         definition of PAGE_COPY_FWD_MAYBE here...
27089         * sysdeps/generic/pagecopy.h: ... from here.
27090         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27092 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27095         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27097         optimizations.
27098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27099         (__libc_ifunc_impl_list): Likewise.
27100         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27101         multiarch strcat for PPC64.
27102         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27103         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27105 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27107         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27109 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27111         * intl/loadmsgcat.c: Remove declaration of
27112         get_sysdep_segment_value.
27113         (get_sysdep_segment_value): Use ISO C style.
27114         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27115         semicolon.  Fix typo and formatting in comment.
27116         (_nl_unload_domain): Use ISO C style.
27118         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27120 2014-07-02  Will Newton  <will.newton@linaro.org>
27122         * malloc/obstack.c: Merge from gnulib master.
27123         [HAVE_CONFIG_H]: Remove conditional code.
27124         [!_LIBC]: Include config.h.
27125         [!ELIDE_CODE]: Don't include inttypes.h, include
27126         stdint.h unconditionally.
27127         (print_and_abort): Mark as _Noreturn.
27128         (_obstack_allocated_p): Mark as __attribute_pure__.
27129         (obstack_free): Rename to __obstack_free.
27130         [!__attribute__]: Remove conditional code.
27131         * malloc/obstack.h: Merge from gnulib master.
27132         [__cplusplus]: Move conditional down.
27133         [!__attribute_pure__]: Define __attribute_pure__ here
27134         if it is not already defined.
27135         (_obstack_memory_used): Mark as __attribute_pure__.
27136         [!__obstack_free]: Define as obstack_free.
27137         [__GNUC__]: Remove check for ancient NeXT gcc.
27139 2014-07-02  Will Newton  <will.newton@linaro.org>
27140             Paul Eggert  <eggert@cs.ucla.edu>
27142         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27146         * resolv/gethnamaddr.c: Add comment warning that the file is
27147         not maintained.
27149 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27151         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27152         entries.
27154         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27155         entry for aio_cancel and aio_cancel64.
27156         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27157         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27158         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27159         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27160         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27161         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27162         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27163         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27164         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27165         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27166         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27167         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27168         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27170 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27172         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27173         * nptl/pthread_mutex_lock.c: Likewise.
27174         * nptl/pthread_mutex_timedlock.c: Likewise.
27175         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27177 2014-07-01  Richard henderson  <rth@redhat.com>
27179         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27180         (__isnan, __isnanl): Remove.
27181         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27183         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27185 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27187         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27189 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27191         * resolv/nss_dns/dns-host.c (getanswer_r)
27192         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27194 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27197         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27198         undefine.
27199         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27200         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27202 2014-07-01  Roland McGrath <roland@hack.frob.com>
27204         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27205         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27207         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27208         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27210         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27211         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27212         ... here.
27213         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27214         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27216         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27217         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27218         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27219         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27221         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27222         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27223         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27224         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27225         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27226         Moved ...
27227         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27228         ... here.
27229         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27230         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27232         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27234         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27235         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27236         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27238         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27239         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27240         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27241         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27242         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27243         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27244         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27245         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27246         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27247         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27248         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27249         ... here.
27250         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27251         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27252         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27253         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27255         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27256         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27257         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27259 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27261         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27262         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27263         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27264         Add sysdep.
27266 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27270 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27272         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27273         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27277         * sysdeps/arm/libm-test-ulps: Regenerated.
27279 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27280             Roland McGrath <roland@hack.frob.com>
27282         * test-skeleton.c (signal_handler): Kill the whole process group
27283         before killing the child individually.
27284         (main): Report any failure on `setpgid'.
27286 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27288         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27289         from _TLS_H to _ARM_NPTL_TLS_H.
27290         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27291         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27295         [BZ #16539]
27296         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27297         (__expm1l): Return argument unchanged when small but not
27298         subnormal.
27300         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27301         include macro name.
27302         (_FP_UNPACK_RAW_1_P): Likewise.
27303         (_FP_PACK_RAW_1): Likewise.
27304         (_FP_PACK_RAW_1_P): Likewise.
27305         (_FP_MUL_MEAT_1_wide): Likewise.
27306         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27307         (_FP_MUL_MEAT_1_hard): Likewise.
27308         (_FP_DIV_MEAT_1_imm): Likewise.
27309         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27310         (_FP_DIV_MEAT_1_udiv): Likewise.
27311         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27312         (_FP_UNPACK_RAW_2): Likewise.
27313         (_FP_UNPACK_RAW_2_P): Likewise.
27314         (_FP_PACK_RAW_2): Likewise.
27315         (_FP_PACK_RAW_2_P): Likewise.
27316         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27317         (_FP_MUL_MEAT_2_wide): Likewise.
27318         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27319         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27320         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27321         (_FP_MUL_MEAT_2_gmp): Likewise.
27322         (_FP_DIV_MEAT_2_udiv): Likewise.
27323         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27324         (_FP_FRAC_SRL_4): Likewise.
27325         (_FP_FRAC_SRST_4): Likewise.
27326         (_FP_FRAC_SRS_4): Likewise.
27327         (_FP_UNPACK_RAW_4): Likewise.
27328         (_FP_UNPACK_RAW_4_P): Likewise.
27329         (_FP_PACK_RAW_4): Likewise.
27330         (_FP_PACK_RAW_4_P): Likewise.
27331         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27332         (_FP_MUL_MEAT_4_wide): Likewise.
27333         (_FP_MUL_MEAT_4_gmp): Likewise.
27334         (umul_ppppmnnn): Likewise.
27335         (_FP_DIV_MEAT_4_udiv): Likewise.
27336         (__FP_FRAC_ADD_4): Likewise.
27337         (__FP_FRAC_SUB_3): Likewise.
27338         (__FP_FRAC_SUB_4): Likewise.
27339         (__FP_FRAC_DEC_3): Likewise.
27340         (__FP_FRAC_DEC_4): Likewise.
27341         (__FP_FRAC_ADDI_4): Likewise.
27342         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27343         (_FP_FRAC_SRL_8): Likewise.
27344         (_FP_FRAC_SRS_8): Likewise.
27346         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27347         include macro name.
27348         (FP_UNPACK_RAW_EP): Likewise.
27349         (FP_PACK_RAW_E): Likewise.
27350         (FP_PACK_RAW_EP): Likewise.
27351         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27352         (_FP_ISSIGNAN): Likewise.
27353         (_FP_ADD_INTERNAL): Likewise.
27354         (_FP_FMA): Likewise.
27355         (_FP_CMP): Likewise.
27356         (_FP_SQRT): Likewise.
27357         (_FP_TO_INT): Likewise.
27358         (_FP_FROM_INT): Likewise.
27359         (FP_EXTEND): Likewise.
27360         (_FP_DIV_MEAT_N_loop): Likewise.
27362 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27364         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27365         throughout.
27367 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27369         [BZ #17097]
27370         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27371         result with correct sign in case of exponents that produce
27372         overflow except for X very close to 1.
27374 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27376         mktime: merge #if/#ifdef usage from glibc
27377         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27378         as that works with both Glibc's and Gnulib's style.
27379         See thread starting at Siddhesh Poyarekar's bug report at:
27380         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27382 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27384         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27385         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27386         * sysdeps/tile/tilegx/memmove.c: Remove file.
27388 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27390         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27391         abi-name definition.
27392         * scripts/soversions.awk: Do not handle or generate ABI lines.
27393         * shlib-versions: Remove ABI entries.
27394         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27395         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27397 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27400         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27402         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27404         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27406         Moved ...
27407         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27408         ... here.
27409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27410         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27412         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27414         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27416         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27418         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27420         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27422         Moved ...
27423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27427         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27429         Moved ...
27430         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27432         Moved ...
27433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27437         Moved ...
27438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27442         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27446         Moved ...
27447         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27449         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27451         Moved ...
27452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27454         Moved ...
27455         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27457         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27459         Moved ...
27460         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27461         ... here.
27462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27463         Identical file removed.
27464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27465         Moved ...
27466         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27468         Identical file removed.
27469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27472         Moved ...
27473         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27475         Identical file removed.
27476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27477         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27479         Identical file removed.
27480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27483         Identical file removed.
27484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27485         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27487         Identical file removed.
27488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27489         Moved ...
27490         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27492         Identical file removed.
27493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27494         Moved ...
27495         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27497         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27499         Identical file removed.
27500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27501         Moved ...
27502         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27503         ... here.
27504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27505         Identical file removed.
27506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27507         Moved ...
27508         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27510         Identical file removed.
27511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27512         Moved ...
27513         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27515         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27517         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27519         Moved ...
27520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27521         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27522         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27524         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27525         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27526         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27527         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27528         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27530 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27532         [BZ #17092]
27533         * nscd/nscd.c (monitor_child): Return exit status of child
27534         instead of return value from wait syscall.
27536 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27538         * configure.ac (libc_commonpagesize): Remove variable.
27539         (libc_relro_required): Likewise.
27540         (libc_cv_z_relro): Remove configure test.
27541         * configure: Regenerated.
27542         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27543         variable.
27544         (libc_relro_required): Likewise.
27545         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27546         (libc_relro_required): Likewise.
27547         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27548         (libc_relro_required): Likewise.
27549         * sysdeps/arm/preconfigure: Regenerated.
27550         * sysdeps/ia64/preconfigure: Remove file.
27551         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27552         variable.
27553         (libc_relro_required): Likewise.
27555         [BZ #16561]
27556         [BZ #16562]
27557         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27558         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27559         recompute overflowing results in original rounding mode.
27560         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27561         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27562         recompute overflowing results in original rounding mode.
27563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27564         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27565         recompute overflowing results in original rounding mode.
27566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27567         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27568         recompute overflowing results in original rounding mode.
27569         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27570         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27571         recompute overflowing results in original rounding mode.
27572         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27573         (libc_feholdsetround_ctx): New macro.
27574         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27575         * sysdeps/i386/fpu/libm-test-ulps: Update.
27576         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27581         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27582         corresponding .cpsetup call.
27584 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27586         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27587         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27588         * sysdeps/arm/Makefile [$(subdir) = csu]
27589         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27590         (static-only-routines): Add aeabi_read_tp here.
27591         (shared-only-routines): Add libc-aeabi_read_tp here.
27592         (CFLAGS-libc-start.c): Add -fexceptions here.
27593         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27594         (sysdep_routines, static-only-routines, shared-only-routines):
27595         Don't add to these here.
27596         (CFLAGS-libc-start.c): Likewise.
27598         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27599         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27600         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27601         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27602         * sysdeps/arm/Makefile [$(subdir) = rt]
27603         (librt-sysdep_routines, librt-shared-only-routines):
27604         Append rt-aeabi_unwind_cpp_pr1 here.
27605         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27606         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27607         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27608         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27609         Append nptl-aeabi_unwind_cpp_pr1 here.
27610         (tests): Filter out tst-cleanupx4 here.
27611         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27612         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27613         Don't do those here.
27615 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27617         * scripts/list-sources.sh: Do not handle ports specially.
27619 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27621         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27622         * sysdeps/arm/feupdateenv.c: Likewise.
27624         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27626 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27628         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27629         trailing whitespace removed.
27630         * scripts/config.guess: Update to version 2014-03-23.
27631         * scripts/config.sub: Update to version 2014-05-01
27632         * scripts/install-sh: Update to version 2013-12-25.23.
27633         * scripts/move-if-change: Update from gnulib.
27635 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27637         * debug/memmove_chk.c: Remove pagecopy.h include.
27639 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27641         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27642         identical to gnulib mktime.
27644 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27646         * configure.ac: Do not test for machine being rs6000.  Do not test
27647         for powerpc*-*soft.
27648         * configure: Regenerated.
27650         [BZ #11505]
27651         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27652         test.
27653         * configure: Regenerated.
27654         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27655         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27656         Remove configure test.
27657         * sysdeps/arm/configure: Regenerated.
27658         * sysdeps/nptl/configure.ac: Do not check
27659         libc_cv_asm_cfi_directives.
27660         * sysdeps/nptl/configure: Regenerated.
27661         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27662         * sysdeps/x86_64/nptl/configure: Remove generated file.
27663         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27664         unconditional.
27665         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27667 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27669         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27670         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27671         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27672         it is defined.
27674         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27675         instead of whether it is defined.
27676         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27677         * sysdeps/hppa/dl-machine.h: Likewise.
27678         * sysdeps/ia64/dl-machine.h: Likewise.
27679         * sysdeps/m68k/dl-machine.h: Likewise.
27680         * sysdeps/microblaze/dl-machine.h: Likewise.
27681         * sysdeps/mips/dl-machine.: Likewise.
27682         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27683         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27684         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27685         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27686         * sysdeps/sh/dl-machine.h: Likewise.
27687         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27688         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27689         * sysdeps/tile/dl-machine.h: Likewise.
27690         * sysdeps/x86_64/dl-machine.h: Likewise.
27692         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27693         code.
27694         (verify_persistent_db): Likewise.
27696 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27699         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27703         Moved ...
27704         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27705         ... here.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27709         Identical file removed.
27710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27711         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27713         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27715         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27717         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27719         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27721         Moved ...
27722         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27724         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27726         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27728         Moved ...
27729         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27731         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27733         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27735         Identical file removed.
27736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27737         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27739         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27741         Moved ...
27742         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27743         ... here.
27744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27745         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27747         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27749         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27751         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27753         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27755         Moved ...
27756         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27758         Moved ...
27759         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27761         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27763         Moved ...
27764         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27766         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27768         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27769         folded into ...
27770         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27771         * sysdeps/unix/sysv/linux/s390/Versions
27772         (libpthread: GLIBC_2.19): New version set.
27773         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27774         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27775         (librt: GLIBC_2.3.3): New version set.
27776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27777         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27778         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27779         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27780         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27782         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27784         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27786         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27788         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27789         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27790         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27791         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27792         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27794         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27795         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27796         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27798         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27800         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27802         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27804         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27806         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27812         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27814         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27816         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27818         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27820         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27822         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27823         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27824         (__libc_vfork): Define the function under this name.
27825         [!NOT_IN_libc] (__vfork): Make this an alias.
27826         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27828         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27829         (__libc_vfork): Define the function under this name.
27830         [!NOT_IN_libc] (__vfork): Make this an alias.
27831         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27832         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27833         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27835         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27836         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27838         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27839         code that was previously under [RESET_PID].
27840         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27844         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27845         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27846         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27847         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27848         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27849         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27850         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27851         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27852         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27853         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27854         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27855         Moved ...
27856         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27857         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27858         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27859         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27860         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27861         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27862         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27864         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27865         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27866         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27867         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27868         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27869         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27870         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27871         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27872         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27873         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27874         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27875         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27876         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27877         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27878         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27879         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27880         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27881         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27882         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27884         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27886 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27888         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27889         that was previously under [RESET_PID].
27890         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27892 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27894         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27895         not undefine and redefine.
27896         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27897         [O_CLOEXEC]: Make code unconditional.
27898         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27899         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27900         <kernel-features.h>.
27901         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27902         conditional variable definition.
27903         (shm_open) [O_CLOEXEC]: Make code unconditional.
27904         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27905         code.
27907         * configure.ac (USE_REGPARMS): Don't define here.
27908         * configure: Regenerated.
27909         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27910         * sysdeps/i386/configure: Regenerated.
27912         * nptl/createthread.c: Don't include kernel-features.h.
27913         * nptl/pthread_cancel.c: Likewise.
27914         * nptl/pthread_condattr_setclock.c: Likewise.
27915         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27916         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27917         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27918         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27919         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27920         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27921         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27924         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27925         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27926         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27927         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27928         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27929         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27930         * nscd/gai.c: Likewise.
27931         * nss/nss_db/db-open.c: Likewise.
27932         * sysdeps/generic/ldsodefs.h: Likewise.
27933         * sysdeps/sh/nptl/tls.h: Likewise.
27934         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27935         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27936         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27937         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27938         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27939         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27940         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27941         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27943         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27944         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27945         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27946         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27947         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27948         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27949         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27950         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27951         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27952         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27953         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27956         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27957         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27958         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27961         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27962         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27963         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27964         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27965         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27966         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27967         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27968         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27969         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27970         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27971         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27972         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27973         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27974         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27975         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27976         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27977         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27978         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27979         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27980         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27981         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27982         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27983         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27984         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27985         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27986         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27987         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27988         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27989         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27990         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27991         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28014         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28015         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28016         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28017         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28018         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28019         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28020         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28021         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28022         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28023         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28024         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28025         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28026         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28027         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28028         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28029         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28030         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28031         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28032         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28033         * sysdeps/unix/sysv/linux/system.c: Likewise.
28034         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28035         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28036         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28037         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28038         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28040         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28042         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28043         * configure: Regenerated.
28044         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28046         * configure.ac (base_machine): Do not set specially for particular
28047         machines here.
28048         * configure: Regenerated.
28049         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28050         settings from configure.ac.
28051         * sysdeps/i386/preconfigure: New file.
28052         * sysdeps/s390/preconfigure: Likewise.
28053         * sysdeps/sh/preconfigure: Likewise.
28054         * sysdeps/sparc/preconfigure: Likewise.
28056 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28058         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28059         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28060         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28061         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28062         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28063         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28064         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28065         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28066         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28067         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28068         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28069         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28070         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28071         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28072         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28073         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28075         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28076         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28078         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28079         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28080         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28081         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28082         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28083         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28084         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28085         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28086         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28087         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28088         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28089         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28090         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28091         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28092         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28093         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28094         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28095         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28096         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28097         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28098         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28099         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28101         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28104         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28105         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28108         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28109         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28111         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28112         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28113         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28115         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28118         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28120         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28122         Moved ...
28123         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28124         ... here.
28125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28126         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28128         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28130         Moved ...
28131         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28133         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28137         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28139         Moved ...
28140         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28142         Moved ...
28143         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28145         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28147         Moved ...
28148         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28150         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28152         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28154         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28156         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28158         Moved ...
28159         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28160         ... here.
28161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28162         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28164         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28166         Moved ...
28167         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28169         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28173         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28175         Moved ...
28176         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28178         Moved ...
28179         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28181         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28183         Moved ...
28184         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28186         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28188         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28190 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28192         * timezone/checktab.awk: Update from tzcode 2014e.
28193         * timezone/private.h: Likewise.
28194         * timezone/tzfile.h: Likewise.
28195         * timezone/zdump.c: Likewise.
28196         * timezone/zic.c: Likewise.
28198         * sysdeps/unix/sysv/linux/kernel-features.h
28199         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28201         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28202         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28203         Remove conditional code.
28205 2014-06-25  Will Newton  <will.newton@linaro.org>
28207         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28208         (_dl_arm_cap_flags): Add HWCAP2 values.
28209         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28210         (_DL_HWCAP_COUNT): Increase to 37.
28211         (_DL_HWCAP_LAST): New define.
28212         (_DL_HWCAP2_LAST): New define.
28213         (_dl_procinfo): Add support for printing
28214         AT_HWCAP2 entries.
28215         (_dl_string_hwcap): Use _dl_hwcap_string.
28217 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28221 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28223         * README: Do not mention ports directory.
28225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28226         Remove macro.
28227         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28228         <kernel-features.h>.
28229         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28230         conditional variable definition.
28231         (__futimes): Update comment.
28232         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28233         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28235         [BZ #16560]
28236         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28237         arguments close to 0.
28238         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28239         Likewise.
28240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28241         Likewise.
28242         * math/auto-libm-test-in: Add more tests of exp10.
28243         * math/auto-libm-test-out: Regenerated.
28244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28246         * sysdeps/unix/sysv/linux/kernel-features.h
28247         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28248         * sysdeps/unix/sysv/linux/readv.c: Do not include
28249         <kernel-features.h>.
28250         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28251         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28252         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28253         unconditional.
28254         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28255         conditional code.
28256         * sysdeps/unix/sysv/linux/writev.c: Do not include
28257         <kernel-features.h>.
28258         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28259         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28260         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28261         unconditional.
28262         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28263         conditional code.
28265 2014-06-25  Will Newton  <will.newton@linaro.org>
28267         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28268         comment changes throughout the file.  Remove checks
28269         for HAVE_*_H definitions that are not required.
28270         (__gen_tempname): Call abort if an unknown kind value is
28271         passed.
28273 2014-06-25  Andreas Schwab  <schwab@suse.de>
28275         [BZ #17086]
28276         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28277         scalbln, scalblnf, scalblnl in libc.
28279 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28281         [BZ #17086]
28282         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28283         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28284         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28286 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28288         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28289         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28290         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28291         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28292         Update #include.
28293         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28294         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28295         Update #include.
28296         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28297         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28298         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28299         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28300         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28301         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28302         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28303         * sysdeps/x86/bits/semaphore.h: ... here.
28304         * sysdeps/x86/nptl/elide.h: Moved ...
28305         * sysdeps/x86/elide.h: ... here.
28306         * sysdeps/x86_64/nptl/Implies: File removed.
28307         * sysdeps/i386/nptl/Implies: File removed.
28309 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28311         [BZ #16539]
28312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28313         return the argument for normal arguments with exponent below -64.
28314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28315         Likewise.
28316         * math/auto-libm-test-in: Add another test of expm1.
28317         * math/auto-libm-test-out: Regenerated.
28319         [BZ #16287]
28320         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28321         calling __erfcl for arguments at least 16.
28322         * math/auto-libm-test-in: Add more tests of erf.
28323         * math/auto-libm-test-out: Regenerated.
28325         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28326         individual architectures.
28327         * sysdeps/unix/sysv/linux/configure: Regenerated.
28328         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28329         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28330         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28331         (ldd_rewrite_script): Define variable.
28332         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28334         file.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28336         generated file.
28337         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28338         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28339         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28340         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28341         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28342         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28343         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28344         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28346 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28348         [BZ #17084]
28349         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28350         Rename member __data.d to __data.__elision_data.
28352 2014-06-24  Wilco  <wdijkstr@arm.com>
28354         * NEWS: Add 16918 to fixed bug list.
28356 2014-06-24  Wilco  <wdijkstr@arm.com>
28358         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28360 2014-06-24  Wilco  <wdijkstr@arm.com>
28362         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28363         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28364         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28365         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28366         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28367         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28368         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28369         Use _FPU_MASK_RM.
28371 2014-06-24  Wilco  <wdijkstr@arm.com>
28373         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28375 2014-06-24  Wilco  <wdijkstr@arm.com>
28377         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28378         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28379         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28380         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28382 2014-06-24  Wilco  <wdijkstr@arm.com>
28384         [BZ #16918]
28385         * sysdeps/arm/feupdateenv.c (feupdateenv):
28386         Rewrite to reduce FPSCR accesses and fix return value.
28388 2014-06-24  Wilco  <wdijkstr@arm.com>
28390         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28391         Optimize to avoid unnecessary FPSCR writes.
28392         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28393         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28394         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28395         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28397 2014-06-24  Wilco  <wdijkstr@arm.com>
28399         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28401         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28402         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28403         Call libc_fetestexcept_vfp.
28404         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28405         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28406         __SOFTFP__ ifdef so that they can be built for softfp.
28408 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28410         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28411         argument type signed char.
28413         * Makerules (check-abi): Dump diff of symlist if the test
28414         fails.
28416 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28418         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28419         using abort.
28421         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28422         Remove unused variable ST.
28424 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28426         [BZ #16354]
28427         [BZ #17061]
28428         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28429         small arguments before calling __expm1.
28430         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28431         small arguments before calling __expm1f.
28432         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28433         small arguments before calling __expm1l.
28434         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28435         Likewise.
28436         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28437         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28438         spurious underflow for some cosh tests.
28439         * math/auto-libm-test-out: Regenerated.
28440         * sysdeps/i386/fpu/libm-test-ulps: Update.
28442         [BZ #17050]
28443         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28444         (__ieee754_y1): Set errno if return value overflows.
28445         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28446         (__ieee754_y1f): Set errno if return value overflows.
28447         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28448         (__ieee754_y1l): Set errno if return value overflows.
28449         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28450         (__ieee754_y1l): Set errno if return value overflows.
28451         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28452         * math/auto-libm-test-out: Regenerated.
28454         * math/gen-auto-libm-tests.c: Document use of
28455         ignore-zero-inf-sign.
28456         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28457         (input_flags): Add ignore-zero-inf-sign.
28458         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28459         * math/gen-libm-test.pl (generate_testfile): Handle
28460         ignore-zero-inf-sign.
28461         * math/auto-libm-test-in: Mark some cpow tests with
28462         ignore-zero-inf-sign and some with xfail-rounding.
28463         * math/auto-libm-test-out: Regenerated.
28464         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28465         * sysdeps/i386/fpu/libm-test-ulps: Update.
28466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28468         [BZ #16315]
28469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28470         overflowing or underflowing operations take place with sign of
28471         result.
28472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28474         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28475         (__ieee754_pow): Recompute overflowing and underflowing results in
28476         original rounding mode.
28477         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28478         (__powl_helper): Allow negative argument X and scale negated value
28479         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28480         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28481         overflowing or underflowing operations take place with sign of
28482         result.
28483         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28484         Include <math.h>.
28485         * math/auto-libm-test-in: Add more tests of pow.
28486         * math/auto-libm-test-out: Regenerated.
28487         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28488         (pow_tonearest_test_data): Remove.
28489         (pow_test_tonearest): Likewise.
28490         (pow_towardzero_test_data): Likewise.
28491         (pow_test_towardzero): Likewise.
28492         (pow_downward_test_data): Likewise.
28493         (pow_test_downward): Likewise.
28494         (pow_upward_test_data): Likewise.
28495         (pow_test_upward): Likewise.
28496         (main): Don't call removed functions.
28497         * sysdeps/i386/fpu/libm-test-ulps: Update.
28498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28500 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28503         Moved ...
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28506         Moved ...
28507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28509         Moved ...
28510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28512         Moved ...
28513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28515         File removed.
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28517         File removed.
28518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28519         File removed.
28520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28521         File removed.
28522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28523         File removed.
28524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28525         File removed.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28527         File removed.
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28529         File removed.
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28531         File removed.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28533         File removed.
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28535         File removed.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28537         File removed.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28539         Moved ...
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28542         Moved ...
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28544         ... here.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28546         Moved ...
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28549         Moved ...
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28552         Moved ...
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28555         Moved ...
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28558         Moved ...
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28561         Moved ...
28562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28564         Moved ...
28565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28568         ... here.
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28570         Moved ...
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28573         Moved ...
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28575         ... here.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28577         Moved ...
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28579         ... here.
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28581         Moved ...
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28583         ... here.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28585         Moved ...
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28588         Moved ...
28589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28593         Moved ...
28594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28595         ... here.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28599         ... here.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28601         Moved ...
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28604         Moved ...
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28607         Moved ...
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28610         Moved ...
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28613         Moved ...
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28615         ... here.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28620         Moved ...
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28623         Moved ...
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28626         Moved ...
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28631         Moved ...
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28634         Moved ...
28635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28637         Moved ...
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28639         ... here.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28641         Moved ...
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28643         ... here.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28645         Moved ...
28646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28647         ... here.
28648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28649         Moved ...
28650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28652         Moved ...
28653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28655         Moved ...
28656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28658         Moved ...
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28660         ... here.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28662         Moved ...
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28664         ... here.
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28666         Moved ...
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28668         ... here.
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28670         Moved ...
28671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28673         Moved ...
28674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28676 2014-06-23  Will Newton  <will.newton@linaro.org>
28677             Wilco  <wdijkstr@arm.com>
28679         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28680         implementation.  Include get-rounding-mode.h.
28681         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28682         [!libc_feholdsetround_noex_ctx]: Define
28683         libc_feholdsetround_noex_ctx.
28684         [!libc_feholdsetround_noexf_ctx]: Define
28685         libc_feholdsetround_noexf_ctx.
28686         [!libc_feholdsetround_noexl_ctx]: Define
28687         libc_feholdsetround_noexl_ctx.
28688         (libc_feholdsetround_ctx): New function.
28689         (libc_feresetround_ctx): New function.
28690         (libc_feholdsetround_noex_ctx): New function.
28691         (libc_feresetround_noex_ctx): New function.
28693 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28695         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28696         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28697         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28698         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28699         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28700         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28702         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28703         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28704         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28705         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28706         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28707         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28709         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28710         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28711         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28712         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28713         Moved ...
28714         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28715         ... here.
28716         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28717         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28719         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28721         Moved ...
28722         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28728         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28730         Moved ...
28731         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28733         Moved ...
28734         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28736         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28738         Moved ...
28739         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28741         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28742         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28743         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28744         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28745         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28746         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28747         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28749         Moved ...
28750         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28751         ... here.
28752         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28755         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28757         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28759         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28761         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28763         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28765         Moved ...
28766         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28767         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28768         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28770         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28772         Moved ...
28773         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28775         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28776         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28777         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28779         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28780         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28781         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28786         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28788         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28789         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28790         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28791         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28792         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28794         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28795         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28796         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28797         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28798         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28799         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28800         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28801         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28802         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28803         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28804         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28805         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28806         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28808 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28811         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28812         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28813         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28814         (IPV6_PMTUDISC_INTERFACE): Likewise.
28815         (IPV6_PMTUDISC_OMIT): Likewise.
28817 2014-06-23  Andreas Schwab  <schwab@suse.de>
28819         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28820         Remove unused errout label.
28822 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28824         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28825         macro: hardware supports Vector Crypto instructions.
28827 2014-06-23  Will Newton  <will.newton@linaro.org>
28829         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28830         rather than __builtin_expect.
28832         * elf/dl-lookup.c (undefined_msg): Remove variable.
28833         (_dl_lookup_symbol_x): Replace undefined_msg with string
28834         literal.
28836         * elf/dl-lookup.c (do_lookup_unique): New function.
28837         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28838         to a separate function.
28840 2014-06-23  Andreas Schwab  <schwab@suse.de>
28842         [BZ #17079]
28843         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28844         before reading the next line.
28846 2014-06-23  Will Newton  <will.newton@linaro.org>
28848         * test-skeleton.c (signal_handler): Use printf and %m
28849         rather than perror.  Use printf rather than fprintf to
28850         stderr.  Use puts rather than fputs to stderr.
28851         (main): Likewise.
28853 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28855         * nscd/nscd.c (thread_info_t): Remove typedef.
28856         (thread_info): Remove variable.
28858 2014-06-21  Allan McRae  <allan@archlinux.org>
28860         * NEWS: Mention CVE-2014-4043.
28862 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28864         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28865         * nptl/smp.h: ... here.
28867         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28869         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28870         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28871         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28872         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28874         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28875         * nptl/stack-aliasing.h: New file.
28876         * sysdeps/i386/i686/stack-aliasing.h: New file.
28877         * sysdeps/i386/i686/nptl/Makefile: File removed.
28878         * sysdeps/x86_64/stack-aliasing.h: New file.
28879         * sysdeps/x86_64/nptl/Makefile
28880         (CFLAGS-pthread_create.c): Variable removed.
28882         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28883         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28884         old file.
28885         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28886         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28887         old file.
28889 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28891         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28892         (__ASSUME_SIGFRAME_V2): Remove macro.
28893         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28894         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28895         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28896         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28897         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28898         Declare as function.  Remove conditional macro definitions.
28899         (__default_rt_sa_restorer): Likewise.
28900         (__default_sa_restorer_v1): Remove declaration.
28901         (__default_sa_restorer_v2): Likewise.
28902         (__default_rt_sa_restorer_v1): Likewise.
28903         (__default_rt_sa_restorer_v2): Likewise.
28904         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28905         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28906         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28908 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28910         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28911         (libpthread-routines): Add sysdep.
28912         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28913         * sysdeps/unix/sysv/linux/sparc/Versions
28914         (libpthread: GLIBC_2.3.3): New version set.
28915         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28916         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28917         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28918         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28919         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28920         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28921         Moved ...
28922         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28923         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28924         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28925         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28926         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28927         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28928         * sysdeps/sparc/nptl/sem_init.c: ... here.
28929         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28930         * sysdeps/sparc/nptl/sem_post.c: ... here.
28931         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28932         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28933         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28934         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28935         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28937         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28938         (libpthread-routines): Add cpu_relax.
28939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28940         File removed.
28941         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28942         (librt: GLIBC_2.3.3): New version set.
28943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28944         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28945         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28946         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28949         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28951         Moved ...
28952         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28954         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28956         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28958         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28960         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28962         Moved ...
28963         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28964         Update #include.
28965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28966         Moved ...
28967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28968         Update #include.
28969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28970         Moved ...
28971         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28972         Update #include.
28973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28974         Moved ...
28975         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28976         Update #include.
28977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28978         Moved ...
28979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28980         Update #include.
28981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28982         Moved ...
28983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28984         Update #include.
28985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28986         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28992         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28996         Moved ...
28997         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28999         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29001         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29003 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29005         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29006         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29007         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29008         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29009         * nscd/nscd.c: Likewise.
29010         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29011         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29012         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29013         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29015         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29016         <kernel-features.h>.
29017         (init_mq_netlink): Remove conditional have_sock_cloexec
29018         definitions.  Remove code conditional on have_sock_cloexec < 0.
29019         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29020         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29021         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29022         <kernel-features.h>.
29023         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29024         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29026 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29029         Add tests for memset_chk and memset.
29031         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29032         with AVX2_Usable.
29034 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29036         [BZ #16046]
29037         * elf/tst-dl-iter-static.c: New file.
29038         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29040         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29041         error.
29043 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29045         * sysdeps/unix/sysv/linux/kernel-features.h
29046         (__ASSUME_F_GETOWN_EX): Remove macro.
29047         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29048         <kernel-features.h>.
29049         (miss_F_GETOWN_EX): Remove variable or macro.
29050         (do_fcntl): Do not check miss_F_GETOWN_EX.
29051         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29054         Remove macro.
29055         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29056         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29057         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29059         * sysdeps/unix/sysv/linux/kernel-features.h
29060         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29061         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29062         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29063         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29065 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29067         [BZ #17075]
29068         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29069         Fix calculation of the symbol's value.
29070         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29071         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29072         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29073         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29074         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29075         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29076         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29077         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29078         (modules-names): Add `tst-armtlsdescmod',
29079         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29080         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29081         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29082         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29083         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29084         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29085         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29086         ($(objpfx)tst-armtlsdescloc): New dependency.
29087         ($(objpfx)tst-armtlsdescextnow): Likewise.
29088         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29089         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29090         TLS scheme support.
29091         * sysdeps/arm/configure: Regenerate.
29093 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29095         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29096         (__atfct_seterrno_2): Likewise.
29097         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29098         <kernel-features.h>.
29099         (__ASSUME_ATFCTS): Do not undefine and redefine.
29100         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29101         (__have_atfcts): Remove conditional definition.
29102         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29103         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29104         unreachable if [__ASSUME_ATFCTS].
29105         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29106         not undefine and redefine.
29107         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29108         <kernel-features.h>.
29109         (faccessat) [__NR_faccessat]: Make code unconditional.
29110         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29111         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29112         <kernel-features.h>.
29113         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29114         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29115         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29116         <kernel-features.h>.
29117         (fchownat) [__NR_fchownat]: Make code unconditional.
29118         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29119         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29120         <kernel-features.h>.
29121         (futimesat) [__NR_futimesat]: Make code unconditional.
29122         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29123         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29124         <kernel-features.h>.
29125         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29126         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29127         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29128         <kernel-features.h>.
29129         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29130         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29131         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29132         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29133         <kernel-features.h>.
29134         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29135         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29136         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29137         <kernel-features.h>.
29138         (linkat) [__NR_linkat]: Make code unconditional.
29139         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29140         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29141         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29142         <kernel-features.h>.
29143         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29144         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29145         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29146         <kernel-features.h>.
29147         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29148         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29149         * sysdeps/unix/sysv/linux/openat.c: Do not include
29150         <kernel-features.h>.
29151         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29152         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29153         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29154         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29155         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29156         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29157         <kernel-features.h>.
29158         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29159         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29160         result of INLINE_SYSCALL directly, not via int variable.
29161         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29162         <kernel-features.h>.
29163         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29164         (renameat) [__NR_renameat]: Make code unconditional.
29165         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29166         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29167         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29168         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29169         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29170         (__ASSUME_ATFCTS): Do not undefine and redefine.
29171         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29172         <kernel-features.h>.
29173         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29174         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29175         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29176         <kernel-features.h>.
29177         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29178         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29179         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29180         (__ASSUME_ATFCTS): Do not undefine and redefine.
29181         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29182         <kernel-features.h>.
29183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29185         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29186         <kernel-features.h>.
29187         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29188         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29190 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29192         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29194 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29196         [BZ #17069]
29197         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29198         constructed tree before returning error.
29199         * posix/bug-regexp36.c: Expand test case.
29201 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29203         [BZ #6803]
29204         * math/libm-test.inc (scalbln_test_date):
29205         Add errno expectations.
29206         * math/w_scalblnf.c: New File.
29207         Add wrapper which checks for setting errno to ERANGE.
29208         Add weak_alias for corresponding scalbln function.
29209         * math/w_scalbln.c: Likewise.
29210         * math/w_scalblnl.c: Likewise.
29211         * math/Makefile (libm-calls): Add w_scalbln.
29212         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29213         Remove weak_alias for corresponding scalbln function.
29214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29216         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29218         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29219         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29220         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29221         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29222         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29223         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29224         Remove long_double_symbol for scalblnl function in libm, libc.
29225         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29226         Add wrapper which checks for setting errno to ERANGE.
29227         Add long_double_symbol for scalblnl function in libm, libc.
29228         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29229         Remove long_double_symbol for scalblnl in libm.
29230         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29231         Add wrapper which checks for setting errno to ERANGE.
29232         Add long_double_symbol for scalblnl function in libm.
29233         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29234         Do not use wrapper because of own implementation.
29236 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29238         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29239         3 bytes for __pad1 for x32.
29240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29242 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29243             H.J. Lu  <hongjiu.lu@intel.com>
29245         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29246         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29247         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29249         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29251 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29253         [BZ #17069]
29254         * posix/regcomp.c (parse_expression): Deallocate partially
29255         constructed tree before returning error.
29256         * posix/Makefile.c (tests): Add bug-regex36.
29257         (generated): Add bug-regex36.mtrace.
29258         (tests-special): Add $(objpfx)bug-regex36-mem.out
29259         (bug-regex36-ENV): New variable.
29260         ($(objpfx)bug-regex36-mem.out): New rule.
29261         * posix/bug-regex36.c: New file.
29263 2014-06-19  Will Newton  <will.newton@linaro.org>
29265         * malloc/malloc.c (systrim): If extra is zero then return
29266         early.
29268 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29270         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29272 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29274         * sysdeps/aarch64/strchr.S: New file.
29276 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29278         [BZ #17022]
29279         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29280         from arguments -2 or below.
29281         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29282         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29284 2014-06-18  Andreas Schwab  <schwab@suse.de>
29286         [BZ #17062]
29287         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29288         of a bracket expr not to run off the end of the string.
29289         * posix/Makefile (tests): Add tst-fnmatch3.
29290         * posix/tst-fnmatch3.c: New file.
29292 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29294         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29295         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29296         [$(cross-compiling) = no]: Likewise.
29297         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29298         [$(cross-compiling) = no]: Likewise.
29300 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29302         [BZ #17031]
29303         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29304         double, adjusted for any remainder from the high double.
29305         * math/libm-test.inc (nearbyint): Add tests.
29306         (rint): Likewise.
29308 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29310         * nptl/sysdeps/powerpc/Makefile: Moved ...
29311         * sysdeps/powerpc/nptl/Makefile: ... here.
29312         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29313         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29314         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29315         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29316         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29317         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29318         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29319         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29320         * nptl/sysdeps/powerpc/tls.h: Moved ...
29321         * sysdeps/powerpc/nptl/tls.h: ... here.
29323 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29325         [BZ #16681]
29326         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29327         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29328         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29329         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29330         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29331         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29332         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29333         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29334         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29336 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29338         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29340 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29342         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29343         defined operator.
29345         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29346         $TIMEOUTFACTOR.
29348 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29350         [BZ #17058]
29351         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29352         non-executed part of the test.
29354 2014-06-16  Andreas Schwab  <schwab@suse.de>
29356         * string/bits/string2.h (strdup, strndup): Update feature guard.
29358 2014-06-14  David S. Miller  <davem@davemloft.net>
29360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29362 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29364         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29365         that was previously under [RESET_PID].
29366         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29368         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29369         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29370         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29371         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29372         (__libc_vfork): New strong alias.
29373         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29375 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29377         * sysdeps/generic/elide.h: New file.
29379 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29381         * Makefile (installed-headers): Adjust path of pthread.h header.
29383 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29385         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29386         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29387         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29388         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29390         * nptl/sysdeps/s390/Makefile: Moved ...
29391         * sysdeps/s390/nptl/Makefile: ... here.
29392         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29393         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29394         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29395         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29396         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29397         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29398         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29399         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29400         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29401         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29402         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29403         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29404         * nptl/sysdeps/s390/tls.h: Moved ...
29405         * sysdeps/s390/nptl/tls.h: ... here.
29407         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29408         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29410 2014-06-13  David S. Miller  <davem@davemloft.net>
29412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29415         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29419         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29420         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29421         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29422         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29423         Remove RESET_PID cpp guards.
29424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29425         Remove RESET_PID cpp guards.
29426         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29428 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29430         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29431         __sp to uintptr_t.
29433 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29439         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29442         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29444         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29446         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29450         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29452         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29453         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29454         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29456         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29457         (pthread_rwlock_rdlock): Add elision.
29458         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29459         (pthread_rwlock_wrlock): Add elision.
29460         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29461         (pthread_rwlock_trywrlock): Add elision.
29462         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29463         (pthread_rwlock_tryrdlock): Add elision.
29464         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29465         (pthread_rwlock_tryrdlock): Add elision unlock.
29466         * nptl/sysdeps/pthread/pthread.h:
29467         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29468         (PTHREAD_RWLOCK_INITIALIZER,
29469         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29470         Handle new elision field.
29471         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29472         * sysdeps/arm/nptl/bits/pthreadtypes.h
29473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29474         * sysdeps/sh/nptl/bits/pthreadtypes.h
29475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29476         * sysdeps/tile/nptl/bits/pthreadtypes.h
29477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29478         * sysdeps/a/nptl/bits/pthreadtypes.h
29479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29480         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29482         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29484         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29486         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29488         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29490         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29492         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29494         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29496         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29497         (elision_init): Set try_xbegin to zero when no RTM.
29498         * sysdeps/x86/nptl/bits/pthreadtypes.h
29499         (pthread_rwlock_t): Change __pad1 to __rwelision.
29500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29502 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29504         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29505         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29506         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29507         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29509 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29511         [BZ #16996]
29512         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29513         that the cached result has been set before returning it.
29515 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29517         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29518         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29519         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29520         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29521         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29522         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29524         * nptl/sysdeps/sparc/Makefile: Moved ...
29525         * sysdeps/sparc/nptl/Makefile: ... here.
29526         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29527         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29528         * nptl/sysdeps/sparc/tls.h: Moved ...
29529         * sysdeps/sparc/nptl/tls.h: ... here.
29530         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29531         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29532         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29533         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29534         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29535         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29536         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29537         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29538         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29539         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29540         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29541         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29542         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29543         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29544         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29545         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29546         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29548         Update #include.
29549         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29551         Update #include.
29552         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29554         Update #include.
29555         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29557         Update #include.
29559         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29561         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29562         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29564         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29565         (struct list_links): Type removed.
29566         (struct thread_node, struct timer_node): Replace struct list_links
29567         with struct list_head.
29568         (list_unlink_ip): Likewise.
29569         * sysdeps/pthread/timer_routines.c
29570         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29571         (list_append, list_insbefore): Likewise.
29572         (list_init): Function removed.
29573         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29574         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29575         * sysdeps/pthread/Makefile: ... here, new file.
29577         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29578         * sysdeps/nptl/Implies: ... here.
29579         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29580         * nptl/sysdeps/pthread/list.h: Moved ...
29581         * include/list.h: ... here.
29582         * nptl/sysdeps/pthread/createthread.c: Moved ...
29583         * nptl/createthread.c: ... here.
29584         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29585         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29586         * nptl/pt-longjmp.c: ... here.
29587         * nptl/sysdeps/pthread/Makefile: Moved ...
29588         * sysdeps/nptl/Makefile: ... here.
29589         * nptl/sysdeps/pthread/Subdirs: Moved ...
29590         * sysdeps/nptl/Subdirs: ... here.
29591         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29592         * sysdeps/nptl/aio_misc.h: ... here.
29593         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29594         * sysdeps/nptl/bits/libc-lock.h: ... here.
29595         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29596         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29597         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29598         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29599         * nptl/sysdeps/pthread/configure: Moved ...
29600         * sysdeps/nptl/configure: ... here.
29601         * nptl/sysdeps/pthread/configure.ac: Moved ...
29602         * sysdeps/nptl/configure.ac: ... here.
29603         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29604         * sysdeps/nptl/gai_misc.h: ... here.
29605         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29606         * sysdeps/nptl/librt-cancellation.c: ... here.
29607         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29608         * sysdeps/nptl/malloc-machine.h: ... here.
29609         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29610         * sysdeps/nptl/pthread-functions.h: ... here.
29611         * nptl/sysdeps/pthread/pthread.h: Moved ...
29612         * sysdeps/nptl/pthread.h: ... here.
29613         * nptl/sysdeps/pthread/setxid.h: Moved ...
29614         * sysdeps/nptl/setxid.h: ... here.
29615         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29616         * sysdeps/nptl/sigfillset.c: ... here.
29617         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29618         * sysdeps/nptl/tcb-offsets.h: ... here.
29619         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29620         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29621         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29622         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29623         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29624         * sysdeps/pthread/allocalim.h: ... here.
29625         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29626         * sysdeps/pthread/bits/sigthread.h: ... here.
29627         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29628         * sysdeps/pthread/flockfile.c: ... here.
29629         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29630         * sysdeps/pthread/ftrylockfile.c: ... here.
29631         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29632         * sysdeps/pthread/funlockfile.c: ... here.
29633         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29634         * sysdeps/pthread/posix-timer.h: ... here.
29635         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29636         * sysdeps/pthread/timer_create.c: ... here.
29637         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29638         * sysdeps/pthread/timer_delete.c: ... here.
29639         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29640         * sysdeps/pthread/timer_getoverr.c: ... here.
29641         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29642         * sysdeps/pthread/timer_gettime.c: ... here.
29643         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29644         * sysdeps/pthread/timer_routines.c: ... here.
29645         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29646         * sysdeps/pthread/timer_settime.c: ... here.
29647         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29648         * sysdeps/pthread/tst-timer.c: ... here.
29649         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29650         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29652         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29653         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29655         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29656         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29657         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29658         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29659         Update #include target.
29660         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29661         * sysdeps/i386/i686/nptl/Makefile: ... here.
29662         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29663         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29664         Update #include target.
29665         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29666         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29667         * nptl/sysdeps/i386/Makefile: Moved ...
29668         * sysdeps/i386/nptl/Makefile: ... here.
29669         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29670         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29671         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29672         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29673         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29674         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29675         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29676         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29677         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29678         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29679         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29680         * nptl/sysdeps/i386/tls.h: Moved ...
29681         * sysdeps/i386/nptl/tls.h: ... here.
29683         * sysdeps/sh/Makefile [$(subdir) = csu]
29684         (gen-as-const-headers): Add tcb-offsets.sym.
29685         * nptl/sysdeps/sh/Makefile: File removed.
29686         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29687         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29688         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29689         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29690         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29691         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29692         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29693         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29694         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29695         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29696         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29697         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29698         * nptl/sysdeps/sh/tls.h: Moved ...
29699         * sysdeps/sh/nptl/tls.h: ... here.
29700         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29701         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29702         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29703         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29704         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29705         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29707         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29709         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29711         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29713         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29714         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29715         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29716         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29717         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29719         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29721         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29723         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29725         Moved ...
29726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29728         Moved ...
29729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29731         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29733         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29735         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29737         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29738         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29739         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29741         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29742         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29743         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29744         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29745         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29746         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29747         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29749 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29751         * posix/spawn_faction_addopen.c: Include string.h.
29753 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29755         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29756         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29757         * nptl/sysdeps/x86_64/Makefile: Moved ...
29758         * sysdeps/x86_64/nptl/Makefile: ... here.
29759         * nptl/sysdeps/x86_64/configure: Moved ...
29760         * sysdeps/x86_64/nptl/configure: ... here.
29761         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29762         * sysdeps/x86_64/nptl/configure.ac: ... here.
29763         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29764         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29765         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29766         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29767         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29768         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29769         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29770         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29771         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29772         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29773         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29774         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29775         * nptl/sysdeps/x86_64/tls.h: Moved ...
29776         * sysdeps/x86_64/nptl/tls.h: ... here.
29777         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29778         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29779         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29780         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29782         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29784 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29788 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29790         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29791         type.
29792         [POSIX] (off_t): Likewise.
29793         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29794         [POSIX] (S_ISBLK): Require macro.
29795         [POSIX] (S_ISCHR): Likewise.
29796         [POSIX] (S_ISDIR): Likewise.
29797         [POSIX] (S_ISFIFO): Likewise.
29798         [POSIX] (S_ISREG): Likewise.
29799         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29800         optional-macro.
29801         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29802         type.
29803         [POSIX] (time_t): Likewise.
29804         [POSIX] (timer_t): Likewise.
29806 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29808         [BZ #17048]
29809         * posix/spawn_int.h (struct __spawn_action): Make the path string
29810         non-const to support deallocation.
29811         * posix/spawn_faction_addopen.c
29812         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29813         * posix/spawn_faction_destroy.c
29814         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29815         path in all spawn_do_open actions.
29816         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29817         posix_spawn_file_actions_addopen.
29819 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29821         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29822         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29823         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29824         conditional code always true.
29825         (__libc_vfork): New alias.
29827 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29829         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29830         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29832         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29834         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29835         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29837         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29838         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29840         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29841         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29843 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29845         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29846         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29847         multiarch strcmp for PPC64.
29848         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29849         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29851         multiarch optimizations.
29852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29853         (__libc_ifunc_impl_list): Likewise.
29855 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29857         * benchtests/scripts/validate_benchout.py: New script.
29858         * benchtests/Makefile (bench-func): Call it.
29859         * benchtests/scripts/benchout.schema.json: New file.
29861 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29863         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29864         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29865         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29866         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29867         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29868         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29869         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29870         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29871         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29872         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29873         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29875         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29876         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29877         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29878         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29880         Moved ...
29881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29882         ... here.
29883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29884         Moved ...
29885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29887         Moved ...
29888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29889         ... here.
29890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29891         Moved ...
29892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29893         ... here.
29894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29895         Moved ...
29896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29898         Moved ...
29899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29900         ... here.
29901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29902         Moved ...
29903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29904         ... here.
29905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29906         Moved ...
29907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29909         Moved ...
29910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29911         ... here.
29912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29913         Moved ...
29914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29915         ... here.
29916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29917         Moved ...
29918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29919         ... here.
29920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29921         Moved ...
29922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29924         Moved ...
29925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29926         ... here.
29927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29928         Moved ...
29929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29930         ... here.
29931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29932         Moved ...
29933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29934         ... here.
29935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29936         Moved ...
29937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29939         Moved ...
29940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29941         ... here.
29942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29943         Moved ...
29944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29945         ... here.
29946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29947         Moved ...
29948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29952         ... here.
29953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29954         Moved ...
29955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29957         Moved ...
29958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29960         Moved ...
29961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29962         ... here.
29963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29964         Moved ...
29965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29966         ... here.
29967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29968         Moved ...
29969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29970         ... here.
29971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29972         Moved ...
29973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29975         Moved ...
29976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29977         ... here.
29978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29979         Moved ...
29980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29981         ... here.
29982         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29983         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29985         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29987         Moved ...
29988         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29989         ... here.
29990         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29991         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29993         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29995         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29997         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29999         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30001         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30003         Moved ...
30004         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30006         Moved ...
30007         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30009         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30011         Moved ...
30012         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30014         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30015         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30016         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30017         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30018         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30020 2014-06-10  Wilco  <wdijkstr@arm.com>
30022         * math/test-fenv-return.c: New file.
30023         * math/Makefile: Add new test test-fenv-return.
30025 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30027         [BZ #17042]
30028         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30029         when x - 1 is zero.
30030         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30031         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30032         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30033         0.0L for an argument of 1.0L.
30034         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30035         Likewise.
30036         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30037         value when x - 1 is zero.
30038         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30039         * sysdeps/i386/fpu/libm-test-ulps: Update.
30040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30042 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30044         [BZ #15119]
30045         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30047 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30049         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30050         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30052 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30054         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30055         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30057         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30058         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30060         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30061         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30063         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30064         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30066         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30067         if not already defined.
30068         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30069         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30070         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30071         (TLS_INIT_TP): Use it.
30072         (TLS_DEFINE_INIT_TP): New macro.
30073         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30075 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30077         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30078         constant.
30079         [POSIX] (IXANY): Likewise.
30080         [POSIX] (OLCUC): Likewise.
30081         [POSIX || POSIX2008] (CBAUD): Do not allow.
30082         [POSIX || POSIX2008] (DEFECHO): Likewise.
30083         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30084         [POSIX || POSIX2008] (ECHOKE): Likewise.
30085         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30086         [POSIX || POSIX2008] (EXTA): Likewise.
30087         [POSIX || POSIX2008] (EXTB): Likewise.
30088         [POSIX || POSIX2008] (FLUSHO): Likewise.
30089         [POSIX || POSIX2008] (LOBLK): Likewise.
30090         [POSIX || POSIX2008] (PENDIN): Likewise.
30091         [POSIX || POSIX2008] (SWTCH): Likewise.
30092         [POSIX || POSIX2008] (VDISCARD): Likewise.
30093         [POSIX || POSIX2008] (VDSUSP): Likewise.
30094         [POSIX || POSIX2008] (VLNEXT): Likewise.
30095         [POSIX || POSIX2008] (VREPRINT): Likewise.
30096         [POSIX || POSIX2008] (VSTATUS): Likewise.
30097         [POSIX || POSIX2008] (VWERASE): Likewise.
30098         (B*): Change to B[0123456789]*.
30099         * conform/data/time.h-data [POSIX || UNIX98]
30100         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30101         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30102         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30103         [POSIX] (tm_*): Do not allow.
30105 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30107         * Makefile (install): Don't set LANGUAGE.
30108         * Makefile.in (install): Likewise.
30109         * assert/Makefile (test-assert-ENV): Remove variable.
30110         (test-assert-perr-ENV): Likewise.
30111         * elf/Makefile (neededtest4-ENV): Likewise.
30112         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30113         [$(cross-compiling) = no]: Don't set LANGUAGE.
30114         * io/ftwtest-sh (LANG): Remove variable.
30115         * libio/Makefile (tst-widetext-ENV): Likewise.
30116         * manual/install.texi (Running make install): Don't refer to
30117         environment settings for make install.
30118         * INSTALL: Regenerated.
30119         * nptl/tst-tls6.sh: Don't set LANG.
30120         * posix/globtest.sh (LANG): Remove variable.
30121         * string/Makefile (tester-ENV): Likewise.
30122         (inl-tester-ENV): Likewise.
30123         (noinl-tester-ENV): Likewise.
30124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30125         [$(cross-compiling) = no]: Don't set LANGUAGE.
30126         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30127         without explicit environment settings.
30129 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30131         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30132         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30133         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30134         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30136 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30138         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30139         other files in the crypt directory.
30140         * crypt/crypt.c: Remove duplicate includes.
30141         * crypt/crypt-entry.c: Likewise.
30142         * crypt/crypt_util.c: Likewise.
30144 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30146         * Makeconfig (run-program-env): New variable.
30147         (run-program-prefix-before-env): Likewise.
30148         (run-program-prefix-after-env): Likewise.
30149         (run-program-prefix): Define in terms of new variables.
30150         (built-program-cmd-before-env): New variable.
30151         (built-program-cmd-after-env): Likewise.
30152         (built-program-cmd): Define in terms of new variables.
30153         (test-program-prefix-before-env): New variable.
30154         (test-program-prefix-after-env): Likewise.
30155         (test-program-prefix): Define in terms of new variables.
30156         (test-program-cmd-before-env): New variable.
30157         (test-program-cmd-after-env): Likewise.
30158         (test-program-cmd): Define in terms of new variables.
30159         * Rules (make-test-out): Use $(run-program-env).
30160         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30161         (help): Do not mention environment variables.  Mention
30162         --timeoutfactor option.
30163         (timeoutfactor): New variable.
30164         (blacklist_exports): Remove function.
30165         (exports): Remove variable.
30166         (command): Do not include ${exports}.
30167         * manual/install.texi (Configuring and compiling): Do not mention
30168         test wrappers preserving environment variables.  Mention that last
30169         assignment to a variable must take precedence.
30170         * INSTALL: Regenerated.
30171         * benchtests/Makefile (run-bench): Use $(run-program-env).
30172         * catgets/Makefile ($(objpfx)test1.cat): Use
30173         $(built-program-cmd-before-env), $(run-program-env) and
30174         $(built-program-cmd-after-env).
30175         ($(objpfx)test2.cat): Do not specify environment variables
30176         explicitly.
30177         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30178         $(run-program-env) and $(built-program-cmd-after-env).
30179         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30180         $(run-program-env) and $(test-program-cmd-after-env).
30181         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30182         explicitly.
30183         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30184         run_program_env and test_program_cmd_after_env arguments.
30185         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30186         * elf/tst-pathopt.sh: Use run_program_env argument.
30187         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30188         $(test-wrapper-env) and $(run-program-env).
30189         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30190         run_program_env arguments.
30191         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30192         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30193         $(test-program-prefix-before-env), $(run-program-env) and
30194         $(test-program-prefix-after-env).
30195         ($(objpfx)tst-gettext2.out): Likewise.
30196         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30197         run_program_env and test_program_prefix_after_env arguments.
30198         * intl/tst-gettext2.sh: Likewise.
30199         * intl/tst-gettext4.sh: Do not set environment variables
30200         explicitly.
30201         * intl/tst-gettext6.sh: Likewise.
30202         * intl/tst-translit.sh: Likewise.
30203         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30204         $(test-program-prefix-before-env), $(run-program-env) and
30205         $(test-program-prefix-after-env).
30206         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30207         run_program_env and test_program_prefix_after_env arguments.
30208         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30209         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30210         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30211         explicitly with each use of ${test_wrapper_env}.
30212         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30213         $(test-program-prefix-before-env), $(run-program-env) and
30214         $(test-program-prefix-after-env).
30215         * posix/tst-getconf.sh: Do not set environment variables
30216         explicitly.
30217         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30218         run_program_env and test_program_prefix_after_env arguments.
30219         * stdio-common/tst-printf.sh: Do not set environment variables
30220         explicitly.
30221         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30222         $(test-program-prefix-before-env), $(run-program-env) and
30223         $(test-program-prefix-after-env).
30224         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30225         run_program_env and test_program_prefix_after_env arguments.
30226         Split $test calls into $test_pre and $test.
30227         * timezone/Makefile (build-testdata): Use
30228         $(built-program-cmd-before-env), $(run-program-env) and
30229         $(built-program-cmd-after-env).
30231 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30233         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30234         strlen for non SHARED builds.
30236 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30238         * nptl/allocatestack.c (check_list): Inlined function...
30239         (__reclaim_stacks): ... here.
30241 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30243         [BZ #15698]
30244         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30245         memory overrun.
30247 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30249         * Rules (make-test-out): Include
30250         LOCPATH=$(common-objpfx)localedata in default environment.
30251         * debug/Makefile (tst-chk1-ENV): Remove variable.
30252         (tst-chk2-ENV): Likewise.
30253         (tst-chk3-ENV): Likewise.
30254         (tst-chk4-ENV): Likewise.
30255         (tst-chk5-ENV): Likewise.
30256         (tst-chk6-ENV): Likewise.
30257         (tst-lfschk1-ENV): Likewise.
30258         (tst-lfschk2-ENV): Likewise.
30259         (tst-lfschk3-ENV): Likewise.
30260         (tst-lfschk4-ENV): Likewise.
30261         (tst-lfschk5-ENV): Likewise.
30262         (tst-lfschk6-ENV): Likewise.
30263         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30264         (tst-iconv7-ENV): Likewise.
30265         * intl/Makefile (LOCPATH-ENV): Likewise.
30266         (tst-codeset-ENV): Likewise.
30267         (tst-gettext3-ENV): Likewise.
30268         (tst-gettext5-ENV): Likewise.
30269         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30270         (tst-fopenloc-ENV): Likewise.
30271         (tst-fgetws-ENV): Remove variable.
30272         (tst-ungetwc1-ENV): Likewise.
30273         (tst-ungetwc2-ENV): Likewise.
30274         (bug-ungetwc2-ENV): Likewise.
30275         (tst-swscanf-ENV): Likewise.
30276         (bug-ftell-ENV): Likewise.
30277         (tst-fgetwc-ENV): Likewise.
30278         (tst-fseek-ENV): Likewise.
30279         (tst-ftell-partial-wide-ENV): Likewise.
30280         (tst-ftell-active-handler-ENV): Likewise.
30281         (tst-ftell-append-ENV): Likewise.
30282         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30283         (tst-regexloc-ENV): Likewise.
30284         (bug-regex1-ENV): Likewise.
30285         (tst-regex-ENV): Likewise.
30286         (tst-regex2-ENV): Likewise.
30287         (bug-regex5-ENV): Likewise.
30288         (bug-regex6-ENV): Likewise.
30289         (bug-regex17-ENV): Likewise.
30290         (bug-regex18-ENV): Likewise.
30291         (bug-regex19-ENV): Likewise.
30292         (bug-regex20-ENV): Likewise.
30293         (bug-regex22-ENV): Likewise.
30294         (bug-regex23-ENV): Likewise.
30295         (bug-regex25-ENV): Likewise.
30296         (bug-regex26-ENV): Likewise.
30297         (bug-regex30-ENV): Likewise.
30298         (bug-regex32-ENV): Likewise.
30299         (bug-regex33-ENV): Likewise.
30300         (bug-regex34-ENV): Likewise.
30301         (bug-regex35-ENV): Likewise.
30302         (tst-rxspencer-ENV): Likewise.
30303         (tst-rxspencer-no-utf8-ENV): Likewise.
30304         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30305         (tst-sscanf-ENV): Likewise.
30306         (tst-swprintf-ENV): Likewise.
30307         (tst-swscanf-ENV): Likewise.
30308         (test-vfprintf-ENV): Likewise.
30309         (scanf13-ENV): Likewise.
30310         (bug14-ENV): Likewise.
30311         (tst-grouping-ENV): Likewise.
30312         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30313         (tst-strtod3-ENV): Likewise.
30314         (tst-strtod4-ENV): Likewise.
30315         (tst-strtod5-ENV): Likewise.
30316         (testmb2-ENV): Likewise./
30317         * string/Makefile (tst-strxfrm-ENV): Likewise.
30318         (tst-strxfrm2-ENV): Likewise.
30319         (bug-strcoll1-ENV): Likewise.
30320         (test-strcasecmp-ENV): Likewise.
30321         (test-strncasecmp-ENV): Likewise.
30322         * time/Makefile (tst-strptime-ENV): Likewise.
30323         (tst-ftime_l-ENV): Likewise.
30324         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30325         (tst-mbrtowc-ENV): Likewise.
30326         (tst-wcrtomb-ENV): Likewise.
30327         (tst-mbrtowc2-ENV): Likewise.
30328         (tst-c16c32-1-ENV): Likewise.
30329         (tst-mbsnrtowcs-ENV): Likewise.
30331 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30333         * manual/resource.texi (How to get information about the memory
30334         subsystem?): Fix typo.
30335         Reported by Peon de la Parra Ivan <peon@keba.com>
30337 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30339         [BZ #16882]
30340         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30341         (pthread_spin_lock): Branch out of spin loop to proper location.
30342         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30343         (pthread_spin_lock): Likewise.
30345         * nptl/tst-spin4.c: New test.
30346         * nptl/Makefile (tests): Add tst-spin4.
30348 2014-06-03  Andreas Schwab  <schwab@suse.de>
30350         [BZ #15946]
30351         * resolv/res_send.c (send_dg): Reload file descriptor after
30352         calling reopen.
30354 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30356         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30358 2014-06-03  Richard Henderson  <rth@redhat.com>
30360         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30361         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30362         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30363         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30364         in the SAVE_PID block.
30365         (__libc_vfork): New alias.
30366         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30368         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30369         child in registers, not on the stack.  Remove RESET_PID conditionals.
30370         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30372 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30374         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30376 2014-06-03  Wilco  <wdijkstr@arm.com>
30378         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30379         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30380         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30381         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30382         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30383         Likewise.
30385 2014-06-03  Wilco  <wdijkstr@arm.com>
30387         * sysdeps/aarch64/fpu/math_private.h
30388         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30389         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30390         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30391         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30392         Fix declarations.
30394 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30396         * crypt/crypt-private.h: Include ufc-crypt.h.
30397         (__b64_from_24bit): Declare extern.
30398         * crypt/crypt_util.c(__b64_from_24bit): New function.
30399         (b64t): New static const variable.
30400         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30401         (b64t): Remove variable.
30402         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30403         * crypt/sha256-crypt.c: Include crypt-private.h.
30404         (b64t): Remove variable.
30405         (__sha256_crypt_r): Remove b64_from_24bit and replace
30406         with __b64_from_24bit.
30407         * crypt/sha512-crypt.c: Likewise.
30409 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30411         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30412         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30413         Label the code __libc_vfork rather than __vfork.
30414         [!NOT_IN_libc] (vfork): Define as weak alias.
30415         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30416         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30417         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30419 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30421         * malloc/malloc.c (malloc_info): Fix format specifier for
30422         n_mmaps.
30424 2014-06-02  Wilco  <wdijkstr@arm.com>
30426         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30427         FPCR write.
30429 2014-06-02  Wilco  <wdijkstr@arm.com>
30431         [BZ #17009]
30432         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30433         Rewrite to reduce FPCR/FPSR accesses.
30435 2014-06-01  David S. Miller  <davem@davemloft.net>
30437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30439 2014-05-31  David S. Miller  <davem@davemloft.net>
30441         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30442         to occur in round to nearest mode when |x| >= 2.0
30444 2014-05-30  Richard Henderson  <rth@twiddle.net>
30446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30447         (PSEUDO_RET_NOERRNO): Remove.
30448         (ret): Don't redefine.
30449         (ret_NOERRNO): Define in terms of ret.
30450         (ret_ERRVAL): Likewise.
30452         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30453         use of PSEUDO_RET; perform the error check directly.
30455 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30457         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30458         with __int128_t.
30460 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30462         * malloc/malloc (malloc_info): Fix formatting.
30464 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30465             Roland McGrath  <roland@hack.frob.com>
30467         * malloc/malloc (malloc_info): Also print mmapped statistics.
30469 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30471         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30472         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30474 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30476         * malloc/malloc.c (malloc_info): Inline mi_arena.
30478 2014-05-29  Richard Henderson  <rth@twiddle.net>
30480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30481         Remove comma before expanding ASM_ARGS_##nr.
30482         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30483         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30484         of ASM_ARGS_##nr.
30485         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30486         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30487         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30488         (ASM_ARGS_1): Add leading comma.
30490         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30491         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30492         to __errno_location.
30493         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30494         Remove the expected plt for __errno_location.
30496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30497         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30498         call to __read_tp.
30500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30501         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30502         it and break it down.
30503         (DOCARGS_0, DOCARGS_1): Do nothing.
30504         (DOCARGS_2): Update to store into the new stack frame.
30505         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30506         (UNDOCARGS_1): Update to restore from the new stack frame.
30507         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30508         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30511         (SINGLE_THREAD_P): New parameter for result regno.
30512         (PSEUDO): Update to match; use cbz instead of beq.
30514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30515         Use ENTRY to define the _nocancel entry point.  Share the syscall
30516         and syscall error check paths with the cancel path.
30517         (PSEUDO_END): New.
30519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30520         whitespace; tabs before and after asm mnemonics.
30522 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30524         [BZ #15132]
30525         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30526         Call fstat64 or stat64 internally, depending on arguments passed.
30527         Replace stat buffer argument with file descriptor argument.
30528         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30529         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30530         Pass fd to __internal_statvfs instead of calling fstat64.
30531         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30532         Pass fd to __internal_statvfs64 instead of calling fstat64.
30533         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30534         Pass -1 to __internal_statvfs instead of calling stat64.
30535         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30536         Pass -1 to __internal_statvfs64 instead of calling stat64.
30538 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30540         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30541         that was previously under [RESET_PID].
30542         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30544         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30545         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30547 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30549         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30551         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30552         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30554 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30556         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30558 2014-05-27  Andreas Schwab  <schwab@suse.de>
30560         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30561         TLS_INIT_TP macro.
30562         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30563         * elf/rtld.c (init_tls, dl_main): Likewise.
30564         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30565         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30566         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30567         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30568         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30569         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30570         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30571         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30572         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30573         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30574         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30575         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30576         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30577         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30578         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30579         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30580         * sysdeps/generic/tls.h: Update description.
30582 2014-05-27  Will Newton  <will.newton@linaro.org>
30584         [BZ #16990]
30585         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30586         and restore r2 rather than just restoring.
30588 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30590         [BZ #16724]
30591         * libio/tst-ftell-append.c: New test case.
30592         * libio/Makefile (tests): Add test case.
30593         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30594         append mode.
30595         * libio/wfileops.c (do_ftell_wide): Likewise.
30597 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30601         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30602         ...
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30605         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30606         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30607         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30608         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30609         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30610         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30612         Moved ...
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30615         Moved ...
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30617         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30618         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30619         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30620         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30621         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30622         ...
30623         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30625         Moved ...
30626         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30627         here.
30628         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30629         ...
30630         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30631         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30632         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30635         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30637         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30640         merge into ...
30641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30643         ...
30644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30646         ...
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30649         Moved ...
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30651         here.
30652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30653         Moved ...
30654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30656         Moved ...
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30660         conditional [RESET_PID].
30661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30663         removed.
30664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30665         removed.
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30668         <tcb-offsets.h>.
30669         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30670         (__libc_vfork): New strong alias.
30671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30672         removed.
30673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30674         Removed.
30676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30677         <tcb-offsets.h>.
30678         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30679         (__libc_vfork): New strong alias.
30680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30681         removed.
30682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30683         removed.
30685 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30687         * malloc/malloc.c (mi_arena): New function.
30688         (malloc_info): Remove nested function mi_arena. Call non-nosted
30689         function mi_arena.
30691 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30693         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30694         by insrwi.
30695         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30696         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30697         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30698         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30699         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30700         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30703 2014-05-26  Andreas Schwab  <schwab@suse.de>
30705         [BZ #16984]
30706         * locale/programs/repertoire.c (repertoire_read): Add slash
30707         between I18NPATH element and file name.
30708         * locale/programs/locfile.c (locfile_read): Likewise.
30710 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30712         * nptl/pthread_mutexattr_settype.c
30713         (__pthread_mutexattr_settype):
30714         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30716 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30718         * nptl/tst-mutex5 (do_test):
30719         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30721 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30723         * benchtests/README: Document 'init' directive.
30724         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30725         BENCH_INIT.
30726         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30727         (parse_file): Recognize 'init' directive.
30729 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30731         [BZ #16796]
30732         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30733         alignment of struct pthread.
30735 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30737         [BZ #16878]
30738         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30739         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30740         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30741         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30743 2014-05-25  Richard Henderson  <rth@twiddle.net>
30745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30746         (SINGLE_THREAD_P_PIC): Remove.
30747         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30748         (SINGLE_THREAD_P_PIC): Remove.
30750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30751         branch to syscall error ...
30752         (PSEUDO): ... here.
30753         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30754         from __local_syscall_error to .Lsyscall_error.
30755         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30756         (SYSCALL_ERROR): Update label name.
30758         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30759         Do not use DOARGS/UNDOARGS.
30760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30761         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30762         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30763         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30764         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30766         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30767         block comment.
30769         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30770         define if !NOT_IN_libc.
30771         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30772         define with non-default symbol versions.
30774 2014-05-23  Richard Henderson  <rth@twiddle.net>
30776         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30777         (vfork, __vfork): Define via compat_symbol.
30779         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30780         [!HAVE_IFUNC] (vfork_compat): Remove.
30781         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30783 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #16978]
30786         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30787         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30788         variable.
30790 2014-05-23  Richard Henderson  <rth@twiddle.net>
30792         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30793         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30794         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30795         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30797         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30798         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30799         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30800         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30801         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30802         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30803         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30804         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30805         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30806         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30807         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30808         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30809         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30812         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30813         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30814         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30815         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30816         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30817         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30818         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30820         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30821         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30822         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30823         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30824         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30825         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30826         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30827         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30828         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30829         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30830         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30831         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30832         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30833         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30834         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30835         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30836         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30837         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30838         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30839         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30840         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30841         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30842         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30843         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30844         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30846         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30848         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30849         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30850         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30851         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30852         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30854         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30855         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30856         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30857         before exiting on error.
30858         (__libc_vfork): New strong alias.
30859         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30860         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30862         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30863         that was previously under [RESET_PID].
30864         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30866         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30868 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30870         [BZ #16977]
30871         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30872         value when x - 1 is zero.
30873         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30874         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30875         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30876         0.0L for an argument of 1.0L.
30877         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30878         Likewise.
30879         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30880         value when x - 1 is zero.
30881         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30882         * sysdeps/i386/fpu/libm-test-ulps: Update.
30883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30885 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30887         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30888         alphasort and versionsort.
30890 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30892         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30893         macro.
30894         [copysignf]: Likewise.
30896 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30898         * crypt/md5-crypt.c: Fix formatting.
30900 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30902         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30903         (b64_from_24bit): New function.
30905 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30907         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30908         libc_hidden_builtin_def to ifunc.
30909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30910         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30912 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30914         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30915         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30917 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30919         * nscd/Depend (linuxthreads): Remove.
30920         (nptl): Add.
30921         * resolv/Depend (linuxthreads): Remove.
30922         * rt/Depend (linuxthreads): Remove.
30924         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30925         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30926         $(common-objpfx)elf/.
30927         (link-libc-before-gnulib): Likewise.
30928         (elfobjdir): Remove variable.
30929         * Makefile (install): Use $(elf-objpfx) instead of
30930         $(common-objpfx)elf/.
30931         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30932         $(elfobjdir)/.
30933         (link-libc-deps): Likewise.
30934         ($(common-objpfx)libc.so): Likewise.
30935         ($(common-objpfx)linkobj/libc.so): Likewise.
30936         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30937         instead of $(common-objpfx)elf/.
30938         (symbolic-link-list): Likewise.
30939         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30940         [$(cross-compiling) = no]: Likewise.
30941         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30942         $(elfobjdir)/.
30943         (static-gnulib-arch): Likewise.
30944         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30945         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30946         $(common-objpfx)elf/.
30948 2014-05-21  Richard Henderson  <rth@redhat.com>
30950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30951         (SINGLE_THREAD_P): Use the correct width load.  Fold
30952         into the ldr offset.
30954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30955         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30957 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30959         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30960         (libgcc_s_resume): Use __attribute_used__.
30961         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30962         Likewise.
30964 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30966         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30967         optimization when used with float constants.
30969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30971 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30973         [BZ #16915]
30974         * locale/nl_langinfo_l.c: Make direct reference to every
30975         _nl_current_CATEGORY symbol.
30976         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30977         (tests-static): Add tst-langinfo-static.
30978         (tests-special): Add tst-langinfo-static.out.
30979         ($(objpfx)tst-langinfo.out): Redirect output.
30980         ($(objpfx)tst-langinfo-static.out): New.
30981         * localedata/tst-langinfo.sh: Send output to stdout.
30982         * localedata/tst-langinfo-static.c: New file.
30984         [BZ #16965]
30985         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30986         when the shift amount is modulo the limb size.
30988 2014-05-20  Richard Henderson  <rth@redhat.com>
30990         [BZ #16967]
30991         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30992         Change type of sa_flags from unsigned int to int.
30994         [BZ #16966]
30995         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30997         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30999 2014-05-20  Will Newton  <will.newton@linaro.org>
31001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31002         Test the return value of the system call in the nocancel case.
31004 2014-05-20  Will Newton  <will.newton@linaro.org>
31005             Yvan Roux  <yvan.roux@linaro.org>
31007         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31008         #include of asm/ptrace.h.
31009         (PTRACE_GET_THREAD_AREA): Remove #undef.
31010         (PTRACE_GETHBPREGS): Likewise.
31011         (PTRACE_SETHBPREGS): Likewise.
31012         (struct user_regs_struct): New structure.
31013         (struct user_fpsimd_struct): New structure.
31014         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31015         #include of asm/ptrace.h and second #include of sys/user.h.
31016         (PTRACE_GET_THREAD_AREA): Remove #undef.
31017         (PTRACE_GETHBPREGS): Likewise.
31018         (PTRACE_SETHBPREGS): Likewise.
31019         (ELF_NGREG): Use new struct user_regs_struct.
31020         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31022 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31024         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31025         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31027 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31029         [BZ #16958]
31030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31031         membar to avoid block loads/stores to overlap previous stores.
31033 2014-05-17  Richard Henderson  <rth@redhat.com>
31035         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31036         Create the __##syscall_name##_nocancel entry point.
31037         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31038         Remove; let the sysdep-cancel.h code create it.
31040 2014-05-17  David S. Miller  <davem@davemloft.net>
31042         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31043         Protect with __USE_GNU.
31044         (TIOCSET_TEMPT): Likewise.
31045         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31046         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31047         these are already provided in bits/ioctl-types.h
31049 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31051         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31052         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31054         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31055         Use wait4 regardless of [__NR_waitpid].
31057 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31059         PR libgcc/60166
31060         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31061         (_FP_NANSIGN_Q): Set the quiet bit.
31063 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31065         * benchtests/Makefile
31066         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31067         not $(common-objpfx)math/libm.so.
31068         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31069         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31070         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31071         $(common-objpfx)dlfcn/libdl.so.
31072         ($(objpfx)tst-audit8): Depend on $(libm), not
31073         $(common-objpfx)math/libm.so.
31074         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31075         not $(common-objpfx)dlfcn/libdl.so.
31076         * math/Makefile
31077         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31078         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31079         [$(build-shared) = yes].
31080         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31081         $(common-objpfx)nptl/libpthread.so.
31082         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31083         $(common-objpfx)math/libm.so$(libm.so-version) or
31084         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31085         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31086         $(common-objpfx)dlfcn/libdl.so.
31087         * setjmp/Makefile (link-libm): Remove variable.
31088         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31089         * stdio-common/Makefile (link-libm): Remove variable.
31090         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31091         * stdlib/Makefile (link-libm): Remove variable.
31092         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31093         ($(objpfx)tst-strtod-round): Likewise.
31094         ($(objpfx)tst-tininess): Likewise.
31095         ($(objpfx)tst-strtod-underflow): Likewise.
31096         ($(objpfx)tst-strtod6): Likewise.
31097         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31098         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31099         $(common-objpfx)dlfcn/libdl.so.
31101 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31103         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31104         BSD terminal modes definitions.
31106 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31108         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31109         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31111         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31112         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31113         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31114         Don't do #include_next.
31115         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31116         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31117         Don't do #include_next.
31118         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31119         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31120         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31121         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31123 2014-05-16  Allan McRae  <allan@archlinux.org>
31125         * po/sv.po: Update Swedish translation from translation project.
31127         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31128         in sed expression.
31130 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31132         [BZ #16917]
31133         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31134         errno if the TIOCGPTN ioctl fails with an error different than
31135         EINVAL.
31136         * login/tst-ptsname.c: New file.
31137         * login/Makefile (tests): Add tst-ptsname.
31139         [BZ #16943]
31140         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31141         and prlimit64.
31143 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31145         [BZ #16849]
31146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31147         herrno to return EAI_AGAIN.
31149 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31151         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31152         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31153         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31162         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31172         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31174         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31175         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31176         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31178         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31179         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31180         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31182         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31186         Moved ...
31187         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31199         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31201         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31203         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31205         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31207         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31209         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31211         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31213         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31215         Moved ...
31216         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31218         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31220         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31222         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31224         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31226         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31228         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31230         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31232         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31234         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31236         Moved ...
31237         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31239         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31241         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31242         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31243         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31244         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31245         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31247         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31248         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31249         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31251         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31252         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31253         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31255         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31257         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31259         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31260         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31261         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31262         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31263         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31264         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31265         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31266         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31267         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31268         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31269         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31270         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31271         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31273         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31274         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31276         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31277         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31278         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31279         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31280         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31281         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31282         Moved ...
31283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31284         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31285         Moved ...
31286         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31287         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31288         Moved ...
31289         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31291         Moved ...
31292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31293         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31294         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31296         Moved ...
31297         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31299         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31300         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31302         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31303         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31305         Moved ...
31306         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31308         Moved ...
31309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31310         ... here.
31311         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31312         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31314         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31316         Moved ...
31317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31318         ... here.
31319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31320         Moved ...
31321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31323         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31325         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31327         Moved ...
31328         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31330         Moved ...
31331         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31333         Moved ...
31334         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31336         Moved ...
31337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31339         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31341         Moved ...
31342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31343         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31344         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31345         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31348         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31350         Moved ...
31351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31353         Moved ...
31354         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31355         ... here.
31356         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31357         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31359         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31361         Moved ...
31362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31363         ... here.
31364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31365         Moved ...
31366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31368         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31369         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31370         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31372         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31373         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31374         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31375         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31376         Moved ...
31377         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31378         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31379         Moved ...
31380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31382         Moved ...
31383         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31384         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31385         Moved ...
31386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31388         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31390         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31395         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31399         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31401         Moved ...
31402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31404         Moved ...
31405         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31406         ... here.
31407         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31408         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31410         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31412         Moved ...
31413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31414         ... here.
31415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31416         Moved ...
31417         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31418         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31419         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31421         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31422         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31423         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31424         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31425         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31426         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31427         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31429         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31430         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31432         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31433         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31435         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31436         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31437         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31439         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31441         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31443         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31444         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31445         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31446         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31448         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31449         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31451         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31453         Moved ...
31454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31461         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31463         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31467         Moved ...
31468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31470         Moved ...
31471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31477         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31479         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31481         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31483         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31485         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31487         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31490         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31491         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31492         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31493         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31495         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31496         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31497         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31498         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31499         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31500         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31501         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31502         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31503         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31504         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31509         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31510         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31512         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31514         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31515         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31516         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31517         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31518         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31519         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31520         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31521         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31522         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31524         Update #include.
31525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31526         Likewise.
31527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31528         Likewise.
31529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31530         Likewise.
31531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31532         Likewise.
31533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31534         Likewise.
31535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31536         Likewise.
31537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31538         Likewise.
31539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31540         Likewise.
31541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31542         Likewise.
31543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31557         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31559         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31560         that was previously under [RESET_PID].
31561         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31562         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31563         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31565         * sysdeps/i386/nptl/Implies: New file.
31566         * sysdeps/x86_64/nptl/Implies: New file.
31567         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31568         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31569         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31570         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31572         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31573         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31574         (__libc_vfork): New strong alias.
31575         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31576         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31578         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31579         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31580         (__libc_vfork): New strong alias.
31581         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31582         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31584         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31585         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31586         (__libc_vfork): New strong alias.
31587         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31588         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31589         * nptl/pt-vfork.c: New file.
31590         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31591         (libpthread: GLIBC_2.20): New version set (empty).
31593 2014-05-14  Will Newton  <will.newton@linaro.org>
31595         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31596         rather than #if.
31598 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31600         [BZ #16564]
31601         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31602         arguments with exponent 65 or above.
31603         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31604         arguments 0x1p113L or above.
31605         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31606         to arguments 0x1p107L or above.
31607         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31608         positive arguments with exponent 65 or above.
31609         * math/auto-libm-test-in: Add more tests of log1p.
31610         * math/auto-libm-test-out: Regenerated.
31612         [BZ #16928]
31613         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31614         non-finite arguments is +0.
31615         * math/s_cacosf.c (__cacosf): Likewise.
31616         * math/s_cacosl.c (__cacosl): Likewise.
31617         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31618         * sysdeps/i386/fpu/libm-test-ulps: Update.
31619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31621         [BZ #16927]
31622         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31623         value.
31624         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31625         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31626         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31627         for explicit high bit of mantissa when testing for argument equal
31628         to 1.
31629         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31630         * sysdeps/i386/fpu/libm-test-ulps: Update.
31631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31633         [BZ #16516]
31634         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31635         (__erf): Scale by 16 instead of 8 in potentially underflowing
31636         case.  Ensure exception if result actually underflows.
31637         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31638         (__erff): Scale by 16 instead of 8 in potentially underflowing
31639         case.  Ensure exception if result actually underflows.
31640         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31641         (efx8): Remove variable.
31642         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31643         case.  Ensure exception if result actually underflows.
31644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31645         (efx8): Remove variable.
31646         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31647         case.  Ensure exception if result actually underflows.
31648         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31649         (efx8): Remove variable.
31650         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31651         case.  Ensure exception if result actually underflows.
31652         * math/auto-libm-test-in: Add more tests of erf.
31653         * math/auto-libm-test-out: Regenerated.
31655 2014-05-14  Andreas Schwab  <schwab@suse.de>
31657         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31658         Remove code conditionalized on USE___THREAD.
31660         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31661         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31662         not definedness.
31664 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31667         Define unconditionally.
31668         (__ASSUME_O_CLOEXEC): Likewise.
31669         (__ASSUME_SOCK_CLOEXEC): Likewise.
31670         (__ASSUME_IN_NONBLOCK): Likewise.
31671         (__ASSUME_PIPE2): Likewise.
31672         (__ASSUME_EVENTFD2): Likewise.
31673         (__ASSUME_SIGNALFD4): Likewise.
31674         (__ASSUME_DUP3): Likewise.
31675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31676         (__ASSUME_DUP3): Do not define.
31677         (__ASSUME_EVENTFD2): Likewise.
31678         (__ASSUME_IN_NONBLOCK): Likewise.
31679         (__ASSUME_O_CLOEXEC): Likewise.
31680         (__ASSUME_PIPE2): Likewise.
31681         (__ASSUME_SIGNALFD4): Likewise.
31682         (__ASSUME_SOCK_CLOEXEC): Likewise.
31683         (__ASSUME_UTIMES): Undefine.
31684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31685         (__ASSUME_UTIMES): Do not define.
31686         (__ASSUME_O_CLOEXEC): Likewise.
31687         (__ASSUME_SOCK_CLOEXEC): Likewise.
31688         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31689         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31690         0x020621].
31691         (__ASSUME_PIPE2): Likewise.
31692         (__ASSUME_EVENTFD2): Likewise.
31693         (__ASSUME_SIGNALFD4): Likewise.
31694         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31695         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31696         Do not define.
31697         (__ASSUME_EVENTFD2): Likewise.
31698         (__ASSUME_SIGNALFD4): Likewise.
31699         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31700         (__ASSUME_32BITUIDS): Likewise.
31701         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31702         (__ASSUME_IPC64): Likewise.
31703         (__ASSUME_ST_INO_64_BIT): Likewise.
31704         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31705         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31707         (__ASSUME_UTIMES): Do not define.
31708         (__ASSUME_PSELECT): Likewise.
31709         (__ASSUME_PPOLL): Likewise.
31710         (__ASSUME_O_CLOEXEC): Likewise.
31711         (__ASSUME_SOCK_CLOEXEC): Likewise.
31712         (__ASSUME_IN_NONBLOCK): Likewise.
31713         (__ASSUME_PIPE2): Likewise.
31714         (__ASSUME_EVENTFD2): Likewise.
31715         (__ASSUME_SIGNALFD4): Likewise.
31716         (__ASSUME_DUP3): Likewise.
31717         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31718         (__ASSUME_UTIMES): Likewise.
31719         (__ASSUME_O_CLOEXEC): Likewise.
31720         (__ASSUME_SOCK_CLOEXEC): Likewise.
31721         (__ASSUME_IN_NONBLOCK): Likewise.
31722         (__ASSUME_PIPE2): Likewise.
31723         (__ASSUME_EVENTFD2): Likewise.
31724         (__ASSUME_SIGNALFD4): Likewise.
31725         (__ASSUME_DUP3): Likewise.
31726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31727         (__ASSUME_UTIMES): Likewise.
31728         (__ASSUME_O_CLOEXEC): Likewise.
31729         (__ASSUME_SOCK_CLOEXEC): Likewise.
31730         (__ASSUME_IN_NONBLOCK): Likewise.
31731         (__ASSUME_PIPE2): Likewise.
31732         (__ASSUME_EVENTFD2): Likewise.
31733         (__ASSUME_SIGNALFD4): Likewise.
31734         (__ASSUME_DUP3): Likewise.
31735         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31736         Likewise.
31737         (__ASSUME_UTIMES): Likewise.
31738         (__ASSUME_EVENTFD2): Likewise.
31739         (__ASSUME_SIGNALFD4): Likewise.
31740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31741         (__ASSUME_O_CLOEXEC): Likewise.
31742         (__ASSUME_SOCK_CLOEXEC): Likewise.
31743         (__ASSUME_IN_NONBLOCK): Likewise.
31744         (__ASSUME_PIPE2): Likewise.
31745         (__ASSUME_EVENTFD2): Likewise.
31746         (__ASSUME_SIGNALFD4): Likewise.
31747         (__ASSUME_DUP3): Likewise.
31748         (__ASSUME_UTIMES): Undefine.
31750         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31751         feclearexcept.  Remove symbol versioning code.
31752         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31753         symbol versioning code.
31754         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31755         symbol versioning code.
31756         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31757         feupdateenv.  Remove symbol versioning code.
31758         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31759         fegetexceptflag.  Remove symbol versioning code.
31760         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31761         fesetexceptflag.  Remove symbol versioning code.
31762         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31763         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31764         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31765         (__posix_fadvise64_l32): Remove prototype.
31766         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31767         code.
31769 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31771         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31772         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31773         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31774         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31776 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31778         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31779         current working directory
31781 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31783         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31784         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31785         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31786         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31787         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31788         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31789         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31790         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31792         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31793         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31794         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31796         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31802         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31803         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31806         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31807         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31808         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31810         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31811         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31812         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31814         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31815         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31816         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31817         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31818         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31819         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31820         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31821         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31822         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31823         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31824         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31826         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31827         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31829         * sysdeps/unix/sysv/linux/arm/Makefile
31830         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31831         Add rt-aeabi_unwind_cpp_pr1.
31832         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31833         Add nptl-aeabi_unwind_cpp_pr1.
31834         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31835         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31836         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31837         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31838         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31839         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31841         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31842         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31843         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31844         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31846         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31847         Deconditionalize the code that was previously under [RESET_PID].
31848         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31850         * sysdeps/generic/exit-thread.h: New file.
31851         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31852         * include/unistd.h (__exit_thread): Remove declaration.
31853         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31854         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31855         * csu/libc-start.c: Include <exit-thread.h>.
31856         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31857         * nptl/pthread_create.c: Include <exit-thread.h>.
31858         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31859         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31860         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31861         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31862         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31863         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31864         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31865         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31866         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31867         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31868         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31869         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31870         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31871         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31872         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31873         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31874         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31876 2014-05-13  Andreas Schwab  <schwab@suse.de>
31878         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31880 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31882         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31883         (__ASSUME_UTIMES): Do not condition on kernel version.
31884         (__ASSUME_PSELECT): Define unconditionally.
31885         (__ASSUME_PPOLL): Likewise.
31886         (__ASSUME_ATFCTS): Likewise.
31887         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31888         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31889         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31890         (__ASSUME_UTIMENSAT): Define unconditionally.
31891         (__ASSUME_PRIVATE_FUTEX): Likewise.
31892         (__ASSUME_FALLOCATE): Likewise.
31893         (__ASSUME_O_CLOEXEC): Likewise.
31894         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31895         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31896         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31897         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31898         (__ASSUME_IN_NONBLOCK): Likewise.
31899         (__ASSUME_PIPE2): Likewise.
31900         (__ASSUME_EVENTFD2): Likewise.
31901         (__ASSUME_SIGNALFD4): Likewise.
31902         (__ASSUME_DUP3): Likewise.
31903         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31904         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31905         (__ASSUME_AT_RANDOM): Likewise.
31906         (__ASSUME_PREADV): Likewise.
31907         (__ASSUME_PWRITEV): Likewise.
31908         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31909         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31910         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31912         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31913         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31914         (__ASSUME_O_CLOEXEC): Define unconditionally.
31915         (__ASSUME_PSELECT): Do not undefine conditionally.
31916         (__ASSUME_PPOLL): Likewise.
31917         (__ASSUME_ATFCTS): Likewise.
31918         (__ASSUME_SET_ROBUST_LIST): Likewise.
31919         (__ASSUME_UTIMENSAT): Likewise.
31920         (__ASSUME_FDATASYNC): Define unconditionally.
31921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31922         (__ASSUME_SIGFRAME_V2): Likewise.
31923         )__ASSUME_EVENTFD2): Likewise.
31924         (__ASSUME_SIGNALFD4): Likewise.
31925         (__ASSUME_PSELECT): Do not undefine conditionally.
31926         (__ASSUME_PPOLL): Likewise.
31927         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31928         (__ASSUME_PSELECT): Define unconditionally.
31929         (__ASSUME_PPOLL): Likewise.
31930         (__ASSUME_O_CLOEXEC): Likewise.
31931         (__ASSUME_SOCK_CLOEXEC): Likewise.
31932         (__ASSUME_IN_NONBLOCK): Likewise.
31933         (__ASSUME_PIPE2): Likewise.
31934         (__ASSUME_EVENTFD2): Likewise.
31935         (__ASSUME_SIGNALFD4): Likewise.
31936         (__ASSUME_DUP3): Likewise.
31937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31938         (__ASSUME_O_CLOEXEC): Likewise.
31939         (__ASSUME_SOCK_CLOEXEC): Likewise.
31940         (__ASSUME_IN_NONBLOCK): Likewise.
31941         (__ASSUME_PIPE2): Likewise.
31942         (__ASSUME_EVENTFD2): Likewise.
31943         (__ASSUME_SIGNALFD4): Likewise.
31944         (__ASSUME_DUP3): Likewise.
31945         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31946         (__ASSUME_EVENTFD2): Likewise.
31947         (__ASSUME_SIGNALFD4): Likewise.
31948         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31950 2014-05-12  Andreas Schwab  <schwab@suse.de>
31952         [BZ #16932]
31953         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31954         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31955         than maximum RPC packet size.
31956         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31957         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31958         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31959         (_nss_nis_getservbyport_r): Likewise.
31961 2014-05-12  Will Newton  <will.newton@linaro.org>
31963         * malloc/Makefile (tests): Add tst-mallopt.
31964         * malloc/tst-mallopt.c: New file.
31966 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31969         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31971 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31973         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31974         (tst-tlsmod6.so): Likewise.
31976 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31978         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31980 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31982         [BZ #16064]
31983         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31984         and <dl-procinfo.h>.
31985         (__fegetenv): Save SSE state in envp->__eip if supported.
31986         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31987         envp->__eip if supported.
31988         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31989         and <dl-procinfo.h>.
31990         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31991         __data_offset and __data_selector in environment to 0.  Set SSE
31992         state if supported.
31993         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31994         test-fenv-sse.
31995         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31996         -mfpmath=sse.
31997         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31999 2014-05-09  Will Newton  <will.newton@linaro.org>
32001         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32002         and libc_relro_required for ARM.
32003         * sysdeps/arm/preconfigure: Regenerate.
32005 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32006             Stefan Liebler  <stli@linux.vnet.ibm.com>
32008         * config.make.in (enable-lock-elision): New Makefile variable.
32009         * configure.ac: Likewise.
32010         * configure: Regenerate.
32011         * sysdeps/s390/configure.ac:
32012         Add check for gcc transactions support.
32013         * sysdeps/s390/configure: Regenerate.
32014         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32015         Build elision files if enabled.
32016         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32017         Add lock elision support for s390.
32018         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32019         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32020         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32021         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32022         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32023         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32024         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32025         Likewise.
32026         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32027         Likewise.
32028         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32029         Likewise.
32030         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32031         Likewise.
32032         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32033         (__lll_timedlock_elision, __lll_lock_elision)
32034         (__lll_unlock_elision, __lll_trylock_elision)
32035         (lll_timedlock_elision, lll_lock_elision)
32036         (lll_unlock_elision, lll_trylock_elision): Add.
32037         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32038         (pthread_mutex_t): Add lock elision support for s390.
32040 2014-05-14  Wilco  <wdijkstr@arm.com>
32042         * sysdeps/arm/fclrexcpt.c: Cleanup.
32043         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32044         * sysdeps/arm/feenablxcpt.c: Cleanup.
32045         * sysdeps/arm/fegetenv.c: Cleanup.
32046         * sysdeps/arm/fegetexcept.c: Cleanup.
32047         * sysdeps/arm/fegetround.c: Cleanup.
32048         * sysdeps/arm/feholdexcpt.c: Cleanup.
32049         * sysdeps/arm/fesetenv.c: Cleanup.
32050         * sysdeps/arm/fesetround.c: Cleanup.
32051         * sysdeps/arm/feupdateenv.c: Cleanup.
32052         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32053         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32054         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32055         * sysdeps/arm/ftestexcept.c: Cleanup.
32056         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32057         * sysdeps/arm/setfpucw.c: Cleanup.
32059 2014-05-09  Will Newton  <will.newton@linaro.org>
32061         * sysdeps/arm/armv7/strcmp.S: New file.
32062         * NEWS: Mention addition of ARMv7 optimized strcmp.
32064 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32066         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32067         look for %.ac rather than %.in.
32069         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32070         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32071         * sysdeps/mach/hurd/configure: Regenerated.
32072         * sysdeps/unix/sysv/linux/configure: Regenerated.
32074         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32076 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32078         [BZ# 16922]
32079         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32080         (LONG_SUB): Ditto.
32081         (PTR_SUB): Ditto.
32083 2014-05-07  Andreas Schwab  <schwab@suse.de>
32085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32086         when skipping over non-matching result from nscd.
32088 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32090         [BZ #16876]
32091         * nptl/sockperf.c (client): Check socket return value.
32093         [BZ #16877]
32094         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32095         nscd security class.
32097 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32099         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32100         * sysdeps/arm/unwind.h: ... here.
32102 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32104         [BZ# 16916]
32105         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32106         Define.
32108 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32110         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32111         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32112         multiarch strncpy for PPC64.
32113         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32114         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32116         multiarch optimizations.
32117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32118         (__libc_ifunc_impl_list): Likewise.
32119         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32120         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32121         multiarch stpncpy for PPC64.
32122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32123         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32125 2014-05-06  Andreas Schwab  <schwab@suse.de>
32127         [BZ #16912]
32128         * gmon/mcount.c (_MCOUNT_DECL): Use
32129         atomic_compare_and_exchange_bool_acq instead of
32130         catomic_compare_and_exchange_bool_acq.
32132 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32134         * elf/Makefile (others, install-bin): Remove pldd.
32135         (pldd-modules): Variable removed.
32136         ($(objpfx)pldd): Target removed.
32137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32138         (others, install-bin): Append pldd here.
32139         ($(objpfx)pldd): New target.
32141         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32142         to 0, so the first #if test emitted later doesn't see it undefined.
32143         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32144         * sysdeps/gnu/errlist.c: Regenerated.
32146 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32149         [libc_hidden_builtin_def]: Define to empty value.
32150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32151         [libc_hidden_builtin_def]: Likewise.
32152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32153         [libc_hidden_builtin_def]: Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32155         [libc_hidden_builtin_def]: Likewise.
32156         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32157         __redirect_memcpy and define ifunc as default hidden symbol.
32158         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32159         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32161 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32163         * locale/iso-4217.def: Reintroduce XDR currency.
32165 2014-05-04  Allan McRae  <allan@archlinux.org>
32167         * po/eo.po: Update Esperanto translation from translation project.
32169 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32171         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32172         and FEATURE_INDEX_MAX to 1.
32173         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32175 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32177         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32178         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32179         * iconvdata/big5.c (ONE_DIRECTION): Define.
32180         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32181         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32182         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32183         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32184         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32185         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32186         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32187         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32188         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32189         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32190         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32191         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32192         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32193         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32194         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32195         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32196         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32197         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32198         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32199         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32200         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32201         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32202         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32203         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32204         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32205         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32206         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32207         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32208         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32209         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32210         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32211         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32212         * iconvdata/johab.c (ONE_DIRECTION): Define.
32213         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32214         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32215         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32216         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32217         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32218         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32219         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32220         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32221         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32222         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32224 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32226         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32227         (_IO_JUMPS_OFFSET): Define to 0.
32229         * nptl/sysdeps/pthread/bits/libc-lock.h
32230         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32231         (__libc_lock_define_initialized_recursive): Always define using
32232         initializer.  Modern compilers treat uninitialized (implicit zero) and
32233         explicit zero initializers the same (i.e. put the datum in bss).
32235 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32237         * nscd/nscd-client.h: Include <string.h>.
32239 2014-05-01  David S. Miller  <davem@davemloft.net>
32241         [BZ #16885]
32242         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32243         multiple zero bytes exist at the end of a string.
32244         Reported by Aurelien Jarno <aurelien@aurel32.net>
32246         * string/test-strcmp.c (check): Add explicit test for situations where
32247         there are multiple zero bytes after the first.
32249 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32251         [BZ #16890]
32252         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32253         when compiling wprintf.
32254         * stdio-common/tstdiomisc.c (t3): New function.
32255         (main): Call it.
32257 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32259         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32260         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32261         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32262         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32264 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32266         * stdlib/longlong.h: Updated from GCC.
32268 2014-05-01  Will Newton  <will.newton@linaro.org>
32269             Bernard Ogden  <bernie.ogden@linaro.org>
32271         * NEWS: Update fixed bug list.
32273         [BZ #15119]
32274         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32276 2014-04-30  David S. Miller  <davem@davemloft.net>
32278         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32279         (libc_feholdexcept_setround_sparc_ctx): New function.
32280         (libc_fesetenv_sparc_ctx): Likewise.
32281         (libc_feupdateenv_sparc_ctx): Likewise.
32282         (libc_feholdsetround_sparc_ctx): Likewise.
32283         (libc_feholdexcept_setround_ctx): Define.
32284         (libc_feholdexcept_setroundf_ctx): Likewise.
32285         (libc_feholdexcept_setroundl_ctx): Likewise.
32286         (libc_fesetenv_ctx): Likewise.
32287         (libc_fesetenvf_ctx): Likewise.
32288         (libc_fesetenvl_ctx): Likewise.
32289         (libc_feupdateenv_ctx): Likewise.
32290         (libc_feupdateenvf_ctx): Likewise.
32291         (libc_feupdateenvl_ctx): Likewise.
32292         (libc_feresetround_ctx): Likewise.
32293         (libc_feresetroundf_ctx): Likewise.
32294         (libc_feresetroundl_ctx): Likewise.
32295         (libc_feholdsetround_ctx): Likewise.
32296         (libc_feholdsetroundf_ctx): Likewise.
32297         (libc_feholdsetroundl_ctx): Likewise.
32299         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32300         with __USE_GNU instead of XOPEN cpp guards.
32302         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32303         0.
32305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32306         with XOPEN cpp guards.
32308 2014-04-30  Julian Brown  <julian@codesourcery.com>
32310         [BZ #16888]
32311         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32312         handling.
32314 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32316         [BZ #9894]
32317         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32318         Change to 2.6.32.
32319         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32320         * sysdeps/unix/sysv/linux/configure: Regenerated.
32321         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32322         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32323         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32324         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32325         * README: Update reference to required Linux kernel version.
32326         * manual/install.texi (Linux): Update reference to required Linux
32327         kernel headers version.
32328         * INSTALL: Regenerated.
32330         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32331         header inclusion.
32332         [POSIX] (limits.h): Likewise.
32333         [POSIX] (math.h): Likewise.
32334         [POSIX] (sys/wait.h): Likewise.
32335         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32336         function.
32337         [POSIX] (stddef.h): Do not allow header inclusion.
32339 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32341         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32343 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32345         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32346         Return immediately after lll_futex_wake.
32348 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32350         [BZ #16791]
32351         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32352         structure.
32353         (datahead_init_pos): Call datahead_init_common early.
32354         (datahead_init_neg): Likewise.
32356         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32357         datahead_init_neg): New functions.
32358         * nscd/aicache.c (addhstaiX): Use them.
32359         * nscd/grpcache.c (cache_addgr): Likewise.
32360         * nscd/hstcache.c (cache_addhst): Likewise.
32361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32362         * nscd/netgroupcache.c (do_notfound): Likewise.
32363         (addgetnetgrentX): Likewise.
32364         (addinnetgrX): Likewise.
32365         * nscd/pwdcache.c (cache_addpw): Likewise.
32366         * nscd/servicescache.c (cache_addserv): Likewise.
32368 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32369             Atsushi Onoe  <atsushi@onoe.org>
32371         [BZ #14308]
32372         [BZ #12994]
32373         [BZ #13651]
32374         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32375         one response is valid.
32376         * resolv/res_send.c (send_dg): Check for validity of other
32377         response if the current response is a referral.
32379 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32381         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32383 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32385         [BZ #16823]
32386         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32387         Always divide by positive zero when computing -Inf result.
32388         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32389         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32391 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32393         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32394         FPSCR if value do not change.
32395         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32396         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32397         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32398         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32399         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32400         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32401         function.
32403 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32405         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32406         * sysdeps/unix/sysv/linux/hppa: Move directory from
32407         ports/systeps/unix/sysv/linux/hppa.
32408         * README: Update listing for hppa-*-linux-gnu.
32410 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32412         [BZ #16754]
32413         * manual/stdio.texi (Hook functions): Fix types of stream hook
32414         functions.
32415         [BZ #16854]
32416         * socket/sys/socket.h: Fix typo in comment.
32418 2014-04-28  Wilco  <wdijkstr@arm.com>
32420         * sysdeps/arm/fenv_private.h: New file.
32421         * sysdeps/arm/math_private.h: New file.
32422         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32424 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32426         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32427         with __int128_t.
32428         (La_x86_64_retval): Likewise.
32430 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32432         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32433         fpsr if value didn't change.
32434         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32435         to fpcr if value didn't change.
32436         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32437         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32438         fpsr or fpcr if value didn't change.
32439         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32440         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32441         fpcr if value didn't change.
32442         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32443         to fpsr if value didn't change.
32445 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32447         * nptl/tst-sem3.c: Use test-skeleton.c
32448         (main): Rename to do_test.  Use return instead of
32449         exit.
32450         * nptl/tst-sem4.c: Use test-skeleton.c
32451         (main): Rename to do_test.
32453 2014-04-22  David S. Miller  <davem@davemloft.net>
32455         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32456         (struct sigaction): New struct member __glibc_reserved0, change
32457         type of sa_flags to int.
32459 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32461         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32462         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32464 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32467         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32469 2014-04-22  Will Newton  <will.newton@linaro.org>
32470             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32472         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32473         (__longjmp): Add longjmp and longjmp_target SystemTap
32474         probes.
32475         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32476         (__sigsetjmp): Add setjmp SystemTap probe.
32478 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32480         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32481         match manual order.
32483 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32485         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32487         * sysdeps/powerpc/fpu/fenv_private.h
32488         (libc_feholdexcept_setroundl_ctx): Define to
32489         libc_feholdexcept_setround_ppc_ctx.
32490         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32491         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32492         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32493         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32495 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32497         * sysdeps/aarch64/math-tests.h: New file.
32499 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32501         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32502         New.
32503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32504         Check and set bit_AVX2_Usable.
32505         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32506         macro.
32507         (bit_AVX2): Likewise.
32508         (index_AVX2_Usable): Likewise.
32509         (CPUID_AVX2): Likewise.
32510         (HAS_AVX2): Likewise.
32512 2014-04-17  Will Newton  <will.newton@linaro.org>
32514         * manual/setjmp.texi (System V contexts): Add note that
32515         calling setcontext on a context created by a call to a
32516         signal handler is undefined.  Update text to note that
32517         setcontext from a signal handler is possible but not
32518         recommended.
32520         [BZ #16629]
32521         * stdlib/tst-setcontext.c: Include signal.h.
32522         (main): Check that the signal stack before and
32523         after swapcontext is the same.
32525         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32526         Re-implement to restore registers in user code and avoid
32527         rt_sigreturn system call.
32529 2014-04-17  Wilco  <wdijkstr@arm.com>
32531         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32532         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32533         * math/test-fenv.c: Skip exception trap tests on targets which only
32534         support non-stop mode.
32536 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32537             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32539         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32540         (libc_feholdsetround_aarch64_ctx)
32541         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32542         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32543         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32544         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32545         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32546         (libc_feresetround_noexl_ctx): Define.
32548 2014-04-16  Richard Henderson  <rth@redhat.com>
32550         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32552         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32553         unwind tables.
32555         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32556         const from the non-libc, non-ldso copy.
32558         * sysdeps/alpha/libm-test-ulps: Regenerate.
32560 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32561             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32563         * sysdeps/aarch64/fpu/math_private.h: New file.
32565 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32567         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32569 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32571         [BZ #16275]
32572         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32573         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32575         Intel MPX bound registers before _dl_profile_fixup.
32576         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32577         registers after _dl_profile_fixup.  Save and restore bound
32578         registers bnd0/bnd1 when calling _dl_call_pltexit.
32579         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32580         (LR_BND_OFFSET): Likewise.
32581         (LRV_BND0_OFFSET): Likewise.
32582         (LRV_BND1_OFFSET): Likewise.
32584 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32586         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32587         to...
32588         * sysdeps/mach/hurd/i386/tls.h: ... here.
32589         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32590         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32591         fields.
32593 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32595         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32597 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32599         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32601 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32603         [BZ #14770]
32604         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32605         * sysdeps/s390/configure: Regenerate.
32607         [BZ #16824]
32608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32609         Set round-to-nearest internally to reduce error accumulation.
32611 2014-04-16  Alan Modra  <amodra@gmail.com>
32613         [BZ #16740]
32614         [BZ #16619]
32615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32616         * math/libm-test.inc (frexp_test_data): Add tests.
32617         * NEWS: Update fixed bug list.
32619 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32621         * benchtests/Makefile: Depend on libraries in build directory.
32622         (bench-math): Separate out math tests.
32623         (bench-pthread): Separate out pthread tests.
32624         (bench): Include math and pthread tests.
32626 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32628         [BZ #16831]
32629         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32630         _dl_debug_initialize.
32632         * configure.ac: Remove SELinux header check.
32633         * configure: Regenerate.
32634         * nscd/selinux.c (perms): Array of const char* to permission names.
32635         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32636         default policy. Call string_to_security_class and string_to_av_perm to
32637         translate strings. Enforce default policy and call avs_has_perm with
32638         results of translated strings.
32640 2014-04-13  David S. Miller  <davem@davemloft.net>
32642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32644 2014-04-12  Allan McRae  <allan@archlinux.org>
32646         [BZ #16838]
32647         * manual/string.texi (Collation Functions): Fix qsort argument
32648         order in example.
32649         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32651 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32653         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32654         Make the test a no-op if there are no exceptions defined.
32656 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32658         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32659         enable-hardcoded-path-in-tests
32661 2014-04-11  Will Newton  <will.newton@linaro.org>
32663         * benchtests/Makefile (extra-objs): Add json-lib.o.
32664         (bench-func): Tidy up JSON output.
32665         * benchtests/bench-skeleton.c: Include json-lib.h.
32666         (main): Use JSON library functions to do output of
32667         benchmark results.
32668         * benchtests/bench-timing-type.c (main): Output the
32669         timing type simply, leaving formatting to the user.
32670         * benchtests/json-lib.c: New file.
32671         * benchtests/json-lib.h: Likewise.
32673 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32675         [BZ #15215]
32676         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32677         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32678         memory barriers.  Add comments.
32679         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32680         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32681         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32682         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32683         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32684         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32686 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32688         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32689         * sysdeps/s390/s390-64/configure.ac: ... this ...
32690         * sysdeps/s390/configure.ac: ... to here.
32691         * sysdeps/s390/s390-32/configure: Delete file.
32692         * sysdeps/s390/s390-64/configure: Delete file.
32693         * sysdeps/s390/configure: Regenerate.
32695 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32697         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32699 2014-04-11  Will Newton  <will.newton@linaro.org>
32701         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32702         to zero if it is not defined elsewhere.  (mtrim): Test
32703         the value of MALLOC_DEBUG with #if rather than #ifdef.
32705 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32707         * benchtests/pthread_once-inputs: New file.
32708         * benchtests/pthread_once-source.c: New file.
32709         * benchtests/README: Update documentation.
32711 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32712             H.J. Lu  <hongjiu.lu@intel.com>
32714         [BZ #16275]
32715         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32716         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32717         * sysdeps/x86_64/configure: Regenerated.
32718         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32719         macro.
32720         (REGISTER_SAVE_RAX): Likewise.
32721         (REGISTER_SAVE_RCX): Likewise.
32722         (REGISTER_SAVE_RDX): Likewise.
32723         (REGISTER_SAVE_RSI): Likewise.
32724         (REGISTER_SAVE_RDI): Likewise.
32725         (REGISTER_SAVE_R8): Likewise.
32726         (REGISTER_SAVE_R9): Likewise.
32727         (REGISTER_SAVE_BND0): Likewise.
32728         (REGISTER_SAVE_BND1): Likewise.
32729         (REGISTER_SAVE_BND2): Likewise.
32730         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32731         bound registers when calling _dl_fixup.
32733 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32735         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32736         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32737         of its definition.
32738         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32739         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32740         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32741         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32742         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32743         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32744         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32746 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32748         [BZ #15514]
32749         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32750         pathconf(_PC_NAME_MAX).
32752 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32754         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32755         Remove macro usage.
32756         (__PTHREAD_SPINS): Move definition to ...
32757         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32758         (__PTHREAD_SPINS): ... here.
32759         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32760         (__PTHREAD_SPIN): Likewise.
32761         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32762         (__PTHREAD_SPIN): Likewise.
32763         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32764         (__PTHREAD_SPIN): Likewise.
32765         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32766         (__PTHREAD_SPIN): Likewise.
32767         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32768         (__PTHREAD_SPIN): Likewise.
32769         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32770         (__PTHREAD_SPIN): Likewise.
32771         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32772         (__PTHREAD_SPIN): Likewise.
32773         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32774         (__PTHREAD_SPIN): Likewise.
32775         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32776         (__PTHREAD_SPIN): Likewise.
32777         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32778         (__PTHREAD_SPIN): Likewise.
32779         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32780         (__PTHREAD_SPIN): Likewise.
32781         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32782         (__PTHREAD_SPIN): Likewise.
32784         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32785         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32786         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32787         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32788         imply folder.
32789         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32790         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32791         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32792         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32793         correct imply path.
32794         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32795         strlen symbol for non multi-arch builds.
32796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32797         missing hidden_def and weak_alias.
32799 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32801         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32803 2014-04-07  Will Newton  <will.newton@linaro.org>
32805         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32806         and contents.  [!_LIBC] Remove #ifndef and contents.
32807         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32808         * string/memccpy.c (__memccpy): Use ANSI prototype.
32809         * string/memfrob.c (memfrob): Likewise.
32810         * string/strcoll.c (STRCOLL): Likewise.
32811         * string/strlen.c (strlen): Likewise.
32812         * string/strtok.c (STRTOK): Likewise.
32813         * string/strcat.c: Remove unused #include of memcopy.h.
32814         (strcat): Use ANSI prototype.
32815         * string/strchr.c: Remove unused #include of memcopy.h.
32816         (strchr): Use ANSI prototype.
32817         * string/strcmp.c: Remove unused #include of memcopy.h.
32818         (strcmp): Use ANSI prototype.
32819         * string/strcpy.c: Remove unused #include of memcopy.h.
32820         (strcpy): Use ANSI prototype.
32822 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32824         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32825         * config.make.in (config-extra-cppflags): Set it from
32826         libc_extra_cppflags.
32827         * configure.ac (libc_extra_cflags): Make it accumulate over
32828         configure fragments.
32829         (libc_extra_cppflags): New flag.
32830         * configure. Regenerate.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32832         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32833         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32836         [BZ #16815]
32837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32838         result for FE_DOWNWARD rounding mode.
32839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32840         Likewise.
32841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32843 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32845         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32846         in function argument name.
32848 2014-04-03  David Svoboda  <svoboda@cert.org>
32850         [BZ #5666]
32851         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32852         explicitly.
32854 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32856         * elf/dl-unmap-segments.h: New file.
32857         * sysdeps/generic/ldsodefs.h
32858         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32859         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32860         * elf/dl-fptr.c: Likewise.
32861         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32862         * sysdeps/aarch64/tlsdesc.c: Likewise.
32863         * sysdeps/arm/tlsdesc.c: Likewise.
32864         * sysdeps/i386/tlsdesc.c: Likewise.
32865         * sysdeps/tile/dl-runtime.c: Likewise.
32866         * sysdeps/x86_64/tlsdesc.c: Likewise.
32867         * elf/dl-load.h: New file.
32868         * elf/dl-load.c: Include it.
32869         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32870         Macros moved to dl-load.h.
32871         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32872         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32873         Use _dl_unmap_segments in place of __munmap.
32874         Break out segment-mapping loop into ...
32875         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32877 2014-04-03  Will Newton  <will.newton@linaro.org>
32879         * elf/dl-lookup.c (do_lookup_x): Remove comment
32880         referring to nested function and move variable
32881         declarations down to before first use.
32883 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #16799]
32886         [BZ #16800]
32887         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32888         with 0 numerator.
32889         * math/s_catanf.c (__catanf): Likewise.
32890         * math/s_catanh.c (__catanh): Likewise.
32891         * math/s_catanhf.c (__catanhf): Likewise.
32892         * math/s_catanhl.c (__catanhl): Likewise.
32893         * math/s_catanl.c (__catanl): Likewise.
32894         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32895         by positive zero when computing -Inf result.
32896         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32897         (catanh_test): Likewise.
32898         * sysdeps/i386/fpu/libm-test-ulps: Update.
32899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32901         [BZ #16789]
32902         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32903         instead of using underflowing value in computing result.
32904         * math/s_clog10.c (__clog10): Likewise.
32905         * math/s_clog10f.c (__clog10f): Likewise.
32906         * math/s_clog10l.c (__clog10l): Likewise.
32907         * math/s_clogf.c (__clogf): Likewise.
32908         * math/s_clogl.c (__clogl): Likewise.
32909         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32910         (clog10_test): Likewise.
32911         * sysdeps/i386/fpu/libm-test-ulps: Update.
32912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32914 2014-04-02  Alan Modra  <amodra@gmail.com>
32916         [BZ #16739]
32917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32918         output when value is near a power of two.  Use int64_t for lx and
32919         remove casts.  Use decimal rather than hex exponent constants.
32920         Don't use long double multiplication when double will suffice.
32921         * math/libm-test.inc (nextafter_test_data): Add tests.
32922         * NEWS: Add 16739 and 16786 to bug list.
32924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32926         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32928 2014-04-01  Will Newton  <will.newton@linaro.org>
32930         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32931         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32933 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32935         [BZ #13347]
32936         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32937         * nptl/tst-setuid2.c: New file.
32938         * nptl/Makefile (xtests): Add tst-setuid2.
32940 2014-04-01  Alan Modra  <amodra@gmail.com>
32942         [BZ #16786]
32943         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32945 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32947         [BZ #6803]
32948         [BZ #6804]
32949         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32950         set errno as appropriate.
32951         * math/w_scalbf.c (__scalbf): Likewise.
32952         * math/w_scalbl.c (__scalbl): Likewise.
32953         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32954         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32955         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32956         Add more NaN tests.
32958         [BZ #16349]
32959         * math/w_atan2.c: Include <errno.h>.
32960         (__atan2): Set errno for result underflowing to zero.
32961         * math/w_atan2f.c: Include <errno.h>.
32962         (__atan2f): Set errno for result underflowing to zero.
32963         * math/w_atan2l.c: Include <errno.h>.
32964         (__atan2l): Set errno for result underflowing to zero.
32965         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32966         tests.
32967         * math/auto-libm-test-out: Regenerated.
32969 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32971         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32972         Encode instruction correctly in little endian.
32973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32974         Likewise.
32975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32976         Likewise.
32977         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32978         Likewise.
32979         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32980         Likewise.
32982 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32984         [BZ #9894]
32985         * sysdeps/unix/sysv/linux/kernel-features.h
32986         [__sparc__ && !__arch64__ && !__sparc_v9__]
32987         (__ASSUME_SET_ROBUST_LIST): Do not define.
32988         [__sparc__ && !__arch64__ && !__sparc_v9__]
32989         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32990         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32991         Likewise.
32992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32993         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32994         (__ASSUME_REQUEUE_PI): Likewise.
32995         (__ASSUME_SET_ROBUST_LIST): Likewise.
32996         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32997         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32998         Undefine.
32999         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33000         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33001         Likewise.
33002         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33003         Likewise.
33004         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33005         Likewise.
33006         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33007         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33008         Undefine.
33009         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33010         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33011         Likewise.
33013         [BZ #16648]
33014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33016         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33018 2014-03-31  Will Newton  <will.newton@linaro.org>
33020         * benchtests/Makefile (bench): Add ffs and ffsll to list
33021         of tests.
33022         * benchtests/ffs-inputs: New file.
33023         * benchtests/ffsll-inputs: Likewise.
33025 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33027         [BZ #16770]
33028         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33029         too large before casting to int.
33030         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33031         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33032         * math/libm-test.inc (scalb_test_data): Add more tests.
33034 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33036         * benchtests/Makefile (DETAILED_OPT): New make option.
33037         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33038         set.
33039         * benchtests/bench-skeleton.c: Include stdbool.h.
33040         (main): Store and print timings per input.
33041         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33042         member to each argument value.
33043         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33044         (_print_arg_data): Initialize per-input timing to 0.
33046         * benchtests/Makefile (timing-type): New binary.
33047         (bench-clean): Also remove bench-timing-type.
33048         (bench): New target for timing-type.
33049         (bench-func): Print output in JSON format.
33050         * benchtests/bench-skeleton.c (main): Print output in JSON
33051         format.
33052         * benchtests/bench-timing-type.c: New file.
33053         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33054         (TIMING_PRINT_STATS): Remove.
33055         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33056         name separately.
33058         * benchtests/bench-modf.c: Remove.
33059         * benchtests/modf-inputs: New inputs file.
33061 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33063         [BZ #16362]
33064         * math/s_clog10.c (M_PI_LOG10E): New macro.
33065         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33066         imaginary parts are 0.
33067         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33068         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33069         imaginary parts are 0.
33070         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33071         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33072         imaginary parts are 0.
33073         * math/libm-test.inc (clog10_test_data): Update expected results
33074         for when real and imaginary parts are 0.
33076 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33078         * elf/dl-load.c: Finish conversion of __builtin_expect into
33079         __glibc_{un}likely.
33081 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #16348]
33084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33085         1+x for argument with exponent below -67.
33086         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33087         Likewise.
33088         * math/auto-libm-test-in: Add more tests of exp.
33089         * math/auto-libm-test-out: Regenerated.
33091 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33093         [BZ #16759]
33094         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33095         (nscd_getnetgrent): Use it.
33097         [BZ #16760]
33098         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33099         of stpcpy.
33101 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33104         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33105         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33106         (lll_robust_unlock): Remove out of line section. Use cfi
33107         intrinsics.
33108         (LLL_STUB_UNWIND_INFO*): Remove.
33109         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33110         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33111         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33112         (lll_robust_unlock): Remove out of line section. Use cfi
33113         intrinsics.
33114         (LLL_STUB_UNWIND_INFO*): Remove.
33116 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33118         [BZ #16758]
33119         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33120         blank values.
33122 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33124         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33126 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33128         [BZ #16198]
33129         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33130         fnstenv.
33131         * math/test-fenv-preserve.c: New file.
33132         * math/Makefile (tests): Add test-fenv-preserve.
33134 2014-03-26  Will Newton <will.newton@linaro.org>
33136         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33138 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33140         * scripts/versionlist.awk: Partition the version sets and emit all
33141         GLIBC_* (sorted) before all others (sorted).
33143 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33145         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33146         GLIBC_2.2.5 version.
33148 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33150         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33151         calls.
33153         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33154         previous change.
33156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33158 2014-03-25  Andreas Schwab  <schwab@suse.de>
33160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33161         label to be used after in6ailist is initialized.
33163 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33166         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33168 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33170         [BZ #16357]
33171         [BZ #16599]
33172         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33173         min_plus_half.
33174         (fp_formats): Update initializers.
33175         (init_fp_formats): Initialize new field.
33176         (output_for_one_input_case): Allow underflow for results up to
33177         min_plus_half.
33178         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33179         * math/auto-libm-test-in: Don't mark some underflows from asin and
33180         atanh as spurious.
33181         * math/auto-libm-test-out: Regenerated.
33182         * sysdeps/i386/fpu/libm-test-ulps: Update.
33183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33185 2014-03-25  Andreas Schwab  <schwab@suse.de>
33187         * libio/Makefile (tst-ftell-partial-wide-ENV)
33188         (tst-ftell-active-handler-ENV): Define.
33190 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33192         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33194 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33196         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33198 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33200         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33201         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33202         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33204 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33206         [BZ #16634]
33207         * elf/dl-load.c (open_verify): Add mode parameter.
33208         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33209         (open_path): Change from boolean 'secure' to complete flag 'mode'
33210         (_dl_map_object): Adjust.
33211         * elf/Makefile (tests): Add tst-dlopen-aout.
33212         * elf/tst-dlopen-aout.c: New test.
33214 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33216         [BZ #16714]
33217         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33218         (struct stat): Rename member pad0 to __glibc_reserved0.
33220         [BZ #16712]
33221         * sysdeps/s390/s390-32/bits/wordsize.h
33222         (__WORDSIZE32_SIZE_ULONG): New define.
33223         * sysdeps/s390/s390-64/bits/wordsize.h
33224         (__WORDSIZE32_SIZE_ULONG): Likewise.
33225         * sysdeps/generic/stdint.h (SIZE_MAX):
33226         Define as UL if __WORDSIZE32_SIZE_ULONG.
33228         [BZ #16713]
33229         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33230         (__glibc_reserved0): New variable.
33231         (sa_flags): Change type to int.
33233         * posix/Makefile (before-compile): Use += before-compile instead
33234         of a :=.
33236         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33237         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33239 2014-03-20  Andreas Schwab  <schwab@suse.de>
33241         [BZ #16743]
33242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33243         non-matching result from nscd.
33245 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247         * scripts/bench.py: Moved to ...
33248         * benchtests/scripts/bench.py: ... here.
33249         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33251 2014-03-24  Andreas Schwab  <schwab@suse.de>
33253         [BZ #16002]
33254         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33255         alloca_account and account alloca use for struct in6ailist.
33257 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33259         [BZ #16284]
33260         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33261         rounding mode to recompute results that overflow to infinity or
33262         underflow to zero.
33263         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33264         bug 16284.
33265         * math/auto-libm-test-out: Regenerated.
33266         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33267         (ccosh_test): Likewise.
33268         (csin_test_data): Use plus_oflow.
33269         (csin_test): Use ALL_RM_TEST.
33270         (csinh_test_data): Use plus_oflow.
33271         (csinh_test): Use ALL_RM_TEST.
33272         * sysdeps/i386/fpu/libm-test-ulps: Update.
33273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33275 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33277         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33278         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33279         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33281         [BZ #16731]
33282         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33283         when x - 1 is zero.
33284         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33285         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33286         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33288         argument is 1.
33289         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33290         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33291         zero.
33292         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33293         * sysdeps/i386/fpu/libm-test-ulps: Update.
33294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33296 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33298         * scripts/bench.pl: Remove file.
33299         * scripts/bench.py: New benchmark script.
33300         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33301         * benchtests/README: Mention python dependency.
33302         * scripts/pylintrc: New file.
33303         * scripts/pylint: New file.
33305         * bits/mathdef.h: Use #ifdef instead of #if.
33306         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33307         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33308         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33309         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33310         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33311         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33313 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33314             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33316         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33318         and strpbrk-ppc64 objects.
33319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33320         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33321         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33322         multiarch strpbrk for POWER7.
33323         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33324         multiarch strpbrk for PPC64.
33325         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33326         ifunc selector.
33327         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33328         strpbrk for POWER7.
33330 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33332         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33333         (atan_test): Likewise.
33334         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33335         (atanh_test): Use ALL_RM_TEST.
33336         (atan2_test_data): Likewise.
33337         (cabs_test): Likewise.
33338         (cacosh_test): Likewise.
33339         (carg_test): Likewise.
33340         (casin_test): Likewise.
33341         (casinh_test): Likewise.
33342         (cbrt_test): Likewise.
33343         (csqrt_test): Likewise.
33344         (erf_test): Likewise.
33345         (erfc_test): Likewise.
33346         (pow10_test): Likewise.
33347         (exp2_test): Likewise.
33348         (hypot_test): Likewise.
33349         (j0_test): Likewise.
33350         (j1_test): Likewise.
33351         (lgamma_test): Likewise.
33352         (gamma_test): Likewise.
33353         (sincos_test): Likewise.
33354         (tanh_test): Likewise.
33355         (y0_test): Likewise.
33356         (y1_test): Likewise.
33357         * sysdeps/i386/fpu/libm-test-ulps: Update.
33358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33360 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33362         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33364         and strcspn-ppc64 objects.
33365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33366         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33367         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33368         multiarch strcspn for POWER7.
33369         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33370         multiarch strcspn for PPC64.
33371         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33372         ifunc selector.
33373         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33374         strcspn for POWER7.
33376 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33378         * math/gen-libm-test.pl (generate_testfile): Expect only function
33379         name as argument to AUTO_TESTS_* and pass results for all rounding
33380         modes to parse_args.
33381         (parse_auto_input): Separate inputs of automatic tests from
33382         outputs before storing in %auto_tests.
33383         * math/libm-test.inc (acos_test_data): Update call to
33384         AUTO_TESTS_f_f.
33385         (acos_test): Use ALL_RM_TEST.
33386         (acos_tonearest_test_data): Remove.
33387         (acos_test_tonearest): Likewise.
33388         (acos_towardzero_test_data): Likewise.
33389         (acos_test_towardzero): Likewise.
33390         (acos_downward_test_data): Likewise.
33391         (acos_test_downward): Likewise.
33392         (acos_upward_test_data): Likewise.
33393         (acos_test_upward): Likewise.
33394         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33395         (asin_test_data): Likewise.
33396         (asin_test): Use ALL_RM_TEST.
33397         (asin_tonearest_test_data): Remove.
33398         (asin_test_tonearest): Likewise.
33399         (asin_towardzero_test_data): Likewise.
33400         (asin_test_towardzero): Likewise.
33401         (asin_downward_test_data): Likewise.
33402         (asin_test_downward): Likewise.
33403         (asin_upward_test_data): Likewise.
33404         (asin_test_upward): Likewise.
33405         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33406         (atan_test_data): Likewise.
33407         (atanh_test_data): Likewise.
33408         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33409         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33410         (carg_test_data): Likewise.
33411         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33412         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33413         (ccosh_test_data): Likewise.
33414         (cexp_test_data): Likewise.
33415         (clog_test_data): Likewise.
33416         (clog10_test_data): Likewise.
33417         (cos_test_data): Update call to AUTO_TESTS_f_f.
33418         (cos_test): Use ALL_RM_TEST.
33419         (cos_tonearest_test_data): Remove.
33420         (cos_test_tonearest): Likewise.
33421         (cos_towardzero_test_data): Likewise.
33422         (cos_test_towardzero): Likewise.
33423         (cos_downward_test_data): Likewise.
33424         (cos_test_downward): Likewise.
33425         (cos_upward_test_data): Likewise.
33426         (cos_test_upward): Likewise.
33427         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33428         (cosh_test): Use ALL_RM_TEST.
33429         (cosh_tonearest_test_data): Remove.
33430         (cosh_test_tonearest): Likewise.
33431         (cosh_towardzero_test_data): Likewise.
33432         (cosh_test_towardzero): Likewise.
33433         (cosh_downward_test_data): Likewise.
33434         (cosh_test_downward): Likewise.
33435         (cosh_upward_test_data): Likewise.
33436         (cosh_test_upward): Likewise.
33437         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33438         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33439         (ctan_test_data): Likewise.
33440         (ctan_test): Use ALL_RM_TEST.
33441         (ctan_tonearest_test_data): Remove.
33442         (ctan_test_tonearest): Likewise.
33443         (ctan_towardzero_test_data): Likewise.
33444         (ctan_test_towardzero): Likewise.
33445         (ctan_downward_test_data): Likewise.
33446         (ctan_test_downward): Likewise.
33447         (ctan_upward_test_data): Likewise.
33448         (ctan_test_upward): Likewise.
33449         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33450         (ctanh_test): Use ALL_RM_TEST.
33451         (ctanh_tonearest_test_data): Remove.
33452         (ctanh_test_tonearest): Likewise.
33453         (ctanh_towardzero_test_data): Likewise.
33454         (ctanh_test_towardzero): Likewise.
33455         (ctanh_downward_test_data): Likewise.
33456         (ctanh_test_downward): Likewise.
33457         (ctanh_upward_test_data): Likewise.
33458         (ctanh_test_upward): Likewise.
33459         (erf_test_data): Update call to AUTO_TESTS_f_f.
33460         (erfc_test_data): Likewise.
33461         (exp_test_data): Likewise.
33462         (exp_test): Use ALL_RM_TEST.
33463         (exp_tonearest_test_data): Remove.
33464         (exp_test_tonearest): Likewise.
33465         (exp_towardzero_test_data): Likewise.
33466         (exp_test_towardzero): Likewise.
33467         (exp_downward_test_data): Likewise.
33468         (exp_test_downward): Likewise.
33469         (exp_upward_test_data): Likewise.
33470         (exp_test_upward): Likewise.
33471         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33472         (exp10_test): Use ALL_RM_TEST.
33473         (exp10_tonearest_test_data): Remove.
33474         (exp10_test_tonearest): Likewise.
33475         (exp10_towardzero_test_data): Likewise.
33476         (exp10_test_towardzero): Likewise.
33477         (exp10_downward_test_data): Likewise.
33478         (exp10_test_downward): Likewise.
33479         (exp10_upward_test_data): Likewise.
33480         (exp10_test_upward): Likewise.
33481         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33482         (expm1_test_data): Likewise.
33483         (expm1_test): Use ALL_RM_TEST.
33484         (expm1_tonearest_test_data): Remove.
33485         (expm1_test_tonearest): Likewise.
33486         (expm1_towardzero_test_data): Likewise.
33487         (expm1_test_towardzero): Likewise.
33488         (expm1_downward_test_data): Likewise.
33489         (expm1_test_downward): Likewise.
33490         (expm1_upward_test_data): Likewise.
33491         (expm1_test_upward): Likewise.
33492         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33493         (fma_test): Use ALL_RM_TEST.
33494         (fma_towardzero_test_data): Remove.
33495         (fma_test_towardzero): Likewise.
33496         (fma_downward_test_data): Likewise.
33497         (fma_test_downward): Likewise.
33498         (fma_upward_test_data): Likewise.
33499         (fma_test_upward): Likewise.
33500         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33501         (j0_test_data): Update call to AUTO_TESTS_f_f.
33502         (j1_test_data): Likewise.
33503         (jn_test_data): Update call to AUTO_TESTS_if_f.
33504         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33505         (log_test_data): Update call to AUTO_TESTS_f_f.
33506         (log10_test_data): Likewise.
33507         (log1p_test_data): Likewise.
33508         (log2_test_data): Likewise.
33509         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33510         (pow_tonearest_test_data): Likewise.
33511         (sin_test_data): Update call to AUTO_TESTS_f_f.
33512         (sin_test): Use ALL_RM_TEST.
33513         (sin_tonearest_test_data): Remove.
33514         (sin_test_tonearest): Likewise.
33515         (sin_towardzero_test_data): Likewise.
33516         (sin_test_towardzero): Likewise.
33517         (sin_downward_test_data): Likewise.
33518         (sin_test_downward): Likewise.
33519         (sin_upward_test_data): Likewise.
33520         (sin_test_upward): Likewise.
33521         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33522         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33523         (sinh_test): Use ALL_RM_TEST.
33524         (sinh_tonearest_test_data): Remove.
33525         (sinh_test_tonearest): Likewise.
33526         (sinh_towardzero_test_data): Likewise.
33527         (sinh_test_towardzero): Likewise.
33528         (sinh_downward_test_data): Likewise.
33529         (sinh_test_downward): Likewise.
33530         (sinh_upward_test_data): Likewise.
33531         (sinh_test_upward): Likewise.
33532         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33533         (sqrt_test): Use ALL_RM_TEST.
33534         (sqrt_tonearest_test_data): Remove.
33535         (sqrt_test_tonearest): Likewise.
33536         (sqrt_towardzero_test_data): Likewise.
33537         (sqrt_test_towardzero): Likewise.
33538         (sqrt_downward_test_data): Likewise.
33539         (sqrt_test_downward): Likewise.
33540         (sqrt_upward_test_data): Likewise.
33541         (sqrt_test_upward): Likewise.
33542         (tan_test_data): Update call to AUTO_TESTS_f_f.
33543         (tan_test): Use ALL_RM_TEST.
33544         (tan_tonearest_test_data): Remove.
33545         (tan_test_tonearest): Likewise.
33546         (tan_towardzero_test_data): Likewise.
33547         (tan_test_towardzero): Likewise.
33548         (tan_downward_test_data): Likewise.
33549         (tan_test_downward): Likewise.
33550         (tan_upward_test_data): Likewise.
33551         (tan_test_upward): Likewise.
33552         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33553         (tgamma_test_data): Likewise.
33554         (y0_test_data): Likewise.
33555         (y1_test_data): Likewise.
33556         (yn_test_data): Update call to AUTO_TESTS_if_f.
33557         (main): Do not call removed functions.
33559 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33561         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33562         (ldexp_test_data): Remove.
33563         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33564         scalbn_test_data.
33565         (scalb_test): Use ALL_RM_TEST.
33567 2014-03-19  Andreas Schwab  <schwab@suse.de>
33569         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33571 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33573         [BZ #16649]
33574         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33576         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33578         (__ASSUME_PREADV): Undefine.
33579         (__ASSUME_PWRITEV): Likewise.
33581 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33583         * bits/mman-linux.h: Add comment about non-Linux use.
33584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33585         bits/mman-linux.h resting place.
33587         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33588         * bits/mman-linux.h: ... here.
33590 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33592         * conform/conformtest.pl: Add standard definition when calling C
33593         preprocessor on data files.
33594         (checknamespace): Remove unused variable.
33596 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33598         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33599         minus_oflow, plus_uflow and minus_uflow in expected results.
33600         * math/libm-test.inc (scalbn_test_data): Add more tests of
33601         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33602         minus_uflow.
33603         (scalbn_test): Use ALL_RM_TEST.
33604         (scalbln_test_data): Add more tests of negative arguments.  Use
33605         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33606         (scalbln_test): Use ALL_RM_TEST.
33608 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33610         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33612 2014-03-18  Will Newton  <will.newton@linaro.org>
33614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33615         inaccurate comment.
33617 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33619         * Makerules [!subdir] (check-abi): Exit with error status if a
33620         test failed.
33622 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33624         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33625         for rint.  Include results for all rounding modes.
33626         (nearbyint_test): Use ALL_RM_TEST.
33627         (rint_test_data): Include all tests used for nearbyint.
33629 2014-03-17  Will Newton  <will.newton@linaro.org>
33631         * nptl/sysdeps/pthread/pthread.h: Revert previous
33632         change.
33634         * sysdeps/generic/ldsodefs.h: Revert previous
33635         change.
33637         * libio/genops.c: Revert previous change.
33638         * libio/libioP.h: Likewise.
33639         * stdio-common/vfprintf.c: Likewise.
33641         * sysdeps/generic/math_private.h: Revert previous
33642         change.
33644         * sysdeps/generic/math_private.h: Check whether
33645         HAVE_RM_CTX is defined with #ifdef rather
33646         than #if.
33648         * argp/argp-fmtstream.h: Check whether
33649         __STRICT_ANSI__ is defined with #ifdef rather
33650         than #if.
33651         * argp/argp.h: Likewise.
33653         * libio/genops.c: Check whether
33654         _IO_JUMPS_OFFSET is defined with #ifdef rather
33655         than #if.
33656         * libio/libioP.h: Likewise.
33657         * stdio-common/vfprintf.c: Likewise.
33659         * sysdeps/generic/ldsodefs.h: Check whether
33660         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33661         than #if.
33663         * nptl/sysdeps/pthread/pthread.h: Check
33664         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33665         its value.
33667 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33669         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33670         setting O_APPEND.
33671         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33672         test case.
33674         [BZ #16680]
33675         * libio/fileops.c (_IO_file_open): Seek to end of file but
33676         don't cache the offset.
33677         (get_file_offset): Remove function.
33678         (do_ftell): Use cached offset when available.
33679         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33680         don't cache the offset.
33681         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33682         case.
33683         (do_one_test): Call it.
33684         (do_ftell_test): Fix up expected old offset for a+ mode.
33685         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33686         available.
33688         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33689         up test status with function return status.
33690         (do_write_test): Likewise.
33691         (do_append_test): Likewise.
33693         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33694         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33695         Remove.
33697 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33699         * math/gen-libm-test.pl (parse_args): Handle results specified for
33700         each rounding mode separately.
33701         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33702         tests and results from lrint_tonearest_test_data,
33703         lrint_towardzero_test_data, lrint_downward_test_data and
33704         lrint_upward_test_data.
33705         (lrint_test): Use ALL_RM_TEST.
33706         (lrint_tonearest_test_data): Remove.
33707         (lrint_test_tonearest): Likewise.
33708         (lrint_towardzero_test_data): Likewise.
33709         (lrint_test_towardzero): Likewise.
33710         (lrint_downward_test_data): Likewise.
33711         (lrint_test_downward): Likewise.
33712         (lrint_upward_test_data): Likewise.
33713         (lrint_test_upward): Likewise.
33714         (llrint_test_data): Merge in per-rounding-mode tests and results
33715         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33716         llrint_downward_test_data and llrint_upward_test_data.
33717         (llrint_test): Use ALL_RM_TEST.
33718         (llrint_tonearest_test_data): Remove.
33719         (llrint_test_tonearest): Likewise.
33720         (llrint_towardzero_test_data): Likewise.
33721         (llrint_test_towardzero): Likewise.
33722         (llrint_downward_test_data): Likewise.
33723         (llrint_test_downward): Likewise.
33724         (llrint_upward_test_data): Likewise.
33725         (llrint_test_upward): Likewise.
33726         (rint_test_data): Merge in per-rounding-mode tests and results
33727         from rint_tonearest_test_data, rint_towardzero_test_data,
33728         rint_downward_test_data and rint_upward_test_data.  Add
33729         per-rounding-mode results for tests not in those arrays.
33730         (rint_test): Use ALL_RM_TEST.
33731         (rint_tonearest_test_data): Remove.
33732         (rint_test_tonearest): Likewise.
33733         (rint_towardzero_test_data): Likewise.
33734         (rint_test_towardzero): Likewise.
33735         (rint_downward_test_data): Likewise.
33736         (rint_test_downward): Likewise.
33737         (rint_upward_test_data): Likewise.
33738         (rint_test_upward): Likewise.
33739         (main): Don't call removed functions.
33741 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33743         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33744         "Compiled on ..." crapola.  It is anti-useful.
33746 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33748         * scripts/evaluate-test.sh: Handle fourth argument to determine
33749         whether test run should stop on failure.
33750         * Makeconfig (stop-on-test-failure): New variable.
33751         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33752         $(stop-on-test-failure).
33753         * Makefile (tests): Give a summary of results from testing and
33754         exit with failure status if they include an ERROR or FAIL.
33755         (xtests): Likewise.
33756         * manual/install.texi (Configuring and compiling): Mention
33757         stop-on-test-failure=y.
33758         * INSTALL: Regenerated.
33760 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33762         * scripts/versionlist.awk: New file.
33763         * Makerules [$(build-shared) = yes]
33764         (postclean-generated): Add Versions.def, not Versions.def.v and
33765         Versions.def.v.i.
33766         ($(common-objpfx)Versions.def.v.i): Target removed.
33767         ($(common-objpfx)Versions.def): New target.
33768         ($(common-objpfx)Versions.all): Depend on that rather that
33769         $(common-objpfx)Versions.def.v.
33770         * Versions.def: File removed.
33772         * Makeconfig (+gccwarn): Add -Wundef.
33773         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33774         a dl-sysdep.h breaking its contract.
33775         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33776         * include/stackinfo.h: New file.
33777         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33778         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33779         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33780         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33781         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33782         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33783         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33784         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33785         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33786         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33787         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33788         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33789         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33790         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33791         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33793 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33795         [BZ #16707]
33796         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33797         implementation.
33798         * math/libm-test.inc (round_test_data): Add more tests.
33800         [BZ #16706]
33801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33802         implementation.
33803         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33805         [BZ #16701]
33806         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33807         implementation.
33808         * math/libm-test.inc (ceil_test_data): Add more tests.
33810         * math/libm-test.inc (trunc_test_data): Add more tests related to
33811         BZ#16414.
33813 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33815         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33816         with #if rather than #ifdef.
33817         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33819 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33821         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33822         first.  Disable AVX-512 GCC support if assembler doesn't support
33823         it.
33824         * sysdeps/x86_64/configure: Regenerated.
33826 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33828         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33829         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33830         (__old_pthread_attr_setstack): Likewise.
33831         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33832         [!_STACK_GROWS_DOWN]: Likewise.
33834 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33836         * config.make.in (have-bash2): Delete.
33837         * configure.ac (libc_cv_have_bash2): Delete.
33838         * configure: Regenerate.
33839         * elf/Makefile (common-ldd-rewrite): Rename to ...
33840         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33841         (sh-ldd-rewrite): Delete.
33842         (bash-ldd-rewrite): Delete.
33843         (have-bash2): Delete checks.
33844         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33845         ldd-rewrite.
33847         * config.make.in (have-ksh): Delete.
33848         (KSH): Delete.
33849         * configure.ac (libc_cv_have_ksh): Delete.
33850         * configure: Regenerate.
33852         * elf/Makefile: Delete $(have-ksh) check.
33853         ($(objpfx)sotruss): Change KSH to BASH.
33854         * elf/sotruss.ksh: Rename to ...
33855         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33856         function style to match POSIX.  Drop ksh vim mode setting.
33858         * manual/time.texi (Specifying the Time Zone with TZ): Change
33859         Tuesday to Thursday.
33861         * debug/tst-longjmp_chk2.c: Update header comment.
33862         (stackoverflow_handler): Add comment.  Call assert on pass value.
33864 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33866         [BZ #16194]
33867         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33868         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33869         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33870         (La_x86_64_vector): Add zmm.
33871         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33872         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33873         ($(objpfx)tst-audit10): New target.
33874         ($(objpfx)tst-audit10.out): Likewise.
33875         (tst-audit10-ENV): New.
33876         (AVX512-CFLAGS): Likewise.
33877         (CFLAGS-tst-audit10.c): Likewise.
33878         (CFLAGS-tst-auditmod10a.c): Likewise.
33879         (CFLAGS-tst-auditmod10b.c): Likewise.
33880         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33881         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33882         * sysdeps/x86_64/configure: Regenerated.
33883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33884         AVX-512 zmm register support.
33885         (_dl_x86_64_save_sse): Likewise.
33886         (_dl_x86_64_restore_sse): Likewise.
33887         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33888         size vector registers.
33889         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33890         (ZMM_SIZE): Likewise.
33891         * sysdeps/x86_64/tst-audit10.c: New file.
33892         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33893         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33895 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33897         * configure.ac (HAVE_EHDR_START): New check.
33898         * configure: Regenerated.
33899         * config.h.in (HAVE_EHDR_START): New #undef.
33900         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33901         assuming the lowest-addressed segment maps the start of the file.
33903 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33905         * INSTALL: Regenerated.
33907 2014-03-13  Will Newton  <will.newton@linaro.org>
33909         * manual/setjmp.texi (System V contexts): Improve
33910         clarity and grammar of documentation.
33912 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33914         [BZ #16381]
33915         * elf/Makefile (tests): Add tst-pie2.
33916         (tests-pie): Add tst-pie2.
33917         * elf/tst-pie2.c: New file.
33918         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33919         for ET_EXEC.
33920         * elf/rtld.c (map_doit): Load executable as lt_executable.
33921         (dl_main): Likewise.
33923 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33925         [BZ #16642]
33926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33927         (__ASSUME_PSELECT): Undefine.
33929 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33931         [BZ #16689]
33932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33933         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33934         static build.
33935         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33936         selector for static builds.
33938 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33940         [BZ #16695]
33941         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33942         key in the buffer.
33944 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33946         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33947         IFUNC selector for static builds.
33949 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33951         * sysdeps/mips/math_private.h [__mips_hard_float]
33952         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33953         libc_feresetround_mips_ctx.
33954         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33955         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33956         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33958         [BZ #16677]
33959         * math/s_nextafter.c (__nextafter): Do not return value from
33960         overflowing computation.
33961         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33962         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33964         Likewise.
33965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33966         Likewise.
33967         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33968         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33970 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33972         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33973         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33974         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33975         the new mov targetting sp.
33977 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33979         [BZ #16683]
33980         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33981         Define it for static builds as well.
33982         (NO_BZERO_IMPL): Likewise.
33984 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33986         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33987         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33988         multiarch strspn for PPC64.
33989         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33990         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33992         (__libc_ifunc_impl_list): Likewise.
33993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33994         multiarch optimizations
33995         * string/strspn.c (strspn): Using macro to redefine symbol name.
33997 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33998             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34000         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34001         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34002         multiarch strncat for PPC64.
34003         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34004         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34006         (__libc_ifunc_impl_list): Likewise.
34007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34008         multiarch optimizations
34010 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34012         [BZ #16639]
34013         * nscd/nscd.service: Make service type forking.
34015 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34017         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34018         sign in non default rounding modes.
34019         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34021 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34023         * math/libm-test.inc (ALL_RM_TEST): New macro.
34024         (ceil_test): Use ALL_RM_TEST.
34025         (cimag_test): Likewise.
34026         (conj_test): Likewise.
34027         (copysign_test): Likewise.
34028         (cproj_test): Likewise.
34029         (creal_test): Likewise.
34030         (fabs_test): Likewise.
34031         (floor_test): Likewise.
34032         (fmax_test): Likewise.
34033         (fmin_test): Likewise.
34034         (fmod_test): Likewise.
34035         (fpclassify_test): Likewise.
34036         (frexp_test): Likewise.
34037         (ilogb_test): Likewise.
34038         (isfinite_test): Likewise.
34039         (finite_test): Likewise.
34040         (isgreater_test): Likewise.
34041         (isgreaterequal_test): Likewise.
34042         (isinf_test): Likewise.
34043         (isless_test): Likewise.
34044         (islessequal_test): Likewise.
34045         (islessgreater_test): Likewise.
34046         (isnan_test): Likewise.
34047         (isnormal_test): Likewise.
34048         (issignaling_test): Likewise.
34049         (isunordered_test): Likewise.
34050         (logb_test): Likewise.
34051         (logb_downward_test_data): Remove.
34052         (logb_test_downward): Likewise.
34053         (lround_test): Use ALL_RM_TEST.
34054         (llround_test): Likewise.
34055         (modf_test): Likewise.
34056         (nexttoward_test): Likewise.
34057         (remainder_test): Likewise.
34058         (drem_test): Likewise.
34059         (remainder_tonearest_test_data): Likewise.
34060         (remainder_test_tonearest): Likewise.
34061         (drem_test_tonearest): Likewise.
34062         (remainder_towardzero_test_data): Likewise.
34063         (remainder_test_towardzero): Likewise.
34064         (drem_test_towardzero): Likewise.
34065         (remainder_downward_test_data): Likewise.
34066         (remainder_test_downward): Likewise.
34067         (drem_test_downward): Likewise.
34068         (remainder_upward_test_data): Likewise.
34069         (remainder_test_upward): Likewise.
34070         (drem_test_upward): Likewise.
34071         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34072         (round_test): Use ALL_RM_TEST.
34073         (signbit_test): Likewise.
34074         (trunc_test): Likewise.
34075         (significand_test): Likewise.
34076         (main): Don't call removed functions.
34078 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34080         [BZ #16674]
34081         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34082         || __USE_XOPEN2K8].
34083         (ILL_ILLOPN): Likewise.
34084         (ILL_ILLADR): Likewise.
34085         (ILL_ILLTRP): Likewise.
34086         (ILL_PRVOPC): Likewise.
34087         (ILL_PRVREG): Likewise.
34088         (ILL_COPROC): Likewise.
34089         (ILL_BADSTK): Likewise.
34090         (FPE_INTDIV): Likewise.
34091         (FPE_INTOVF): Likewise.
34092         (FPE_FLTDIV): Likewise.
34093         (FPE_FLTOVF): Likewise.
34094         (FPE_FLTUND): Likewise.
34095         (FPE_FLTRES): Likewise.
34096         (FPE_FLTINV): Likewise.
34097         (FPE_FLTSUB): Likewise.
34098         (SEGV_MAPERR): Likewise.
34099         (SEGV_ACCERR): Likewise.
34100         (BUS_ADRALN): Likewise.
34101         (BUS_ADRERR): Likewise.
34102         (BUS_OBJERR): Likewise.
34103         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34104         (TRAP_TRACE): Likewise.
34105         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34106         __USE_XOPEN2K8].
34107         (CLD_KILLED): Likewise.
34108         (CLD_DUMPED): Likewise.
34109         (CLD_TRAPPED): Likewise.
34110         (CLD_STOPPED): Likewise.
34111         (CLD_CONTINUED): Likewise.
34112         (POLL_IN): Likewise.
34113         (POLL_OUT): Likewise.
34114         (POLL_MSG): Likewise.
34115         (POLL_ERR): Likewise.
34116         (POLL_PRI): Likewise.
34117         (POLL_HUP): Likewise.
34118         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34119         Likewise.
34120         (ILL_ILLOPN): Likewise.
34121         (ILL_ILLADR): Likewise.
34122         (ILL_ILLTRP): Likewise.
34123         (ILL_PRVOPC): Likewise.
34124         (ILL_PRVREG): Likewise.
34125         (ILL_COPROC): Likewise.
34126         (ILL_BADSTK): Likewise.
34127         (FPE_INTDIV): Likewise.
34128         (FPE_INTOVF): Likewise.
34129         (FPE_FLTDIV): Likewise.
34130         (FPE_FLTOVF): Likewise.
34131         (FPE_FLTUND): Likewise.
34132         (FPE_FLTRES): Likewise.
34133         (FPE_FLTINV): Likewise.
34134         (FPE_FLTSUB): Likewise.
34135         (SEGV_MAPERR): Likewise.
34136         (SEGV_ACCERR): Likewise.
34137         (BUS_ADRALN): Likewise.
34138         (BUS_ADRERR): Likewise.
34139         (BUS_OBJERR): Likewise.
34140         (BUS_MCEERR_AR): Likewise.
34141         (BUS_MCEERR_AO): Likewise.
34142         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34143         (TRAP_TRACE): Likewise.
34144         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34145         __USE_XOPEN2K8].
34146         (CLD_KILLED): Likewise.
34147         (CLD_DUMPED): Likewise.
34148         (CLD_TRAPPED): Likewise.
34149         (CLD_STOPPED): Likewise.
34150         (CLD_CONTINUED): Likewise.
34151         (POLL_IN): Likewise.
34152         (POLL_OUT): Likewise.
34153         (POLL_MSG): Likewise.
34154         (POLL_ERR): Likewise.
34155         (POLL_PRI): Likewise.
34156         (POLL_HUP): Likewise.
34157         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34158         (ILL_ILLOPN): Likewise.
34159         (ILL_ILLADR): Likewise.
34160         (ILL_ILLTRP): Likewise.
34161         (ILL_PRVOPC): Likewise.
34162         (ILL_PRVREG): Likewise.
34163         (ILL_COPROC): Likewise.
34164         (ILL_BADSTK): Likewise.
34165         (FPE_INTDIV): Likewise.
34166         (FPE_INTOVF): Likewise.
34167         (FPE_FLTDIV): Likewise.
34168         (FPE_FLTOVF): Likewise.
34169         (FPE_FLTUND): Likewise.
34170         (FPE_FLTRES): Likewise.
34171         (FPE_FLTINV): Likewise.
34172         (FPE_FLTSUB): Likewise.
34173         (SEGV_MAPERR): Likewise.
34174         (SEGV_ACCERR): Likewise.
34175         (BUS_ADRALN): Likewise.
34176         (BUS_ADRERR): Likewise.
34177         (BUS_OBJERR): Likewise.
34178         (BUS_MCEERR_AR): Likewise.
34179         (BUS_MCEERR_AO): Likewise.
34180         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34181         (TRAP_TRACE): Likewise.
34182         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34183         __USE_XOPEN2K8].
34184         (CLD_KILLED): Likewise.
34185         (CLD_DUMPED): Likewise.
34186         (CLD_TRAPPED): Likewise.
34187         (CLD_STOPPED): Likewise.
34188         (CLD_CONTINUED): Likewise.
34189         (POLL_IN): Likewise.
34190         (POLL_OUT): Likewise.
34191         (POLL_MSG): Likewise.
34192         (POLL_ERR): Likewise.
34193         (POLL_PRI): Likewise.
34194         (POLL_HUP): Likewise.
34195         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34196         Likewise.
34197         (ILL_ILLOPN): Likewise.
34198         (ILL_ILLADR): Likewise.
34199         (ILL_ILLTRP): Likewise.
34200         (ILL_PRVOPC): Likewise.
34201         (ILL_PRVREG): Likewise.
34202         (ILL_COPROC): Likewise.
34203         (ILL_BADSTK): Likewise.
34204         (ILL_BADIADDR): Likewise.
34205         (ILL_BREAK): Likewise.
34206         (FPE_INTDIV): Likewise.
34207         (FPE_INTOVF): Likewise.
34208         (FPE_FLTDIV): Likewise.
34209         (FPE_FLTOVF): Likewise.
34210         (FPE_FLTUND): Likewise.
34211         (FPE_FLTRES): Likewise.
34212         (FPE_FLTINV): Likewise.
34213         (FPE_FLTSUB): Likewise.
34214         (FPE_DECOVF): Likewise.
34215         (FPE_DECDIV): Likewise.
34216         (FPE_DECERR): Likewise.
34217         (FPE_INVASC): Likewise.
34218         (FPE_INVDEC): Likewise.
34219         (SEGV_MAPERR): Likewise.
34220         (SEGV_ACCERR): Likewise.
34221         (SEGV_PSTKOVF): Likewise.
34222         (BUS_ADRALN): Likewise.
34223         (BUS_ADRERR): Likewise.
34224         (BUS_OBJERR): Likewise.
34225         (BUS_MCEERR_AR): Likewise.
34226         (BUS_MCEERR_AO): Likewise.
34227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34228         (TRAP_TRACE): Likewise.
34229         (TRAP_BRANCH): Likewise.
34230         (TRAP_HWBKPT): Likewise.
34231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34232         __USE_XOPEN2K8].
34233         (CLD_KILLED): Likewise.
34234         (CLD_DUMPED): Likewise.
34235         (CLD_TRAPPED): Likewise.
34236         (CLD_STOPPED): Likewise.
34237         (CLD_CONTINUED): Likewise.
34238         (POLL_IN): Likewise.
34239         (POLL_OUT): Likewise.
34240         (POLL_MSG): Likewise.
34241         (POLL_ERR): Likewise.
34242         (POLL_PRI): Likewise.
34243         (POLL_HUP): Likewise.
34244         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34245         (ILL_ILLOPN): Likewise.
34246         (ILL_ILLADR): Likewise.
34247         (ILL_ILLTRP): Likewise.
34248         (ILL_PRVOPC): Likewise.
34249         (ILL_PRVREG): Likewise.
34250         (ILL_COPROC): Likewise.
34251         (ILL_BADSTK): Likewise.
34252         (FPE_INTDIV): Likewise.
34253         (FPE_INTOVF): Likewise.
34254         (FPE_FLTDIV): Likewise.
34255         (FPE_FLTOVF): Likewise.
34256         (FPE_FLTUND): Likewise.
34257         (FPE_FLTRES): Likewise.
34258         (FPE_FLTINV): Likewise.
34259         (FPE_FLTSUB): Likewise.
34260         (SEGV_MAPERR): Likewise.
34261         (SEGV_ACCERR): Likewise.
34262         (BUS_ADRALN): Likewise.
34263         (BUS_ADRERR): Likewise.
34264         (BUS_OBJERR): Likewise.
34265         (BUS_MCEERR_AR): Likewise.
34266         (BUS_MCEERR_AO): Likewise.
34267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34268         (TRAP_TRACE): Likewise.
34269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34270         __USE_XOPEN2K8].
34271         (CLD_KILLED): Likewise.
34272         (CLD_DUMPED): Likewise.
34273         (CLD_TRAPPED): Likewise.
34274         (CLD_STOPPED): Likewise.
34275         (CLD_CONTINUED): Likewise.
34276         (POLL_IN): Likewise.
34277         (POLL_OUT): Likewise.
34278         (POLL_MSG): Likewise.
34279         (POLL_ERR): Likewise.
34280         (POLL_PRI): Likewise.
34281         (POLL_HUP): Likewise.
34282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34283         (ILL_ILLOPN): Likewise.
34284         (ILL_ILLADR): Likewise.
34285         (ILL_ILLTRP): Likewise.
34286         (ILL_PRVOPC): Likewise.
34287         (ILL_PRVREG): Likewise.
34288         (ILL_COPROC): Likewise.
34289         (ILL_BADSTK): Likewise.
34290         (FPE_INTDIV): Likewise.
34291         (FPE_INTOVF): Likewise.
34292         (FPE_FLTDIV): Likewise.
34293         (FPE_FLTOVF): Likewise.
34294         (FPE_FLTUND): Likewise.
34295         (FPE_FLTRES): Likewise.
34296         (FPE_FLTINV): Likewise.
34297         (FPE_FLTSUB): Likewise.
34298         (SEGV_MAPERR): Likewise.
34299         (SEGV_ACCERR): Likewise.
34300         (BUS_ADRALN): Likewise.
34301         (BUS_ADRERR): Likewise.
34302         (BUS_OBJERR): Likewise.
34303         (BUS_MCEERR_AR): Likewise.
34304         (BUS_MCEERR_AO): Likewise.
34305         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34306         (TRAP_TRACE): Likewise.
34307         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34308         __USE_XOPEN2K8].
34309         (CLD_KILLED): Likewise.
34310         (CLD_DUMPED): Likewise.
34311         (CLD_TRAPPED): Likewise.
34312         (CLD_STOPPED): Likewise.
34313         (CLD_CONTINUED): Likewise.
34314         (POLL_IN): Likewise.
34315         (POLL_OUT): Likewise.
34316         (POLL_MSG): Likewise.
34317         (POLL_ERR): Likewise.
34318         (POLL_PRI): Likewise.
34319         (POLL_HUP): Likewise.
34320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34321         (ILL_ILLOPN): Likewise.
34322         (ILL_ILLADR): Likewise.
34323         (ILL_ILLTRP): Likewise.
34324         (ILL_PRVOPC): Likewise.
34325         (ILL_PRVREG): Likewise.
34326         (ILL_COPROC): Likewise.
34327         (ILL_BADSTK): Likewise.
34328         (FPE_INTDIV): Likewise.
34329         (FPE_INTOVF): Likewise.
34330         (FPE_FLTDIV): Likewise.
34331         (FPE_FLTOVF): Likewise.
34332         (FPE_FLTUND): Likewise.
34333         (FPE_FLTRES): Likewise.
34334         (FPE_FLTINV): Likewise.
34335         (FPE_FLTSUB): Likewise.
34336         (SEGV_MAPERR): Likewise.
34337         (SEGV_ACCERR): Likewise.
34338         (BUS_ADRALN): Likewise.
34339         (BUS_ADRERR): Likewise.
34340         (BUS_OBJERR): Likewise.
34341         (BUS_MCEERR_AR): Likewise.
34342         (BUS_MCEERR_AO): Likewise.
34343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34344         (TRAP_TRACE): Likewise.
34345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34346         __USE_XOPEN2K8].
34347         (CLD_KILLED): Likewise.
34348         (CLD_DUMPED): Likewise.
34349         (CLD_TRAPPED): Likewise.
34350         (CLD_STOPPED): Likewise.
34351         (CLD_CONTINUED): Likewise.
34352         (POLL_IN): Likewise.
34353         (POLL_OUT): Likewise.
34354         (POLL_MSG): Likewise.
34355         (POLL_ERR): Likewise.
34356         (POLL_PRI): Likewise.
34357         (POLL_HUP): Likewise.
34358         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34359         (ILL_ILLOPN): Likewise.
34360         (ILL_ILLADR): Likewise.
34361         (ILL_ILLTRP): Likewise.
34362         (ILL_PRVOPC): Likewise.
34363         (ILL_PRVREG): Likewise.
34364         (ILL_COPROC): Likewise.
34365         (ILL_BADSTK): Likewise.
34366         (ILL_DBLFLT): Likewise.
34367         (ILL_HARDWALL): Likewise.
34368         (FPE_INTDIV): Likewise.
34369         (FPE_INTOVF): Likewise.
34370         (FPE_FLTDIV): Likewise.
34371         (FPE_FLTOVF): Likewise.
34372         (FPE_FLTUND): Likewise.
34373         (FPE_FLTRES): Likewise.
34374         (FPE_FLTINV): Likewise.
34375         (FPE_FLTSUB): Likewise.
34376         (SEGV_MAPERR): Likewise.
34377         (SEGV_ACCERR): Likewise.
34378         (BUS_ADRALN): Likewise.
34379         (BUS_ADRERR): Likewise.
34380         (BUS_OBJERR): Likewise.
34381         (BUS_MCEERR_AR): Likewise.
34382         (BUS_MCEERR_AO): Likewise.
34383         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34384         (TRAP_TRACE): Likewise.
34385         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34386         __USE_XOPEN2K8].
34387         (CLD_KILLED): Likewise.
34388         (CLD_DUMPED): Likewise.
34389         (CLD_TRAPPED): Likewise.
34390         (CLD_STOPPED): Likewise.
34391         (CLD_CONTINUED): Likewise.
34392         (POLL_IN): Likewise.
34393         (POLL_OUT): Likewise.
34394         (POLL_MSG): Likewise.
34395         (POLL_ERR): Likewise.
34396         (POLL_PRI): Likewise.
34397         (POLL_HUP): Likewise.
34398         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34399         (ILL_ILLOPN): Likewise.
34400         (ILL_ILLADR): Likewise.
34401         (ILL_ILLTRP): Likewise.
34402         (ILL_PRVOPC): Likewise.
34403         (ILL_PRVREG): Likewise.
34404         (ILL_COPROC): Likewise.
34405         (ILL_BADSTK): Likewise.
34406         (FPE_INTDIV): Likewise.
34407         (FPE_INTOVF): Likewise.
34408         (FPE_FLTDIV): Likewise.
34409         (FPE_FLTOVF): Likewise.
34410         (FPE_FLTUND): Likewise.
34411         (FPE_FLTRES): Likewise.
34412         (FPE_FLTINV): Likewise.
34413         (FPE_FLTSUB): Likewise.
34414         (SEGV_MAPERR): Likewise.
34415         (SEGV_ACCERR): Likewise.
34416         (BUS_ADRALN): Likewise.
34417         (BUS_ADRERR): Likewise.
34418         (BUS_OBJERR): Likewise.
34419         (BUS_MCEERR_AR): Likewise.
34420         (BUS_MCEERR_AO): Likewise.
34421         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34422         (TRAP_TRACE): Likewise.
34423         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34424         __USE_XOPEN2K8].
34425         (CLD_KILLED): Likewise.
34426         (CLD_DUMPED): Likewise.
34427         (CLD_TRAPPED): Likewise.
34428         (CLD_STOPPED): Likewise.
34429         (CLD_CONTINUED): Likewise.
34430         (POLL_IN): Likewise.
34431         (POLL_OUT): Likewise.
34432         (POLL_MSG): Likewise.
34433         (POLL_ERR): Likewise.
34434         (POLL_PRI): Likewise.
34435         (POLL_HUP): Likewise.
34436         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34437         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34439         [BZ #16670]
34440         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34441         before #include of <time.h>.
34442         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34443         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34444         (test-xfail-UNIX98/sched.h/conform): Likewise.
34446 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34449         error absence of trapping exception support.
34450         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34452 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34454         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34455         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34456         * timezone/Makefile (testdata): Move definition above include of
34457         Rules.
34458         (test-zones): New variable.
34459         (tests-special): Add zone files.
34460         (build-testdata): Use $(evaluate-test).
34462         * elf/Makefile (tests-special): Rename tests to end with .out.
34463         ($(objpfx)noload-mem): Likewise.
34464         ($(objpfx)tst-leaks1-mem): Likewise.
34465         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34466         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34467         $(objpfx)test-iconvconfig.out.
34468         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34469         set -e inside subshell and redirect output to file.
34470         * iconvdata/Makefile (generated): Rename tests to end with .out.
34471         Correct type.
34472         (tests-special): Rename tests to end with .out.
34473         ($(objpfx)mtrace-tst-loading): Likewise.
34474         * intl/Makefile (generated): Likewise.
34475         (tests-special): Likewise.
34476         ($(objpfx)mtrace-tst-gettext): Likewise.
34477         * misc/Makefile (generated): Likewise.
34478         (tests-special): Likewise.
34479         ($(objpfx)tst-error1-mem): Likewise.
34480         * nptl/Makefile (tests-special): Likewise.
34481         ($(objpfx)tst-stack3-mem): Likewise.
34482         (generated): Likewise.
34483         * posix/Makefile (generated): Likewise.
34484         (tests-special): Likewise.
34485         (xtests-special): Likewise.
34486         ($(objpfx)tst-fnmatch-mem): Likewise.
34487         ($(objpfx)bug-regex2-mem): Likewise.
34488         ($(objpfx)bug-regex14-mem): Likewise.
34489         ($(objpfx)bug-regex21-mem): Likewise.
34490         ($(objpfx)bug-regex31-mem): Likewise.
34491         ($(objpfx)tst-vfork3-mem): Likewise.
34492         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34493         ($(objpfx)tst-pcre-mem): Likewise.
34494         ($(objpfx)tst-boost-mem): Likewise.
34495         ($(objpfx)bug-ga2-mem): Likewise.
34496         ($(objpfx)bug-glob2-mem): Likewise.
34497         * resolv/Makefile (generate): Likewise.
34498         (tests-special): Likewise.
34499         (xtests-special): Likewise.
34500         (generated): Likewise.
34501         ($(objpfx)mtrace-tst-leaks): Likewise.
34502         ($(objpfx)mtrace-tst-leaks2): Likewise.
34504         * scripts/merge-test-results.sh: New file.
34505         * Makefile (tests-special-notdir): New variable.
34506         (tests): Run merge-test-results.sh.
34507         (xtests): Likewise.
34508         * Rules (tests-special-notdir): New variable.
34509         (xtests-special-notdir): Likewise.
34510         (tests): Run merge-test-results.sh
34511         (xtests): Likewise.
34513         * Makeconfig (test-xfail-name): New variable.
34514         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34515         compute variable name for expected failures.
34516         * conform/Makefile (conformtest-headers-data): New variable.
34517         (conformtest-standards): Likewise.
34518         (conformtest-headers-ISO): Likewise.
34519         (conformtest-headers-ISO99): Likewise.
34520         (conformtest-headers-ISO11): Likewise.
34521         (conformtest-headers-POSIX): Likewise.
34522         (conformtest-headers-XPG3): Likewise.
34523         (conformtest-headers-XPG4): Likewise.
34524         (conformtest-headers-UNIX98): Likewise.
34525         (conformtest-headers-XOPEN2K): Likewise.
34526         (conformtest-headers-POSIX2008): Likewise.
34527         (conformtest-headers-XOPEN2K8): Likewise.
34528         (conformtest-header-list-base): Likewise.
34529         (conformtest-header-list-tests): Likewise.
34530         (conformtest-header-base): Likewise.
34531         (conformtest-header-tests): Likewise.
34532         (tests-special): Add $(conformtest-header-list-tests).  If
34533         [$(fast-check) && !$(cross-compiling)], add
34534         $(conformtest-header-tests) instead of
34535         $(objpfx)run-conformtest.out.
34536         (generated): Add $(conformtest-header-list-base).  If
34537         [$(fast-check) && !$(cross-compiling)], add
34538         $(conformtest-header-base).  Remove previous setting.
34539         ($(conformtest-header-list-tests)): New target.
34540         (test-xfail-run-conformtest): Remove variable.
34541         ($(objpfx)run-conformtest.out): Remove target.
34542         (test-xfail-ISO11/complex.h/conform): New variable.
34543         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34544         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34545         (test-xfail-XPG3/varargs.h/conform): Likewise.
34546         (test-xfail-XPG4/varargs.h/conform): Likewise.
34547         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34548         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34549         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34550         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34551         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34552         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34553         (test-xfail-XPG3/ftw.h/conform): Likewise.
34554         (test-xfail-XPG3/grp.h/conform): Likewise.
34555         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34556         (test-xfail-XPG3/limits.h/conform): Likewise.
34557         (test-xfail-XPG3/pwd.h/conform): Likewise.
34558         (test-xfail-XPG3/search.h/conform): Likewise.
34559         (test-xfail-XPG3/signal.h/conform): Likewise.
34560         (test-xfail-XPG3/stdio.h/conform): Likewise.
34561         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34562         (test-xfail-XPG3/string.h/conform): Likewise.
34563         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34564         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34565         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34566         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34567         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34568         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34569         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34570         (test-xfail-XPG3/termios.h/conform): Likewise.
34571         (test-xfail-XPG3/time.h/conform): Likewise.
34572         (test-xfail-XPG3/unistd.h/conform): Likewise.
34573         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34574         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34575         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34576         (test-xfail-XPG4/netdb.h/conform): Likewise.
34577         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34578         (test-xfail-XPG4/signal.h/conform): Likewise.
34579         (test-xfail-XPG4/stdio.h/conform): Likewise.
34580         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34581         (test-xfail-XPG4/stropts.h/conform): Likewise.
34582         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34583         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34584         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34585         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34586         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34587         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34588         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34589         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34590         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34591         (test-xfail-XPG4/termios.h/conform): Likewise.
34592         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34593         (test-xfail-XPG4/unistd.h/conform): Likewise.
34594         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34595         (test-xfail-POSIX/sched.h/conform): Likewise.
34596         (test-xfail-POSIX/signal.h/conform): Likewise.
34597         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34598         (test-xfail-POSIX/tar.h/conform): Likewise.
34599         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34600         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34601         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34602         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34603         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34604         (test-xfail-UNIX98/sched.h/conform): Likewise.
34605         (test-xfail-UNIX98/signal.h/conform): Likewise.
34606         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34607         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34608         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34609         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34610         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34611         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34612         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34613         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34614         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34615         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34616         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34617         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34618         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34619         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34620         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34621         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34622         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34623         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34624         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34625         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34626         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34627         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34628         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34629         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34630         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34631         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34632         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34633         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34634         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34635         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34636         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34637         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34638         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34639         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34640         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34641         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34642         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34643         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34644         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34645         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34646         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34647         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34648         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34649         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34650         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34651         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34652         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34653         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34654         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34655         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34656         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34657         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34658         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34659         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34660         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34661         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34662         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34663         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34664         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34665         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34666         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34667         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34668         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34669         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34670         (conformtest-cc-flags): Likewise.
34671         ($(conformtest-header-tests): New target.
34672         * conform/check-header-lists.sh: New file.
34673         * conform/run-conformtest.sh: Remove.
34675         * conform/conformtest.pl: Allow ' and \ in values given for
34676         constants.
34677         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34678         inclusion.
34679         [POSIX] (sys/types.h): Likewise.
34680         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34681         inclusion.
34682         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34683         inclusion.
34684         * conform/data/signal.h-data (SIGIO): Remove expectation.
34685         [XPG3] (SIGBUS): Do not expect.
34686         [POSIX || XPG3] (SIGPOLL): Likewise.
34687         [POSIX || XPG3] (SIGPROF): Likewise.
34688         [POSIX || XPG3] (SIGSYS): Likewise.
34689         [XPG3] (SIGTRAP): Likewise.
34690         [POSIX || XPG3] (SIGURG): Likewise.
34691         [POSIX || XPG3] (SIGVTALRM): Likewise.
34692         [POSIX || XPG3] (SIGXCPU): Likewise.
34693         [POSIX || XPG3] (SIGXFSZ): Likewise.
34694         [POSIX] (SA_SIGINFO): Expect.
34695         [XPG3] (siginfo_t): Do not expect type or contents.
34696         [POSIX] (si_pid): Do not expect element.
34697         [POSIX] (si_uid): Likewise.
34698         [POSIX] (si_addr): Likewise.
34699         [POSIX] (si_status): Likewise.
34700         [POSIX] (si_band): Likewise.
34701         [XPG4] (si_value): Likewise.
34702         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34703         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34704         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34705         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34706         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34707         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34708         [POSIX || XPG3] (ILL_COPROC): Likewise.
34709         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34710         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34711         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34712         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34713         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34714         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34715         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34716         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34717         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34718         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34719         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34720         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34721         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34722         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34723         [POSIX || XPG3] (CLD_EXITED): Likewise.
34724         [POSIX || XPG3] (CLD_KILLED): Likewise.
34725         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34726         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34727         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34728         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34729         [POSIX || XPG3] (POLL_IN): Likewise.
34730         [POSIX || XPG3] (POLL_OUT): Likewise.
34731         [POSIX || XPG3] (POLL_MSG): Likewise.
34732         [POSIX || XPG3] (POLL_ERR): Likewise.
34733         [POSIX || XPG3] (POLL_PRI): Likewise.
34734         [POSIX || XPG3] (POLL_HUP): Likewise.
34735         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34736         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34737         (SIG*): Do not allow.
34738         [XPG3] (si_*): Likewise.
34739         [XPG3] (SI_*): Likewise.
34740         [XPG3 || XPG4] (sigev_*): Likewise.
34741         [XPG3 || XPG4] (SIGEV_*): Likewise.
34742         [XPG3 || XPG4] (sival_*): Likewise.
34743         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34744         [POSIX || XPG3] (BUS_*): Likewise.
34745         [POSIX || XPG3] (CLD_*): Likewise.
34746         [POSIX || XPG3] (FPE_*): Likewise.
34747         [POSIX || XPG3] (ILL_*): Likewise.
34748         [POSIX || XPG3] (POLL_*): Likewise.
34749         [POSIX || XPG3] (SEGV_*): Likewise.
34750         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34751         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34752         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34753         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34754         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34755         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34756         Specify type and value.
34757         (TVERSLEN): Likewise.
34758         (REGTYPE): Likewise.
34759         (AREGTYPE): Likewise.
34760         (LNKTYPE): Likewise.
34761         (SYMTYPE): Likewise.
34762         (CHRTYPE): Likewise.
34763         (BLKTYPE): Likewise.
34764         (DIRTYPE): Likewise.
34765         (FIFOTYPE): Likewise.
34766         (CONTTYPE): Likewise.
34767         (TSUID): Likewise.
34768         (TSGID): Likewise.
34769         (TSVTX): Likewise.
34770         (TUREAD): Likewise.
34771         (TUWRITE): Likewise.
34772         (TUEXEC): Likewise.
34773         (TGREAD): Likewise.
34774         (TGWRITE): Likewise.
34775         (TGEXEC): Likewise.
34776         (TOREAD): Likewise.
34777         (TOWRITE): Likewise.
34778         (TOEXEC): Likewise.
34779         [POSIX] (TSVTX): Expect constant.
34781 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34783         * Makefile (tests): Change dependencies to ....
34784         (tests-special): ... additions to this variable.
34785         (tests): Depend on $(tests-special).
34786         * Makerules (check-abi-list): New variable.
34787         (check-abi): Depend on $(check-abi-list).
34788         [$(subdir) = elf] (tests-special): Add
34789         $(objpfx)check-abi-libc.out.
34790         [$(build-shared) = yes && subdir] (tests-special): Add
34791         $(check-abi-list).
34792         [$(build-shared) = yes && subdir] (tests): Do not depend on
34793         check-abi.
34794         * Rules (tests): Depend on $(tests-special).
34795         (xtests): Depend on $(xtests-special).
34796         * catgets/Makefile (tests): Change dependencies to ....
34797         (tests-special): ... additions to this variable.
34798         * conform/Makefile (tests): Change dependencies to ....
34799         (tests-special): ... additions to this variable.
34800         * elf/Makefile (tests): Change dependencies to ....
34801         (tests-special): ... additions to this variable.
34802         * grp/Makefile (tests): Change dependencies to ....
34803         (tests-special): ... additions to this variable.
34804         * iconv/Makefile (xtests): Change dependencies to ....
34805         (xtests-special): ... additions to this variable.
34806         * iconvdata/Makefile (tests): Change dependencies to ....
34807         (tests-special): ... additions to this variable.
34808         * intl/Makefile (tests): Change dependencies to ....
34809         (tests-special): ... additions to this variable.  Also add
34810         $(objpfx)tst-gettext.out.
34811         * io/Makefile (tests): Change dependencies to ....
34812         (tests-special): ... additions to this variable.
34813         * libio/Makefile (tests): Change dependencies to ....
34814         (tests-special): ... additions to this variable.
34815         * malloc/Makefile (tests): Change dependencies to ....
34816         (tests-special): ... additions to this variable.
34817         * misc/Makefile (tests): Change dependencies to ....
34818         (tests-special): ... additions to this variable.
34819         * nptl/Makefile (tests): Change dependencies to ....
34820         (tests-special): ... additions to this variable.
34821         * nptl_db/Makefile (tests): Change dependencies to ....
34822         (tests-special): ... additions to this variable.
34823         * posix/Makefile (tests): Change dependencies to ....
34824         (tests-special): ... additions to this variable.
34825         (xtests): Change dependencies to ....
34826         (xtests-special): ... additions to this variable.
34827         * resolv/Makefile (tests): Change dependencies to ....
34828         (tests-special): ... additions to this variable.
34829         (xtests): Change dependencies to ....
34830         (xtests-special): ... additions to this variable.
34831         * stdio-common/Makefile (tests): Change dependencies to ....
34832         (tests-special): ... additions to this variable.
34833         (do-tst-unbputc): Remove target.
34834         (do-tst-printf): Likewise.
34835         * stdlib/Makefile (tests): Change dependencies to ....
34836         (tests-special): ... additions to this variable.
34837         * string/Makefile (tests): Change dependencies to ....
34838         (tests-special): ... additions to this variable.
34839         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34840         (tests-special): ... additions to this variable.
34842         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34843         whole file.
34844         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34845         whole file.
34846         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34847         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34849         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34850         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34851         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34852         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34853         * conform/data/libgen.h-data [XPG3]: Likewise.
34854         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34855         * conform/data/ndbm.h-data [XPG3]: Likewise.
34856         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34857         * conform/data/netdb.h-data [XPG3]: Likewise.
34858         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34859         * conform/data/poll.h-data [XPG3]: Likewise.
34860         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34861         * conform/data/strings.h-data [XPG3]: Likewise.
34862         * conform/data/stropts.h-data [XPG3]: Likewise.
34863         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34864         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34865         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34866         Likewise.
34867         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34868         * conform/data/sys/time.h-data [XPG3]: Likewise.
34869         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34870         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34871         * conform/data/sys/un.h-data [XPG3]: Likewise.
34872         * conform/data/syslog.h-data [XPG3]: Likewise.
34873         * conform/data/ucontext.h-data [XPG3]: Likewise.
34874         * conform/data/utmpx.h-data [XPG3]: Likewise.
34875         * conform/data/varargs.h-data [UNIX98]: Enable file.
34877         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34879         * math/libm-test.inc (struct test_f_f_data): Move expected results
34880         into structure for each rounding mode.
34881         (struct test_ff_f_data): Likewise.
34882         (struct test_ff_f_data_nexttoward): Likewise.
34883         (struct test_fi_f_data): Likewise.
34884         (struct test_fl_f_data): Likewise.
34885         (struct test_if_f_data): Likewise.
34886         (struct test_fff_f_data): Likewise.
34887         (struct test_c_f_data): Likewise.
34888         (struct test_f_f1_data): Likewise.
34889         (struct test_fF_f1_data): Likewise.
34890         (struct test_ffI_f1_data): Likewise.
34891         (struct test_c_c_data): Likewise.
34892         (struct test_cc_c_data): Likewise.
34893         (struct test_f_i_data): Likewise.
34894         (struct test_ff_i_data): Likewise.
34895         (struct test_f_l_data): Likewise.
34896         (struct test_f_L_data): Likewise.
34897         (struct test_fFF_11_data): Likewise.
34898         (RM_): New macro.
34899         (RM_FE_DOWNWARD): Likewise.
34900         (RM_FE_TONEAREST): Likewise.
34901         (RM_FE_TOWARDZERO): Likewise.
34902         (RM_FE_UPWARD): Likewise.
34903         (RUN_TEST_LOOP_f_f): Update references to expected results.
34904         (RUN_TEST_LOOP_2_f): Likewise.
34905         (RUN_TEST_LOOP_fff_f): Likewise.
34906         (RUN_TEST_LOOP_c_f): Likewise.
34907         (RUN_TEST_LOOP_f_f1): Likewise.
34908         (RUN_TEST_LOOP_fF_f1): Likewise.
34909         (RUN_TEST_LOOP_fI_f1): Likewise.
34910         (RUN_TEST_LOOP_ffI_f1): Likewise.
34911         (RUN_TEST_LOOP_c_c): Likewise.
34912         (RUN_TEST_LOOP_cc_c): Likewise.
34913         (RUN_TEST_LOOP_f_i): Likewise.
34914         (RUN_TEST_LOOP_f_i_tg): Likewise.
34915         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34916         (RUN_TEST_LOOP_f_b): Likewise.
34917         (RUN_TEST_LOOP_f_b_tg): Likewise.
34918         (RUN_TEST_LOOP_f_l): Likewise.
34919         (RUN_TEST_LOOP_f_L): Likewise.
34920         (RUN_TEST_LOOP_fFF_11): Likewise.
34921         * math/gen-libm-test.pl (parse_args): Output four copies of
34922         expected results for each test.
34924         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34925         (__ASSUME_UTIMES): Remove.
34926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34927         (__ASSUME_UTIMES): Likewise.
34929         * math/gen-auto-libm-tests.c: Update comment on output format.
34930         (output_for_one_input_case): Generate before-rounding and
34931         after-rounding information as conditions on output flags not
34932         floating-point format.
34933         * math/auto-libm-test-out: Regenerated.
34934         * math/gen-libm-test.pl (cond_value): New function.
34935         (or_cond_value): Use cond_value.
34936         (generate_testfile): Handle conditional exceptions.
34938 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34940         * math/libm-test.inc (max_valid_error): New variable.
34941         (init_max_error): Take new argument specifying whether function
34942         results are exactly determined.  Set max_valid_error and bound
34943         other variables for errors based on this argument.
34944         (set_max_error): Do not record results above max_valid_error.
34945         (check_float_internal): Only accept errors of up to 0.5ulps if
34946         also at most max_valid_error.
34947         (START): Take new argument EXACT and pass it to init_max_error.
34948         (acos_test): Update call to START.
34949         (acos_test_tonearest): Likewise.
34950         (acos_test_towardzero): Likewise.
34951         (acos_test_downward): Likewise.
34952         (acos_test_upward): Likewise.
34953         (acosh_test): Likewise.
34954         (asin_test): Likewise.
34955         (asin_test_tonearest): Likewise.
34956         (asin_test_towardzero): Likewise.
34957         (asin_test_downward): Likewise.
34958         (asin_test_upward): Likewise.
34959         (asinh_test): Likewise.
34960         (atan_test): Likewise.
34961         (atanh_test): Likewise.
34962         (atan2_test): Likewise.
34963         (cabs_test): Likewise.
34964         (cacos_test): Likewise.
34965         (cacosh_test): Likewise.
34966         (carg_test): Likewise.
34967         (casin_test): Likewise.
34968         (casinh_test): Likewise.
34969         (catan_test): Likewise.
34970         (catanh_test): Likewise.
34971         (cbrt_test): Likewise.
34972         (ccos_test): Likewise.
34973         (ccosh_test): Likewise.
34974         (ceil_test): Likewise.
34975         (cexp_test): Likewise.
34976         (cimag_test): Likewise.
34977         (clog_test): Likewise.
34978         (clog10_test): Likewise.
34979         (conj_test): Likewise.
34980         (copysign_test): Likewise.
34981         (cos_test): Likewise.
34982         (cos_test_tonearest): Likewise.
34983         (cos_test_towardzero): Likewise.
34984         (cos_test_downward): Likewise.
34985         (cos_test_upward): Likewise.
34986         (cosh_test): Likewise.
34987         (cosh_test_tonearest): Likewise.
34988         (cosh_test_towardzero): Likewise.
34989         (cosh_test_downward): Likewise.
34990         (cosh_test_upward): Likewise.
34991         (cpow_test): Likewise.
34992         (cproj_test): Likewise.
34993         (creal_test): Likewise.
34994         (csin_test): Likewise.
34995         (csinh_test): Likewise.
34996         (csqrt_test): Likewise.
34997         (ctan_test): Likewise.
34998         (ctan_test_tonearest): Likewise.
34999         (ctan_test_towardzero): Likewise.
35000         (ctan_test_downward): Likewise.
35001         (ctan_test_upward): Likewise.
35002         (ctanh_test): Likewise.
35003         (ctanh_test_tonearest): Likewise.
35004         (ctanh_test_towardzero): Likewise.
35005         (ctanh_test_downward): Likewise.
35006         (ctanh_test_upward): Likewise.
35007         (erf_test): Likewise.
35008         (erfc_test): Likewise.
35009         (exp_test): Likewise.
35010         (exp_test_tonearest): Likewise.
35011         (exp_test_towardzero): Likewise.
35012         (exp_test_downward): Likewise.
35013         (exp_test_upward): Likewise.
35014         (exp10_test): Likewise.
35015         (exp10_test_tonearest): Likewise.
35016         (exp10_test_towardzero): Likewise.
35017         (exp10_test_downward): Likewise.
35018         (exp10_test_upward): Likewise.
35019         (pow10_test): Likewise.
35020         (exp2_test): Likewise.
35021         (expm1_test): Likewise.
35022         (expm1_test_tonearest): Likewise.
35023         (expm1_test_towardzero): Likewise.
35024         (expm1_test_downward): Likewise.
35025         (expm1_test_upward): Likewise.
35026         (fabs_test): Likewise.
35027         (fdim_test): Likewise.
35028         (floor_test): Likewise.
35029         (fma_test): Likewise.
35030         (fma_test_towardzero): Likewise.
35031         (fma_test_downward): Likewise.
35032         (fma_test_upward): Likewise.
35033         (fmax_test): Likewise.
35034         (fmin_test): Likewise.
35035         (fmod_test): Likewise.
35036         (fpclassify_test): Likewise.
35037         (frexp_test): Likewise.
35038         (hypot_test): Likewise.
35039         (ilogb_test): Likewise.
35040         (isfinite_test): Likewise.
35041         (finite_test): Likewise.
35042         (isgreater_test): Likewise.
35043         (isgreaterequal_test): Likewise.
35044         (isinf_test): Likewise.
35045         (isless_test): Likewise.
35046         (islessequal_test): Likewise.
35047         (islessgreater_test): Likewise.
35048         (isnan_test): Likewise.
35049         (isnormal_test): Likewise.
35050         (issignaling_test): Likewise.
35051         (isunordered_test): Likewise.
35052         (j0_test): Likewise.
35053         (j1_test): Likewise.
35054         (jn_test): Likewise.
35055         (ldexp_test): Likewise.
35056         (lgamma_test): Likewise.
35057         (gamma_test): Likewise.
35058         (lrint_test): Likewise.
35059         (lrint_test_tonearest): Likewise.
35060         (lrint_test_towardzero): Likewise.
35061         (lrint_test_downward): Likewise.
35062         (lrint_test_upward): Likewise.
35063         (llrint_test): Likewise.
35064         (llrint_test_tonearest): Likewise.
35065         (llrint_test_towardzero): Likewise.
35066         (llrint_test_downward): Likewise.
35067         (llrint_test_upward): Likewise.
35068         (log_test): Likewise.
35069         (log10_test): Likewise.
35070         (log1p_test): Likewise.
35071         (log2_test): Likewise.
35072         (logb_test): Likewise.
35073         (logb_test_downward): Likewise.
35074         (lround_test): Likewise.
35075         (llround_test): Likewise.
35076         (modf_test): Likewise.
35077         (nearbyint_test): Likewise.
35078         (nextafter_test): Likewise.
35079         (nexttoward_test): Likewise.
35080         (pow_test): Likewise.
35081         (pow_test_tonearest): Likewise.
35082         (pow_test_towardzero): Likewise.
35083         (pow_test_downward): Likewise.
35084         (pow_test_upward): Likewise.
35085         (remainder_test): Likewise.
35086         (drem_test): Likewise.
35087         (remainder_test_tonearest): Likewise.
35088         (drem_test_tonearest): Likewise.
35089         (remainder_test_towardzero): Likewise.
35090         (drem_test_towardzero): Likewise.
35091         (remainder_test_downward): Likewise.
35092         (drem_test_downward): Likewise.
35093         (remainder_test_upward): Likewise.
35094         (drem_test_upward): Likewise.
35095         (remquo_test): Likewise.
35096         (rint_test): Likewise.
35097         (rint_test_tonearest): Likewise.
35098         (rint_test_towardzero): Likewise.
35099         (rint_test_downward): Likewise.
35100         (rint_test_upward): Likewise.
35101         (round_test): Likewise.
35102         (scalb_test): Likewise.
35103         (scalbn_test): Likewise.
35104         (scalbln_test): Likewise.
35105         (signbit_test): Likewise.
35106         (sin_test): Likewise.
35107         (sin_test_tonearest): Likewise.
35108         (sin_test_towardzero): Likewise.
35109         (sin_test_downward): Likewise.
35110         (sin_test_upward): Likewise.
35111         (sincos_test): Likewise.
35112         (sinh_test): Likewise.
35113         (sinh_test_tonearest): Likewise.
35114         (sinh_test_towardzero): Likewise.
35115         (sinh_test_downward): Likewise.
35116         (sinh_test_upward): Likewise.
35117         (sqrt_test): Likewise.
35118         (sqrt_test_tonearest): Likewise.
35119         (sqrt_test_towardzero): Likewise.
35120         (sqrt_test_downward): Likewise.
35121         (sqrt_test_upward): Likewise.
35122         (tan_test): Likewise.
35123         (tan_test_tonearest): Likewise.
35124         (tan_test_towardzero): Likewise.
35125         (tan_test_downward): Likewise.
35126         (tan_test_upward): Likewise.
35127         (tanh_test): Likewise.
35128         (tgamma_test): Likewise.
35129         (trunc_test): Likewise.
35130         (y0_test): Likewise.
35131         (y1_test): Likewise.
35132         (yn_test): Likewise.
35133         (significand_test): Likewise.
35135         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35136         individual tests in comment.
35137         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35138         (prev_max_error): New variable.
35139         (prev_real_max_error): Likewise.
35140         (prev_imag_max_error): Likewise.
35141         (compare_ulp_data): Don't refer to test names in comment.
35142         (find_test_ulps): Remove function.
35143         (find_function_ulps): Likewise.
35144         (find_complex_function_ulps): Likewise.
35145         (init_max_error): Take function name as argument.  Look up ulps
35146         for that function.
35147         (print_ulps): Remove function.
35148         (print_max_error): Use prev_max_error instead of calling
35149         find_function_ulps.
35150         (print_complex_max_error): Use prev_real_max_error and
35151         prev_imag_max_error instead of calling find_complex_function_ulps.
35152         (check_float_internal): Take max_ulp parameter instead of calling
35153         find_test_ulps.  Don't call print_ulps.
35154         (check_float): Update call to check_float_internal.
35155         (check_complex): Update calls to check_float_internal.
35156         (START): Pass argument to init_max_error.
35157         * math/gen-libm-test.pl (%results): Don't include "kind"
35158         information.
35159         (parse_ulps): Don't handle ulps of individual tests.
35160         (print_ulps_file): Likewise.
35161         (output_ulps): Likewise.
35162         * math/README.libm-test: Update.
35163         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35164         individual tests.
35165         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35166         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35167         * sysdeps/arm/libm-test-ulps: Likewise.
35168         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35169         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35170         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35171         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35172         * sysdeps/microblaze/libm-test-ulps: Likewise.
35173         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35175         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35176         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35177         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35178         * sysdeps/sh/libm-test-ulps: Likewise.
35179         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35180         * sysdeps/tile/libm-test-ulps: Likewise.
35181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35183 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35185         * math/libm-test.inc (print_complex_max_error): Check separately
35186         whether real and imaginary errors are within allowed range and
35187         pass 0 to print_complex_function_ulps instead of value within
35188         allowed range.
35190 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35192         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35193         formatting.
35194         (get_handles_fopen): Likewise.
35195         (do_write_test): Likewise.
35197         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35199         * libio/fileops.c (do_ftell): Use cached offset when
35200         available.
35201         * libio/iofwide.c (do_ftell_wide): Likewise.
35202         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35203         _IO_file_attach.
35204         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35206         [BZ #16532]
35207         * libio/libioP.h (get_file_offset): New function.
35208         * libio/fileops.c (get_file_offset): Likewise.
35209         (do_ftell): Likewise.
35210         (_IO_new_file_seekoff): Split out ftell logic.
35211         * libio/wfileops.c (do_ftell_wide): Likewise.
35212         (_IO_wfile_seekoff): Split out ftell logic.
35213         * libio/tst-ftell-active-handler.c: New test case.
35214         * libio/Makefile (tests): Add it.
35216 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35218         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35219         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35221 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35223         [BZ #16639]
35224         * nscd/connections.c (nscd_init): Call do_exit.
35225         (start_threads): Call do_exit and notify_parent.
35226         (begin_drop_privileges): Call do_exit.
35227         (finish_drop_privileges): Likewise.
35228         * nscd/selinux.c (preserve_capabilities): Likewise.
35229         (install_real_capabilities): Likewise.
35230         (nscd_selinux_enabled): Likewise.
35231         (avc_create_thread): Likewise.
35232         (avc_alloc_lock): Likewise.
35233         (nscd_avc_init): Likewise.
35234         * nscd/nscd.c (parent_fd): New static variable.
35235         (main): Create a pipe between parent and child processes.
35236         Skip closing parent_fd.
35237         (monitor_child): New function.
35238         (do_exit): Likewise.
35239         (notify_parent): Likewise.
35240         * nscd/nscd.h (notify_parent): Likewise.
35241         (do_exit): Likewise.
35243 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35245         * malloc/malloc.c (__libc_calloc): Revert last change.
35247 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35251 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35253         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35255         implementation.
35256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35257         (__libc_ifunc_impl_list): Likewise.
35258         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35259         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35260         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35261         * string/strrchr.c: Define STRRCHR.
35263 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35265         * benchtest/bench-strtok.c (simple_strtok): Delete.
35266         (strtok_string): Use as benchmark.
35267         * string/strtok (STRTOK): New macro.
35269 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35271         * manual/threads.texi: Add header and standard comments to all
35272         functions.
35274         * elf/dl-lookup.c (check_match): New function.
35275         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35276         (do_lookup_x): Remove nested function check_match. Use non-nested
35277         function check_match.
35279 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35281         * csu/Makefile (generated, before-compile): Use += rather than =.
35282         * catgets/Makefile (generated, generated-dirs): Likewise.
35283         * debug/Makefile (generated): Likewise.
35284         * dlfcn/Makefile (generated): Likewise.
35285         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35286         * iconvdata/Makefile (before-compile, generated): Likewise.
35287         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35288         * libio/Makefile (generated): Likewise.
35289         * malloc/Makefile (generated): Likewise.
35290         * manual/Makefile (generated, generated-dirs): Likewise.
35291         * misc/Makefile (generated): Likewise.
35292         * posix/Makefile (generated): Likewise.
35293         * resolv/Makefile (generated): Likewise.
35294         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35295         * timezone/Makefile (generated, generated-dirs): Likewise.
35297         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35299 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35302         power8 implementation.
35303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35304         file: POWER8 llround ifunc implementation.
35305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35306         (__lllround): Add POWER8 implementation.
35307         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35308         POWER8 llround implementation.
35310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35311         power8 implementation.
35312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35313         file: POWER8 llrint ifunc implementation.
35314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35315         Add POWER8 implementation.
35316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35317         POWER8 llrint implementation.
35319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35320         power8 implementation.
35321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35322         file: POWER8 finite ifunc implementation.
35323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35324         Add POWER8 implementation.
35325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35326         Likewise.
35327         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35328         POWER8 finite implementation.
35329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35332         power8 implementation.
35333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35334         file: POWER8 isinf ifunc implementation.
35335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35336         POWER8 implementation.
35337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35338         Likewise.
35339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35340         isinf implementation.
35341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35343         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35344         (INIT_ARCH): Add hwcap2 initialization.
35345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35346         power8 implementation.
35347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35348         file: POWER8 isnan ifunc implementation.
35349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35350         POWER8 implementation.
35351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35352         Likewise.
35353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35354         isnan implementation.
35355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35357 2014-02-27  Joey Ye  <joey.ye@arm.com>
35359         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35360         (_FP_NANFRAC_Q): Set to zero.
35362 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35364         [BZ #16623]
35365         * math/auto-libm-test-in: New test inputs.
35366         * math/auto-libm-test-out: Regenerate.
35367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35368         and DA.
35369         (__cos): Likewise.
35370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35372 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35374         * scripts/evaluate-test.sh: Take new argument indicating whether
35375         failure is expected.
35376         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35377         indicating whether failure is expected.
35378         * conform/Makefile (test-xfail-run-conformtest): New variable.
35379         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35380         level.
35381         * posix/Makefile (test-xfail-annexc): New variable.
35382         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35384 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35386         * argp/Makefile: Include Makeconfig immediately after defining
35387         subdir.
35388         * assert/Makefile: Likewise.
35389         * benchtests/Makefile: Likewise.
35390         * catgets/Makefile: Likewise.
35391         * conform/Makefile: Likewise.
35392         * crypt/Makefile: Likewise.
35393         * csu/Makefile: Likewise.
35394         (all): Remove target.
35395         * ctype/Makefile: Include Makeconfig immediately after defining
35396         subdir.
35397         * debug/Makefile: Likewise.
35398         * dirent/Makefile: Likewise.
35399         * dlfcn/Makefile: Likewise.
35400         * gmon/Makefile: Likewise.
35401         * gnulib/Makefile: Likewise.
35402         * grp/Makefile: Likewise.
35403         * gshadow/Makefile: Likewise.
35404         * hesiod/Makefile: Likewise.
35405         * hurd/Makefile: Likewise.
35406         (all): Remove target.
35407         * iconvdata/Makefile: Include Makeconfig immediately after
35408         defining subdir.
35409         * inet/Makefile: Likewise.
35410         * intl/Makefile: Likewise.
35411         * io/Makefile: Likewise.
35412         * libio/Makefile: Likewise.
35413         (all): Remove target.
35414         * locale/Makefile: Include Makeconfig immediately after defining
35415         subdir.
35416         * login/Makefile: Likewise.
35417         * mach/Makefile: Likewise.
35418         (all): Remove target.
35419         * malloc/Makefile: Include Makeconfig immediately after defining
35420         subdir.
35421         (all): Remove target.
35422         * manual/Makefile: Include Makeconfig immediately after defining
35423         subdir.
35424         * math/Makefile: Likewise.
35425         * misc/Makefile: Likewise.
35426         * nis/Makefile: Likewise.
35427         * nss/Makefile: Likewise.
35428         * po/Makefile: Likewise.
35429         (all): Remove target.
35430         * posix/Makefile: Include Makeconfig immediately after defining
35431         subdir.
35432         * pwd/Makefile: Likewise.
35433         * resolv/Makefile: Likewise.
35434         * resource/Makefile: Likewise.
35435         * rt/Makefile: Likewise.
35436         * setjmp/Makefile: Likewise.
35437         * shadow/Makefile: Likewise.
35438         * signal/Makefile: Likewise.
35439         * socket/Makefile: Likewise.
35440         * soft-fp/Makefile: Likewise.
35441         * stdio-common/Makefile: Likewise.
35442         * stdlib/Makefile: Likewise.
35443         * streams/Makefile: Likewise.
35444         * string/Makefile: Likewise.
35445         * sunrpc/Makefile: Likewise.
35446         (all): Remove target.
35447         * sysvipc/Makefile: Include Makeconfig immediately after defining
35448         subdir.
35449         * termios/Makefile: Likewise.
35450         * time/Makefile: Likewise.
35451         * timezone/Makefile: Likewise.
35452         (all): Remove target.
35453         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35454         subdir.
35455         * wctype/Makefile: Likewise.
35457 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35459         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35460         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35461         (libc_feholdexcept_setround_mips): Ditto.
35462         (libc_feholdsetround): New.
35463         (libc_feholdsetroundf): New.
35464         (libc_feholdsetroundl): New.
35465         (libc_feupdateenv_test_mips): New.
35466         (libc_feupdateenv_test): New.
35467         (libc_feupdateenv_testf): New.
35468         (libc_feupdateenv_testl): New.
35469         (libc_feresetround): New.
35470         (libc_feresetroundf): New.
35471         (libc_feresetroundl): New.
35472         (libc_fetestexcept_mips): New.
35473         (libc_fetestexcept): New.
35474         (libc_fetestexceptf): New.
35475         (libc_fetestexceptl): New.
35476         (HAVE_RM_CTX): New.
35477         (libc_feholdexcept_setround_mips_ctx): New.
35478         (libc_feholdexcept_setround_ctx): New.
35479         (libc_feholdexcept_setroundf_ctx): New.
35480         (libc_feholdexcept_setroundl_ctx): New.
35481         (libc_fesetenv_mips_ctx): New.
35482         (libc_fesetenv_ctx): New.
35483         (libc_fesetenv_ctxf): New.
35484         (libc_fesetenv_ctxl): New.
35485         (libc_feupdateenv_mips_ctx): New.
35486         (libc_feupdateenv_ctx): New.
35487         (libc_feupdateenvf_ctx): New.
35488         (libc_feupdateenvl_ctx): New.
35489         (libc_feholdsetround_mips_ctx): New.
35490         (libc_feholdsetround_ctx): New.
35491         (libc_feholdsetroundf_ctx): New.
35492         (libc_feholdsetroundl_ctx): New.
35493         (libc_feresetround_mips_ctx): New.
35494         (libc_feresetround_ctx): New.
35495         (libc_feresetroundf_ctx): New.
35496         (libc_feresetroundl_ctx): New.
35498 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35500         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35502         * manual/ipc.texi: New file.
35503         * manual/Makefile (chapters): Add ipc.
35504         * manual/job.texi: Add "Inter-Process Communication" to next.
35505         * manual/process.texi: Add "Inter-Process Communication" to prev.
35507 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35511 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35513         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35515         * manual/arith.texi: Fix spaces after sentences.
35516         * manual/charset.texi: Likewise.
35517         * manual/errno.texi: Likewise.
35518         * manual/install.texi: Likewise.
35519         * manual/llio.texi: Likewise.
35520         * manual/locale.texi: Likewise.
35521         * manual/maint.texi: Likewise.
35522         * manual/math.texi: Likewise.
35523         * manual/memory.texi: Likewise.
35524         * manual/message.texi: Likewise.
35525         * manual/probes.texi: Likewise.
35526         * manual/resource.texi: Likewise.
35527         * manual/signal.texi: Likewise.
35528         * manual/socket.texi: Likewise.
35529         * manual/stdio.texi: Likewise.
35530         * manual/string.texi: Likewise.
35531         * manual/time.texi: Likewise.
35532         * manual/users.texi: Likewise.
35534 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35536         [BZ #16632]
35537         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35538         _DEFAULT_SOURCE is defined.
35540 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35541             Carlos O'Donell  <carlos@redhat.com>
35543         [BZ #16613]
35544         * elf/dl-tls.c (_dl_count_modids): New function.
35545         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35546         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35547         audit library and increment generation counter.
35548         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35549         * elf/tst-audit9.c: New file.
35550         * elf/tst-auditmod9a.c: New file.
35551         * elf/tst-auditmod9b.c: New file.
35552         * elf/Makefile: Add rules to build and run tst-audit9.
35554 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35556         [BZ #15347]
35557         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35559 2014-02-25  Will Newton  <will.newton@linaro.org>
35561         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35562         (__longjmp): Restore sp and lr before restoring callee
35563         saved registers.  Add longjmp and longjmp_target
35564         SystemTap probe point.
35565         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35566         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35567         Define to zero to match jmpbuf layout.
35568         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35569         (__sigsetjmp): Save sp and lr before saving callee
35570         saved registers.  Add setjmp SystemTap probe point.
35572 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35574         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35576 2014-02-24  Andreas Schwab  <schwab@suse.de>
35578         [BZ #15804]
35579         * elf/pldd.c (wait_for_ptrace_stop): New function.
35580         (main): Call it after attaching.
35582 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35584         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35585         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35586         Versions files is now verboten.
35587         * hurd/Versions (libc: GLIBC_2.0):
35588         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35589         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35590         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35591         * mach/Versions: Likewise.
35593         * csu/Versions: Remove unused %include.
35594         * resolv/Versions: Likewise.
35596 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35598         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35599         ($(objpfx)check-local-headers.out): Likewise.
35600         ($(objpfx)begin-end-check.out): Likewise.
35601         * Makerules (check-abi-%.out): Likewise.
35602         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35603         ($(objpfx)test2.cat): Likewise.
35604         ($(objpfx)de/libc.cat): Likewise.
35605         ($(objpfx)test-gencat.out): Likewise.
35606         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35607         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35608         ($(objpfx)noload-mem): Likewise.
35609         ($(objpfx)tst-pathopt.out): Likewise.
35610         ($(objpfx)tst-rtld-load-self.out): Likewise.
35611         ($(objpfx)tst-array1-cmp.out): Likewise.
35612         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35613         ($(objpfx)tst-array2-cmp.out): Likewise.
35614         ($(objpfx)tst-array3-cmp.out): Likewise.
35615         ($(objpfx)tst-array4-cmp.out): Likewise.
35616         ($(objpfx)tst-array5-cmp.out): Likewise.
35617         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35618         ($(objpfx)check-textrel.out): Likewise.
35619         ($(objpfx)check-execstack.out): Likewise.
35620         ($(objpfx)check-localplt.out): Likewise.
35621         ($(objpfx)order2-cmp.out): Likewise.
35622         ($(objpfx)tst-leaks1-mem): Likewise.
35623         ($(objpfx)tst-leaks1-static-mem): Likewise.
35624         ($(objpfx)tst-initorder-cmp.out): Likewise.
35625         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35626         ($(objpfx)tst-unused-dep.out): Likewise.
35627         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35628         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35629         * iconv/Makefile (test-iconvconfig): Likewise.
35630         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35631         ($(objpfx)iconv-test.out): Likewise.
35632         ($(objpfx)tst-tables.out): Likewise.
35633         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35634         ($(objpfx)tst-gettext.out): Likewise.
35635         ($(objpfx)tst-translit.out): Likewise.
35636         ($(objpfx)tst-gettext2.out): Likewise.
35637         ($(objpfx)tst-gettext4.out): Likewise.
35638         ($(objpfx)tst-gettext6.out): Likewise.
35639         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35640         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35641         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35642         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35643         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35644         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35645         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35646         ($(objpfx)wordexp-tst.out): Likewise.
35647         ($(objpfx)annexc.out): Likewise.
35648         ($(objpfx)tst-fnmatch-mem): Likewise.
35649         ($(objpfx)bug-regex2-mem): Likewise.
35650         ($(objpfx)bug-regex14-mem): Likewise.
35651         ($(objpfx)bug-regex21-mem): Likewise.
35652         ($(objpfx)bug-regex31-mem): Likewise.
35653         ($(objpfx)tst-vfork3-mem): Likewise.
35654         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35655         ($(objpfx)tst-pcre-mem): Likewise.
35656         ($(objpfx)tst-boost-mem): Likewise.
35657         ($(objpfx)tst-getconf.out): Likewise.
35658         ($(objpfx)bug-ga2-mem): Likewise.
35659         ($(objpfx)bug-glob2-mem): Likewise.
35660         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35661         ($(objpfx)mtrace-tst-leaks2): Likewise.
35662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35663         ($(objpfx)tst-printf.out): Likewise.
35664         ($(objpfx)tst-setvbuf1.out): Likewise.
35665         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35666         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35667         ($(objpfx)tst-fmtmsg.out): Likewise.
35668         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35671         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35672         * bits/sigaction.h [__USE_MISC]: Likewise.
35673         * bits/waitstatus.h: Update #endif comments.
35674         * ctype/ctype.h: Likewise.
35675         * dirent/dirent.h: Likewise.
35676         [__USE_MISC]: Remove redundant conditionals.
35677         * grp/grp.h: Update #endif comments.
35678         [__USE_GNU]: Remove redundant conditionals.
35679         [__USE_MISC]: Likewise.
35680         * inet/netinet/in.h [__USE_GNU]: Likewise.
35681         * io/sys/stat.h [__USE_MISC]: Likewise.
35682         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35683         * libio/bits/stdio.h: Update #endif comments.
35684         [__USE_MISC]: Remove redundant conditionals.
35685         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35686         * libio/stdio.h: Update #endif comments.
35687         [__USE_MISC]: Remove redundant conditionals.
35688         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35689         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35690         * math/math.h: Update #else and #endif comments.
35691         [__USE_MISC]: Remove redundant conditionals.
35692         * misc/sys/uio.h: Update #endif comments.
35693         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35694         * posix/glob.h [__USE_MISC]: Likewise.
35695         * posix/sys/types.h: Update #endif comments.
35696         [__USE_MISC]: Remove redundant conditionals.
35697         * posix/sys/wait.h: Update #endif comments.
35698         [__USE_MISC]: Remove redundant conditionals.
35699         * posix/unistd.h: Update #endif comments.
35700         [__USE_MISC]: Remove redundant conditionals.
35701         * pwd/pwd.h [__USE_GNU]: Likewise.
35702         [__USE_MISC]: Likewise.
35703         * resolv/netdb.h [__USE_GNU]: Likewise.
35704         * signal/signal.h: Update #endif comments.
35705         [__USE_MISC]: Remove redundant conditionals.
35706         * stdlib/stdlib.h: Update #else and #endif comments.
35707         [__USE_MISC]: Remove redundant conditionals.
35708         [__USE_GNU]: Likewise.
35709         * string/bits/string2.h [__USE_MISC]: Likewise.
35710         * string/string.h: Update #endif comments.
35711         [__USE_MISC]: Remove redundant conditionals.
35712         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35713         Likewise.
35714         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35715         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35716         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35717         Likewise.
35718         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35719         Likewise.
35720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35721         comments.
35722         [__USE_MISC]: Remove redundant conditionals.
35723         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35724         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35725         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35726         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35727         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35728         Likewise.
35729         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35730         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35731         Likewise.
35732         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35733         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35734         Likewise.
35735         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35736         Likewise.
35737         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35738         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35739         Likewise.
35740         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35741         Likewise.
35742         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35743         * sysdeps/x86/bits/string.h: Update #endif comments.
35744         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35745         conditionals.
35746         * time/sys/time.h: Update #endif comments.
35747         * time/time.h: Likewise.
35748         [__USE_MISC]: Remove redundant conditionals.
35750 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35752         [BZ #16600]
35753         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35755 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35757         * Versions.def (librt): Add GLIBC_2.17.
35759 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35761         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35762         synonym for _SYS_AUXV_H to allow direct inclusion.
35763         * sysdeps/sparc/bits/hwcap.h: Likewise.
35764         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35765         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35766         * sysdeps/sparc/sysdep.h: Likewise.
35768 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35770         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35772 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35774         * benchtests/bench-strrchr.c: Print length instead of position.
35776 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35778         [BZ #16611]
35779         * sysdeps/unix/sysv/linux/kernel-features.h
35780         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35781         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35782         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35783         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35784         Likewise.
35785         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35786         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35787         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35788         (__ASSUME_SENDMMSG): Define instead of using previous
35789         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35790         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35791         (__ASSUME_SENDMMSG_SYSCALL): Define.
35792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35793         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35794         Likewise.
35795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35796         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35797         Likewise.
35798         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35799         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35800         Likewise.
35801         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35802         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35803         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35804         [__ASSUME_SENDMMSG]: Change conditionals to
35805         [__ASSUME_SENDMMSG_SOCKETCALL].
35806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35807         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35808         Define.
35809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35810         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35811         Likewise.
35812         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35813         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35814         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35815         [!__ASSUME_SENDMMSG]: Change conditional to
35816         [!__ASSUME_SENDMMSG_SOCKETCALL].
35817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35818         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35819         Define.
35821         [BZ #16610]
35822         * sysdeps/unix/sysv/linux/kernel-features.h
35823         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35824         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35825         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35826         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35827         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35828         [__i386__ || __sparc__]
35829         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35830         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35831         (__ASSUME_RECVMMSG): Define instead of using previous
35832         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35834         (__ASSUME_RECVMMSG_SYSCALL): Define.
35835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35837         Likewise.
35838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35839         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35840         Likewise.
35841         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35843         Likewise.
35844         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35845         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35846         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35847         [__ASSUME_RECVMMSG]: Change condition to
35848         [__ASSUME_RECVMMSG_SOCKETCALL].
35849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35851         Define.
35852         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35853         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35855         Likewise.
35856         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35857         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35858         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35859         [!__ASSUME_RECVMMSG]: Change condition to
35860         [!__ASSUME_RECVMMSG_SOCKETCALL].
35861         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35862         (__ASSUME_RECVMMSG_SYSCALL): Define.
35864         [BZ #16609]
35865         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35866         __powerpc__ || __s390__ || __sh__ || __sparc__]
35867         (__ASSUME_SOCKETCALL): Define.
35868         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35869         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35870         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35871         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35872         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35873         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35874         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35875         (__ASSUME_ACCEPT4): Define instead of using previous
35876         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35877         __powerpc__ || __sparc__ || __s390__)] condition.
35878         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35879         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35880         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35881         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35882         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35883         [!__ASSUME_ACCEPT4]: Change condition to
35884         [!__ASSUME_ACCEPT4_SOCKETCALL].
35885         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35886         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35887         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35889         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35890         __ASSUME_ACCEPT4_SYSCALL.
35891         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35892         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35893         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35894         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35895         __ASSUME_ACCEPT4_SYSCALL.
35896         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35897         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35898         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35899         [__ASSUME_ACCEPT4]: Change condition to
35900         [__ASSUME_ACCEPT4_SOCKETCALL].
35901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35902         (__ASSUME_SOCKETCALL): Define.
35903         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35905         (__ASSUME_SOCKETCALL): Define.
35906         (__ASSUME_ACCEPT4): Remove.
35907         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35908         Define.
35909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35910         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35911         Likewise.
35912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35913         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35915         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35916         macro.
35917         (HWCAP_ARM_LPAE): Likewise.
35918         (HWCAP_ARM_EVTSTRM): Likewise.
35919         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35920         Add vpfd32, lpae and evtstrm.
35921         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35922         Increase to 22.
35924 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35926         * math/auto-libm-test-in: Add tests of clog10.
35927         * math/auto-libm-test-out: Regenerated.
35928         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35929         * sysdeps/i386/fpu/libm-test-ulps: Update.
35930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35932 2014-02-18  Andreas Schwab  <schwab@suse.de>
35934         [BZ #16574]
35935         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35936         Store non-zero if the second buffer was newly allocated.
35937         (send_dg): Likewise.
35938         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35939         to send_vc and send_dg.
35940         (res_nsend): Pass NULL for ansp2_malloced.
35941         * resolv/res_query.c (__libc_res_nquery): Add parameter
35942         answerp2_malloced and pass it down to __libc_res_nsend.
35943         (res_nquery): Pass additional NULL to __libc_res_nquery.
35944         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35945         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35946         second answer buffer if answerp2_malloced was set.
35947         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35948         (__libc_res_nquerydomain): Add parameter
35949         answerp2_malloced and pass it down to __libc_res_nquery.
35950         (res_nquerydomain): Pass additional NULL to
35951         __libc_res_nquerydomain.
35952         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35953         additional NULL to __libc_res_nsend and __libc_res_nquery.
35954         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35955         additional NULL to __libc_res_nsearch.
35956         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35957         parameter of __libc_res_nsearch to check for separately allocated
35958         second buffer.
35959         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35960         __libc_res_nquery.
35961         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35962         additional NULL to __libc_res_nquery.
35963         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35964         __libc_res_nsearch.
35965         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35966         * include/resolv.h: Update prototypes of __libc_res_nquery,
35967         __libc_res_nsearch, __libc_res_nsend.
35969 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35971         * math/auto-libm-test-in: Add tests of fma.
35972         * math/auto-libm-test-out: Regenerated.
35973         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35974         (fma_towardzero_test_data): Likewise.
35975         (fma_downward_test_data): Likewise.
35976         (fma_upward_test_data): Likewise.
35977         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35978         mpc_mode.
35979         (rounding_modes): Add values for new field.
35980         (func_calc_method): Add value mpfr_fff_f.
35981         (func_calc_desc): Add mpfr_fff_f union field.
35982         (test_function): Add field exact_args.
35983         (FUNC): Add macro argument EXACT_ARGS.
35984         (FUNC_mpfr_f_f): Update call to FUNC.
35985         (FUNC_mpfr_f_f): Likewise.
35986         (FUNC_mpfr_ff_f): Likewise.
35987         (FUNC_mpfr_if_f): Likewise.
35988         (FUNC_mpc_c_f): Likewise.
35989         (FUNC_mpc_c_c): Likewise.
35990         (test_functions): Add fma.  Update calls to FUNC.
35991         (handle_input_arg): Add argument exact_args.
35992         (add_test): Update call to handle_input_arg.
35993         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35994         (output_for_one_input_case): Update call to calc_generic_results.
35995         Recalculate exact zero results in each rounding mode.
35997         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35998         non-negative before setting low bit.
35999         * math/auto-libm-test-in: Mark one asin test possibly having
36000         spurious underflow.
36001         * math/auto-libm-test-out: Regenerated.
36002         * sysdeps/i386/fpu/libm-test-ulps: Update.
36003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36005 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36007         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36008         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36009         ports/sysdeps/unix/sysv/linux/microblaze.
36010         * README: Add missing listing for microblaze*-*-linux-gnu.
36012 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36015         duplicate code
36017 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36019         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36020         * sysdeps/unix/sysv/linux/ia64: Move directory from
36021         ports/sysdeps/unix/sysv/linux/ia64.
36022         * README: Update listing for ia64-*-linux-gnu.
36024 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36025             Joseph Myers  <joseph@codesourcery.com>
36027         * Makeconfig (test-name): New variable.
36028         (evaluate-test): Likewise.
36029         * Makerules (do-test-clean): Remove .test-result files.
36030         (common-mostlyclean): Likewise.
36031         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36032         * scripts/evaluate-test.sh: New file.
36034 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36036         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36037         separate $(objpfx)tst-fopenloc-cmp.out and
36038         $(objpfx)tst-fopenloc-mem.out targets.
36039         (tests): Update dependencies.
36040         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36041         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36042         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36043         (tst-rxspencer-no-utf8-ARGS): New variable.
36044         (tst-rxspencer-no-utf8-ENV): Likewise.
36045         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36046         instead of $(objpfx)tst-rxspencer-mem.
36047         ($(objpfx)tst-rxspencer-mem): Change target to
36048         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36049         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36050         * posix/tst-rxspencer-no-utf8.c: New file.
36052         * elf/Makefile ($(objpfx)order.out): Remove rule.
36053         [$(run-built-tests) = yes] (tests): Depend on
36054         $(objpfx)order-cmp.out.
36055         ($(objpfx)order-cmp.out): New rule.
36056         [$(run-built-tests) = yes] (tests): Depend on
36057         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36058         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36059         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36060         $(objpfx)tst-array5-static-cmp.out.
36061         ($(objpfx)tst-array1.out): Remove rule.
36062         ($(objpfx)tst-array1-cmp.out): New rule.
36063         ($(objpfx)tst-array1-static.out): Remove rule.
36064         ($(objpfx)tst-array1-static-cmp.out): New rule.
36065         ($(objpfx)tst-array2.out): Remove rule.
36066         ($(objpfx)tst-array2-cmp.out): New rule.
36067         ($(objpfx)tst-array3.out): Remove rule.
36068         ($(objpfx)tst-array3-cmp.out): New rule.
36069         ($(objpfx)tst-array4.out): Remove rule.
36070         ($(objpfx)tst-array4-cmp.out): New rule.
36071         ($(objpfx)tst-array5.out): Remove rule.
36072         ($(objpfx)tst-array5-cmp.out): New rule.
36073         ($(objpfx)tst-array5-static.out): Remove rule.
36074         ($(objpfx)tst-array5-static-cmp.out): New rule.
36075         [$(run-built-tests) = yes] (tests): Depend on
36076         $(objpfx)order2-cmp.out.
36077         ($(objpfx)order2.out): Remove rule.
36078         ($(objpfx)order2-cmp.out): New rule.
36079         ($(objpfx)tst-initorder.out): Remove rule.
36080         [$(run-built-tests) = yes] (tests): Depend on
36081         $(objpfx)tst-initorder-cmp.out.
36082         ($(objpfx)tst-initorder-cmp.out): New rule.
36083         ($(objpfx)tst-initorder2.out): Remove rule.
36084         [$(run-built-tests) = yes] (tests): Depend on
36085         $(objpfx)tst-initorder2-cmp.out.
36086         ($(objpfx)tst-initorder2-cmp.out): New rule.
36087         [$(run-built-tests) = yes] (tests): Depend on
36088         $(objpfx)tst-unused-dep-cmp.out.
36089         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36090         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36091         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36092         on $(objpfx)tst-setvbuf1-cmp.out.
36093         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36094         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36095         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36096         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36097         ($(objpfx)tst-svc.out): Remove rule.
36098         ($(objpfx)tst-svc-cmp.out): New rule.
36100 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36102         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36103         * ctype/ctype.h [__USE_MISC]: Likewise.
36104         * dirent/dirent.h [__USE_MISC]: Likewise.
36105         * grp/grp.h [__USE_MISC]: Likewise.
36106         * io/fcntl.h [__USE_MISC]: Likewise.
36107         * io/sys/stat.h [__USE_MISC]: Likewise.
36108         * libio/stdio.h [__USE_MISC]: Likewise.
36109         * posix/unistd.h [__USE_MISC]: Likewise.
36110         * pwd/pwd.h [__USE_MISC]: Likewise.
36111         * stdlib.h [__USE_MISC]: Likewise.
36112         * string/bits/string2.h [__USE_MISC]: Likewise.
36113         * string/string.h [__USE_MISC]: Likewise.
36114         * time/time.h [__USE_MISC]: Likewise.
36116 2014-02-13  Andreas Schwab  <schwab@suse.de>
36118         [BZ #16574]
36119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36120         second answer buffer if it was separately allocated.
36122 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36124         * sysdeps/mips/math-tests.h: Include <features.h>.
36125         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36126         (ROUNDING_TESTS_long_double): Do not define.
36127         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36128         (EXCEPTION_TESTS_long_double): Likewise.
36129         * sysdeps/mips/mips64/libm-test-ulps: Update.
36131         * include/features.h (__USE_BSD): Remove macro definitions.
36132         (__USE_SVID): Likewise.
36133         (_BSD_SOURCE): Likewise.
36134         (_SVID_SOURCE): Likewise.
36135         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36136         from definition of _DEFAULT_SOURCE.
36137         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36138         [_DEFAULT_SOURCE].
36139         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36140         * bits/mman.h [__USE_BSD]: Likewise.
36141         * bits/termios.h [__USE_BSD]: Likewise.
36142         * bits/waitstatus.h [__USE_BSD]: Likewise.
36143         * ctype/ctype.h [__USE_SVID]: Likewise.
36144         * dirent/dirent.h [__USE_BSD]: Likewise.
36145         * grp/grp.h [__USE_SVID]: Likewise.
36146         [__USE_BSD]: Likewise.
36147         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36148         * io/fcntl.h [__USE_BSD]: Likewise.
36149         * io/ftw.h [__USE_BSD]: Likewise.
36150         * io/sys/stat.h [__USE_BSD]: Likewise.
36151         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36152         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36153         * libio/stdio.h [__USE_SVID]: Likewise.
36154         [__USE_BSD]: Likewise.
36155         * math/math.h [__USE_SVID]: Likewise.
36156         [__USE_BSD]: Likewise.
36157         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36158         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36159         * misc/search.h [__USE_SVID]: Likewise.
36160         * misc/sys/mman.h [__USE_BSD]: Likewise.
36161         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36162         * misc/sys/uio.h [__USE_BSD]: Likewise.
36163         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36164         * posix/glob.h [__USE_BSD]: Likewise.
36165         * posix/regex.h [__USE_BSD]: Likewise.
36166         * posix/sys/types.h [__USE_BSD]: Likewise.
36167         [__USE_SVID]: Likewise.
36168         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36169         * posix/sys/wait.h [__USE_BSD]: Likewise.
36170         [__USE_SVID]: Likewise.
36171         * posix/unistd.h [__USE_BSD]: Likewise.
36172         [__USE_SVID]: Likewise.
36173         * pwd/pwd.h [__USE_SVID]: Likewise.
36174         * resolv/netdb.h [__USE_BSD]: Likewise.
36175         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36176         * signal/signal.h [__USE_BSD]: Likewise.
36177         [__USE_SVID]: Likewise.
36178         * socket/sys/socket.h [__USE_BSD]: Likewise.
36179         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36180         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36181         [__USE_SVID]: Likewise.
36182         * string/bits/string2.h [__USE_BSD]: Likewise.
36183         [__USE_SVID]: Likewise.
36184         * string/bits/string3.h [__USE_BSD]: Likewise.
36185         * string/endian.h [__USE_BSD]: Likewise.
36186         * string/string.h [__USE_SVID]: Likewise.
36187         [__USE_BSD]: Likewise.
36188         * string/strings.h [__USE_BSD]: Likewise.
36189         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36190         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36191         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36192         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36193         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36194         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36195         Likewise.
36196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36197         Likewise.
36198         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36199         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36200         Likewise.
36201         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36202         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36203         Likewise.
36204         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36205         Likewise.
36206         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36207         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36208         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36209         Likewise.
36210         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36211         Likewise.
36212         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36213         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36214         * termios/termios.h [__USE_BSD]: Likewise.
36215         * time/sys/time.h [__USE_BSD]: Likewise.
36216         * time/time.h [__USE_BSD]: Likewise.
36217         [__USE_SVID]: Likewise.
36219         * Makefile (subdir_targets): Remove subdir_lint.out.
36221         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36222         (do-tst-printf): Likewise.
36223         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36224         $(objpfx)tst-printf.out.
36226         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36228         * Makerules (check-abi-%): Change target to
36229         $(objpfx)check-abi-%.out.
36230         (check-abi target): Update dependencies.
36231         (check-abi-pattern variable): Redirect output of diff to $@.
36232         (check-abi variable): Likewise.
36233         * elf/Makefile (check-abi): Update dependencies.
36235         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36236         unused.
36237         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36238         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36239         subnormal range.
36240         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36241         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36242         value has largest subnormal exponent.
36243         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36244         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36245         * sysdeps/aarch64/soft-fp/sfp-machine.h
36246         (_FP_TININESS_AFTER_ROUNDING): New macro.
36247         * sysdeps/alpha/soft-fp/sfp-machine.h
36248         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36249         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36250         Likewise.
36251         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36252         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36253         * sysdeps/mips/soft-fp/sfp-machine.h
36254         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36255         * sysdeps/powerpc/soft-fp/sfp-machine.h
36256         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36257         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36258         Likewise.
36259         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36260         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36261         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36263         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36264         Likewise.
36266 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36268         [BZ #16545]
36269         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36270         model 1.
36272 2014-02-12  Richard Henderson  <rth@redhat.com>
36274         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36275         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36276         * sysdeps/unix/sysv/linux/alpha: Move directory from
36277         ports/sysdeps/unix/sysv/linux/alpha.
36278         * README: Update listing for alpha-*-linux-gnu.
36280 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36282         * include/features.h: Update comment documenting feature test
36283         macros.
36284         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36285         _DEFAULT_SOURCE.
36286         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36287         (_SVID_SOURCE): Likewise.
36288         (_DEFAULT_SOURCE): Update description of default features.
36289         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36290         with _GNU_SOURCE.
36291         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36292         (S_ISVTX): Likewise.
36293         * manual/math.texi (Mathematical Constants): Likewise.
36294         * manual/signal.texi (Interrupted Primitives): Likewise.
36295         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36296         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36297         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36298         Don't refer to _SVID_SOURCE in warning text.
36300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36302         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36303         already defined.
36304         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36305         * sysdeps/mips/dl-lookup.c: Remove.
36306         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36308 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36310         [BZ #16447]
36311         * math/auto-libm-test-in: Add testcase for expl.
36312         * math/auto-libm-test-out: Regenerate.
36313         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36314         calculation of unsafe.
36315         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36317 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36319         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36320         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36321         ports/sysdeps/unix/sysv/linux/aarch64.
36322         * README: Update listing for aarch64*-*-linux-gnu.
36324 2014-02-11  Will Newton  <will.newton@linaro.org>
36326         * manual/probes.texi (Mathematical Function Probes): Use
36327         "triggered" instead of "hit".
36329         * manual/probes.texi (Internal Probes): Add documentation
36330         of setjmp, longjmp and longjmp_target probes.
36332         * include/stap-probe.h: Add comment about probe argument
36333         format.
36335         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36336         definition.  (tr_where, tr_freehook, tr_mallochook,
36337         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36339 2014-02-11  David S. Miller  <davem@davemloft.net>
36341         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36342         processing int_tests.
36344 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36346         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36347         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36348         * sysdeps/unix/sysv/linux/mips: Move directory from
36349         ports/sysdeps/unix/sysv/linux/mips.
36350         * README: Update listing for mips-*-linux-gnu and
36351         mips64-*-linux-gnu.
36353 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36355         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36356         * sysdeps/unix/sysv/linux/m68k: Move directory from
36357         ports/sysdeps/unix/sysv/linux/m68k.
36358         * README: Update listing for m68k-*-linux-gnu.
36360 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36362         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36363         * sysdeps/unix/sysv/linux/generic: Move directory from
36364         ports/sysdeps/unix/sysv/linux/generic.
36365         * sysdeps/unix/sysv/linux/tile: Move directory from
36366         ports/sysdeps/unix/sysv/linux/tile.
36367         * README: Update listing for tile*-*-linux-gnu.
36369 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36371         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36372         __builtin_expect.
36373         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36374         * catgets/open_catalog.c (__open_catalog): Likewise.
36375         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36376         * debug/confstr_chk.c: Likewise.
36377         * debug/fread_chk.c (__fread_chk): Likewise.
36378         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36379         * debug/getgroups_chk.c: Likewise.
36380         * debug/mbsnrtowcs_chk.c: Likewise.
36381         * debug/mbsrtowcs_chk.c: Likewise.
36382         * debug/mbstowcs_chk.c: Likewise.
36383         * debug/memcpy_chk.c: Likewise.
36384         * debug/memmove_chk.c: Likewise.
36385         * debug/mempcpy_chk.c: Likewise.
36386         * debug/memset_chk.c: Likewise.
36387         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36388         * debug/strcat_chk.c (__strcat_chk): Likewise.
36389         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36390         * debug/strncat_chk.c (__strncat_chk): Likewise.
36391         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36392         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36393         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36394         * debug/wcpncpy_chk.c: Likewise.
36395         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36396         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36397         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36398         * debug/wcsncpy_chk.c: Likewise.
36399         * debug/wcsnrtombs_chk.c: Likewise.
36400         * debug/wcsrtombs_chk.c: Likewise.
36401         * debug/wcstombs_chk.c: Likewise.
36402         * debug/wmemcpy_chk.c: Likewise.
36403         * debug/wmemmove_chk.c: Likewise.
36404         * debug/wmempcpy_chk.c: Likewise.
36405         * debug/wmemset_chk.c: Likewise.
36406         * dirent/scandirat.c (SCANDIRAT): Likewise.
36407         * dlfcn/dladdr1.c (dladdr1): Likewise.
36408         * dlfcn/dladdr.c (dladdr): Likewise.
36409         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36410         * dlfcn/dlerror.c (__dlerror): Likewise.
36411         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36412         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36413         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36414         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36415         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36416         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36417         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36418         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36419         Likewise.
36420         * elf/dl-conflict.c: Likewise.
36421         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36422         * elf/dl-dst.h: Likewise.
36423         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36424         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36425         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36426         * elf/dl-init.c (call_init, _dl_init): Likewise.
36427         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36428         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36429         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36430         Likewise.
36431         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36432         Likewise.
36433         * elf/dl-minimal.c (__libc_memalign): Likewise.
36434         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36435         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36436         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36437         * elf/dl-sym.c (do_sym): Likewise.
36438         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36439         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36440         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36441         * elf/dl-writev.h (_dl_writev): Likewise.
36442         * elf/ldconfig.c (search_dir): Likewise.
36443         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36444         (dl_main): Likewise.
36445         * elf/setup-vdso.h (setup_vdso): Likewise.
36446         * grp/compat-initgroups.c (compat_call): Likewise.
36447         * grp/fgetgrent.c (fgetgrent): Likewise.
36448         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36449         * grp/putgrent.c (putgrent): Likewise.
36450         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36451         Likewise.
36452         * hurd/hurdinit.c: Likewise.
36453         * iconvdata/8bit-gap.c (struct): Likewise.
36454         * iconvdata/ansi_x3.110.c : Likewise.
36455         * iconvdata/big5.c : Likewise.
36456         * iconvdata/big5hkscs.c : Likewise.
36457         * iconvdata/cp1255.c: Likewise.
36458         * iconvdata/cp1258.c : Likewise.
36459         * iconvdata/cp932.c : Likewise.
36460         * iconvdata/euc-cn.c: Likewise.
36461         * iconvdata/euc-jisx0213.c : Likewise.
36462         * iconvdata/euc-jp.c: Likewise.
36463         * iconvdata/euc-jp-ms.c : Likewise.
36464         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36465         * iconvdata/gb18030.c : Likewise.
36466         * iconvdata/gbbig5.c (const): Likewise.
36467         * iconvdata/gbgbk.c: Likewise.
36468         * iconvdata/gbk.c : Likewise.
36469         * iconvdata/ibm1364.c : Likewise.
36470         * iconvdata/ibm930.c : Likewise.
36471         * iconvdata/ibm932.c: Likewise.
36472         * iconvdata/ibm933.c : Likewise.
36473         * iconvdata/ibm935.c : Likewise.
36474         * iconvdata/ibm937.c : Likewise.
36475         * iconvdata/ibm939.c : Likewise.
36476         * iconvdata/ibm943.c: Likewise.
36477         * iconvdata/iso_11548-1.c: Likewise.
36478         * iconvdata/iso-2022-cn.c : Likewise.
36479         * iconvdata/iso-2022-cn-ext.c : Likewise.
36480         * iconvdata/iso-2022-jp-3.c: Likewise.
36481         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36482         * iconvdata/iso-2022-kr.c : Likewise.
36483         * iconvdata/iso646.c (gconv_end): Likewise.
36484         * iconvdata/iso_6937-2.c : Likewise.
36485         * iconvdata/iso_6937.c : Likewise.
36486         * iconvdata/iso8859-1.c: Likewise.
36487         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36488         * iconvdata/shift_jisx0213.c : Likewise.
36489         * iconvdata/sjis.c : Likewise.
36490         * iconvdata/t.61.c : Likewise.
36491         * iconvdata/tcvn5712-1.c : Likewise.
36492         * iconvdata/tscii.c: Likewise.
36493         * iconvdata/uhc.c : Likewise.
36494         * iconvdata/unicode.c (gconv_end): Likewise.
36495         * iconvdata/utf-16.c (gconv_end): Likewise.
36496         * iconvdata/utf-32.c (gconv_end): Likewise.
36497         * iconvdata/utf-7.c (base64): Likewise.
36498         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36499         * iconv/gconv_close.c (__gconv_close): Likewise.
36500         * iconv/gconv_open.c (__gconv_open): Likewise.
36501         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36502         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36503         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36504         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36505         (ucs4le_internal_loop_single): Likewise.
36506         * iconv/iconv.c (iconv): Likewise.
36507         * iconv/iconv_close.c: Likewise.
36508         * iconv/loop.c (SINGLE): Likewise.
36509         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36510         * include/atomic.h: Likewise.
36511         * inet/inet6_option.c (option_alloc): Likewise.
36512         * intl/bindtextdom.c (set_binding_values): Likewise.
36513         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36514         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36515         * intl/localealias.c (read_alias_file): Likewise.
36516         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36517         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36518         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36519         * libio/fmemopen.c (fmemopen): Likewise.
36520         * libio/iofgets.c (_IO_fgets): Likewise.
36521         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36522         * libio/iofgetws.c (fgetws): Likewise.
36523         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36524         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36525         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36526         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36527         * locale/findlocale.c (_nl_find_locale): Likewise.
36528         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36529         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36530         Likewise.
36531         * locale/setlocale.c (setlocale): Likewise.
36532         * login/programs/pt_chown.c (main): Likewise.
36533         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36534         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36535         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36536         (mmap, mmap64, mremap, munmap): Likewise.
36537         * math/e_exp2l.c: Likewise.
36538         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36539         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36540         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36541         * math/s_catan.c (__catan): Likewise.
36542         * math/s_catanf.c (__catanf): Likewise.
36543         * math/s_catanh.c (__catanh): Likewise.
36544         * math/s_catanhf.c (__catanhf): Likewise.
36545         * math/s_catanhl.c (__catanhl): Likewise.
36546         * math/s_catanl.c (__catanl): Likewise.
36547         * math/s_ccosh.c (__ccosh): Likewise.
36548         * math/s_ccoshf.c (__ccoshf): Likewise.
36549         * math/s_ccoshl.c (__ccoshl): Likewise.
36550         * math/s_cexp.c (__cexp): Likewise.
36551         * math/s_cexpf.c (__cexpf): Likewise.
36552         * math/s_cexpl.c (__cexpl): Likewise.
36553         * math/s_clog10.c (__clog10): Likewise.
36554         * math/s_clog10f.c (__clog10f): Likewise.
36555         * math/s_clog10l.c (__clog10l): Likewise.
36556         * math/s_clog.c (__clog): Likewise.
36557         * math/s_clogf.c (__clogf): Likewise.
36558         * math/s_clogl.c (__clogl): Likewise.
36559         * math/s_csin.c (__csin): Likewise.
36560         * math/s_csinf.c (__csinf): Likewise.
36561         * math/s_csinh.c (__csinh): Likewise.
36562         * math/s_csinhf.c (__csinhf): Likewise.
36563         * math/s_csinhl.c (__csinhl): Likewise.
36564         * math/s_csinl.c (__csinl): Likewise.
36565         * math/s_csqrt.c (__csqrt): Likewise.
36566         * math/s_csqrtf.c (__csqrtf): Likewise.
36567         * math/s_csqrtl.c (__csqrtl): Likewise.
36568         * math/s_ctan.c (__ctan): Likewise.
36569         * math/s_ctanf.c (__ctanf): Likewise.
36570         * math/s_ctanh.c (__ctanh): Likewise.
36571         * math/s_ctanhf.c (__ctanhf): Likewise.
36572         * math/s_ctanhl.c (__ctanhl): Likewise.
36573         * math/s_ctanl.c (__ctanl): Likewise.
36574         * math/w_pow.c: Likewise.
36575         * math/w_powf.c: Likewise.
36576         * math/w_powl.c: Likewise.
36577         * math/w_scalb.c (sysv_scalb): Likewise.
36578         * math/w_scalbf.c (sysv_scalbf): Likewise.
36579         * math/w_scalbl.c (sysv_scalbl): Likewise.
36580         * misc/error.c (error_tail): Likewise.
36581         * misc/pselect.c (__pselect): Likewise.
36582         * nis/nis_callback.c (__nis_create_callback): Likewise.
36583         * nis/nis_call.c (__nisfind_server): Likewise.
36584         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36585         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36586         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36587         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36588         * nis/nis_lookup.c (nis_lookup): Likewise.
36589         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36590         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36591         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36592         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36593         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36594         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36595         * nis/nss_compat/compat-initgroups.c (add_group)
36596         (internal_getgrent_r): Likewise.
36597         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36598         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36599         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36600         (internal_getspnam_r): Likewise.
36601         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36602         (_nss_nis_getaliasbyname_r): Likewise.
36603         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36604         (_nss_nis_getntohost_r): Likewise.
36605         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36606         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36607         (_nss_nis_getgrgid_r): Likewise.
36608         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36609         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36610         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36611         (_nss_nis_gethostbyname4_r): Likewise.
36612         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36613         (initgroups_netid): Likewise.
36614         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36615         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36616         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36617         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36618         (_nss_nis_getprotobynumber_r): Likewise.
36619         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36620         (_nss_nis_getsecretkey): Likewise.
36621         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36622         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36623         (_nss_nis_getpwuid_r): Likewise.
36624         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36625         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36626         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36627         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36628         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36629         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36630         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36631         Likewise.
36632         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36633         (_nss_nisplus_getntohost_r): Likewise.
36634         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36635         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36636         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36637         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36638         Likewise.
36639         * nis/nss_nisplus/nisplus-initgroups.c
36640         (_nss_nisplus_initgroups_dyn): Likewise.
36641         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36642         (_nss_nisplus_getnetbyaddr_r): Likewise.
36643         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36644         (_nss_nisplus_getprotobynumber_r): Likewise.
36645         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36646         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36647         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36648         Likewise.
36649         * nis/nss_nisplus/nisplus-service.c
36650         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36651         (_nss_nisplus_getservbyport_r): Likewise.
36652         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36653         (_nss_nisplus_getspnam_r): Likewise.
36654         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36655         Likewise.
36656         * nscd/aicache.c (addhstaiX): Likewise.
36657         * nscd/cache.c (cache_search, prune_cache): Likewise.
36658         * nscd/connections.c (register_traced_file, send_ro_fd)
36659         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36660         (main_loop_epoll): Likewise.
36661         * nscd/grpcache.c (addgrbyX): Likewise.
36662         * nscd/hstcache.c (addhstbyX): Likewise.
36663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36664         * nscd/mem.c (gc, mempool_alloc): Likewise.
36665         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36666         (addinnetgrX): Likewise.
36667         * nscd/nscd-client.h (__nscd_acquire_maplock)
36668         (__nscd_drop_map_ref): Likewise.
36669         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36670         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36671         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36672         Likewise.
36673         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36674         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36675         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36676         (__nscd_get_map_ref): Likewise.
36677         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36678         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36679         Likewise.
36680         * nscd/pwdcache.c (addpwbyX): Likewise.
36681         * nscd/selinux.c (preserve_capabilities): Likewise.
36682         * nscd/servicescache.c (addservbyX): Likewise.
36683         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36684         * posix/fnmatch.c (fnmatch): Likewise.
36685         * posix/getopt.c (_getopt_internal_r): Likewise.
36686         * posix/glob.c (glob, glob_in_dir): Likewise.
36687         * posix/wordexp.c (exec_comm_child): Likewise.
36688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36689         (getanswer_r, gaih_getanswer_slice): Likewise.
36690         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36691         * resolv/res_init.c: Likewise.
36692         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36693         * resolv/res_query.c (__libc_res_nquery): Likewise.
36694         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36695         Likewise.
36696         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36697         * stdio-common/perror.c (perror): Likewise.
36698         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36699         * stdio-common/tmpnam.c (tmpnam): Likewise.
36700         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36701         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36702         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36703         Likewise.
36704         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36705         * stdlib/putenv.c (putenv): Likewise.
36706         * stdlib/setenv.c (__add_to_environ): Likewise.
36707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36708         * stdlib/strtol_l.c (INTERNAL): Likewise.
36709         * string/memmem.c (memmem): Likewise.
36710         * string/strerror.c (strerror): Likewise.
36711         * string/strnlen.c (__strnlen): Likewise.
36712         * string/test-memmem.c (simple_memmem): Likewise.
36713         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36714         * sunrpc/pm_getport.c (__get_socket): Likewise.
36715         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36716         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36717         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36718         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36719         Likewise.
36720         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36722         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36723         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36724         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36725         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36726         Likewise.
36727         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36728         Likewise.
36729         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36730         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36732         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36733         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36735         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36736         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36737         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36738         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36739         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36740         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36741         Likewise.
36742         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36743         Likewise.
36744         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36745         Likewise.
36746         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36748         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36749         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36750         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36751         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36752         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36755         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36756         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36758         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36759         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36761         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36762         Likewise.
36763         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36764         Likewise.
36765         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36766         Likewise.
36767         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36768         Likewise.
36769         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36771         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36772         Likewise.
36773         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36774         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36775         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36776         * sysdeps/posix/sleep.c: Likewise.
36777         * sysdeps/posix/tempname.c: Likewise.
36778         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36779         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36780         Likewise.
36781         * sysdeps/powerpc/powerpc32/dl-machine.h
36782         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36783         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36784         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36785         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36786         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36787         Likewise.
36788         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36790         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36792         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36793         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36794         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36795         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36796         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36797         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36799         (elf_machine_lazy_rel): Likewise.
36800         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36802         (elf_machine_lazy_rel): Likewise.
36803         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36804         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36805         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36806         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36807         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36808         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36809         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36810         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36811         Likewise.
36812         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36813         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36814         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36815         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36816         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36817         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36818         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36819         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36820         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36821         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36822         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36823         Likewise.
36824         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36825         (__posix_fallocate64_l64): Likewise.
36826         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36827         (posix_fallocate): Likewise.
36828         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36829         Likewise.
36830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36831         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36832         (getifaddrs_internal): Likewise.
36833         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36834         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36835         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36836         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36837         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36838         (__posix_fallocate64_l64): Likewise.
36839         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36840         Likewise.
36841         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36842         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36843         (__get_clockfreq): Likewise.
36844         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36845         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36846         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36849         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36850         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36851         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36852         Likewise.
36853         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36854         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36855         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36856         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36857         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36858         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36859         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36860         Likewise.
36861         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36862         (posix_fallocate): Likewise.
36863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36864         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36865         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36866         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36867         (elf_machine_rela, elf_machine_rela_relative)
36868         (elf_machine_lazy_rel): Likewise.
36869         * time/asctime.c (asctime_internal): Likewise.
36870         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36871         * time/tzset.c (__tzset_parse_tz): Likewise.
36872         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36873         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36874         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36875         * wcsmbs/wcsmbsload.h: Likewise.
36877         [BZ #15894]
36878         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36880         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36881         (arena_get2): Remove THREAD_STATS conditionals.
36882         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36883         (__malloc_stats, int): Likewise.
36885 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36887         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36888         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36890         * manual/setjmp.texi: Fix typos/grammar errors.
36892         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36893         Only return early when n is <= 0.  Delete unused return statement.
36895         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36896         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36897         * debug/tst-longjmp_chk3.c: New file.
36899         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36900         (test_main): Replace code with set_fortify_handler call.
36901         * debug/test-strcpy_chk.c: Likewise.
36902         * debug/tst-chk1.c: Likewise.
36903         * debug/tst-longjmp_chk.c: Likewise.
36904         * test-skeleton.c: Include fcntl.h & paths.h
36905         (set_fortify_handler): Define.
36907         * debug/tst-longjmp_chk.c: Add header comment and include
36908         ../test-skeleton.c.
36909         (do_test): Mark static.
36910         (TEST_FUNCTION): Define.
36912         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36913         (IP_PMTUDISC_INTERFACE): Likewise.
36914         (IP_MULTICAST_IF): Likewise.
36915         (IP_MULTICAST_TTL): Likewise.
36916         (IP_MULTICAST_LOOP): Likewise.
36917         (IP_ADD_MEMBERSHIP): Likewise.
36918         (IP_DROP_MEMBERSHIP): Likewise.
36919         (IP_UNBLOCK_SOURCE): Likewise.
36920         (IP_BLOCK_SOURCE): Likewise.
36921         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36922         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36923         (IP_MSFILTER): Likewise.
36924         (MCAST_JOIN_GROUP): Likewise.
36925         (MCAST_BLOCK_SOURCE): Likewise.
36926         (MCAST_UNBLOCK_SOURCE): Likewise.
36927         (MCAST_LEAVE_GROUP): Likewise.
36928         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36929         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36930         (MCAST_MSFILTER): Likewise.
36931         (IP_MULTICAST_ALL): Likewise.
36932         (IP_UNICAST_IF): Likewise.
36934         * timezone/Makefile: Delete $(have-ksh) check.
36935         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36936         * timezone/tzselect.ksh: Add +x mode bits.
36938         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36939         (ANON_INODE_FS_MAGIC): Likewise.
36940         (BDEVFS_MAGIC): Likewise.
36941         (BINFMTFS_MAGIC): Likewise.
36942         (BTRFS_TEST_MAGIC): Likewise.
36943         (CRAMFS_MAGIC_WEND): Likewise.
36944         (DEBUGFS_MAGIC): Likewise.
36945         (ECRYPTFS_SUPER_MAGIC): Likewise.
36946         (EXT3_SUPER_MAGIC): Likewise.
36947         (EXT4_SUPER_MAGIC): Likewise.
36948         (FUTEXFS_SUPER_MAGIC): Likewise.
36949         (HOSTFS_SUPER_MAGIC): Likewise.
36950         (HUGETLBFS_MAGIC): Likewise.
36951         (MINIX3_SUPER_MAGIC): Likewise.
36952         (MTD_INODE_FS_MAGIC): Likewise.
36953         (NILFS_SUPER_MAGIC): Likewise.
36954         (OPENPROM_SUPER_MAGIC): Likewise.
36955         (PIPEFS_MAGIC): Likewise.
36956         (PSTOREFS_MAGIC): Likewise.
36957         (QNX6_SUPER_MAGIC): Likewise.
36958         (RAMFS_MAGIC): Likewise.
36959         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36960         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36961         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36962         (SECURITYFS_MAGIC): Likewise.
36963         (SELINUX_MAGIC): Likewise.
36964         (SMACK_MAGIC): Likewise.
36965         (SOCKFS_MAGIC): Likewise.
36966         (SQUASHFS_MAGIC): Likewise.
36967         (STACK_END_MAGIC): Likewise.
36968         (TMPFS_MAGIC): Likewise.
36969         (USBDEVICE_SUPER_MAGIC): Likewise.
36970         (V9FS_MAGIC): Likewise.
36971         (XENFS_SUPER_MAGIC): Likewise.
36972         (CRAMFS_MAGIC): Fix typo in comment.
36973         (EXT2_SUPER_MAGIC): Update comment.
36974         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36976 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36978         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36979         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36980         * sysdeps/unix/sysv/linux/arm: Move directory from
36981         ports/sysdeps/unix/sysv/linux/arm.
36982         * README: Update listing for arm-*-linux-gnueabi.
36984         * README: Remove mention of am33.
36986 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36988         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36989         than the comma operator, to avoid "rhs of comma has no effect"
36990         compiler warnings.
36991         (__sigfillset, __sigandset, __sigorset): Likewise.
36992         * include/signal.h (__sigemptyset): Likewise.
36993         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36995 2014-02-07  Allan McRae  <allan@archlinux.org>
36997         * version.h (RELEASE): Set to "development".
36998         (VERSION): Set to "2.19.90"
36999         * NEWS: Add 2.20 section.
37001 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37003         [BZ #16529]
37004         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37006 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37008         * manual/contrib.texi: Update entry for Carlos O'Donell,
37009         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37011 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37013         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37015         * sysdeps/unix/sysv/linux/kernel-features.h
37016         [__LINUX_KERNEL_VERSION >= 0x020621]
37017         (__ASSUME_PROC_PID_TASK_COMM): Define.
37019 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37021         [BZ #16398]
37022         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37023         conversion when destination buffer does not have enough space.
37024         * libio/tst-ftell-partial-wide.c: New test case.
37025         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37027         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37028         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37029         Leonard and Allan McRae.
37031 2014-02-04  David S. Miller  <davem@davemloft.net>
37033         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37034         32-bit.
37036 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37039         New file
37040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37041         New file
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37043         New file.
37044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37045         New file.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37047         New file.
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37049         New file.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37051         New file.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37053         New file.
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37055         New file.
37056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37057         New file.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37059         New file.
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37061         New file.
37062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37063         New file.
37065 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37067         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37068         * shlib-versions: Likewise.
37070 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37071             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37073         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37074         (abilist-pattern): New variable, set to %-le.abilist.
37076         * Makerules (abilist-pattern): New variable.
37077         (vpath): Use $(abilist-pattern) in place of %.abilist.
37078         (check-abi-% pattern rule): Likewise.
37079         (check-abi, update-abi): Likewise.
37081 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37085 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37087         * manual/startup.texi: Add next, previous, and top entries for
37088         the `Program Arguments' and `Environment Variables' nodes.
37090 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37092         * manual/macros.texi: Add comments before MTASC-safety macros.
37094         * manual/users.texi: Document MTASC-safety properties.
37096         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37097         (pthread_getspecific, pthread_setspecific): Format with
37098         @deftypefun, and add @safety note.
37099         * manual/signal.texi: Move comments that analyze the above
37100         functions to their home place.
37102 2014-02-03  Allan McRae  <allan@archlinux.org>
37104         * po/sl.po: Update Slovenian translation from translation project.
37106 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37108         * manual/time.texi (timegm): Add missing blank after @c.
37109         Reported by Joseph Myers <joseph@codesourcery.com>.
37111 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37113         * manual/check-safety.sh: New.
37114         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37116         * manual/terminal.texi: Document MTASC-safety properties.
37118         * manual/filesys.texi: Document MTASC-safety properties.
37120         * manual/errno.texi: Document MTASC-safety properties.
37122         * manual/intro.texi: Document safety identifiers and
37123         conditionals.
37125         * manual/string.texi (wcstok): Fix prototype.
37126         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37128         * manual/time.texi: Document MTASC-safety properties.
37130         * manual/string.texi: Document MTASC-safety properties.
37132         * manual/threads.texi: Document MTASC-safety properties.
37134         * manual/stdio.texi: Document MTASC-safety properties.
37136         * manual/syslog.texi: Document MTASC-safety properties.
37138         * manual/sysinfo.texi: Document MTASC-safety properties.
37140         * manual/startup.texi: Document MTASC-safety properties.
37142         * manual/socket.texi: Document MTASC-safety properties.
37144         * manual/signal.texi: Document MTASC-safety properties.
37146 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37148         * manual/setjmp.texi: Document MTASC-safety properties.
37150         * manual/search.texi: Document MTASC-safety properties.
37152         * manual/resource.texi: Document MTASC-safety properties.
37154         * manual/process.texi: Document MTASC-safety properties.
37156         * manual/platform.texi: Document MTASC-safety properties.
37158         * manual/pipe.texi: Document MTASC-safety properties.
37160         * manual/pattern.texi: Document MTASC-safety properties.
37162         * manual/message.texi: Document MTASC-safety properties.
37164         [BZ #12751]
37165         * manual/memory.texi: Document MTASC-safety properties.
37167         * manual/math.texi: Document MTASC-safety properties.
37169         * manual/locale.texi: Document MTASC-safety properties.
37171         * manual/llio.texi: Document MTASC-safety properties.
37173         * manual/libdl.texi: New.
37175         * manual/lang.texi: Document MTASC-safety properties.
37177         * manual/job.texi: Document MTASC-safety properties.
37179         * manual/getopt.texi: Document MTASC-safety properties.
37181         * manual/ctype.texi: Document MTASC-safety properties.
37183 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37185         [BZ #16046]
37186         * csu/libc-tls.c (static_map): Remove variable.
37187         (__libc_setup_tls): Use main executable's link map for TLS data.
37188         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37189         casing for LM_ID_BASE and GL(dl_nns).
37190         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37191         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37192         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37193         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37194         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37195         member.
37196         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37197         l_phnum members.
37199 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37201         * manual/debug.texi: Document MTASC-safety properties.
37203 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37205         [BZ #16510]
37206         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37207         of __x86_64__ when disabling x87 inline functions.
37209 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37211         * manual/charset.texi: Document MTASC-safety properties.
37213         * manual/crypt.texi: Document MTASC-safety properties.
37215         * manual/conf.texi: Document MTASC-safety properties.
37217         * manual/arith.texi: Document MTASC-safety properties.
37219         * manual/argp.texi: Document MTASC-safety properties.
37221         * manual/macros.texi: Introduce macros to document multi
37222         thread, asynchronous signal and asynchronous cancellation
37223         safety properties.
37224         * manual/intro.texi: Introduce the properties themselves.
37226 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37228         * sysdeps/sh/sh4/Makefile: New file.
37230 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37232         * math/gen-libm-test.pl ($srcdir): New variable.
37233         ($auto_input): Use it.
37235 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37237         [BZ #16506]
37238         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37239         access beyond array bounds when parsing netgroups file.
37241         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37242         the old buffer before realloc.
37244 2014-01-27  Allan McRae  <allan@archlinux.org>
37246         * po/fr.po: Update French translation from translation project.
37248 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37250         * sysdeps/sh/libm-test-ulps: Regenerate.
37252 2014-01-24  David S. Miller  <davem@davemloft.net>
37254         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37256 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37258         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37259         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37261 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37263         [BZ #16474]
37264         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37265         string pointers after reallocation.
37267 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37269         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37270         __SH4A__ instead of __SH_FPU_ANY__.
37272 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37274         * sysdeps/sh/fpu_control.h: New file.
37275         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37276         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37277         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37278         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37279         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37280         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37281         * sysdeps/sh/sys/ucontext.h: Remove.
37282         * sysdeps/sh/sys: Remove directory.
37284 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37286         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37287         s390/sys/ucontext.h.
37288         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37291 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37293         [BZ #15605]
37294         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37296 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37298         [BZ#16431]
37299         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37300         Adjust the vDSO correctly for internal calls.
37301         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37303 2014-01-20  Allan McRae  <allan@archlinux.org>
37305         * po/ca.po: Update Catalan translation from translation project.
37307 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37309         * sysdeps/s390/sotruss-lib.c: New file.
37311 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37313         [BZ#16430]
37314         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37315         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37316         local calls issues by not having a PLT stub required for IFUNC calls.
37317         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37319 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37321         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37322         * math/test-fpucw-static.c: Likewise.
37324 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37326         [BZ #16453]
37327         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37329 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37331         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37332         implementation for powerpc.
37334 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37336         [BZ #14782]
37337         * sysdeps/posix/system.c (__libc_system): Do not enable
37338         asynchronous cancellation.
37340 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37342         [BZ #16427]
37343         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37344         handling only for numbers special also in the IEEE case.
37346 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37348         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37350 2014-01-11  Allan McRae  <allan@archlinux.org>
37352         * po/bg.po: Update Bulgarian translation from translation project.
37354         * po/de.po: Update German translation from translation project.
37356 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37358         * sysdeps/generic/gcc-compat.h: New file.
37360 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         * benchtests/asin-inputs: Correct slow inputs.
37363         * benchtests/acos-inputs: Likewise.
37365 2014-01-10  Allan McRae  <allan@archlinux.org>
37367         * po:sv.po: Update Swedish translation from translation project.
37369         * po/vi.po: Update Vietnamese translation from translation project.
37371         * po/eo.po: Update Esperanto translation from translation project.
37373         * po/cs.po: Update Czech translation from translation project.
37375         * po/nl.po: Update Dutch translation from translation project.
37377         * po/pl.po: Update Polish translation from translation project.
37379         * po/ru.po: Update Russian translation from translation project.
37381         * po/uk.po: Update Ukrainian translation from translation project.
37383 2014-01-08  Brooks Moses  <bmoses@google.com>
37385         * elf/dl-load.c: Fix comment typo.
37387 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37389         * po/header.pot: Rename to...
37390         * po/pot.header: ... this.
37391         * po/Makefile: Use pot.header.
37393 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37394             Maxim Kuvyrkov  <maxim@kugelworks.com>
37396         [BZ #16394]
37397         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37398         SRC and DEST against LEN.
37400 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37402         [BZ #16414]
37403         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37404         implementation.
37405         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37407 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37411 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37413         [BZ #16408]
37414         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37415         for large positive arguments.
37417 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37419         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37421         * math/auto-libm-test-in: Mark various tests with
37422         xfail-rounding:ldbl-128ibm.
37423         * math/auto-libm-test-out: Regenerated.
37425         [BZ #16407]
37426         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37427         Increase overflow threshold.
37429 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37431         [BZ #14286]
37432         * stdio-common/vfprintf.c: Check for integer overflow.
37434 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37436         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37437         the first argument and return value of __tls_get_addr_internal.
37439 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37441         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37442         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37444 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37446         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37447         * sysdeps/s390/rtld-global-offsets.sym: New file.
37448         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37449         GLIBC_2.19 symbol.
37450         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37452         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37453         ... this.
37454         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37455         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37456         ... this.
37457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37458         Regenerate.
37459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37460         Regenerate.
37461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37462         halfs of GPRs for high_gprs contexts.
37463         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37464         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37465         field.
37466         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37467         uc_flags field.
37468         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37469         64 bit versions:
37470         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37471         for high GPRs (uc_high_gprs) and for future extensions
37472         (__reserved).
37473         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37474         for future extensions (__reserved).
37475         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37476         64 bit versions:
37477         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37478         SC_HIGHGPRS offset definition.
37479         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37480         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37482         * Versions.def: Add GLIBC_2.19 for libpthread.
37483         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37484         siglongjmp for libpthread with GLIBC_2.19 symver.
37485         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37486         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37487         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37488         * sysdeps/s390/__longjmp.c: New file.
37489         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37490         * sysdeps/s390/longjmp.c: New file.
37491         * sysdeps/s390/setjmp.S: New file.
37492         * sysdeps/s390/sigjmp.S: New file.
37493         * sysdeps/s390/v1-longjmp.c: New file.
37494         * sysdeps/s390/v1-setjmp.h: New file.
37495         * sysdeps/s390/v1-sigjmp.c: New file.
37496         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37497         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37498         GLIBC_2.19 version.
37499         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37500         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37501         versioned symbols for ____longjmp_chk.
37502         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37503         Likewise.
37504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37505         Regenerate.
37506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37507         Regenerate.
37508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37509         Regenerate.
37510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37511         Regenerate.
37512         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37513         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37514         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37515         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37516         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37517         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37518         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37519         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37520         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37521         * sysdeps/s390/rtld-__longjmp.c: New file.
37522         * sysdeps/s390/rtld-setjmp.S: New file.
37524 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37526         [BZ #16400]
37527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37528         Return -__logl (x) for small positive arguments without evaluating
37529         a polynomial.
37531 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37533         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37534         Rename to ...
37535         (__ptrace_peeksiginfo_args): ... this.
37536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37540 2014-01-06  Allan McRae  <allan@archlinux.org>
37542         * inet/netinet/in.h: Fix typo in comment.
37544 2014-01-05  Andreas Jaeger  <aj@suse.de>
37546         * sysdeps/i386/fpu/libm-test-ulps: Update.
37548 2014-01-05  Allan McRae  <allan@archlinux.org>
37550         * po/libc.pot: Regenerated.
37552         * malloc/memusagestat.c: Fix gettext call formatting.
37554 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37556         * nscd/nscd.c: Improve usage() output.
37558 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37560         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37561         * sysdeps/unix/sysv/linux/configure: Regenerated.
37562         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37563         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37565 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #16390]
37568         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37569         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37571 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37574         extra tokens at end of #undef directive.
37575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37576         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37579 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37583         * math/auto-libm-test-in: Mark various tests with
37584         xfail-rounding:ldbl-128ibm.
37585         * math/auto-libm-test-out: Regenerated.
37587 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37589         [BZ #16386]
37590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37591         numbers with subnormal high part when calculating exponent.
37593         [BZ #16385]
37594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37595         fabs.
37597         [BZ #16384]
37598         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37599         M_LN2l.
37600         (__ieee754_acoshl): Use __log1pl not __log1p.
37602 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37604         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37605         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37606         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37607         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37608         (reused_arena, arena_get2): Convert to GNU style.
37609         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37610         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37611         (memalign_check, __malloc_set_state): Likewise.
37612         * malloc/mallocbug.c (main): Likewise.
37613         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37614         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37615         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37616         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37617         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37618         (__posix_memalign, malloc_info): Likewise.
37619         * malloc/malloc.h: Likewise.
37620         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37621         (mallochook, memalignhook, reallochook, mabort): Likewise.
37622         * malloc/mcheck.h: Likewise.
37623         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37624         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37625         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37626         * malloc/morecore.c (__default_morecore): Likewise.
37627         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37628         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37629         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37630         (print_and_abort): Likewise.
37631         * malloc/obstack.h: Likewise.
37632         * malloc/set-freeres.c (__libc_freeres): Likewise.
37633         * malloc/tst-mallocstate.c (main): Likewise.
37634         * malloc/tst-mtrace.c (main): Likewise.
37635         * malloc/tst-realloc.c (do_test): Likewise.
37637 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37639         [BZ #16366]
37640         * nscd/netgroupcache.c (do_notfound): New function.
37641         (addgetnetgrentX): Use it.
37643         [BZ # 16365]
37644         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37645         NSS_STATUS_NOTFOUND.
37647 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37649         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37652 2014-01-01  Allan McRae  <allan@archlinux.org>
37654         * scripts/update-copyrights: Update configure input file suffix.
37656         * NEWS: Update copyright year.
37657         * catgets/gencat.c: Likewise.
37658         * csu/version.c: Likewise.
37659         * debug/catchsegv.sh: Likewise.
37660         * debug/pcprofiledump.c: Likewise.
37661         * debug/xtrace.sh: Likewise.
37662         * elf/ldconfig.c: Likewise.
37663         * elf/ldd.bash.in: Likewise.
37664         * elf/pldd.c: Likewise.
37665         * elf/sotruss.ksh: Likewise.
37666         * elf/sprof.c: Likewise.
37667         * iconv/iconv_prog.c: Likewise.
37668         * iconv/iconvconfig.c: Likewise.
37669         * locale/programs/locale.c: Likewise.
37670         * locale/programs/localedef.c: Likewise.
37671         * login/programs/pt_chown.c: Likewise.
37672         * malloc/memusage.sh: Likewise.
37673         * malloc/memusagestat.c: Likewise.
37674         * malloc/mtrace.pl: Likewise.
37675         * manual/libc.texinfo: Likewise.
37676         * nscd/nscd.c: Likewise.
37677         * nss/getent.c: Likewise.
37678         * nss/makedb.c: Likewise.
37679         * posix/getconf.c: Likewise.
37680         * scripts/test-installation.pl: Likewise.
37682         * All files with FSF copyright notices: Update copyright dates
37683         using scripts/update-copyrights.
37684         * intl/plural.c: Regenerated.
37685         * locale/programs/charmap-kw.h: Likewise.
37686         * locale/programs/locfile-kw.h: Likewise.
37688 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37690         * sysdeps/unix/sysv/linux/configure: Regenerated.
37691         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37692         the linux/fanotify.h header.
37693         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37694         HAVE_LINUX_FANOTIFY_H is defined.
37696 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37698         * benchtests/cos-inputs: New inputs.
37699         * benchtests/sin-inputs: Likewise.
37701         * benchtests/atan-inputs: New inputs. Fix name of multiple
37702         precision fallback inputs.
37704         * benchtests/atanh-inputs: New inputs.
37705         * benchtests/tanh-inputs: Likewise.
37707         * benchtests/acosh-inputs: New inputs.
37708         * benchtests/asinh-inputs: Likewise.
37710         * benchtests/cosh-inputs: New inputs.
37711         * benchtests/sinh-inputs: Likewise.
37713         * benchtests/acos-inputs: Add more inputs.
37714         * benchtests/asin-inputs: Likewise.
37716 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37718         [BZ #16375]
37719         * manual/arith.texi: Fix spelling.
37720         * manual/charset.texi: Likewise.
37721         * manual/errno.texi: Likewise.
37722         * manual/filesys.texi: Likewise.
37723         * manual/lang.texi: Likewise.
37724         * manual/llio.texi: Likewise.
37725         * manual/locale.texi: Likewise.
37726         * manual/message.texi: Likewise.
37727         * manual/resource.texi: Likewise.
37728         * manual/search.texi: Likewise.
37729         * manual/setjmp.texi: Likewise.
37730         * manual/stdio.texi: Likewise.
37731         * manual/string.texi: Likewise.
37732         * manual/sysinfo.texi: Likewise.
37733         * manual/time.texi: Likewise.
37735 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37737         * po/sl.po: New file.
37739 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37741         * .gitignore: Add core/.gdbinit/.gdb_history.
37743 2013-12-27  Allan McRae  <allan@archlinux.org>
37745         [BZ #16369]
37746         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37747         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37749 2013-12-24  Brooks Moses  <bmoses@google.com>
37751         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37752         all compilers that claim C++98 compliance, not just GCC.
37753         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37754         Likewise.
37756 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37758         * NEWS: Restore accidentally deleted bug-fix entries.
37760 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37761             Ondřej Bílka  <neleai@seznam.cz>
37763         [BZ #15073]
37764         * malloc/malloc.c (_int_free): Perform sanity check only if we
37765         have_lock.
37767 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37769         [BZ #12986]
37770         * manual/stdio.texi (String Input Conversions): Clarify that character
37771         classes are not supported.
37773 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37777 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37779         [BZ #16337]
37780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37781         Calculate results for small negative arguments directly rather
37782         than using reflection formula with special underflow handling.
37784         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37785         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37786         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37787         (fchflags): Likewise.
37788         (revoke): Likewise.
37789         (setlogin): Likewise.
37790         (sigaltstack): Likewise.
37791         (wait4): Likewise.
37792         (sigblock): Remove.
37793         (sigsetmask): Likewise.
37794         (wait3): Likewise.
37795         (waitpid): Likewise.
37796         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37797         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37798         file.
37799         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37800         * sysdeps/unix/bsd/Makefile: ... here.
37801         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37802         * sysdeps/unix/bsd/Versions: ... here.
37803         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37804         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37805         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37806         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37807         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37808         * sysdeps/unix/bsd/sigblock.c: ... here.
37809         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37810         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37811         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37812         * sysdeps/unix/bsd/sigvec.c: ... here.
37813         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37814         * sysdeps/unix/bsd/tcdrain.c: ... here.
37815         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37816         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37817         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37818         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37819         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37820         * sysdeps/unix/bsd/wait.c: ... here.
37821         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37822         * sysdeps/unix/bsd/wait3.c: ... here.
37823         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37824         * sysdeps/unix/bsd/waitpid.c: ... here.
37826 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37828         [BZ #16356]
37829         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37830         round-to-nearest for [!USE_AS_EXPM1L].
37831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37832         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37833         more tests of exp and exp10.  Expect some exp10 tests to miss
37834         exceptions or fail in directed rounding modes.
37835         * math/auto-libm-test-out: Regenerated.
37836         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37837         (exp10_test_tonearest): New function.
37838         (exp10_towardzero_test_data): New array.
37839         (exp10_test_towardzero): New function.
37840         (exp10_downward_test_data): New array.
37841         (exp10_test_downward): New function.
37842         (exp10_upward_test_data): New array.
37843         (exp10_test_upward): New function.
37844         (main): Call the new functions.
37845         * sysdeps/i386/fpu/libm-test-ulps: Update.
37846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37848 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37850         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37851         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37852         * math/auto-libm-test-out: Regenerated.
37853         * math/libm-test.inc (acosh_test_data): Add more tests.
37854         (atanh_test_data): Likewise.
37855         (ceil_test_data): Likewise.
37856         (copysign_test_data): Likewise.
37857         * sysdeps/i386/fpu/libm-test-ulps: Update.
37858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37860         * timezone/checktab.awk: Update from tzcode 2013i.
37861         * timezone/private.h: Likewise.
37862         * timezone/scheck.c: Likewise.
37863         * timezone/tzfile.h: Likewise.
37864         * timezone/tzselect.ksh: Likewise.
37865         * timezone/zdump.c: Likewise.
37866         * timezone/zic.c: Likewise.
37868         * math/auto-libm-test-in: Add tests of cpow.
37869         * math/auto-libm-test-out: Regenerated.
37870         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37871         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37872         mpc_cc_c.
37873         (func_calc_desc): Add mpc_cc_c union field.
37874         (test_functions): Add cpow.
37875         (special_fill_2pi): New function.
37876         (special_real_inputs): Add 2pi.
37877         (calc_generic_results): Handle mpc_cc_c.
37878         * sysdeps/i386/fpu/libm-test-ulps: Update.
37879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37881         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37882         csqrt, ctan and ctanh.
37883         * math/auto-libm-test-out: Regenerated.
37884         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37885         (TEST_COND_x86): Likewise.
37886         (ccos_test_data): Use AUTO_TESTS_c_c.
37887         (ccosh_test_data): Likewise.
37888         (cexp_test_data): Likewise.
37889         (clog_test_data): Likewise.
37890         (csqrt_test_data): Likewise.
37891         (ctan_test_data): Likewise.
37892         (ctan_tonearest_test_data): Likewise.
37893         (ctan_towardzero_test_data): Likewise.
37894         (ctan_downward_test_data): Likewise.
37895         (ctan_upward_test_data): Likewise.
37896         (ctanh_test_data): Likewise.
37897         (ctanh_tonearest_test_data): Likewise.
37898         (ctanh_towardzero_test_data): Likewise.
37899         (ctanh_downward_test_data): Likewise.
37900         (ctanh_upward_test_data): Likewise.
37901         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37902         mpc_c_c.
37903         (func_calc_desc): Add mpc_c_c union field.
37904         (FUNC_mpc_c_c): New macro.
37905         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37906         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37907         ctanh.
37908         (special_fill_min_subnorm_p120): New function.
37909         (special_real_inputs): Add min_subnorm_p120.
37910         (calc_generic_results): Handle mpc_c_c.
37911         * sysdeps/i386/fpu/libm-test-ulps: Update.
37912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37914 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37916         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37917         (do_sin_slow): New functions.
37918         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37919         (cslow2, csloww1, csloww2): Use the new functions.
37921         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37922         Use M to change sign of result instead of X.  Assume X is
37923         positive.
37924         (csloww1): Likewise.
37925         (__sin): Adjust.
37926         (__cos): Adjust.
37928         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37929         arguments A and DA.
37930         (__sin): Adjust.
37931         (__cos): Likewise.
37933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37934         (__cos): Likewise.
37935         (sloww1): Don't adjust sign of DX.
37936         (csloww1): Likewise.
37937         (sloww2): Use X directly and don't adjust sign of DX.
37938         (csloww2): Likewise.
37940 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37942         * math/auto-libm-test-in: Add tests of cabs and carg.
37943         * math/auto-libm-test-out: Regenerated.
37944         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37945         (carg_test_data): Likewise.
37946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37947         mpc_c_f.
37948         (func_calc_desc): Add mpc_c_f union field.
37949         (test_functions): Add cabs and carg.
37950         (calc_generic_results): Handle mpc_c_f.
37952         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37953         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37954         as a macro and a compat symbol.
37955         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37956         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37957         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37958         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37959         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37960         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37961         not use .hidden.
37962         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37963         Likewise.
37964         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37965         Likewise.
37966         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37967         Likewise.
37968         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37969         Likewise.
37970         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37971         Likewise.
37972         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37973         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37974         from GLIBC_2.3.2.
37976 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37980 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37982         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37983         trailing whitespace removed.
37984         * scripts/config.guess: Update to version 2013-11-29.
37985         * scripts/config.sub: Update to version 2013-10-01.
37987         * math/auto-libm-test-in: Add tests of sincos.
37988         * math/auto-libm-test-out: Regenerated.
37989         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37991         mpfr_f_11.
37992         (func_calc_desc): Add mpfr_f_11 union field.
37993         (test_functions): Add sincos.
37994         (calc_generic_results): Handle mpfr_f_11.
37995         * sysdeps/i386/fpu/libm-test-ulps: Update.
37996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37998 2013-12-19  Andreas Schwab  <schwab@suse.de>
38000         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38001         CALL_MCOUNT.
38002         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38003         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38004         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38006 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38008         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38009         * sysdeps/i386/fpu/libm-test-ulps: Update.
38010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38012         [BZ #16293]
38013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38014         round-to-nearest mode when using frndint.
38015         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38016         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38018         Likewise.
38019         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38020         sinh test to fail.
38021         * math/auto-libm-test-out: Regenerated.
38022         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38023         (TEST_COND_x86): Likewise.
38024         (expm1_tonearest_test_data): New array.
38025         (expm1_test_tonearest): New function.
38026         (expm1_towardzero_test_data): New array.
38027         (expm1_test_towardzero): New function.
38028         (expm1_downward_test_data): New array.
38029         (expm1_test_downward): New function.
38030         (expm1_upward_test_data): New array.
38031         (expm1_test_upward): New function.
38032         (main): Run the new test functions.
38033         * sysdeps/i386/fpu/libm-test-ulps: Update.
38034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38036         * include/features.h: Update comment documenting feature test
38037         macros.  Mention _DEFAULT_SOURCE in comment.
38038         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38039         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38040         _BSD_SOURCE and _SVID_SOURCE.
38041         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38042         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38043         !_SVID_SOURCE]: Likewise.
38044         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38045         (__USE_POSIX_IMPLICITLY): Define.
38046         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38047         (_POSIX_SOURCE): Undefine and redefine.
38048         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38049         (_POSIX_C_SOURCE): Likewise.
38050         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38051         (Feature Test Macros): Update documentation of default features.
38053 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38055         * benchtests/Makefile: Add bench-strtok.
38056         * benchtests/bench-strtok.c: New file: strtok benchtest.
38058 2013-12-19  Allan McRae  <allan@archlinux.org>
38060         * manual/install.texi: Suppress menu for plain text output.
38061         * INSTALL: Regenerated.
38063 2013-12-18  Brooks Moses  <bmoses@google.com>
38065         [BZ #15846]
38066         * misc/getauxval.c: Include errno.h.
38067         (__getauxval): Set errno to ENOENT if the requested type is not
38068         found.
38069         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38070         don't declare with __attribute_const__.
38071         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38072         * manual/startup.texi: Document that getauxval sets errno.
38074 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38076         * math/auto-libm-test-in: Add tests of jn and yn.
38077         * math/auto-libm-test-out: Regenerated.
38078         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38079         (yn_test_data): Likewise.
38080         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38081         mpfr_if_f.
38082         (func_calc_desc): Add mpfr_if_f union field.
38083         (FUNC_mpfr_if_f): New macro.
38084         (test_functions): Add jn and yn.
38085         (calc_generic_results): Assert type of second input for
38086         mpfr_ff_f.  Handle mpfr_if_f.
38087         (output_for_one_input_case): Disable all checking for arguments
38088         fitting floating-point types in case of an integer argument.
38089         * sysdeps/i386/fpu/libm-test-ulps: Update.
38090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38093         Don't expect fegetround reference in libm.so.
38095 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38097         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38098         $(config-cflags-nofma).
38100 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38102         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38103         * math/auto-libm-test-out: Regenerated.
38105         [BZ #16338]
38106         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38107         to determine exponent and adjust argument to have exponent of -1.
38108         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38109         log2.
38110         * math/auto-libm-test-out: Regenerated.
38111         * sysdeps/i386/fpu/libm-test-ulps: Update.
38112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38114 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38116         * manual/probes.texi: Remove cases when per-thread arenas are
38117         disabled.
38119 2013-12-18  Andreas Schwab  <schwab@suse.de>
38121         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38122         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38123         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38124         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38125         * sysdeps/i386/i686/multiarch/Makefile: Update.
38126         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38128 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38130         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38131         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38133 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38135         [BZ #15968]
38136         Support TZ transition times < 00:00:00.
38137         This is needed for version-3 tz-format files; it supports time
38138         stamps past 2037 for America/Godthab (the only entry in the tz
38139         database for which this change is relevant).
38140         * manual/time.texi (TZ Variable): Document transition times
38141         from -167:59:59 through -00:00:01.
38142         * time/tzset.c (tz_rule): Time of day is now signed.
38143         (__tzset_parse_tz): Parse negative time of day.
38145         Document TZ transition times >= 25:00:00.
38146         * manual/time.texi (TZ Variable): Document transition times from
38147         25:00:00 through 167:59:59.  These are already supported, and this
38148         support will help with version-3 tz-format files.
38150         * manual/time.texi (TZ Variable): Modernize North America example
38151         to reflect current (i.e., 2007-and-later) daylight saving rules.
38153         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38155 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38157         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38158         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38161         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38162         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38163         * sysdeps/unix/bsd/clock.c: Likewise.
38164         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38165         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38166         * sysdeps/unix/bsd/init-posix.c: Likewise.
38167         * sysdeps/unix/bsd/poll.c: Likewise.
38168         * sysdeps/unix/bsd/ptsname.c: Likewise.
38169         * sysdeps/unix/bsd/seekdir.c: Likewise.
38170         * sysdeps/unix/bsd/setegid.c: Likewise.
38171         * sysdeps/unix/bsd/seteuid.c: Likewise.
38172         * sysdeps/unix/bsd/setgid.c: Likewise.
38173         * sysdeps/unix/bsd/setrgid.c: Likewise.
38174         * sysdeps/unix/bsd/setruid.c: Likewise.
38175         * sysdeps/unix/bsd/setsid.c: Likewise.
38176         * sysdeps/unix/bsd/setuid.c: Likewise.
38177         * sysdeps/unix/bsd/sigaction.c: Likewise.
38178         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38179         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38180         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38181         * sysdeps/unix/bsd/telldir.c: Likewise.
38182         * sysdeps/unix/bsd/times.c: Likewise.
38183         * sysdeps/unix/bsd/usleep.c: Likewise.
38185         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38186         ($(objpfx)libbsd-compat.a): Remove rule.
38188         * include/features.h (__FAVOR_BSD): Do not define.
38189         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38190         features conflicting with POSIX.
38191         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38192         (_BSD_SOURCE): Remove description of not being a subset of other
38193         feature test macros.
38194         * manual/job.texi (getpgrp): Do not document BSD version.
38195         (getpgid): Do not document by reference to BSD getpgrp.
38196         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38197         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38198         * signal/signal.h [__FAVOR_BSD]: Likewise.
38199         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38200         instead of making contents conditional on [__FAVOR_BSD].
38201         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38203 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38207 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38209         [BZ #16314]
38210         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38211         values below 2**-450, not 2**-500.
38212         * math/auto-libm-test-in: Don't allow spurious underflow from
38213         hypot.
38214         * math/auto-libm-test-out: Regenerated.
38216         [BZ #16316]
38217         [BZ #16330]
38218         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38219         values of ha and hb and sort them after adjusting subnormal
38220         arguments.
38221         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38222         Likewise.
38223         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38224         values of ea and eb and sort them after adjusting subnormal
38225         arguments.
38226         * math/auto-libm-test-in: Do not expect some hypot tests of
38227         subnormals to fail.  Add more hypot tests.
38228         * math/auto-libm-test-out: Regenerated.
38230 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38232         [BZ #13304]
38233         * sysdeps/sh/s_fma.c: New file.
38234         * sysdeps/sh/s_fmaf.c: New file.
38235         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38236         version.
38237         * sysdeps/sh/Implies: Add sh/soft-fp.
38239 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38241         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38242         level of indirection to members `objname', `errstring', `malloced'.
38243         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38244         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38245         it as the __longjmp argument (just pass 1 instead).
38246         (_dl_catch_error): Initialize C with argument pointers and address of
38247         volatile local ERRCODE rather than copying values out of C at return.
38249 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38251         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38252         * math/auto-libm-test-out: Regenerated.
38253         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38254         (hypot_test_data): Likewise.
38255         (pow_test_data): Likewise.
38256         (pow_tonearest_test_data): Likewise.
38257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38258         mpfr_ff_f.
38259         (func_calc_desc): Add mpfr_ff_f union field.
38260         (FUNC_mpfr_ff_f): New macro.
38261         (test_functions): Add atan2, hypot and pow.
38262         (special_fill_min): New function.
38263         (special_fill_minus_min): Likewise.
38264         (special_fill_min_subnorm): Likewise.
38265         (special_fill_minus_min_subnorm): Likewise.
38266         (special_real_inputs): Add min, -min, min_subnorm and
38267         -min_subnorm.
38268         (calc_generic_results): Handle mpfr_ff_f.
38269         * sysdeps/i386/fpu/libm-test-ulps: Update.
38270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38272 2013-12-16  Will Newton  <will.newton@linaro.org>
38274         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38275         (Aligned Memory Blocks): Add documentation for aligned_alloc
38276         and suggest it as an alternative to posix_memalign.
38277         (Hooks for Malloc): Document __memalign_hook is also called
38278         for aligned_alloc.  (Summary of Malloc): Add summary for
38279         aligned alloc.  Document __memalign_hook is also called
38280         for aligned_alloc.
38282 2013-12-16  Will Newton  <will.newton@linaro.org>
38284         * manual/memory.texi (Malloc Examples): Clarify default
38285         alignment documentation.  Suggest posix_memalign rather
38286         than memalign or valloc.
38287         (Aligned Memory Blocks): Remove suggestion to use memalign
38288         or valloc.  Remove obsolete comment about BSD.
38289         Document memalign errno values and mark the function obsolete.
38290         Document posix_memalign returned error codes.  Mark valloc
38291         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38292         called for posix_memalign and valloc.
38293         (Summary of Malloc): Add posix_memalign to function summary.
38294         __memalign_hook is also called for posix_memalign and valloc.
38296 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38298         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38299         TAYLOR_SIN.
38300         (__sin): Adjust.
38301         (__cos): Likewise.
38302         (sloww): Use mynumber union.  Expand ternary operator into
38303         if-else statements.
38304         (cslow): use mynumber union.
38306 2013-12-16  Allan McRae  <allan@archlinux.org>
38308         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38309         * configure: Regenerated.
38311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38313         [BZ #14120]
38314         * configure.ac: Added --enable-maintainer-mode. Check for
38315         autoconf when enabled.
38316         * configure: Regenerated.
38318         * nscd/nscd.service: New file.
38319         * nscd/nscd.tmpfiles: New file.
38321 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38323         [BZ #12100]
38324         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38325         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38326         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38327         (strstr): Add __strstr_sse2_unaligned ifunc.
38328         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38329         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38330         (strcasestr): Remove __strcasestr_sse42 ifunc.
38331         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38335 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38337         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38338         * sysdeps/sh/bits/fenv.h: ... here.
38339         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38341 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38343         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38346         hypotf multiarch implementations.
38347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38350         multiarch hypot for PPC64.
38351         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38354         multiarch hypotf for PPC64.
38356         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38357         modff multiarch implementations.
38358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38361         multiarch modf for PPC64.
38362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38365         multiarch modff for PPC64.
38367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38368         and logl multiarch implementations.
38369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38372         multiarch logb for PPC64.
38373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38376         multiarch logb for PPC64.
38377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38380         multiarch logb for PPC64.
38382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38383         isinff multiarch implementation.
38384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38385         file.
38386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38388         multiarch isinf for PPC64.
38389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38390         file.
38391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38392         multiarch isinff for PPC64.
38394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38395         finitef multiarch implementation.
38396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38397         file.
38398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38400         multiarch finite for PPC64.
38401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38402         file.
38403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38404         multiarch finitef for PPC64.
38406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38407         lrint multiarch implementation.
38408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38409         file.
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38412         multiarch llrint for PPC64.
38413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38414         multiarch lrint for PPC64.
38416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38417         copysignf multiarch implementation.
38418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38419         file.
38420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38421         file.
38422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38423         multiarch copysign for PPC64.
38424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38425         multiarch copysignf for PPC64.
38427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38428         multiarch implementation.
38429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38430         file.
38431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38432         file.
38433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38434         file.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38436         file.
38437         multiarch llround for PPC64.
38438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38439         multiarch trunc for PPC64.
38440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38441         multiarch truncf for PPC64.
38443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38444         multiarch implementation.
38445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38446         file.
38447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38448         file.
38449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38450         file.
38451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38452         file.
38453         multiarch llround for PPC64.
38454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38455         multiarch round for PPC64.
38456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38457         multiarch roundf for PPC64.
38459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38460         multiarch implementation.
38461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38462         file.
38463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38464         file.
38465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38466         file.
38467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38468         file.
38469         multiarch llround for PPC64.
38470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38471         multiarch floor for PPC64.
38472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38473         multiarch floorf for PPC64.
38475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38476         multiarch implementation.
38477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38478         file.
38479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38480         file.
38481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38482         file.
38483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38484         file.
38485         multiarch llround for PPC64.
38486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38487         multiarch ceil for PPC64.
38488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38489         multiarch ceilf for PPC64.
38491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38492         multiarch implementation.
38493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38494         file.
38495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38496         file.
38497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38498         file.
38499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38500         multiarch llround for PPC64.
38501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38502         multiarch lround for PPC64.
38504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38505         multiarch implementation.
38506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38509         file.
38510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38513         multiarch isnan for PPC64.
38514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38515         multiarch isnanf for PPC64.
38517         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38518         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38519         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38520         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38521         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38524         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38525         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38530         multiarch implementations.
38531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38532         (__libc_ifunc_impl_list): Likewise.
38533         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38536         multiarch stpcpy for PPC64.
38538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38539         multiarch implementations.
38540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38541         (__libc_ifunc_impl_list): Likewise.
38542         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38543         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38544         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38545         multiarch strcpy for PPC64.
38547         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38548         redefine function name.
38549         (_wordcopy_fwd_dest_aligned): Likewise.
38550         (_wordcopy_bwd_aligned): Likewise.
38551         (_wordcopy_bwd_dest_aligned): Likewise.
38552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38553         multiarch implementations.
38554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38555         (__libc_ifunc_impl_list): Likewise.
38556         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38558         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38560         multiarch wcscpy for PPC64.
38562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38563         multiarch implementations.
38564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38565         (__libc_ifunc_impl_list): Likewise.
38566         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38567         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38568         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38569         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38570         multiarch wcscpy for PPC64.
38572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38573         multiarch implementations.
38574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38575         (__libc_ifunc_impl_list): Likewise.
38576         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38577         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38578         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38579         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38580         multiarch wcsrchr for PPC64.
38582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38583         multiarch implementations.
38584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38585         (__libc_ifunc_impl_list): Likewise.
38586         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38587         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38588         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38589         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38590         multiarch wcschr for PPC64.
38592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38593         multiarch implementations.
38594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38595         (__libc_ifunc_impl_list): Likewise.
38596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38598         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38599         multiarch strchrnul for PPC64.
38601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38602         implementations.
38603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38604         (__libc_ifunc_impl_list): Likewise.
38605         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38606         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38607         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38608         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38609         strchr for PPC64.
38611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38612         implementations.
38613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38614         (__libc_ifunc_impl_list): Likewise.
38615         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38616         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38618         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38619         strncmp for PPC64.
38621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38622         multiarch implementations.
38623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38624         (__libc_ifunc_impl_list): Likewise.
38625         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38626         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38627         strncasecmp for PPC64.
38628         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38629         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38630         multiarch strncasecmp_l for PPC64.
38632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38633         multiarch implementations.
38634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38635         (__libc_ifunc_impl_list): Likewise.
38636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38638         multiarch strcasecmp for PPC64.
38639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38640         file.
38641         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38642         multiarch strcasecmp_l for PPC64.
38644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38645         implementations.
38646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38647         (__libc_ifunc_impl_list): Likewise.
38648         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38649         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38650         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38651         strnlen for PPC64.
38653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38654         implementations.
38655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38656         (__libc_ifunc_impl_list): Likewise.
38657         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38658         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38659         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38660         strlen for PPC64.
38662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38663         implementations.
38664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38665         (__libc_ifunc_impl_list): Likewise.
38666         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38668         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38669         rawmemrchr for PPC64.
38671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38672         implementation.
38673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38674         (__libc_ifunc_impl_list): Likewise.
38675         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38676         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38677         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38678         memrchr for PPC64.
38680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38681         implementation.
38682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38683         (__libc_ifunc_impl_list): Likewise.
38684         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38685         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38686         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38687         memchr for PPC64.
38689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38690         implementation.
38691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38692         (__libc_ifunc_impl_list): Likewise.
38693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38695         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38696         mempcpy for PPC64.
38698         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38699         avoid cretion of __bzero symbol.
38700         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38701         Likewise.
38702         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38703         Likewise.
38704         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38705         Likewise.
38706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38707         multiarch implementations.
38708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38709         (__libc_ifunc_impl_list): Likewise.
38710         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38713         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38714         bzero for PPC32.
38715         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38716         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38717         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38718         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38719         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38720         memset for PPC64.
38721         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38723         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38725         implementations.
38726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38727         (__libc_ifunc_impl_list): Likewise.
38728         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38729         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38730         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38731         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38732         memcmp for PPC64.
38734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38735         multiarch for POWER/PPC64.
38736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38737         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38743         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38744         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38745         memcpy for PPC64.
38747         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38748         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38749         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38750         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38751         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38752         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38753         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38754         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38755         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38756         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38757         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38758         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38759         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38760         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38761         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38770 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38774 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38776         * benchtests/Makefile (bench): Add exp2 and log2.
38777         (LDLIBS-bench-exp2): Add -lm.
38778         (LDLIBS-bench-log2): Likewise.
38779         * benchtests/exp2-inputs: New inputs file.
38780         * benchtests/log2-inputs: New inputs file.
38781         * benchtests/log-inputs: Add new inputs.
38782         * benchtests/tan-inputs: Likewise.
38784 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38786         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38787         definition...
38788         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38789         (csloww2): ... from here.
38791         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38792         instead of structures.
38793         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38794         (POLYNOMIAL): Likewise.
38795         (TAYLOR_SLOW): Likewise.
38796         (__sin): Likewise.
38797         (__cos): Likewise.
38798         (slow1): Likewise.
38799         (slow2): Likewise.
38800         (sloww): Likewise.
38801         (sloww1); Likewise.
38802         (sloww2): Likewise.
38803         (bsloww1): Likewise.
38804         (bsloww2): Likewise.
38805         (cslow2): Likewise.
38806         (csloww): Likewise.
38807         (csloww1): Likewise.
38808         (csloww2): Likewise.
38810 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38812         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38813         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38814         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38815         * malloc/hooks.c (realloc_check): Likewise.
38817         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38818         * malloc/arena.c: Remove PER_THREAD conditional.
38819         [!PER_THREAD]: Remove code.
38820         (ptmalloc_unlock_all2): Likewise.
38821         (ptmalloc_init): Likewise.
38822         (_int_new_arena): Likewise.
38823         (arena_get2): Likewise.
38824         * malloc/hooks.c (__malloc_get_state): Likewise.
38825         (__malloc_set_state): Likewise.
38826         * malloc/malloc.c: Likewise.
38827         (struct malloc_state): Likewise.
38828         (struct malloc_par): Likewise.
38829         (__libc_realloc): Likewise.
38830         (__libc_mallopt): Likewise.
38832 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38834         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38836 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38838         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38839         macro to a function.  Check for zero perturb_byte.
38840         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38842         * malloc/malloc.c: (force_reg): Remove.
38843         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38844         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38845         force_reg by atomic_forced_read.
38846         * malloc/arena.c (ptmalloc_init): Likewise.
38847         * malloc/hooks.c (top_check): Likewise.
38849 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38853 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38857 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38859         * math/auto-libm-test-in: Add tests of lgamma.
38860         * math/auto-libm-test-out: Regenerated.
38861         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38862         (M_LOG_2_SQRT_PIl): Likewise.
38863         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38865         mpfr_f_f1.
38866         (func_calc_desc): Add mpfr_f_f1 union field.
38867         (ARGS1): New macro.
38868         (ARGS2): Likewise.
38869         (ARGS3): Likewise.
38870         (ARGS4): Likewise.
38871         (RET1): Likewise.
38872         (RET2): Likewise.
38873         (CALC): Likewise.
38874         (FUNC): Likewise.
38875         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38876         (test_functions): Add lgamma.
38877         (calc_generic_results): Handle mpfr_f_f1.
38878         * sysdeps/i386/fpu/libm-test-ulps: Update.
38879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38881 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38883         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38884         __mpn_add_n for PowerPC64/POWER7.
38885         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38886         __mpn_sub_n for PowerPC64/POWER7.
38888         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38889         __mpn_addmul_1 for PowerPC64.
38890         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38891         __mpn_submul_1 for PowerPC64.
38892         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38893         for PowerPC64.
38894         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38895         for PowerPC64.
38897 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38899         [BZ #15089]
38900         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38904         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38906         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38907         add multiarch folders.
38908         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38909         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38910         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38911         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38912         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38913         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38914         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38915         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38916         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38917         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38918         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38927         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38929         New file.
38930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38931         New file.
38932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38933         multiarch __ieee754_hypot for PowerPC32.
38934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38935         New file.
38936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38937         New file.
38938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38939         multiarch __ieee754_hypotf for PowerPC32.
38941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38942         long_double_symbol only if __logbl is defined.
38943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38944         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38946         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38948         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38950         path for implementation.
38951         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38952         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38954         logb, and logbl multiarch implementations for PowerPC32.
38955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38956         file.
38957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38958         file.
38959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38960         multiarch logb for PowerPC32.
38961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38962         file.
38963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38964         file.
38965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38966         multiarch logbf for PowerPC32.
38967         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38969         file.
38970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38971         multiarch logbl implementation for PowerPC32.
38973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38974         and modff multiarch implementations.
38975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38976         New file.
38977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38978         New file.
38979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38980         multiarch modf for PowerPC32.
38981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38982         New file.
38983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38984         New file.
38985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38986         multiarch modff for PowerPC32.
38988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38989         and lrintf multiarch implementations.
38990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38991         New file.
38992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38993         New file.
38994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38995         multiarch lrint for PowerPC32.
38996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38997         file: multiarch lrintf for PowerPC32.
38999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39000         and lroundf multiarch implementations.
39001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39002         New file.
39003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39004         New file.
39005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39006         New file.
39007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39008         multiarch lround for PowerPC32.
39009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39010         file: multiarch lroundf for PowerPC32.
39012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39013         copysign and copysignf multiarch implementations.
39014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39015         New file.
39016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39017         New file.
39018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39019         file: multiarch copysign for PowerPC32.
39020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39021         file: multiarch copysignf for PowerPC32.
39023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39024         and truncf multiarch implementations.
39025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39026         New file.
39027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39028         file.
39029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39030         multiarch trunc for PowerPC32.
39031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39032         New file.
39033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39034         New file.
39035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39036         multiarch truncf for PowerPC32.
39038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39039         and roundf multiarch implementations.
39040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39041         New file.
39042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39043         file.
39044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39045         multiarch round for PowerPC32.
39046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39047         New file.
39048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39049         New file.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39051         multiarch roundf for PowerPC32.
39053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39054         and floorf multiarch implementations.
39055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39056         New file.
39057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39058         file.
39059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39060         multiarch floor for PowerPC32.
39061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39062         New file.
39063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39064         New file.
39065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39066         multiarch floorf for PowerPC32.
39068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39069         and ceilf multiarch implementations.
39070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39071         New file.
39072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39073         file.
39074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39075         multiarch ceil for PowerPC32.
39076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39077         New file.
39078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39079         file.
39080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39081         multiarch ceilf for PowerPC32.
39083         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39084         is defined.
39085         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39086         FINITEF is defined.
39087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39088         and finitef multiarch implementations.
39089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39090         New file.
39091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39092         file.
39093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39094         multiarch finite for PowerPC32.
39095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39096         New file.
39097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39098         file: multiarch finitef for PowerPC32.
39100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39101         and isinff multiarch implementations.
39102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39103         file.
39104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39105         file.
39106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39107         multiarch isinf for PowerPC32.
39108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39109         New file.
39110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39111         multiarch isinff for PowerPC32.
39113         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39114         alias when __isnan is defined.
39115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39116         and isnanf multiarch implementations.
39117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39118         file.
39119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39120         file.
39121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39122         file.
39123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39124         file.
39125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39126         multiarch isnan for PowerPC32.
39127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39128         New file.
39129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39130         New file.
39131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39132         multiarch isnanf for PowerPC32.
39134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39135         and sqrtf multiarch implementations.
39136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39137         file.
39138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39139         file.
39140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39141         multiarch sqrt for PowerPC32.
39142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39143         file.
39144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39145         file.
39146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39147         multiarch sqrtf for PowerPC32.
39149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39150         and llroundf multiarch implementations.
39151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39152         New file.
39153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39154         New file.
39155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39156         New file.
39157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39158         file: multiarch llround for PowerPC32.
39159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39160         file: multiarch llroundf for PowerPC32.
39162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39163         multiarch PowerPC32 fpu implementations.
39164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39165         New file.
39166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39167         New file.
39168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39169         multiarch llrint for PowerPC32.
39170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39171         New file.
39172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39173         New file.
39174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39175         file.
39177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39180         file.
39181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39182         file.
39183         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39184         file.
39185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39186         multiarch wordcopy for PPC32.
39187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39188         wordcopy objects.
39189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39190         (__libc_ifunc_impl_list): Likewise.
39191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39192         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39193         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39194         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39195         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39196         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39198         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39200         file.
39201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39202         file.
39203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39204         file.
39205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39206         multiarch wcscpy for PPC32.
39207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39208         multiarch objects.
39209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39210         (__libc_ifunc_impl_list): Likewise.
39211         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39212         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39213         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39214         sysdeps/powerpc/power6/wcscpy.c.
39216         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39218         file.
39219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39220         file.
39221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39222         file.
39223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39224         multiarch wcsrchr for PPC32.
39225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39226         multiarch objects.
39227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39228         (__libc_ifunc_impl_list): Likewise.
39229         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39230         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39231         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39232         sysdeps/powerpc/power6/wcsrchr.c.
39234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39235         file.
39236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39237         file.
39238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39240         multiarch wcschr for PPc32.
39241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39242         multiarch objects.
39243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39244         (__libc_ifunc_impl_list): Likewise.
39245         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39246         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39247         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39248         sysdeps/powerpc/power6/wcschr.c.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39251         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39252         file.
39253         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39254         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39255         file: multiarch strchr for PPC32.
39256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39257         multiarch objects.
39258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39259         (__libc_ifunc_impl_list): Likewise.
39261         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39262         name.
39263         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39264         file.
39265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39266         file.
39267         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39268         multiarch strchrnul for PPC32.
39269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39270         multiarch objects.
39271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39272         (__libc_ifunc_impl_list): Likewise.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39275         file.
39276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39277         multiarch strncasecmp for PPC32.
39278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39279         file.
39280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39281         multiarch strncasecmp_l for PPC32.
39282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39283         strncasecmp multiarch objects.
39284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39285         (__libc_ifunc_impl_list): Likewise.
39287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39288         file.
39289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39290         multiarch strncasecmp for PPC32.
39291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39292         New file.
39293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39294         multiarch strcasecmp_l for PPC32.
39295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39296         multiarch objects.
39297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39298         (__libc_ifunc_impl_list): Likewise.
39300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39301         file.
39302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39303         file.
39304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39305         multiarch strncmp for PPC32.
39306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39307         multiarch objects.
39308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39309         (__libc_ifunc_impl_list): Likewise.
39311         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39312         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39313         file.
39314         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39317         multiarch objects.
39318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39319         (__libc_ifunc_impl_list): Likewise.
39321         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39322         file.
39323         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39324         file.
39325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39327         multiarch objects.
39328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39329         (__libc_ifunc_impl_list): Likewise.
39331         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39332         file.
39333         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39334         file.
39335         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39336         multiarch rawmemchr for PPC32.
39337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39338         multiarch objects.
39339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39340         (__libc_ifunc_impl_list): Likewise.
39342         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39343         file.
39344         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39345         file.
39346         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39347         file: memrchr multiarch for PPC32.
39348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39349         multiarch objects.
39350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39351         (__libc_ifunc_impl_list): Likewise.
39353         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39355         file.
39356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39358         multiarch memchr for PPC32.
39359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39360         multiarch objects.
39361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39362         (__libc_ifunc_impl_list): Likewise.
39364         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39365         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39366         file.
39367         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39368         file.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39370         file: multiarch mempcpy for PPC32.
39371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39372         multiarch objects.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39374         (__libc_ifunc_impl_list): Likewise.
39376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39380         multiarch bzero for PPC32.
39381         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39382         file.
39383         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39384         file.
39385         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39386         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39387         file: multiarch memset for PPC32.
39388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39390         memset multiarch objects.
39391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39392         (__libc_ifunc_impl_list): Likewise.
39394         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39395         file.
39396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39398         memcmp for PPC32.
39399         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39401         multiarch objects.
39402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39403         (__libc_ifunc_impl_list): Likewise.
39405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39408         file.
39409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39410         file.
39411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39412         file.
39413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39414         multiarch memcpy for PPC32.
39415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39416         multiarch objects.
39417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39418         (__libc_ifunc_impl_list): Likewise.
39420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39421         support multiarch for POWER/PPC32.
39422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39423         Likewise.
39424         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39426         Implies file to make multiarch folder appers before the fpu and
39427         default folder for power4 configuration.
39429 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39431         * scripts/bench.pl: Append volatile keyword to type.
39433 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39435         * sysdeps/sh/sotruss-lib.c: New file.
39436         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39438 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39442 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39444         [BZ #6810]
39445         * math/w_tgamma.c: Include <errno.h>.
39446         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39447         * math/w_tgammaf.c: Include <errno.h>.
39448         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39449         * math/w_tgammal.c: Include <errno.h>.
39450         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39451         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39452         underflow.  Add more tgamma tests.
39453         * math/auto-libm-test-out: Regenerated.
39454         * sysdeps/i386/fpu/libm-test-ulps: Update.
39455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39457         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39458         sin, sinh, tan, tanh, tgamma, y0 and y1.
39459         * math/auto-libm-test-out: Regenerated.
39460         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39461         (TEST_COND_x86): Likewise.
39462         (M_E2l): Remove macro.
39463         (M_E3l): Likewise.
39464         (M_2_SQRT_PIl): Likewise.
39465         (M_SQRT_PIl): Likewise.
39466         (M_1_DIV_El): Likewise.
39467         (log_test_data): Use AUTO_TESTS_f_f.
39468         (log10_test_data): Likewise.
39469         (log1p_test_data): Likewise.
39470         (log2_test_data): Likewise.
39471         (sin_test_data): Likewise.
39472         (sin_tonearest_test_data): Likewise.
39473         (sin_towardzero_test_data): Likewise.
39474         (sin_downward_test_data): Likewise.
39475         (sin_upward_test_data): Likewise.
39476         (sinh_test_data): Likewise.
39477         (sinh_tonearest_test_data): Likewise.
39478         (sinh_towardzero_test_data): Likewise.
39479         (sinh_downward_test_data): Likewise.
39480         (sinh_upward_test_data): Likewise.
39481         (tan_test_data): Likewise.
39482         (tan_tonearest_test_data): Likewise.
39483         (tan_towardzero_test_data): Likewise.
39484         (tan_downward_test_data): Likewise.
39485         (tan_upward_test_data): Likewise.
39486         (tanh_test_data): Likewise.
39487         (tgamma_test_data): Likewise.
39488         (y0_test_data): Likewise.
39489         (y1_test_data): Likewise.
39490         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39491         (special_real_inputs): Add pi/4.
39492         * sysdeps/i386/fpu/libm-test-ulps: Update.
39493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39495 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39497         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39498         "longjmp_target" static probes.
39499         (__longjmp): Rename to __longjmp_symbol.
39500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39501         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39502         on which longjmp to generate.
39503         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39505         probe.
39506         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39507         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39508         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39509         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39510         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39511         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39513         __longjmp_symbol based on which __longjmp to generate.
39514         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39515         probe.
39516         (setjmp): Rename to setjmp_symbol.
39517         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39518         (_setjmp): Rename to _setjmp_symbol.
39519         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39520         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39521         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39522         which setjmp to generate.
39523         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39524         "longjmp_target" static probes.
39526 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39528         * benchtests/README: Add note about output arguments.
39529         * benchtests/bench-sincos.c: Remove file.
39530         * benchtests/sincos-inputs: New file.
39531         * scripts/bench.pl: Identify output arguments and define
39532         static variables for them.
39534         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39536         [BZ #15941]
39537         * Makefile (INSTALL): Add install-plain.texi as the primary
39538         dependency.
39539         * manual/install-plain.texi: New file.
39540         * manual/install.texi: Include node directive only for
39541         non-plaintext output.
39543 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39545         * stdlib/longlong.h: Update from GCC.
39547         [BZ #6807]
39548         [BZ #15901]
39549         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39550         * math/w_j0f.c (y0f): Likewise.
39551         * math/w_j0l.c (__y0l): Likewise.
39552         * math/w_j1.c (y1): Likewise.
39553         * math/w_j1f.c (y1f): Likewise.
39554         * math/w_j1l.c (__y1l): Likewise.
39555         * math/w_jn.c (yn): Likewise.
39556         * math/w_jnf.c (ynf): Likewise.
39557         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39558         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39559         value for Bessel function domain errors outside _SVID_ mode.
39560         Adjust sign of return value for yn (negative integer, 0).
39561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39562         by zero in return for negative x and set sign appropriately for
39563         negative n.
39564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39566         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39567         expectations in error cases.
39568         (y1_test_data): Likewise.
39569         (yn_test_data): Likewise.
39570         * sysdeps/i386/fpu/libm-test-ulps: Update.
39571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39573 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39575         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39576         "64" to "64-v1".  Add "64-v2".
39577         (abi-64-options): Rename to ...
39578         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39579         (abi-64-condition): Rename to ...
39580         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39581         (abi-64-ld-soname): Rename to ...
39582         (abi-64-v1-ld-soname): ... this.
39583         (abi-64-v2-options): Define.
39584         (abi-64-v2-condition): Likewise.
39585         (abi-64-v2-ld-soname): Likewise.
39586         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39587         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39592 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39593             Alan Modra  <amodra@gmail.com>
39595         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39596         New versions for use with the ELFv2 ABI.
39597         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39598         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39599         declaration.
39600         (struct La_ppc64v2_retval): Likewise.
39601         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39602         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39603         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39604         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39605         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39606         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39607         Do not save or restore CR.
39608         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39609         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39610         return values for ELFv2 ABI.  Fix location of FPR return registers.
39611         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39612         updated values for _CALL_ELF == 2.
39613         (La_regs, La_retval, int_retval): Likewise.
39615 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39617         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39618         (FRAME_MIN_SIZE_PARM): Likewise.
39619         (FRAME_BACKCHAIN): Likewise.
39620         (FRAME_CR_SAVE): Likewise.
39621         (FRAME_LR_SAVE): Likewise.
39622         (FRAME_TOC_SAVE): Likewise.
39623         (FRAME_PARM_SAVE): Likewise.
39624         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39625         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39626         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39627         (call_mcount_parm_offset): New macro.
39628         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39629         (PROF): Use symbolic stack frame offsets.
39630         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39631         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39632         Redefine in terms of FRAME_MIN_SIZE.
39633         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39634         (_dl_profile_resolve): Likewise.  Update comment.
39635         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39636         symbols stack frame offsets.
39637         (__sigsetjmp): Likewise.
39638         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39639         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39640         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39641         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39644         (FRAME_BACKCHAIN): Remove.
39645         (FRAME_CR_SAVE): Likewise.
39646         (FRAME_LR_SAVE): Likewise.
39647         (FRAME_COMPILER_DW): Likewise.
39648         (FRAME_LINKER_DW): Likewise.
39649         (FRAME_TOC_SAVE): Likewise.
39650         (FRAME_PARM_SAVE): Likewise.
39651         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39652         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39653         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39655         (CHECK_SP): Use symbolic stack frame offsets.
39656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39657         zone" instead of caller's parameter save area for temp storage.
39658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39659         Likewise.  Also, use symbolic stack frame offsets.
39660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39661         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39662         our own stack frame instead of the caller's.
39663         (__socket): Use symbolic stack frame offsets.
39665 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39666             Alan Modra  <amodra@gmail.com>
39668         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39669         Define.
39670         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39671         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39672         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39673         New function.
39674         (elf_machine_fixup_plt): Call it.
39675         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39676         reloc arguments.
39677         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39678         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39679         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39680         r2 before calling target.
39682 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39683             Alan Modra  <amodra@gmail.com>
39685         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39686         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39687         versions of macros to support ELFv2 ABI.
39688         (LOCALENTRY): New macro.
39689         (ENTRY, EALIGN): Use it.
39690         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39691         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39692         fall through into ENTRY entry point.
39693         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39694         Only define if _CALL_ELF != 2.
39696         (elf_machine_matches_host): Verify ABI version matches.
39697         (RTLD_START): Use LOCALENTRY.
39698         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39699         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39700         (PLT_ENTRY_WORDS): New macro.
39701         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39702         (elf_machine_runtime_setup): Support ELFv2 ABI.
39703         (elf_machine_fixup_plt): Likewise.
39704         (elf_machine_plt_conflict): Likewise.
39705         (resolve_ifunc): Likewise.
39706         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39707         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39708         Likewise.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39710         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39712         (makecontext): Support ELFv2 ABI.
39713         * elf/elf.h (EF_PPC64_ABI): Define.
39715 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39717         * sysdeps/powerpc/powerpc64/sysdep.h
39718         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39719         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39720         (ENTRY) [ASSEMBLER]: ... but instead here ...
39721         (EALIGN) [ASSEMBLER]: ... and here.
39722         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39723         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39724         (ENTRY_2) [!ASSEMBLER]: Use it.
39725         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39726         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39727         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39728         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39729         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39731         Use PPC64_LOAD_FUNCPTR.
39733         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39735 2013-12-04  Alan Modra  <amodra@gmail.com>
39737         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39738         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39739         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39740         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39743         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39744         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39745         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39746         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39747         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39749 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39752         (__makecontext): Fix incorrect CFI when backtracing out of
39753         context created via makecontext.
39754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39755         (__setcontext): Fix incorrect CFI during switch to new context.
39756         (__novec_setcontext): Likewise.
39758 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39760         [BZ #4772]
39761         * time/strptime_l.c (__strptime_internal): Allow modifiers
39762         in strptime.
39763         * time/tst-strptime.c (day_tests): Add testcase.
39765 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39767         * scripts/bench.pl: Skip over blank lines.
39769 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39771         [BZ #926]
39772         * manual/time.texi (Calendar Time): Clarify what timezone functions
39773         use.
39775 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39779 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39781         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39782         implementation.
39783         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39784         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39785         * debug/memset_chk.c (__memset_chk): Likewise.
39786         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39787         * debug/strncpy_chk.c: Likewise.
39789 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39791         [BZ #15268]
39792         [BZ #15425]
39793         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39794         (__ieee754_exp): For possibly underflowing results, check size of
39795         result and force underflow exception if required.
39796         * math/auto-libm-test-in: Add more tests of exp.
39797         * math/auto-libm-test-out: Regenerated.
39798         * sysdeps/i386/fpu/libm-test-ulps: Update.
39799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39801         [BZ #16283]
39802         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39803         * math/w_exp2f.c (__exp2f): Likewise.
39804         * math/w_exp2l.c (__exp2l): Likewise.
39805         * math/auto-libm-test-in: Do not allow missing errno on exp2
39806         underflow.
39807         * math/auto-libm-test-out: Regenerated.
39809 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39811         [BZ #16274]
39812         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39813         handle filename validation.
39814         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39815         (do_open): Delete.
39817 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39819         [BZ #6786]
39820         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39821         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39822         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39823         <float.h>.
39824         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39826         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39827         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39828         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39829         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39830         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39831         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39832         Add more erfc tests.
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         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39838         exp2, expm1, j0 and j1.
39839         * math/auto-libm-test-out: Regenerated.
39840         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39841         (erfc_test_data): Likewise.
39842         (exp_test_data): Likewise.
39843         (exp_tonearest_test_data): Likewise.
39844         (exp_towardzero_test_data): Likewise.
39845         (exp_downward_test_data): Likewise.
39846         (exp_upward_test_data): Likewise.
39847         (exp10_test_data): Likewise.
39848         (exp2_test_data): Likewise.
39849         (expm1_test_data): Likewise.
39850         (j0_test_data): Likewise.
39851         (j1_test_data): Likewise.
39852         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39853         (input_flag_type): Add flag_xfail_rounding.
39854         (input_flags): Add xfail-rounding.
39855         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39856         (output_for_one_input_case): Handle flag_xfail_rounding.
39857         * sysdeps/i386/fpu/libm-test-ulps: Update.
39858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39860 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39862         [BZ #16289]
39863         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39864         division by 0.
39866 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39868         [BZ #16195]
39869         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39870         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39871         (STAP_PROBE0): New macro.
39872         (STAP_PROBE1): Likewise.
39873         (STAP_PROBE2): Likewise.
39874         (STAP_PROBE3): Likewise.
39875         (STAP_PROBE4): Likewise.
39877 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39879         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39881 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39883         * benchtests/Makefile (bench): Add sqrt.
39884         (LDLIBS-bench-sqrt): New.
39885         * benchtests/sqrt-input: New.
39887 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39889         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39890         (GAIH_EAI): Likewise.
39891         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39892         (gaih_inet): Likewise.
39893         (getaddrinfo): Don't use GAIH_EAI.
39895         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39896         (struct gaih): Remove definition.
39898 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39900         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39901         Use HERRNOP directly.
39903 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39907 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39909         * math/gen-auto-libm-tests.c (test_functions): Add more
39910         single-argument functions.
39911         (special_fill_pi_2): New function.
39912         (special_fill_minus_pi_2): Likewise.
39913         (special_fill_pi_6): Likewise.
39914         (special_fill_minus_pi_6): Likewise.
39915         (special_fill_pi_3): Likewise.
39916         (special_fill_2pi_3): Likewise.
39917         (special_fill_e): Likewise.
39918         (special_fill_1_e): Likewise.
39919         (special_fill_e_minus_1): Likewise.
39920         (special_real_inputs): Add more special inputs.
39921         (output_for_one_input_case): Do not require ERANGE on underflow to
39922         zero if round-to-nearest result does not underflow to zero, unless
39923         exact results required.
39924         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39925         atan, atanh, cbrt, cos and cosh.
39926         * math/auto-libm-test-out: Regenerated.
39927         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39928         (acos_tonearest_test_data): Likewise.
39929         (acos_towardzero_test_data): Likewise.
39930         (acos_downward_test_data): Likewise.
39931         (acos_upward_test_data): Likewise.
39932         (acosh_test_data): Likewise.
39933         (asin_test_data): Likewise.
39934         (asin_tonearest_test_data): Likewise.
39935         (asin_towardzero_test_data): Likewise.
39936         (asin_upward_test_data): Likewise.
39937         (asinh_test_data): Likewise.
39938         (atan_test_data): Likewise.
39939         (atanh_test_data): Likewise.
39940         (cbrt_test_data): Likewise.
39941         (cos_test_data): Likewise.
39942         (cos_tonearest_test_data): Likewise.
39943         (cos_towardzero_test_data): Likewise.
39944         (cos_downward_test_data): Likewise.
39945         (cos_upward_test_data): Likewise.
39946         (cosh_test_data): Likewise.
39947         (cosh_tonearest_test_data): Likewise.
39948         (cosh_towardzero_test_data): Likewise.
39949         (cosh_downward_test_data): Likewise.
39950         (cosh_upward_test_data): Likewise.
39951         * sysdeps/i386/fpu/libm-test-ulps: Update.
39952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39954 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39956         [BZ #6787]
39957         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39958         * math/w_exp10f.c (__exp10f): Likewise.
39959         * math/w_exp10l.c (__exp10l): Likewise.
39960         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39961         errno settings in existing tests.
39963         [BZ #14032]
39964         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39965         precision control set to double precision.
39966         * sysdeps/i386/fpu/w_sqrt.c: New file.
39967         * math/auto-libm-test-in: Add more tests.
39968         * math/auto-libm-test-out: Update.
39970         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39971         (sqrt_test_tonearest): New function.
39972         (sqrt_towardzero_test_data): New variable.
39973         (sqrt_test_towardzero): New function.
39974         (sqrt_downward_test_data): New variable.
39975         (sqrt_test_downward): New function.
39976         (sqrt_upward_test_data): New variable.
39977         (sqrt_test_upward): New function.
39978         (main): Call the new functions.
39980         * math/gen-auto-libm-tests.c: New file.
39981         * math/auto-libm-test-in: Likewise.
39982         * math/auto-libm-test-out: New generated file.
39983         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39984         variables.
39985         (%beautify): Add generated representations of zero.
39986         (top level): Set $auto_input and call parse_auto_input.
39987         (beautify): Remove trailing "f" from hex float constants.
39988         (parse_args): Handle XFAIL_TEST.
39989         (convert_condition): New function.
39990         (or_value): Likewise.
39991         (or_cond_value): Likewise.
39992         (generate_testfile): Handle AUTO_TESTS_* lines.
39993         (parse_auto_input): New function.
39994         * math/libm-test.inc (XFAIL_TEST): New macro.
39995         (ERRNO_UNCHANGED): Update value.
39996         (ERRNO_EDOM): Likewise.
39997         (ERRNO_ERANGE): Likewise.
39998         (IGNORE_RESULT): Likewise.
39999         (TEST_COND_flt_32): New macro.
40000         (TEST_COND_dbl_64): Likewise.
40001         (TEST_COND_ldbl_96_intel): Likewise.
40002         (TEST_COND_ldbl_96_m68k): Likewise.
40003         (TEST_COND_ldbl_128): Likewise.
40004         (TEST_COND_ldbl_128ibm): Likewise.
40005         (TEST_COND_long32): Likewise.
40006         (TEST_COND_long64): Likewise.
40007         (TEST_COND_before_rounding): Likewise.
40008         (TEST_COND_after_rounding): Likewise.
40009         (enable_test): Handle XFAIL_TEST flag.
40010         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40011         with finite results.
40012         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40013         auto-libm-test-out.
40015 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40016             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40018         [BZ #16214]
40019         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40020         __tls_get_addr_internal instead of __tls_get_offset in order to
40021         avoid GOT pointer dependency.  Make rtld export
40022         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40023         __tls_get_addr since we are a __tls_get_offset platform.
40024         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40025         GOT pointer being set up before.
40026         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40028 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40030         * manual/math.texi (Errors in Math Functions): Document accuracy
40031         goals.
40033         [BZ #15004]
40034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40035         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40038         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40040         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40042         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40051         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40052         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40053         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40054         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40056         Likewise.
40057         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40058         Likewise.
40059         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40060         Likewise.
40061         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40062         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40063         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40064         atomic-feupdateenv and flt-rounds.
40065         * sysdeps/powerpc/nofpu/Versions (libc): Add
40066         __atomic_feholdexcept, __atomic_feclearexcept,
40067         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40068         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40069         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40070         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40071         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40072         here.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40074         Update.
40076         * manual/arith.texi (FP Exceptions): Document that exceptions may
40077         not be raised when matherr is used.
40078         (Math Error Reporting): Document overflow in directed rounding
40079         modes.  Document that errno may not be set when finite values are
40080         returned on overflow.  Document intent to set errno on underflow
40081         only for underflow to zero.
40083         [BZ #16271]
40084         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40085         round-to-nearest then adjust result for other rounding modes.
40086         * include/fenv.h (fegetround): Use libm_hidden_proto.
40087         * math/fegetround.c (fegetround): Use libm_hidden_def.
40088         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40089         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40090         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40092         Likewise.
40093         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40094         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40095         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40096         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40098 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40100         [BZ #16077]
40101         * nss/Versions (libnss_files): Add
40102         _nss_files_gethostbyname3_r.
40103         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40104         New function.
40105         (HOST_DB_LOOKUP): Remove macro.
40106         (_nss_files_gethostbyname_r): Implement function without the
40107         HOST_DB_LOOKUP macro.
40108         (_nss_files_gethostbyname2_r): Likewise.
40110 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40112         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40114 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40116         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40117         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40118         warning.
40120 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40122         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40123         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40124         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40125         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40126         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40127         __fe_nomask_env_priv and attribute_hidden.
40128         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40129         (libc_feupdateenv_test_ppc): Likewise.
40130         (libc_feresetround_ppc): Likewise.
40131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40132         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40133         compat_symbol macro.
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40135         (__fe_nomask_env): Likewise.
40136         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40138 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40140         * string/Makefile: Remove ifunc tests.
40141         * string/test-string.h: Define TEST_IFUNC.
40142         * string/test-bcopy-ifunc.c: Remove.
40143         * string/test-bzero-ifunc.c: Likewise.
40144         * string/test-memccpy-ifunc.c: Likewise.
40145         * string/test-memchr-ifunc.c: Likewise.
40146         * string/test-memcmp-ifunc.c: Likewise.
40147         * string/test-memcpy-ifunc.c: Likewise.
40148         * string/test-memmem-ifunc.c: Likewise.
40149         * string/test-memmove-ifunc.c: Likewise.
40150         * string/test-mempcpy-ifunc.c: Likewise.
40151         * string/test-memrchr-ifunc.c: Likewise.
40152         * string/test-memset-ifunc.c: Likewise.
40153         * string/test-rawmemchr-ifunc.c: Likewise.
40154         * string/test-stpcpy-ifunc.c: Likewise.
40155         * string/test-stpncpy-ifunc.c: Likewise.
40156         * string/test-strcasecmp-ifunc.c: Likewise.
40157         * string/test-strcasestr-ifunc.c: Likewise.
40158         * string/test-strcat-ifunc.c: Likewise.
40159         * string/test-strchr-ifunc.c: Likewise.
40160         * string/test-strchrnul-ifunc.c: Likewise.
40161         * string/test-strcmp-ifunc.c: Likewise.
40162         * string/test-strcpy-ifunc.c: Likewise.
40163         * string/test-strcspn-ifunc.c: Likewise.
40164         * string/test-strlen-ifunc.c: Likewise.
40165         * string/test-strncasecmp-ifunc.c: Likewise.
40166         * string/test-strncat-ifunc.c: Likewise.
40167         * string/test-strncmp-ifunc.c: Likewise.
40168         * string/test-strncpy-ifunc.c: Likewise.
40169         * string/test-strnlen-ifunc.c: Likewise.
40170         * string/test-strpbrk-ifunc.c: Likewise.
40171         * string/test-strrchr-ifunc.c: Likewise.
40172         * string/test-strspn-ifunc.c: Likewise.
40173         * string/test-strstr-ifunc.c: Likewise.
40175 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40177         * benchtests/Makefile: Remove ifunc tests.
40178         * benchtests/bench-string.h: Define TEST_IFUNC.
40179         * benchtests/bench-bcopy-ifunc.c: Remove.
40180         * benchtests/bench-bzero-ifunc.c: Likewise.
40181         * benchtests/bench-memccpy-ifunc.c: Likewise.
40182         * benchtests/bench-memchr-ifunc.c: Likewise.
40183         * benchtests/bench-memcmp-ifunc.c: Likewise.
40184         * benchtests/bench-memcpy-ifunc.c: Likewise.
40185         * benchtests/bench-memmem-ifunc.c: Likewise.
40186         * benchtests/bench-memmove-ifunc.c: Likewise.
40187         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40188         * benchtests/bench-memrchr-ifunc.c: Likewise.
40189         * benchtests/bench-memset-ifunc.c: Likewise.
40190         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40191         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40192         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40193         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40194         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40195         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40196         * benchtests/bench-strcat-ifunc.c: Likewise.
40197         * benchtests/bench-strchr-ifunc.c: Likewise.
40198         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40199         * benchtests/bench-strcmp-ifunc.c: Likewise.
40200         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40201         * benchtests/bench-strcpy-ifunc.c: Likewise.
40202         * benchtests/bench-strcspn-ifunc.c: Likewise.
40203         * benchtests/bench-strlen-ifunc.c: Likewise.
40204         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40205         * benchtests/bench-strncat-ifunc.c: Likewise.
40206         * benchtests/bench-strncmp-ifunc.c: Likewise.
40207         * benchtests/bench-strncpy-ifunc.c: Likewise.
40208         * benchtests/bench-strnlen-ifunc.c: Likewise.
40209         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40210         * benchtests/bench-strrchr-ifunc.c: Likewise.
40211         * benchtests/bench-strsep-ifunc.c: Likewise.
40212         * benchtests/bench-strspn-ifunc.c: Likewise.
40213         * benchtests/bench-strstr-ifunc.c: Likewise.
40215 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40217         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40219 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40221         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40222         * rt/aio.h: Likewise.
40223         * sysdeps/gnu/bits/utmp.h: Likewise.
40224         * sysdeps/gnu/bits/utmpx.h: Likewise.
40225         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40226         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40227         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40228         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40229         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40230         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40231         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40232         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40233         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40234         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40235         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40236         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40237         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40239         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40240         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40241         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40242         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40243         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40244         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40245         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40246         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40247         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40248         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40249         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40251         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40253         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40254         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40255         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40256         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40257         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40258         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40260         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40262         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40263         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40264         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40265         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40266         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40268 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40270         [BZ #16245]
40271         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40272         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40274 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40276         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40277         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40278         Likewise.
40280 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40283         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40284         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40285         (__fesetround): Remove define.
40286         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40287         rounding and exceptions handling.
40288         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40289         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40290         (__fe_nomask_env): Likewise.
40291         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40292         __fegetround instead of fegetround.
40293         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40294         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40296 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40298         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40299         it's there.
40301         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40303 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40305         [BZ #11157]
40306         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40307         (encrypt_r): Likewise.
40308         * malloc/obstack.h (obstack_free): Likewise.
40309         * posix/unistd.h (encrypt): Likewise.
40311 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40313         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40314         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40315         DL_CALL_DT_FINI() that call the functions directly.
40316         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40317         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40318         * elf/dl-fini.c: Likewise.
40320 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40322         * malloc/hooks.c (memalign_check): Add alignment rounding.
40323         * malloc/malloc.c (_mid_memalign): New function.
40324         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40325         Implement by calling _mid_memalign.
40326         * manual/probes.texi (Memory Allocation Probes): Remove
40327         memory_valloc_retry and memory_pvalloc_retry.
40329 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40331         * locale/programs/locarchive.c (open_archive): Add const
40332         qualifier to ARCHIVEFNAME and copy default fname to
40333         DEFAULT_FNAME.
40335         [BZ #15601]
40336         * libio/tst-widetext.input: Rename Oriya to Odia.
40337         * locale/iso-639.def: Likewise.
40339         * manual/probes.texi (Mathematical Function Probes): Add
40340         documentation for sin, cos, asin and acos probes.
40341         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40342         (__sin32): Add slowasin probe.
40343         (__cos32): Add slowacos probe.
40344         (__mpsin): Add slowsin probe.
40345         (__mpcos): Add slowcos probe.
40347 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40349         [BZ #15483]
40350         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40351         thread-local __sim_exceptions_thread and global
40352         __sim_exceptions_global.
40353         (__sim_disabled_exceptions): Change to thread-local
40354         __sim_disabled_exceptions_thread and global
40355         __sim_disabled_exceptions_global.
40356         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40357         and global __sim_round_mode_global.
40358         (__simulate_exceptions): Use thread-local floating-point state and
40359         set global state from it as needed.
40360         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40361         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40362         __sim_round_mode_thread.
40363         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40364         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40365         and global __sim_exceptions_global.
40366         (__sim_disabled_exceptions): Change to thread-local
40367         __sim_disabled_exceptions_thread and global
40368         __sim_disabled_exceptions_global.
40369         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40370         and global __sim_round_mode_global.
40371         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40372         (SIM_SET_GLOBAL): Likewise.
40373         * sysdeps/powerpc/soft-fp/sfp-machine.h
40374         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40375         __sim_round_mode_thread.
40376         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40377         __sim_disabled_exceptions_thread.
40378         (__sim_exceptions): Change to __sim_exceptions_thread.
40379         (__sim_disabled_exceptions): Change to
40380         __sim_disabled_exceptions_thread.
40381         (__sim_round_mode): Change to __sim_round_mode_thread.
40382         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40383         thread-local floating-point state and set global state from it as
40384         needed.
40385         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40386         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40387         (__sim_disabled_exceptions): Remove extern declaration.
40388         (feenableexcept): Use thread-local floating-point state and set
40389         global state from it as needed.
40390         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40391         extern declaration.
40392         (__sim_disabled_exceptions): Likewise.
40393         (__sim_round_mode): Likewise.
40394         (__fegetenv): Use thread-local floating-point state.
40395         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40396         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40397         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40398         floating-point state and set global state from it as needed.
40399         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40400         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40401         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40402         Likewise.
40403         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40404         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40405         Likewise.
40406         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40407         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40408         Use __sim_round_mode_thread.
40409         * math/test-fenv-tls.c: New file.
40410         * math/Makefile (tests): Add test-fenv-tls.
40411         ($(objpfx)test-fenv-tls): Depend on
40412         $(common-objpfx)nptl/libpthread.so.
40414 2013-11-19  Andreas Schwab  <schwab@suse.de>
40416         * locale/programs/locale.c (show_info): Decode wordarray elements.
40417         * locale/categories.def (LC_MONETARY): Add element for
40418         _NL_MONETARY_CRNCYSTR.
40419         * locale/C-monetary.c (conversion_rate): New variable.
40420         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40421         element.
40423 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40425         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40426         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40428 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40430         * elf/Makefile (tst-auxv): New test.
40431         * elf/tst-auxv.c: New
40432         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40434 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40436         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40437         (hidden_proto): Caller changed.
40438         (hidden_tls_proto): New macro.
40439         (libc_hidden_tls_proto): Likewise.
40440         (rtld_hidden_tls_proto): Likewise.
40441         (libm_hidden_tls_proto): Likewise.
40442         (libresolv_hidden_tls_proto): Likewise.
40443         (librt_hidden_tls_proto): Likewise.
40444         (libdl_hidden_tls_proto): Likewise.
40445         (libnss_files_hidden_tls_proto): Likewise.
40446         (libnsl_hidden_tls_proto): Likewise.
40447         (libnss_nisplus_hidden_tls_proto): Likewise.
40448         (libutil_hidden_tls_proto): Likewise.
40450 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40452         [BZ #10253]
40453         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40454         (decompose_rpath): Defer expansion to fillin_rpath.
40455         (_dl_init_paths): Pass linkmap to fillin_rpath.
40457 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40459         * benchtests/Makefile: Add strsep.
40460         * benchtests/bench-strsep.c: New file: strsep benchtest.
40461         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40463 2013-11-18  Andreas Schwab  <schwab@suse.de>
40465         * locale/programs/locale.c (show_info) [case byte]: Check for
40466         '\377' instead of '\177'.
40467         * locale/C-monetary.c (not_available): Always use "\377".
40468         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40469         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40470         detect unavailable sign_posn locale elements.
40471         * locale/localeconv.c (__localeconv): For grouping and
40472         mon_grouping handle "\177" and "\377" like no grouping.
40473         (INT_ELEM): New macro.  Use it to set all numeric members.
40474         * locale/programs/ld-monetary.c (monetary_read)
40475         <tok_mon_grouping>: Normalize single -1 to the empty string.
40476         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40477         Likewise.
40479 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40481         [BZ #16055]
40482         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40483         when we match (nil).
40484         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40486 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40488         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40489         (NO_TEST_INLINE): Update value.
40490         (ERRNO_UNCHANGED): Likewise.
40491         (ERRNO_EDOM): Likewise.
40492         (ERRNO_ERANGE): Likewise.
40493         (IGNORE_RESULT): Likewise.
40494         (check_float_internal): Check signs of NaN results if
40495         TEST_NAN_SIGN used.
40496         (check_complex): Pass TEST_NAN_SIGN flag through to second
40497         check_float_internal call.
40498         (copysign_test_data): Add tests with quiet NaNs as second
40499         argument.  Use TEST_NAN_SIGN.
40500         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40501         TEST_NAN_SIGN.
40502         (signbit_test_data): Add tests of quiet NaN argument.
40503         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40505         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40506         $ignore_result.
40507         (parse_args): Handle function results specified as IGNORE.
40508         * math/libm-test.inc (IGNORE_RESULT): New macro.
40509         (check_float_internal): Do not check numerical result if flag
40510         IGNORE_RESULT set.
40511         (check_complex): Pass through IGNORE_RESULT to second
40512         check_float_internal call.
40513         (check_int): Do not check numerical result if flag IGNORE_RESULT
40514         set.
40515         (check_long): Likewise.
40516         (check_bool): Likewise.
40517         (check_longlong): Likewise.
40518         (lrint_test_data): Add tests of infinite and NaN arguments.
40519         (lrint_tonearest_test_data): Likewise.
40520         (lrint_towardzero_test_data): Likewise.
40521         (lrint_downward_test_data): Likewise.
40522         (lrint_upward_test_data): Likewise.
40523         (llrint_test_data): Likewise.
40524         (llrint_tonearest_test_data): Likewise.
40525         (llrint_towardzero_test_data): Likewise.
40526         (llrint_downward_test_data): Likewise.
40527         (llrint_upward_test_data): Likewise.
40528         (lround_test_data): Likewise.
40529         (llround_test_data): Likewise.
40531         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40532         (ERRNO_UNCHANGED): Update value.
40533         (ERRNO_EDOM): Likewise.
40534         (ERRNO_ERANGE): Likewise.
40535         (NO_TEST_INLINE_FLOAT): New macro.
40536         (NO_TEST_INLINE_DOUBLE): Likewise.
40537         (enable_test): New function.
40538         (RUN_TEST_f_f): Check enable_test before running test.
40539         (RUN_TEST_2_f): Likewise.
40540         (RUN_TEST_fff_f): Likewise.
40541         (RUN_TEST_c_f): Likewise.
40542         (RUN_TEST_f_f1): Likewise.
40543         (RUN_TEST_fF_f1): Likewise.
40544         (RUN_TEST_fI_f1): Likewise.
40545         (RUN_TEST_ffI_f1): Likewise.
40546         (RUN_TEST_c_c): Likewise.
40547         (RUN_TEST_cc_c): Likewise.
40548         (RUN_TEST_f_i): Likewise.
40549         (RUN_TEST_f_i_tg): Likewise.
40550         (RUN_TEST_ff_i_tg): Likewise.
40551         (RUN_TEST_f_b): Likewise.
40552         (RUN_TEST_f_b_tg): Likewise.
40553         (RUN_TEST_f_l): Likewise.
40554         (RUN_TEST_f_L): Likewise.
40555         (RUN_TEST_fFF_11): Likewise.
40556         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40557         conditionals.
40558         (cosh_test_data): Likewise.
40559         (exp_test_data): Likewise.
40560         (expm1_test_data): Likewise.
40561         (hypot_test_data): Likewise.
40562         (pow_test_data): Likewise.
40563         (sinh_test_data): Likewise.
40564         (tanh_test_data): Likewise.
40565         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40566         flags argument.
40568         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40569         tests with quiet NaN input and output.
40570         (acosh_test_data): Likewise.
40571         (asin_test_data): Likewise.
40572         (asinh_test_data): Likewise.
40573         (atan_test_data): Likewise.
40574         (atanh_test_data): Likewise.
40575         (atan2_test_data): Likewise.
40576         (cbrt_test_data): Likewise.
40577         (cos_test_data): Likewise.
40578         (cosh_test_data): Likewise.
40579         (erf_test_data): Likewise.
40580         (erfc_test_data): Likewise.
40581         (exp_test_data): Likewise.
40582         (exp10_test_data): Likewise.
40583         (exp2_test_data): Likewise.
40584         (expm1_test_data): Likewise.
40585         (hypot_test_data): Likewise.
40586         (j0_test_data): Likewise.
40587         (j1_test_data): Likewise.
40588         (jn_test_data): Likewise.
40589         (lgamma_test_data): Likewise.
40590         (log_test_data): Likewise.
40591         (log10_test_data): Likewise.
40592         (log1p_test_data): Likewise.
40593         (log2_test_data): Likewise.
40594         (pow_test_data): Likewise.
40595         (scalb_test_data): Likewise.
40596         (sin_test_data): Likewise.
40597         (sincos_test_data): Likewise.
40598         (sinh_test_data): Likewise.
40599         (tan_test_data): Likewise.
40600         (tanh_test_data): Likewise.
40601         (tgamma_test_data): Likewise.
40602         (y0_test_data): Likewise.
40603         (y1_test_data): Likewise.
40604         (yn_test_data): Likewise.
40606         [BZ #16167]
40607         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40608         argument being NaN and avoid computations with second argument in
40609         that case.
40610         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40611         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40612         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40614 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40616         * locale/iso-639.def: Add Chitwani Tharu (the).
40618 2013-11-14  Andreas Schwab  <schwab@suse.de>
40620         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40621         word instead of empty string.
40623 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40626         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40628         (__fe_nomask_env): Likewise.
40630 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40632         * benchtests/bench-timing.h: Include time.h.
40634 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40636         [BZ #15997]
40637         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40638         to 3.4.0 for x32.
40639         * sysdeps/unix/sysv/linux/configure: Regenerated.
40641 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40643         [BZ #16151]
40644         * stdlib/strtod_l.c (round_and_return): Do not consider
40645         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40646         exponent one less than half the least subnormal exponent.
40647         * stdlib/test-strtod-round-data: Add more tests.
40648         * stdlib/tst-strtod-round.c (tests): Regenerated.
40650 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40652         [BZ #14143]
40653         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40654         (__fe_mask_env): Likewise.
40655         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40656         libm_hidden_proto and add function prototype.
40657         (__fe_mask_env): Add function prototype.
40658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40659         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40661         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40663         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40665 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40667         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40668         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40670 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40672         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40673         of htab_find_slot().
40675 2013-11-11  David S. Miller  <davem@davemloft.net>
40677         [BZ #16150]
40678         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40679         symbol in the non-vis3 case in static builds.
40680         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40681         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40682         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40683         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40685 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40687         [BZ #387]
40688         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40689         it is empty.
40691 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40693         * benchtests/Makefile: Add bench-strtod.
40694         * benchtests/bench-strtod.c: New file: strtod benchtest
40696 2013-11-11  Andreas Schwab  <schwab@suse.de>
40698         [BZ #16153]
40699         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40700         terminating NUL in key length.
40702 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40705         Add artificial ODP entry for vDSO symbol for PPC64.
40706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40707         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40709 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40711         [BZ #15374]
40712         * nss/getent.c (services_keys): Recognize services starting with digit.
40714 2013-11-06  David S. Miller  <davem@davemloft.net>
40716         [BZ #15985]
40717         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40718         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40720 2013-11-06  Will Newton  <will.newton@linaro.org>
40722         * manual/memory.texi (Malloc Examples): Remove register
40723         keyword from examples.
40725 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40727         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40729 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40731         [BZ #6981]
40732         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40733         depending on [__GCC_IEC_559 > 0].
40734         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40735         depending on [__GCC_IEC_559_COMPLEX > 0].
40737 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40739         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40740         to iso-639.def.
40742 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40744         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40746 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40748         [BZ #16112]
40749         * malloc/malloc (malloc_info): Do not handle first bin as
40750         special case.
40752 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40754         * locale/iso-639.def: Add Central Nahuatl (nhn).
40756 2013-11-01  Bruno Haible  <bruno@clisp.org>
40758         [BZ #7003]
40759         * manual/math.texi (BSD Random): Specify range upper bound as
40760         in POSIX.
40762 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40764         * locale/iso-639.def: Add Meadow Mari (mhr).
40766 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40768         [BZ #14752], [BZ #15763]
40769         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40770         Validate name.
40771         * rt/tst_shm.c: Add test for escaping directory.
40773 2013-10-31  Andreas Schwab  <schwab@suse.de>
40775         [BZ #15917]
40776         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40777         followed by 'x' as part of digit sequence.
40778         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40780 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40782         [BZ #16037]
40783         * configure.ac: allow GNU Make 4.0 and greater.
40784         * configure: Regenerated.
40786 2013-10-30  Will Newton  <will.newton@linaro.org>
40788         [BZ #16038]
40789         * malloc/hooks.c (memalign_check): Limit alignment to the
40790         maximum representable power of two.
40791         * malloc/malloc.c (__libc_memalign): Likewise.
40792         * malloc/tst-memalign.c (do_test): Add test for very
40793         large alignment values.
40794         * malloc/tst-posix_memalign.c (do_test): Likewise.
40796 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40798         [BZ #11087]
40799         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40800         (munmap_chunk): Likewise.
40801         (mremap_chunk): Likewise.
40803 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40805         [BZ #15799]
40806         * stdlib/div.c (div): Remove obsolete code.
40807         * stdlib/ldiv.c (ldiv): Likewise.
40808         * stdlib/lldiv.c (lldiv): Likewise.
40810 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40812         [BZ #16071]
40813         * nss/nss_files/files-XXX.c (get_contents_ret): New
40814         enumerator.
40815         (get_contents): New function.
40816         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40818 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40820         * configure.in: Moved to ...
40821         * configure.ac: ... here. Change reference to configure.in
40822         to configure.ac.
40823         * sysdeps/arm/preconfigure.ac: ... here.
40824         configure.in to configure.ac.
40825         * sysdeps/gnu/configure.in: Moved to ...
40826         * sysdeps/gnu/configure.ac: ... here.
40827         * sysdeps/i386/configure.in: Moved to ...
40828         * sysdeps/i386/configure.ac: ... here.
40829         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40830         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40831         * sysdeps/mach/configure.in: Moved to ...
40832         * sysdeps/mach/configure.ac: ... here.
40833         * sysdeps/mach/hurd/configure.in: Moved to ...
40834         * sysdeps/mach/hurd/configure.ac: ... here.
40835         * sysdeps/powerpc/configure.in: Moved to ...
40836         * sysdeps/powerpc/configure.ac: ... here.
40837         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40838         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40839         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40840         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40841         * sysdeps/s390/s390-32/configure.in: Moved to ...
40842         * sysdeps/s390/s390-32/configure.ac: ... here.
40843         * sysdeps/s390/s390-64/configure.in: Moved to ...
40844         * sysdeps/s390/s390-64/configure.ac: ... here.
40845         * sysdeps/sh/configure.in: Moved to ...
40846         * sysdeps/sh/configure.ac: ... here.
40847         * sysdeps/sparc/configure.in: Moved to ...
40848         * sysdeps/sparc/configure.ac: ... here.
40849         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40850         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40851         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40852         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40853         * sysdeps/x86_64/configure.in: Moved to ...
40854         * sysdeps/x86_64/configure.ac: ... here.
40855         * sysdeps/x86_64/preconfigure.in: Moved to ...
40856         * sysdeps/x86_64/preconfigure.ac: ... here.
40857         * aclocal.m4: Change reference to configure.in to configure.ac.
40858         * config.h.in: Likewise.
40859         * manual/install.texi: Likewise.
40860         * manual/maint.texi: Likewise.
40861         * Makefile: Likewise.
40862         * malloc/Makefile: Likewise.
40863         * nscd/Makefile: Likewise.
40864         * Makeconfig: Change reference to configure.in and
40865         preconfigure.in to configure.ac and preconfigure.ac
40866         respectively.
40867         * INSTALL: Regenerated.
40868         * configure: Likewise.
40869         * sysdeps/gnu/configure: Likewise.
40870         * sysdeps/i386/configure: Likewise.
40871         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40872         * sysdeps/mach/configure: Likewise.
40873         * sysdeps/mach/hurd/configure: Likewise.
40874         * sysdeps/powerpc/configure: Likewise.
40875         * sysdeps/powerpc/powerpc32/configure: Likewise.
40876         * sysdeps/powerpc/powerpc64/configure: Likewise.
40877         * sysdeps/s390/s390-32/configure: Likewise.
40878         * sysdeps/s390/s390-64/configure: Likewise.
40879         * sysdeps/sh/configure: Likewise.
40880         * sysdeps/sparc/configure: Likewise.
40881         * sysdeps/unix/sysv/linux/configure: Likewise.
40882         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40883         * sysdeps/x86_64/configure: Likewise.
40884         * sysdeps/x86_64/preconfigure: Likewise.
40886 2013-10-29  Andreas Schwab  <schwab@suse.de>
40888         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40890 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * benchtests/pow-inputs: Add new inputs.
40894         * benchtests/exp-inputs: Add new inputs.
40896         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40897         conditional check for return value.
40898         (__cos32): Likewise.
40900 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40902         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40903         to provide a boost for large inputs with word alignment.
40904         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40905         implementation based on optimized PPC64 strcpy.
40906         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40907         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40908         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40909         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40911 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40913         [BZ #2801]
40914         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40916 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40918         [BZ #14876]
40919         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40920         * time/tst-strptime.c (day_tests): Add testcase.
40922 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40924         [BZ #14029]
40925         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40927 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40929         [BZ #16074]
40930         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40931         MAP_FAILED on error.
40933 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40935         [BZ #16072]
40936         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40937         heap for large requests.
40939 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40941         [BZ #9954]
40942         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40943         result if the result has no associated interface.
40944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40945         interface for all 127.X.Y.Z addresses.
40947 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40949         * locale/iso-639.def: Add Ligurian (lij)
40951 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40953         [BZ #15825]
40954         * sunrpc/rpc_main.c: Document rpcgen -5.
40956 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40958         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40960 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40962         [BZ #10278]
40963         * posix/glob.c: Match only directories when trailing slash is present.
40964         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40965         (main): Add testcase.
40967 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40969         [BZ #15670]
40970         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40972 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40974         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40975         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40976         AUTH_DES and cindex for FIPS 140-2.
40977         (DES Encryption): Add cindex FIPS 46-3.
40979         * locale/locarchive.h (struct locarhandle): Add fname.
40980         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40981         if an optional argument was specified to --list-archive,
40982         otherwise NULL.
40983         * locale/programs/locarchive.c (show_archive_content): Take new
40984         argument fname and pass it via ah.fname to open_archive.
40985         * locale/programs/localedef.h: Update decl.
40986         (open_archive): If AH->fname is non-null, open that file
40987         rather than the default file name, and don't ignore ENOENT.
40988         (create_archive): Set AH.fname to NULL.
40989         (delete_locales_from_archive): Likewise.
40990         (add_locales_to_archive): Likewise.
40991         * locale/programs/locfile.c (write_all_categories): Likewise.
40993 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40994             Aldy Hernandez  <aldyh@redhat.com>
40996         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40997         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40998         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40999         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41000         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41001         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41004         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41007         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41009         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41010         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41011         Likewise.
41012         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41013         Likewise.
41014         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41015         Likewise.
41016         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41017         Likewise.
41018         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41019         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41020         Likewise.
41021         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41022         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41023         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41024         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41025         Likewise.
41026         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41027         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41028         * sysdeps/powerpc/preconfigure: Likewise.
41029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41030         Likewise.
41031         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41032         Replace contents of file by #include of <fenv_libc.h>.
41033         * sysdeps/powerpc/soft-fp/sfp-machine.h
41034         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41035         and <sys/prctl.h>.
41036         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41044         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41049         Allow copysignl PLT reference to be missing.
41051 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41052             Joseph Myers  <joseph@codesourcery.com
41054         [BZ #15948]
41055         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41056         single character.
41057         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41059 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41061         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41062         * elf/tst-tls1.c: Likewise.
41063         * elf/tst-tls10.h: Likewise.
41064         * elf/tst-tls14.c: Likewise.
41065         * elf/tst-tls2.c: Likewise.
41066         * elf/tst-tls3.c: Likewise.
41067         * elf/tst-tls4.c: Likewise.
41068         * elf/tst-tls5.c: Likewise.
41069         * elf/tst-tls6.c: Likewise.
41070         * elf/tst-tls7.c: Likewise.
41071         * elf/tst-tls8.c: Likewise.
41072         * elf/tst-tls9.c: Likewise.
41073         * elf/tst-tlsmod1.c: Likewise.
41074         * elf/tst-tlsmod13.c: Likewise.
41075         * elf/tst-tlsmod13a.c: Likewise.
41076         * elf/tst-tlsmod14a.c: Likewise.
41077         * elf/tst-tlsmod16a.c: Likewise.
41078         * elf/tst-tlsmod16b.c: Likewise.
41079         * elf/tst-tlsmod2.c: Likewise.
41080         * elf/tst-tlsmod3.c: Likewise.
41081         * elf/tst-tlsmod4.c: Likewise.
41082         * elf/tst-tlsmod5.c: Likewise.
41083         * elf/tst-tlsmod6.c: Likewise.
41085 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41087         [BZ #12486]
41088         * malloc/malloc.c: remove checks for statistics.
41090 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41092         [BZ #15277]
41093         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41094         * inet/tst-network.c: Add testcase.
41096 2013-10-17  Andreas Schwab  <schwab@suse.de>
41098         [BZ #15218]
41099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41100         to determine canonical name.
41102 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41104         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41105         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41119         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41126         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41128         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41129         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41134         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41138         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41140         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41141         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41142         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41143         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41144         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41145         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41146         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41147         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41148         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41149         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41150         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41151         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41154         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41155         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41157         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41158         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41159         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41160         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41161         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41163 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41165         [BZ #16041]
41166         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41167         make result into a quiet NaN.
41169 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41171         * soft-fp/adddf3.c: Fix horizontal whitespace.
41172         * soft-fp/addsf3.c: Likewise.
41173         * soft-fp/addtf3.c: Likewise.
41174         * soft-fp/divdf3.c: Likewise.
41175         * soft-fp/divsf3.c: Likewise.
41176         * soft-fp/divtf3.c: Likewise.
41177         * soft-fp/double.h: Likewise.
41178         * soft-fp/eqdf2.c: Likewise.
41179         * soft-fp/eqsf2.c: Likewise.
41180         * soft-fp/eqtf2.c: Likewise.
41181         * soft-fp/extenddftf2.c: Likewise.
41182         * soft-fp/extended.h: Likewise.
41183         * soft-fp/extendsfdf2.c: Likewise.
41184         * soft-fp/extendsftf2.c: Likewise.
41185         * soft-fp/extendxftf2.c: Likewise.
41186         * soft-fp/fixdfdi.c: Likewise.
41187         * soft-fp/fixdfsi.c: Likewise.
41188         * soft-fp/fixdfti.c: Likewise.
41189         * soft-fp/fixsfdi.c: Likewise.
41190         * soft-fp/fixsfsi.c: Likewise.
41191         * soft-fp/fixsfti.c: Likewise.
41192         * soft-fp/fixtfdi.c: Likewise.
41193         * soft-fp/fixtfsi.c: Likewise.
41194         * soft-fp/fixtfti.c: Likewise.
41195         * soft-fp/fixunsdfdi.c: Likewise.
41196         * soft-fp/fixunsdfsi.c: Likewise.
41197         * soft-fp/fixunsdfti.c: Likewise.
41198         * soft-fp/fixunssfdi.c: Likewise.
41199         * soft-fp/fixunssfsi.c: Likewise.
41200         * soft-fp/fixunssfti.c: Likewise.
41201         * soft-fp/fixunstfdi.c: Likewise.
41202         * soft-fp/fixunstfsi.c: Likewise.
41203         * soft-fp/fixunstfti.c: Likewise.
41204         * soft-fp/floatdidf.c: Likewise.
41205         * soft-fp/floatdisf.c: Likewise.
41206         * soft-fp/floatditf.c: Likewise.
41207         * soft-fp/floatsidf.c: Likewise.
41208         * soft-fp/floatsisf.c: Likewise.
41209         * soft-fp/floatsitf.c: Likewise.
41210         * soft-fp/floattidf.c: Likewise.
41211         * soft-fp/floattisf.c: Likewise.
41212         * soft-fp/floattitf.c: Likewise.
41213         * soft-fp/floatundidf.c: Likewise.
41214         * soft-fp/floatundisf.c: Likewise.
41215         * soft-fp/floatunditf.c: Likewise.
41216         * soft-fp/floatunsidf.c: Likewise.
41217         * soft-fp/floatunsisf.c: Likewise.
41218         * soft-fp/floatunsitf.c: Likewise.
41219         * soft-fp/floatuntidf.c: Likewise.
41220         * soft-fp/floatuntisf.c: Likewise.
41221         * soft-fp/floatuntitf.c: Likewise.
41222         * soft-fp/fmadf4.c: Likewise.
41223         * soft-fp/fmasf4.c: Likewise.
41224         * soft-fp/fmatf4.c: Likewise.
41225         * soft-fp/gedf2.c: Likewise.
41226         * soft-fp/gesf2.c: Likewise.
41227         * soft-fp/getf2.c: Likewise.
41228         * soft-fp/ledf2.c: Likewise.
41229         * soft-fp/lesf2.c: Likewise.
41230         * soft-fp/letf2.c: Likewise.
41231         * soft-fp/muldf3.c: Likewise.
41232         * soft-fp/mulsf3.c: Likewise.
41233         * soft-fp/multf3.c: Likewise.
41234         * soft-fp/negdf2.c: Likewise.
41235         * soft-fp/negsf2.c: Likewise.
41236         * soft-fp/negtf2.c: Likewise.
41237         * soft-fp/op-1.h: Likewise.
41238         * soft-fp/op-2.h: Likewise.
41239         * soft-fp/op-4.h: Likewise.
41240         * soft-fp/op-8.h: Likewise.
41241         * soft-fp/op-common.h: Likewise.
41242         * soft-fp/quad.h: Likewise.
41243         * soft-fp/single.h: Likewise.
41244         * soft-fp/soft-fp.h: Likewise.
41245         * soft-fp/sqrtdf2.c: Likewise.
41246         * soft-fp/sqrtsf2.c: Likewise.
41247         * soft-fp/sqrttf2.c: Likewise.
41248         * soft-fp/subdf3.c: Likewise.
41249         * soft-fp/subsf3.c: Likewise.
41250         * soft-fp/subtf3.c: Likewise.
41251         * soft-fp/truncdfsf2.c: Likewise.
41252         * soft-fp/trunctfdf2.c: Likewise.
41253         * soft-fp/trunctfsf2.c: Likewise.
41254         * soft-fp/trunctfxf2.c: Likewise.
41255         * soft-fp/unorddf2.c: Likewise.
41256         * soft-fp/unordsf2.c: Likewise.
41257         * soft-fp/unordtf2.c: Likewise.
41259 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41261         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41262         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41264 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41266         * elf/dl-libc.c: Clear initfini list after freeing.
41268 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41270         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41271         * soft-fp/addsf3.c: Likewise.
41272         * soft-fp/addtf3.c: Likewise.
41273         * soft-fp/divdf3.c: Likewise.
41274         * soft-fp/divsf3.c: Likewise.
41275         * soft-fp/divtf3.c: Likewise.
41276         * soft-fp/double.h: Likewise.
41277         * soft-fp/eqdf2.c: Likewise.
41278         * soft-fp/eqsf2.c: Likewise.
41279         * soft-fp/eqtf2.c: Likewise.
41280         * soft-fp/extenddftf2.c: Likewise.
41281         * soft-fp/extended.h: Likewise.
41282         * soft-fp/extendsfdf2.c: Likewise.
41283         * soft-fp/extendsftf2.c: Likewise.
41284         * soft-fp/extendxftf2.c: Likewise.
41285         * soft-fp/fixdfdi.c: Likewise.
41286         * soft-fp/fixdfsi.c: Likewise.
41287         * soft-fp/fixdfti.c: Likewise.
41288         * soft-fp/fixsfdi.c: Likewise.
41289         * soft-fp/fixsfsi.c: Likewise.
41290         * soft-fp/fixsfti.c: Likewise.
41291         * soft-fp/fixtfdi.c: Likewise.
41292         * soft-fp/fixtfsi.c: Likewise.
41293         * soft-fp/fixtfti.c: Likewise.
41294         * soft-fp/fixunsdfdi.c: Likewise.
41295         * soft-fp/fixunsdfsi.c: Likewise.
41296         * soft-fp/fixunsdfti.c: Likewise.
41297         * soft-fp/fixunssfdi.c: Likewise.
41298         * soft-fp/fixunssfsi.c: Likewise.
41299         * soft-fp/fixunssfti.c: Likewise.
41300         * soft-fp/fixunstfdi.c: Likewise.
41301         * soft-fp/fixunstfsi.c: Likewise.
41302         * soft-fp/fixunstfti.c: Likewise.
41303         * soft-fp/floatdidf.c: Likewise.
41304         * soft-fp/floatdisf.c: Likewise.
41305         * soft-fp/floatditf.c: Likewise.
41306         * soft-fp/floatsidf.c: Likewise.
41307         * soft-fp/floatsisf.c: Likewise.
41308         * soft-fp/floatsitf.c: Likewise.
41309         * soft-fp/floattidf.c: Likewise.
41310         * soft-fp/floattisf.c: Likewise.
41311         * soft-fp/floattitf.c: Likewise.
41312         * soft-fp/floatundidf.c: Likewise.
41313         * soft-fp/floatundisf.c: Likewise.
41314         * soft-fp/floatunsidf.c: Likewise.
41315         * soft-fp/floatunsisf.c: Likewise.
41316         * soft-fp/floatuntidf.c: Likewise.
41317         * soft-fp/floatuntisf.c: Likewise.
41318         * soft-fp/floatuntitf.c: Likewise.
41319         * soft-fp/fmadf4.c: Likewise.
41320         * soft-fp/fmasf4.c: Likewise.
41321         * soft-fp/fmatf4.c: Likewise.
41322         * soft-fp/gedf2.c: Likewise.
41323         * soft-fp/gesf2.c: Likewise.
41324         * soft-fp/getf2.c: Likewise.
41325         * soft-fp/ledf2.c: Likewise.
41326         * soft-fp/lesf2.c: Likewise.
41327         * soft-fp/letf2.c: Likewise.
41328         * soft-fp/muldf3.c: Likewise.
41329         * soft-fp/mulsf3.c: Likewise.
41330         * soft-fp/multf3.c: Likewise.
41331         * soft-fp/negdf2.c: Likewise.
41332         * soft-fp/negsf2.c: Likewise.
41333         * soft-fp/negtf2.c: Likewise.
41334         * soft-fp/op-1.h: Likewise.
41335         * soft-fp/op-2.h: Likewise.
41336         * soft-fp/op-4.h: Likewise.
41337         * soft-fp/op-8.h: Likewise.
41338         * soft-fp/op-common.h: Likewise.
41339         * soft-fp/quad.h: Likewise.
41340         * soft-fp/single.h: Likewise.
41341         * soft-fp/soft-fp.h: Likewise.
41342         * soft-fp/sqrtdf2.c: Likewise.
41343         * soft-fp/sqrtsf2.c: Likewise.
41344         * soft-fp/sqrttf2.c: Likewise.
41345         * soft-fp/subdf3.c: Likewise.
41346         * soft-fp/subsf3.c: Likewise.
41347         * soft-fp/subtf3.c: Likewise.
41348         * soft-fp/truncdfsf2.c: Likewise.
41349         * soft-fp/trunctfdf2.c: Likewise.
41350         * soft-fp/trunctfsf2.c: Likewise.
41351         * soft-fp/trunctfxf2.c: Likewise.
41352         * soft-fp/unorddf2.c: Likewise.
41353         * soft-fp/unordsf2.c: Likewise.
41354         * soft-fp/unordtf2.c: Likewise.
41356 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41358         [BZ #15672]
41359         * misc/error.c (error_tail): Fix possible buffer overflow.
41361 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41363         [BZ #13028]
41364         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41365         address.
41367 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41369         [BZ #832]
41370         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41371         testing pipefail option.
41373 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41375         * soft-fp/double.h: Indent preprocessor directives inside #if.
41376         * soft-fp/extended.h: Likewise.
41377         * soft-fp/op-2.h: Likewise.
41378         * soft-fp/op-4.h: Likewise.
41379         * soft-fp/op-common.h: Likewise.
41380         * soft-fp/quad.h: Likewise.
41381         * soft-fp/single.h: Likewise.
41382         * soft-fp/soft-fp.h: Likewise.
41384 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41386         * iconv/iconv_prog.c: Fix typos.
41387         * stdio-common/psiginfo-data.h: Likewise.
41389 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41391         [BZ #15764]
41392         * locale/setlocale.c: Fix typo.
41394 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41396         [BZ #16036]
41397         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41398         signaling NaN arguments.
41399         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41400         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41402         [BZ #14910]
41403         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41404         unordered operands.
41405         * soft-fp/gesf2.c (__gesf2): Likewise.
41406         * soft-fp/getf2.c (__getf2): Likewise.
41407         * soft-fp/ledf2.c (__ledf2): Likewise.
41408         * soft-fp/lesf2.c (__lesf2): Likewise.
41409         * soft-fp/letf2.c (__letf2): Likewise.
41411         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41412         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41413         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41414         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41415         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41416         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41417         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41418         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41419         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41420         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41421         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41422         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41423         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41424         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41425         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41426         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41427         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41428         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41429         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41430         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41431         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41432         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41433         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41434         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41435         * soft-fp/floattidf.c (__floattidf): Likewise.
41436         * soft-fp/floattisf.c (__floattisf): Likewise.
41437         * soft-fp/floattitf.c (__floattitf): Likewise.
41438         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41439         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41440         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41441         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41442         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41443         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41444         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41445         * soft-fp/gesf2.c (__gesf2): Likewise.
41446         * soft-fp/getf2.c (__getf2): Likewise.
41447         * soft-fp/ledf2.c (__ledf2): Likewise.
41448         * soft-fp/lesf2.c (__lesf2): Likewise.
41449         * soft-fp/letf2.c (__letf2): Likewise.
41451         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41452         Undefine and redefine.
41453         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41454         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41455         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41456         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41457         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41458         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41459         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41460         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41461         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41462         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41463         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41464         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41465         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41466         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41467         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41469         [BZ #16032]
41470         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41471         without decrementing exponent if mantissa >= that for the
41472         denominator, not >.
41473         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41474         denominator, not >.  Decrement exponent in < case instead of
41475         incrementing in >= case.
41476         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41477         without decrementing exponent if mantissa >= that for the
41478         denominator, not >.
41480         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41481         computing saturated result for unsigned overflow.
41483 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41484             Jeff Law  <law@redhat.com>
41486         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41487         (atan2Mp): Add systemtap probe marker.
41488         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41489         (__ieee754_log): Add systemtap probe marker.
41490         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41491         (atanMp): Add systemtap probe marker.
41492         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41493         (tanMp): Add systemtap probe marker.
41494         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41495         (__slowexp): Add systemtap probe marker.
41496         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41497         (__slowpow): Add systemtap probe marker.
41498         * manual/probes.texi: Document probes.
41500 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41502         [BZ #15362]
41503         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41504         written.
41505         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41506         written.
41507         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41508         written to buffer but not flushed.
41509         * libio/iofwrite_u.c:  Likewise.
41510         * libio/iopadn.c:  Return bytes returned even if EOF was
41511         encountered.
41512         * libio/iowpadn.c:  Likewise.
41513         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41514         if _IO_padn does not write the whole buffer.
41515         [!COMPILE_WPRINTF] (PAD): Likewise.
41517 2013-10-10  David S. Miller  <davem@davemloft.net>
41519         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41520         directory block.
41522 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41524         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41525         instead of FSF address.
41526         * soft-fp/fixdfti.c: Likewise.
41527         * soft-fp/fixsfti.c: Likewise.
41528         * soft-fp/fixtfti.c: Likewise.
41529         * soft-fp/fixunsdfti.c: Likewise.
41530         * soft-fp/fixunssfti.c: Likewise.
41531         * soft-fp/fixunstfti.c: Likewise.
41532         * soft-fp/floattidf.c: Likewise.
41533         * soft-fp/floattisf.c: Likewise.
41534         * soft-fp/floattitf.c: Likewise.
41535         * soft-fp/floatuntidf.c: Likewise.
41536         * soft-fp/floatuntisf.c: Likewise.
41537         * soft-fp/floatuntitf.c: Likewise.
41538         * soft-fp/trunctfxf2.c: Likewise.
41540         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41541         * soft-fp/fixdfti.c: Likewise.
41542         * soft-fp/fixsfti.c: Likewise.
41543         * soft-fp/fixtfti.c: Likewise.
41544         * soft-fp/fixunsdfti.c: Likewise.
41545         * soft-fp/fixunssfti.c: Likewise.
41546         * soft-fp/fixunstfti.c: Likewise.
41547         * soft-fp/floattidf.c: Likewise.
41548         * soft-fp/floattisf.c: Likewise.
41549         * soft-fp/floattitf.c: Likewise.
41550         * soft-fp/floatuntidf.c: Likewise.
41551         * soft-fp/floatuntisf.c: Likewise.
41552         * soft-fp/floatuntitf.c: Likewise.
41553         * soft-fp/trunctfxf2.c: Likewise.
41555 2013-10-10  David S. Miller  <davem@davemloft.net>
41557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41559 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41561         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41562         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41563         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41564         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41565         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41566         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41567         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41570         for NaNs before doing comparisons on argument.
41571         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41572         Likewise.
41574 2013-10-10  Will Newton  <will.newton@linaro.org>
41576         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41577         passed to _int_memalign does not overflow.
41579 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41581         * scripts/bench.pl: Add include-sources directive.
41582         * benchtests/README: Update documentation.
41584 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41586         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41587         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41588         instead of FP_INIT_ROUNDMODE.
41589         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41590         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41592         [BZ #16034]
41593         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41594         copy class of input value.
41595         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41596         not handle exceptions.
41597         * soft-fp/negsf2.c (__negsf2): Likewise.
41598         * soft-fp/negtf2.c (__negtf2): Likewise.
41599         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41601 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41603         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41604         semicolon.  From Linux kernel.
41606 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41608         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41610 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41612         [BZ #156]
41613         * manual/socket.texi: Added statement about buffer
41614         for gethostbyname2_r.
41616 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41618         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41619         Use .p2align directive instead, throughout.
41620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41623         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41624         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41625         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41626         * sysdeps/x86_64/strchr.S: Likewise.
41627         * sysdeps/x86_64/strrchr.S: Likewise.
41629 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41633         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41635         * sysdeps/generic/math_private.h (__mpsin1): Remove
41636         declaration.
41637         (__mpcos1): Likewise.
41638         (__mpsin): New argument __range_reduce.
41639         (__mpcos): Likewise.
41640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41641         (slow): Use __mpsin and __mpcos.
41642         (slow1): Likewise.
41643         (slow2): Likewise.
41644         (sloww): Likewise.
41645         (sloww1): Likewise.
41646         (sloww2): Likewise.
41647         (bsloww): Likewise.
41648         (bsloww1): Likewise.
41649         (bsloww2): Likewise.
41650         (cslow2): Likewise.
41651         (csloww): Likewise.
41652         (csloww1): Likewise.
41653         (csloww2): Likewise.
41654         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41655         range_reduce.  Merge in __mpsin1.
41656         (__mpcos): Likewise.
41657         (__mpsin1): Remove.
41658         (__mpcos1): Likewise.
41660 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41662         * locale/loadlocale.c (_nl_intern_locale_data): Use
41663         LOCFILE_ALIGNED_P.
41664         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41665         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41666         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41667         obstack data is appropriately aligned.
41668         (obstack_int32_grow_fast): Likewise.
41669         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41670         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41671         (add_locale_uint32_array): Likewise.
41673 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41675         * benchtests/Makefile: Remove ARGLIST and RET variables.
41676         ($(objpfx)bench-%.c): Pass only function name to the script.
41677         * benchtests/README: Update documentation.
41678         * benchtests/acos-inputs: Add new directives.
41679         * benchtests/acosh-inputs: Likewise.
41680         * benchtests/asin-inputs: Likewise.
41681         * benchtests/asinh-inputs: Likewise.
41682         * benchtests/atan-inputs: Likewise.
41683         * benchtests/atanh-inputs: Likewise.
41684         * benchtests/cos-inputs: Likewise.
41685         * benchtests/cosh-inputs: Likewise.
41686         * benchtests/exp-inputs: Likewise.
41687         * benchtests/log-inputs: Likewise.
41688         * benchtests/pow-inputs: Likewise.
41689         * benchtests/rint-inputs: Likewise.
41690         * benchtests/sin-inputs: Likewise.
41691         * benchtests/sinh-inputs: Likewise.
41692         * benchtests/tan-inputs: Likewise.
41693         * benchtests/tanh-inputs: Likewise.
41694         * scripts/bench.pl: Add support for new directives.
41696 2013-10-07  Alan Modra  <amodra@gmail.com>
41698         * README: Fix careless merge.
41700 2013-10-05  Alan Modra  <amodra@gmail.com>
41702         * NEWS: Mention powerpc64le support and bugs fixed.
41703         * README: Both big-endian and little-endian powerpc64 supported.
41705 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41707         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41708         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41709         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41710         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41712 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41714         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41715         match prototype.
41717 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41719         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41720         Move -mhard-float appending from
41721         ports/sysdeps/powerpc/powerpc32/Makefile.
41722         [$(with-fp) = yes] (ASFLAGS): Likewise.
41723         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41724         * sysdeps/powerpc/nofpu: Move directory from
41725         ports/sysdeps/powerpc/nofpu.
41726         * sysdeps/powerpc/soft-fp: Move directory from
41727         ports/sysdeps/powerpc/soft-fp.
41728         * sysdeps/powerpc/powerpc32/405: Move directory from
41729         ports/sysdeps/powerpc/powerpc32/405.
41730         * sysdeps/powerpc/powerpc32/440: Move directory from
41731         ports/sysdeps/powerpc/powerpc32/440.
41732         * sysdeps/powerpc/powerpc32/464: Move directory from
41733         ports/sysdeps/powerpc/powerpc32/464.
41734         * sysdeps/powerpc/powerpc32/476: Move directory from
41735         ports/sysdeps/powerpc/powerpc32/476.
41736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41737         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41739         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41741         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41743         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41745         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41746         * README: Update for powerpc-*-linux-gnu software floating point
41747         support in libc.
41749         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41750         case to powerpc/powerpc32*.
41751         * sysdeps/unix/sysv/linux/configure: Regenerated.
41753         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41754         (_FPU_MASK_OM): Define as 0x04.
41755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41757         0x00c10080.
41758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41759         0x0000003c.
41760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41763         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41764         getcontext_e500.
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41766         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41767         setcontext_e500.
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41769         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41770         and setcontext_e500.
41772 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41774         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41776 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41778         * manual/threads.texi (Default Thread Attributes): Fix typo.
41780 2013-10-04  Will Newton  <will.newton@linaro.org>
41782         * malloc/Makefile: Add tst-memalign.
41783         * malloc/tst-memalign.c: New file.
41785         * malloc/tst-posix_memalign.c: Add comments.
41786         (do_test): Add comments and call free on all potentially
41787         allocated pointers. Add space after cast.
41789         * malloc/tst-pvalloc.c: Add comments.
41790         (do_test): Add comments and call free on all potentially
41791         allocated pointers. Remove duplicate check for NULL pointer.
41792         Add space after cast.
41794         * malloc/tst-valloc.c: Add comments.
41795         (do_test): Add comments and call free on all potentially
41796         allocated pointers. Remove duplicate check for NULL pointer.
41797         Add space after cast.
41799 2013-10-04  Alan Modra  <amodra@gmail.com>
41801         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41802         Use stdint types in rather than __attribute__((mode())).
41803         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41805 2013-10-04  Alan Modra  <amodra@gmail.com>
41807         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41808         Correct handling of unaligned relocs for little-endian.
41809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41811 2013-10-04  Alan Modra  <amodra@gmail.com>
41813         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41814         * configure: Regenerate.
41815         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41816         * shlib-versions: Likewise.
41818 2013-10-04  Alan Modra  <amodra@gmail.com>
41820         * string/tester.c (test_memrchr): Increment reported test cycle.
41822 2013-10-04  Alan Modra  <amodra@gmail.com>
41824         * string/test-memcpy.c (do_one_test): When reporting errors, print
41825         string address and don't overrun end of string.
41827 2013-10-04  Alan Modra  <amodra@gmail.com>
41829         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41830         insrdi.  Make better use of reg selection to speed exit slightly.
41831         Schedule entry path a little better.  Remove useless "are we done"
41832         checks on entry to main loop.  Handle wrapping around zero address.
41833         Correct main loop count.  Handle single left-over word from main
41834         loop inline rather than by using loop_small.  Remove extra word
41835         case in loop_small caused by wrong loop count.  Add little-endian
41836         support.
41837         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41839         cache hint.
41840         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41841         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41842         support.  Avoid rlwimi.
41843         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41845 2013-10-04  Alan Modra  <amodra@gmail.com>
41847         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41848         insrdi.  Formatting.
41849         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41850         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41851         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41852         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41853         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41854         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41856 2013-10-04  Alan Modra  <amodra@gmail.com>
41858         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41861         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41862         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41863         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41864         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41865         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41866         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41867         use of regs.  Use power7 mtocrf.  Tidy function tails.
41869 2013-10-04  Alan Modra  <amodra@gmail.com>
41871         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41872         Formatting.  Consistently use rXXX register defines or rN defines.
41873         Use early exit labels that avoid restoring unused non-volatile regs.
41874         Make cr field use more consistent with rWORDn compares.  Rename
41875         regs used as shift registers for unaligned loop, using rN defines
41876         for short lifetime/multiple use regs.
41877         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41878         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41879         addi 1,1,64 to pop stack frame.  Simplify return value code.
41880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41882 2013-10-04  Alan Modra  <amodra@gmail.com>
41884         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41885         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41886         rather than rlwimi.
41887         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41889         little-endian support.  Correct typos.
41890         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41891         rather than rlwimi.
41892         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41893         in loop and entry code to keep "and." results.
41894         (strchr): Add little-endian support.  Comment.  Move cntlzd
41895         earlier in tail.
41896         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41898 2013-10-04  Alan Modra  <amodra@gmail.com>
41900         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41901         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41902         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41903         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41905 2013-10-04  Alan Modra  <amodra@gmail.com>
41907         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41908         (rTMP): Define as r11.
41909         (strcmp): Add little-endian support.  Optimise tail.
41910         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41911         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41912         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41913         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41914         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41915         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41918 2013-10-04  Alan Modra  <amodra@gmail.com>
41920         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41921         little-endian support.  Remove unnecessary "are we done" tests.
41922         Handle "s" wrapping around zero and extremely large "size".
41923         Correct main loop count.  Handle single left-over word from main
41924         loop inline rather than by using small_loop.  Correct comments.
41925         Delete "zero" tail, use "end_max" instead.
41926         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41928 2013-10-04  Alan Modra  <amodra@gmail.com>
41930         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41931         support.  Don't branch over align.
41932         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41933         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41934         support.  Rearrange tmp reg use to suit.  Comment.
41935         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41937 2013-10-04  Alan Modra  <amodra@gmail.com>
41939         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41941 2013-10-04  Alan Modra  <amodra@gmail.com>
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41944         conditional form of branch and link when obtaining pc.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41947 2013-10-04  Alan Modra  <amodra@gmail.com>
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41950         HIWORD/LOWORD.
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41954 2013-10-04  Alan Modra  <amodra@gmail.com>
41956         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41957         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41959         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41960         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41962         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41963         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41964         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41965         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41967 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41968             Alistair Popple <alistair@ozlabs.au.ibm.com>
41969             Alan Modra <amodra@gmail.com>
41971         [BZ #15723]
41972         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41974         _dl_hwcap access for little-endian.
41975         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41976         destroy vmx regs when saving unaligned.
41977         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41978         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41979         destroy vmx regs when saving unaligned.
41981 2013-10-04  Alan Modra  <amodra@gmail.com>
41983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41984         Don't use a union to pack hi/low value.
41986 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41988         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41989         for little-endian.
41990         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41992         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41993         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41994         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41996 2013-10-04  Alan Modra  <amodra@gmail.com>
41998         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41999         constants to usual value for .cst8 section, and remove redundant
42000         high address load.
42001         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42002         constant for 0x1p52.  Load little-endian words of double from
42003         correct stack offsets.
42005 2013-10-04  Alan Modra  <amodra@gmail.com>
42007         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42008         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42009         words of double from correct stack offsets.
42010         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42011         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42012         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42013         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42014         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42015         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42016         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42017         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42018         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42019         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42022         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42023         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42024         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42025         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42026         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42028 2013-10-04  Alan Modra  <amodra@gmail.com>
42030         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42031         64-bit int/double union.
42032         (_FPU_SETCW): Likewise.
42033         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42034         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42036 2013-10-04  Alan Modra  <amodra@gmail.com>
42038         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42039         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42041 2013-10-04  Alan Modra  <amodra@gmail.com>
42043         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42044         use vector int constants.
42045         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42047 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42049         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42050         array with long long.
42051         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42052         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42053         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42054         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42055         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42056         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42057         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42059         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42060         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42061         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42062         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42063         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42065 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42067         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42068         (__signbit): Likewise.  Correct for little-endian.
42069         (__signbitl): Call __signbit.
42070         (lrint): Correct for little-endian.
42071         (lrintf): Call lrint.
42073 2013-10-04  Alan Modra  <amodra@gmail.com>
42075         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42076         union 32-bit int array member with 64-bit int array.
42077         (t515, tm256): Double rather than long double.
42078         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42080 2013-10-04  Alan Modra  <amodra@gmail.com>
42082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42083         Delete.
42084         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42086         version of math_ldbl.h.
42088 2013-10-04  Alan Modra  <amodra@gmail.com>
42090         [BZ #15734], [BZ #15735]
42091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42092         all uses of ieee875 long double macros and unions.  Simplify test
42093         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42094         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42095         normalize after ldbl_extract_mantissa, and don't add hidden bit
42096         already handled.  Don't treat low word of ieee854 mantissa like
42097         low word of IBM long double and mask off bit when testing for
42098         zero.
42099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42100         all uses of ieee875 long double macros and unions.  Simplify tests
42101         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42102         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42103         two1022, instead use their values.  Recognise that tests for large
42104         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42105         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42106         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42107         test for 0.0L and nan.  Correct negation.
42108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42109         ieee875 long double macros and unions.  Correct output for large
42110         magnitude x.  Correct absolute value calculation.
42111         (__erfcl): Likewise.
42112         * math/libm-test.inc: Add tests for errors discovered in IBM long
42113         double versions of fmodl, remainderl, erfl and erfcl.
42115 2013-10-04  Alan Modra  <amodra@gmail.com>
42117         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42118         all uses of ieee854 long double macros and unions.  Simplify tests
42119         for long doubles that are fully specified by the high double.
42120         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42121         Likewise.
42122         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42123         Remove dead code too.
42124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42125         (__ieee754_ynl): Likewise.
42126         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42129         Remove dead code too.
42130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42132         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42133         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42134         Simplify.
42135         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42136         Simplify.
42137         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42138         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42140         Comment on variable precision.
42141         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42142         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42143         Likewise.
42144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42145         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42147         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42148         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42150 2013-10-04  Alan Modra  <amodra@gmail.com>
42152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42154         all uses of ieee854 long double macros and unions.
42155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42157         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42159         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42160         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42161         Likewise.
42162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42163         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42164         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42165         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42168         Simplify sign and nan test too.
42169         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42170         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42171         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42172         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42173         Likewise.
42174         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42175         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42176         Likewise.
42177         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42178         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42179         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42180         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42181         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42184 2013-10-04  Alan Modra  <amodra@gmail.com>
42186         * stdio-common/printf_size.c (__printf_size): Don't use
42187         union ieee854_long_double in fpnum union.
42188         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42189         signbit macro to retrieve sign from long double.
42190         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42191         retrieve sign from long double.
42192         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42193         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42194         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42195         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42196         * math/test-misc.c (main): Don't use union ieee854_long_double.
42198 2013-10-04  Alan Modra  <amodra@gmail.com>
42200         [BZ #15680]
42201         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42202         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42203         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42204         calculation.  Remove unnecessary test for denormal exponent.
42205         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42206         Correct handling of denormals.  Avoid undefined shift behaviour.
42207         Correct normalisation of low mantissa when low double is denormal.
42208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42209         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42210         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42211         Correct normalisation of low mantissa.  Test for overflow of high
42212         mantissa and normalise.
42213         (ldbl_nearbyint): Use more readable constant for two52.
42214         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42215         (__mpn_construct_long_double): Fix test for overflow of high
42216         mantissa and correct normalisation.  Avoid undefined shift.
42218 2013-10-04  Alan Modra  <amodra@gmail.com>
42220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42221         (union ibm_extended_long_double): Define as an array of ieee754_double.
42222         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42223         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42224         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42225         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42227         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42229         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42231         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42232         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42234 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42236         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42237         page size instead of calling getpagesize.
42239         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42240         (LOCFILE_ALIGN_MASK): Likewise.
42241         (LOCFILE_ALIGN_UP): Likewise.
42242         (LOCFILE_ALIGNED_P): Likewise.
42243         * locale/programs/ld-collate.c (collate_output): Use the new
42244         macros instead of __alignof__ (int32_t).
42245         * locale/weight.h (findidx): Likewise.
42247 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42249         [BZ #431]
42250         * manual/string.texi: Fix strncat and wcsncat.
42252 2013-10-03  Brooks Moses  <bmoses@google.com>
42254         [BZ #15915]
42255         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42256         * Makerules: ...here, and adjust associated comments.
42258 2013-10-02  Will Newton  <will.newton@linaro.org>
42260         * malloc/Makefile: Add tst-pvalloc.
42261         * malloc/tst-pvalloc.c: New file.
42263 2013-10-02  Will Newton  <will.newton@linaro.org>
42265         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42266         improve test coverage.
42268 2013-10-02  Will Newton  <will.newton@linaro.org>
42270         * malloc/Makefile: Add tst-posix_memalign.
42271         * malloc/tst-posix_memalign.c: New file.
42273 2013-10-01  Eric Blake  <eblake@redhat.com>
42275         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42276         Use __THROWNL rather than __THROW on static functions.
42278 2013-09-30  Petr Machata  <pmachata@redhat.com>
42280         * elf/elf.h (R_AARCH64_ABS16): New macro.
42281         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42282         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42283         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42284         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42285         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42286         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42287         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42288         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42289         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42290         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42291         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42292         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42293         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42294         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42295         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42296         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42297         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42298         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42299         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42300         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42301         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42302         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42303         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42304         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42305         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42306         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42307         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42308         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42309         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42310         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42311         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42312         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42313         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42314         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42315         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42316         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42317         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42318         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42319         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42320         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42321         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42322         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42323         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42324         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42325         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42326         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42327         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42328         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42329         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42330         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42331         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42332         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42333         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42334         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42335         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42336         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42337         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42338         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42339         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42340         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42341         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42342         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42343         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42344         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42345         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42346         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42347         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42348         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42349         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42350         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42351         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42352         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42353         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42354         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42355         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42356         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42357         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42358         (R_AARCH64_TLSDESC_LDR): Likewise.
42359         (R_AARCH64_TLSDESC_ADD): Likewise.
42360         (R_AARCH64_TLSDESC_CALL): Likewise.
42362 2013-09-30  Andreas Schwab  <schwab@suse.de>
42364         [BZ #15048]
42365         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42366         the nss database lookup.
42367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42370 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42372         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42374 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42376         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42377         ${Bash-specific parameter/pattern/string} parameter expansion.
42378         * sysdeps/unix/make-syscalls.sh: Likewise.
42380 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42382         * sysdeps/sh/stackguard-macros.h: New file.
42384 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42388         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42389         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42391         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42393 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42395         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42396         Fix thread ID register.
42398 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42400         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42401         [POSIX || UNIX98]: Require rather than permitting all symbols from
42402         <time.h>.
42403         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42404         element of struct sched_param.
42405         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42406         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42407         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42408         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42409         constant.
42411 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42413         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42414         argument calculation.
42416 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42418         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42419         Expect macro.
42420         [POSIX] (pthread_attr_t): Do not require type.
42421         [POSIX] (pthread_cond_t): Likewise.
42422         [POSIX] (pthread_condattr_t): Likewise.
42423         [POSIX] (pthread_key_t): Likewise.
42424         [POSIX] (pthread_mutex_t): Likewise.
42425         [POSIX] (pthread_mutexattr_t): Likewise.
42426         [POSIX] (pthread_once_t): Likewise.
42427         [POSIX] (pthread_t): Likewise.
42428         [POSIX-based standards] (pthread_atfork): Expect function.
42430 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42431             Richard Sandiford  <richard@codesourcery.com>
42433         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42434         (swap_endianness_p): New extern variable.
42435         (set_big_endian): New inline function.
42436         (maybe_swap_uint32): Likewise.
42437         (maybe_swap_uint32_array): Likewise.
42438         (maybe_swap_uint32_obstack): Likewise.
42439         * locale/programs/locfile.c: Include <stdbool.h>.
42440         (swap_endianness_p): New variable.
42441         (add_locale_uint32): Call maybe_swap_uint32.
42442         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42443         (write_locale_data): Call maybe_swap_uint32_array.
42444         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42445         maybe_swap_uint32.
42446         (obstack_int32_grow_fast): Likewise.
42447         (output_weightwc): Call maybe_swap_uint32_obstack.
42448         (collate_output): Likewise.
42449         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42450         (OPT_LITTLE_ENDIAN): Likewise.
42451         (options): Add --little-endian and --big-endian options.
42452         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42453         * locale/programs/locarchive.c: Include "locfile.h".
42454         (GET): New macro.
42455         (SET): Likewise.
42456         (INC): Likewise.
42457         (create_archive): Use the new macros to access fields of
42458         structures directly mapped from or written to locale archives.
42459         (oldlocrecentcmp): Likewise.
42460         (enlarge_archive): Likewise.
42461         (insert_name): Likewise.
42462         (add_alias): Likewise.
42463         (add_locale): Likewise.
42464         (delete_locales_from_archive): Likewise.
42465         (show_archive_content): Likewise.
42466         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42467         locale data.
42469 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42471         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42472         http://www.gnu.org/doc/freemanuals.texi.
42473         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42475 2013-09-24  Will Newton  <will.newton@linaro.org>
42477         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42478         macro.
42480 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42482         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42483         unsigned char.
42485 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42487         * manual/threads.texi (POSIX Threads): Fix a typo.
42489 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42491         [BZ #14547]
42492         * string/tst-strcoll-overflow.c: New test case.
42493         * string/Makefile (xtests): Add tst-strcoll-overflow.
42494         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42495         cache if string sizes may cause integer overflow.
42497         [BZ #14547]
42498         * string/strcoll_l.c (coll_seq): New members rule, idx,
42499         save_idx and back_us.
42500         (get_next_seq_nocache): New function.
42501         (do_compare_nocache): New function.
42502         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42503         when malloc fails.
42505 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42507         [BZ #15754]
42508         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42509         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42510         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42512         [BZ #15754]
42513         * elf/Makefile (tests): Add tst-ptrguard1.
42514         (tests-static): Add tst-ptrguard1-static.
42515         (tst-ptrguard1-ARGS): Define.
42516         (tst-ptrguard1-static-ARGS): Define.
42517         * elf/tst-ptrguard1.c: New file.
42518         * elf/tst-ptrguard1-static.c: New file.
42519         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42520         * sysdeps/i386/stackguard-macros.h: Likewise.
42521         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42522         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42523         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42524         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42525         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42526         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42528 2013-09-23  Hector Marco  <hecmargi@upv.es>
42529             Ismael Ripoll  <iripoll@disca.upv.es>
42530             Carlos O'Donell  <carlos@redhat.com>
42532         [BZ #15754]
42533         * sysdeps/generic/stackguard-macros.h: Define
42534         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42535         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42536         Define __pointer_chk_guard_local.
42537         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42538         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42540 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42542         [BZ #15859]
42543         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42545 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42547         * include/string.h (__ffs): Declare as hidden.
42548         * string/ffs.c (__ffs): Define as hidden.
42549         * sysdeps/i386/ffs.c (__ffs): Likewise.
42550         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42551         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42552         * sysdeps/s390/ffs.c (__ffs): Likewise.
42553         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42555 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42557         * NEWS: Mention malloc probes.
42559         * malloc/arena.c (new_heap): New memory_heap_new probe.
42560         (grow_heap): New memory_heap_more probe.
42561         (shrink_heap): New memory_heap_less probe.
42562         (heap_trim): New memory_heap_free probe.
42563         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42564         (systrim): New memory_sbrk_less probe.
42565         * manual/probes.texi: Document them.
42567         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42568         * manual/probes.texi: Document it.
42570         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42571         (__libc_realloc): Add memory_realloc_retry probe.
42572         (__libc_memalign): Add memory_memalign_retry probe.
42573         (__libc_valloc): Add memory_valloc_retry probe.
42574         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42575         (__libc_calloc): Add memory_calloc_retry probe.
42576         * manual/probes.texi: Document them.
42578         * malloc/arena.c (get_free_list): Add probe
42579         memory_arena_reuse_free_list.
42580         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42581         and memory_arena_reuse.
42582         (arena_get2) [!PER_THREAD]: Likewise.
42583         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42584         memory_arena_reuse_realloc.
42585         * manual/probes.texi: Document them.
42587         * malloc/malloc.c (__libc_free): Add
42588         memory_mallopt_free_dyn_thresholds probe.
42589         (__libc_mallopt): Add multiple memory_mallopt probes.
42590         * manual/probes.texi: Document them.
42592         * malloc/malloc.c: Include stap-probe.h.
42593         (__libc_mallopt): Add memory_mallopt probe.
42594         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42595         * manual/probes.texi: New.
42596         * manual/Makefile (chapters): Add probes.
42597         * manual/threads.texi: Set next node.
42599 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42601         [BZ #15963, #13985]
42602         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42603         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42604         Add `Chinese' to `nan' entry name.
42606 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42608         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42609         (POLYNOMIAL): Likewise.
42610         (TAYLOR_SINCOS): Likewise.
42611         (TAYLOR_SLOW): Likewise.
42612         (__sin): Use TAYLOR_SINCOS.
42613         (__cos): Likewise.
42614         (slow): Use TAYLOR_SLOW.
42615         (sloww): Likewise.
42616         (bsloww): Likewise.
42617         (csloww): Likewise.
42619 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42621         * stdlib/strtod_l.c: Fix buffer overrun.
42623 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42625         * benchtests/Makefile (bench): Add sincos.
42626         * benchtests/bench-sincos.c: New file.
42628         * math/libm-test.inc (cos_test_data): New test inputs.
42629         (sin_test_data): Likewise.
42631         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42632         macro.
42633         (__sin): Use it.
42634         (__cos): Likewise.
42635         (slow1): Likewise.
42636         (slow2): Likewise.
42637         (sloww1): Likewise.
42638         (sloww2): Likewise.
42639         (bsloww1): Likewise.
42640         (bsloww2): Likewise.
42641         (cslow2): Likewise.
42642         (csloww1): Likewise.
42643         (csloww2): Likewise.
42645         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42646         function.
42647         (__sin): Use it.
42648         (__cos): Likewise.
42650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42651         gotos.
42652         (__cos): Likewise.
42654 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42656         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42657         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42658         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42659         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42660         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42661         * elf/cache.c (print_entry): Handle the new cache flags.
42663 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42664             Aldy Hernandez  <aldyh@redhat.com>
42666         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42667         Change condition to [_SOFT_FLOAT].
42668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42680         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42683         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42684         declaration.
42686 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42688         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42689         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42690         (__longjmp): Use LOAD_GP to load saved GPRs.
42691         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42692         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42693         (__sigsetjmp): Use SAVE_GP to save GPRs.
42695         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42696         Do not append -msoft-float.
42697         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42699 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42701         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42703 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42705         [BZ #15966]
42706         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42707         (_FPU_GETCW): Use initial "__" on variable and field names but not
42708         on macro parameter name.
42709         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42710         parentheses around reference to macro parameter.
42712 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42714         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42715         prototype.
42716         (ctype_startup): Use uint32_t in cast and sizeof for
42717         ctype->charnames.
42719 2013-09-11  Jia Liu  <proljc@gmail.com>
42721         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42722         __daddr_t_defined.
42723         [__FreeBSD__]: Likewise.
42725 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42728         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42729         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42730         (strchr): Remove __strchr_sse42 ifunc selection.
42731         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42732         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42734 2013-09-11  Will Newton  <will.newton@linaro.org>
42736         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42737         parameter to RES. Remove hardcoded 1000 value.
42738         * benchtests/bench-skeleton.c (main): Pass RES parameter
42739         to TIMING_INIT and multiply result by 1000.
42741 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42745 2013-09-11  Andreas Schwab  <schwab@suse.de>
42747         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42748         if not defined.
42749         (O_TMPFILE) [__USE_GNU]: Define.
42750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42751         Define.
42753 2013-09-11  Will Newton  <will.newton@linaro.org>
42755         [BZ #15857]
42756         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42757         does not overflow.
42759 2013-09-11  Will Newton  <will.newton@linaro.org>
42761         [BZ #15856]
42762         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42763         does not overflow.
42765 2013-09-11  Will Newton  <will.newton@linaro.org>
42767         [BZ #15855]
42768         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42769         does not overflow.
42771 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42773         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42774         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42777         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42779 2013-09-10  Allan McRae  <allan@archlinux.org>
42781         [BZ #15748]
42782         * manual/arith.texi (Parsing of Floats): Clarify
42783         cross-reference.
42785         [BZ #15849]
42786         * manual/install.texi (Running make install): Mention
42787         --enable-pt-chown.
42788         * INSTALL: Regenerated.
42790 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42792         * csu/init-first.c (_init): Remove the !SHARED condition around
42793         FPU control word initialization.
42794         * elf/dl-support.c (_dl_fpu_control): New variable.
42795         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42796         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42797         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42798         * math/test-fpucw-static.c: New file.
42799         * math/test-fpucw-ieee.c: New file.
42800         * math/test-fpucw-ieee-static.c: New file.
42801         * math/Makefile (tests): Add `test-fpucw-ieee' and
42802         `$(tests-static)'.
42803         (tests-static): New variable.
42804         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42805         dependency to...
42806         [($(build-shared),yes)]
42807         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42808         ... this.
42809         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42810         New dependency.
42812 2013-09-09  Allan McRae  <allan@archlinux.org>
42814         [BZ #15939]
42815         * manual/string.texi (Collation Functions): Fix typo in
42816         strcoll example.
42817         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42819         [BZ #15893]
42820         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42822         [BZ #15892]
42823         * libio/memstream.c (open_memstream): Fix memory leak.
42824         * libio/wmemstream.c (open_wmemstream): Likewise.
42826         [BZ #15895]
42827         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42829 2013-09-09  Will Newton  <will.newton@linaro.org>
42831         * malloc/Makefile: Add tst-realloc to tests.
42832         * malloc/tst-realloc.c: New file.
42834 2013-09-09  Allan McRae  <allan@archlinux.org>
42836         [BZ #15844]
42837         * COPYING: Update from GNU website to fix FSF address.
42838         * COPYING.LIB: Likewise.
42840 2013-09-06  David S. Miller  <davem@davemloft.net>
42842         * po/zh_TW.po: Update Chinese (traditional) translation from
42843         translation project.
42845 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42846             Joseph Myers  <joseph@codesourcery.com>
42848         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42849         "localeinfo.h".
42850         (obstack_chunk_alloc): New macro.
42851         (obstack_chunk_free): Likewise.
42852         (record_offset): New function.
42853         (init_locale_data): Likewise.
42854         (align_locale_data): Likewise.
42855         (add_locale_empty): Likewise.
42856         (add_locale_raw_data): Likewise.
42857         (add_locale_raw_obstack): Likewise.
42858         (add_locale_string): Likewise.
42859         (add_locale_wstring): Likewise.
42860         (add_locale_uint32): Likewise.
42861         (add_locale_uint32_array): Likewise.
42862         (add_locale_char): Likewise.
42863         (start_locale_structure): Likewise.
42864         (end_locale_structure): Likewise.
42865         (start_locale_prelude): Likewise.
42866         (end_locale_prelude): Likewise.
42867         (write_locale_data): Take locale_file structure rather than an
42868         iovec.
42869         * locale/programs/locfile.h: Include "obstack.h".
42870         (struct locale_file): Change to store locale file contents instead
42871         of header.
42872         (init_locale_data): New prototype.
42873         (align_locale_data): Likewise.
42874         (add_locale_empty): Likewise.
42875         (add_locale_raw_data): Likewise.
42876         (add_locale_raw_obstack): Likewise.
42877         (add_locale_string): Likewise.
42878         (add_locale_wstring): Likewise.
42879         (add_locale_uint32): Likewise.
42880         (add_locale_uint32_array): Likewise.
42881         (add_locale_char): Likewise.
42882         (start_locale_structure): Likewise.
42883         (end_locale_structure): Likewise.
42884         (start_locale_prelude): Likewise.
42885         (end_locale_prelude): Likewise.
42886         (write_locale_data): Update prototype.
42887         * locale/programs/3level.h (struct TABLE): Remove result field.
42888         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42889         Use new locale_file interface.
42890         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42891         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42892         * locale/programs/ld-address.c (address_output): Use new
42893         locale_file interface.
42894         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42895         NO_ADD_LOCALE.
42896         (collate_finish): Don't call collseq_table_finalize.
42897         (collate_output): Use new locale_file interface.
42898         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42899         in file.
42900         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42901         (TABLE): Move defines earlier in file.
42902         (ELEMENT): Likewise.
42903         (DEFAULT): Likewise.
42904         (wctrans_table_add): Move macro and inline function earlier in
42905         file.
42906         (struct wctype_table): Move type earlier in file.
42907         (add_locale_wctype_table): New static prototype.
42908         (struct locale_ctype_t): Use logical types instead of struct iovec
42909         pointers for members.
42910         (ctype_output): Use new locale_file interface.
42911         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42912         new locale_file interface.
42913         (allocate_arrays): Update for use of new locale_file interface.
42914         * locale/programs/ld-identification.c (identification_output): Use
42915         new locale_file interface.
42916         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42917         * locale/programs/ld-messages.c (messages_output): Likewise.
42918         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42919         * locale/programs/ld-name.c (name_output): Likewise.
42920         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42921         * locale/programs/ld-paper.c (paper_output): Likewise.
42922         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42923         * locale/programs/ld-time.c (time_output): Likewise.
42925 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42927         * benchtests/Makefile: Add memrchr benchmark.
42928         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42929         benchmark as memrchr.
42930         * benchtests/bench-memrchr-ifunc.c: New file.
42931         * benchtests/bench-memrchr.c: New file.
42933 2013-09-06   Will Newton  <will.newton@linaro.org>
42935         * benchtests/Makefile (string-bench): Add memcpy.
42937 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42938             Cong Wang  <amwang@redhat.com>
42940         [BZ #15850]
42941         * sysdeps/unix/sysv/linux/bits/in.h
42942         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42943         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42944         before __USE_KERNEL_IPV6_DEFS uses.
42945         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42946         IPPROTO_BEETPH.
42947         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42948         sockaddr_in6, or ipv6_mreq.
42950 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42952         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42953         memory access for final bytes in some large inputs.
42954         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42956 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         * string/test-memrchr.c: New file.
42959         * string/test-memrchr-ifunc.c: New file.
42960         * string/Makefile: Add new memrchr testcase.
42962 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42964         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42965         fanotify_init returns EPERM.
42967 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42969         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42970         errors.
42971         (top level): Treat second token from macro or constant entries for
42972         allowed headers as allowed.
42973         * include/complex.h: Condition internal declarations on
42974         [!_ISOMAC].
42975         * include/fenv.h: Condition include of <stdbool.h> and internal
42976         declarations on [!_ISOMAC].
42978 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42980         [BZ #15923]
42981         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42983 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42985         * configure.in (--enable-versioning): Remove configure option.
42986         (libc_cv_asm_symver_directive): Remove configure test.
42987         (libc_cv_ld_version_script_option): Likewise.
42988         (VERSIONING): Remove variable and AC_SUBST.
42989         (DO_VERSIONING): Remove AC_DEFINE.
42990         * configure: Regenerated.
42991         * config.h.in (DO_VERSIONING): Remove macro.
42992         * Makerules [$(versioning) = yes]: Change conditionals to
42993         [$(build-shared) = yes].
42994         * config.make.in (versioning): Remove variable.
42995         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42996         [$(build-shared) = yes].
42997         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42998         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42999         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43000         [$(build-shared) = yes].
43001         * extra-lib.mk [$(versioning) = yes]: Likewise.
43002         * hurd/Makefile [$(versioning) = yes]: Likewise.
43003         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43004         [SHARED].
43005         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43006         [SHARED].
43007         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43008         [SHARED && !NO_HIDDEN].
43009         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43010         [SHARED].
43011         [SHARED && DO_VERSIONING]: Likewise..
43012         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43013         [$(build-shared) = yes].
43014         * manual/install.texi (--disable-versioning): Remove
43015         documentation.
43016         * INSTALL: Regenerated.
43017         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43018         to [SHARED].
43019         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43020         [$(build-shared) = yes].
43021         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43022         * sysdeps/i386/i686/multiarch/strstr-c.c
43023         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43024         [SHARED && !NO_HIDDEN].
43025         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43026         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43027         * sysdeps/powerpc/powerpc32/dl-machine.c
43028         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43029         * sysdeps/powerpc/powerpc32/sysdep.h
43030         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43031         to [SHARED && PIC && !NO_HIDDEN].
43032         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43033         conditional to [SHARED].
43035 2013-09-04   Will Newton  <will.newton@linaro.org>
43037         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43038         * benchtests/bench-string.h: Include bench-timing.h instead
43039         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43040         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43041         call to HP_TIMING_DIFF_INIT.
43042         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43043         instead of hp-timing.h macros.
43044         * benchtests/bench-memchr.c: Likewise.
43045         * benchtests/bench-memcmp.c: Likewise.
43046         * benchtests/bench-memcpy.c: Likewise.
43047         * benchtests/bench-memmem.c: Likewise.
43048         * benchtests/bench-memmove.c: Likewise.
43049         * benchtests/bench-memset.c: Likewise.
43050         * benchtests/bench-rawmemchr.c: Likewise.
43051         * benchtests/bench-strcasecmp.c: Likewise.
43052         * benchtests/bench-strcasestr.c: Likewise.
43053         * benchtests/bench-strcat.c: Likewise.
43054         * benchtests/bench-strchr.c: Likewise.
43055         * benchtests/bench-strcmp.c: Likewise.
43056         * benchtests/bench-strcpy.c: Likewise.
43057         * benchtests/bench-strcpy_chk.c: Likewise.
43058         * benchtests/bench-strlen.c: Likewise.
43059         * benchtests/bench-strncasecmp.c: Likewise.
43060         * benchtests/bench-strncat.c: Likewise.
43061         * benchtests/bench-strncmp.c: Likewise.
43062         * benchtests/bench-strncpy.c: Likewise.
43063         * benchtests/bench-strnlen.c: Likewise.
43064         * benchtests/bench-strpbrk.c: Likewise.
43065         * benchtests/bench-strrchr.c: Likewise.
43066         * benchtests/bench-strspn.c: Likewise.
43067         * benchtests/bench-strstr.c: Likewise.
43069 2013-09-04  Will Newton  <will.newton@linaro.org>
43071         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43073 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43075         [BZ #15427]
43076         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43077         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43078         * math/libm-test.inc (lgamma_test_data): Add more tests.
43079         * sysdeps/i386/fpu/libm-test-ulps: Update.
43080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43082 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43084         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43086         Add ifunc.
43087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43088         Add strcmp-sse2-unaligned
43089         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43091 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43093         * Versions.def (libc): Add GLIBC_2.19.
43095 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43097         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43098         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43100 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43102         [BZ #14155]
43103         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43104         intermediate calculations in recurrence.
43105         (__ieee754_ynf): Likewise.
43106         * math/libm-test.inc (jn_test_data): Do not allow spurious
43107         underflow exception.  Add more tests.
43108         (yn_test_data): Add more tests.
43109         * sysdeps/i386/fpu/libm-test-ulps: Update.
43110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43112 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43114         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43116 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43118         * csu/init-first.c: Fix then/than typos.
43119         * locale/programs/ld-collate.c: Likewise.
43120         * locale/programs/linereader.h: Likewise.
43121         * manual/charset.texi: Likewise.
43122         * manual/filesys.texi: Likewise.
43123         * manual/stdio.texi: Likewise.
43124         * manual/string.texi: Likewise.
43125         * stdlib/fmtmsg.c: Likewise.
43126         * sysdeps/i386/stpncpy.S: Likewise.
43127         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43128         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43129         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43130         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43132 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43134         * elf/dl-open.c: Fix typos.
43135         * iconvdata/gbbig5.c: Likewise.
43136         * iconvdata/iso-2022-jp.c: Likewise.
43137         * iconv/gconv_int.h: Likewise.
43138         * iconv/loop.c: Likewise.
43139         * nis/rpcsvc/nis.h: Likewise.
43140         * resolv/ns_name.c: Likewise.
43141         * stdio-common/vfscanf.c: Likewise.
43142         * streams/stropts.h: Likewise.
43143         * sunrpc/rpc_thread.c: Likewise.
43144         * sysdeps/i386/strpbrk.S: Likewise.
43145         * sysdeps/ieee754/k_standard.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43148         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43149         * sysdeps/mach/hurd/profil.c: Likewise.
43150         * sysdeps/s390/dl-procinfo.h: Likewise.
43151         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43152         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43153         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43154         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43157 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43159         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43162 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43164         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43165         aix specific files.
43166         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43167         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43168         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43169         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43170         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43171         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43172         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43173         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43175 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43176             Roland McGrath  <roland@hack.frob.com>
43178         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43179         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43181 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43183         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43184         __executable_start symbol instead of _start.
43186 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43188         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43189         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43190         Move macros to...
43191         * sysdeps/gnu/ldsodefs.h: ... this new file.
43193         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43194         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43195         instead of ELFOSABI_LINUX.
43197         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43198         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43199         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43200         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43201         Likewise.
43202         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43203         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43204         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43205         Likewise.
43206         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43207         (ibm_extended_long_double): Add ieee_nan member.
43208         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43209         (do_test): New function.
43211         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43212         TEST_TRUNC.
43213         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43214         functions, renamed from truncdfsf_test, trunctfsf_test,
43215         trunctfdf_test.
43216         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43217         functions.
43218         (do_test): Run all these.
43220 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43222         * argp/argp-help.c: Fix typos.
43223         * argp/argp-parse.c: Likewise.
43224         * debug/backtracesyms.c: Likewise.
43225         * elf/elf.h: Likewise.
43226         * malloc/malloc.c: Likewise.
43227         * nis/nis_print.c: Likewise.
43228         * resolv/res_comp.c: Likewise.
43229         * stdlib/stdlib.h: Likewise.
43230         * sunrpc/clnt_tcp.c: Likewise.
43231         * sunrpc/clnt_udp.c: Likewise.
43232         * sunrpc/clnt_unix.c: Likewise.
43233         * sysdeps/unix/bsd/ptsname.c: Likewise.
43234         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43235         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43237         Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43239         Likewise.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43241         Likewise.
43242         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43244 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43246         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43249 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43251         [BZ #15897]
43252         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43253         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43254         ($(objpfx)bug-dl-leaf): New rule.
43255         ($(objpfx)bug-dl-leaf.so): Likewise.
43256         ($(objpfx)bug-dl-leaf.out): Likewise.
43257         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43258         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43259         * dlfcn/bug-dl-leaf.c: New test.
43260         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43261         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43262         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43263         (dlclose): Likewise.
43264         (dlmopen): Likewise.
43266 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43268         * include/netdb.h [!_ISOMAC]:
43269         Don't include <tls.h>.
43270         (h_errno, __libc_h_errno): Move declaration and macros out of
43271         [_LIBC_REENTRANT].
43273         * include/resolv.h [_RESOLV_H_]:
43274         Don't include <tls.h>.
43275         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43276         * resolv/res_libc.c: Don't include <tls.h>.
43277         (_res): Use __attribute__ ((nocommon)) in place of
43278         __attribute__ ((section (".bss"))).
43280         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43281         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43283         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43285         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43286         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43288         * resolv/res_mkquery.c: Include <sys/time.h>.
43290         * inet/ifreq.c: Moved to ...
43291         * sysdeps/unix/ifreq.c: ... here.
43292         * inet/ifreq.c: New file, true stub version.
43294         * socket/sa_len.c: New file.
43295         * socket/Makefile (aux): Add it.
43296         * sysdeps/unix/sysv/linux/Makefile
43297         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43298         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43299         and #include <socket/sa_len.c>.
43300         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43301         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43303         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43304         * bits/socket.h: ... here.
43306         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43307         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43308         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43310 2013-08-27  Andreas Schwab  <schwab@suse.de>
43312         [BZ #15736]
43313         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43314         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43315         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43316         * string/test-strcasecmp.c (test_main): Run tests in several
43317         locales.
43318         * string/test-strncasecmp.c (test_main): Likewise.
43320         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43321         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43322         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43324         (__strncasecmp_ssse3) [PIC]: Likewise.
43326 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43328         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43330         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43331         instead of explicitly declaring xdecrypt.
43332         * nis/nss_nis/nis-publickey.c: Likewise.
43334 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43336         [BZ #15890]
43337         * nscd/aicache.c: Include res_hconf.h.
43338         (addhstaiX): Initialize res_hconf.
43340 2013-08-26  Andreas Schwab  <schwab@suse.de>
43342         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43343         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43345 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43347         * nscd/aicache.c (addhstaiX): Fix indentation.
43349 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43351         * configure.ac: Quote $build_pt_chown test.
43352         * configure: Regenerated.
43354 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43356         [BZ #15532]
43357         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43358         * math/s_cexpf.c (__cexpf): Likewise.
43359         * math/s_cexpl.c (__cexpl): Likewise.
43360         * math/libm-test.inc (cexp_test_data): Correct expected return
43361         value for NaN + i0.  Add another test.
43363 2013-08-22  David S. Miller  <davem@davemloft.net>
43365         * po/ca.po: Update Catalan translation from translation project.
43366         * po/uk.po: Add Ukrainian translations from translation project.
43368 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43370         [BZ #15797]
43371         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43372         is infinite, not alongside NaN test.
43373         * math/s_fdimf.c (__fdimf): Likewise.
43374         * math/s_fdiml.c (__fdiml): Likewise.
43375         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43376         errno is unchanged.
43378 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43380         * argp/argp-help.c: Fix typos.
43381         * crypt/speeds.c: Likewise.
43382         * csu/check_fds.c: Likewise.
43383         * elf/dl-load.c: Likewise.
43384         * elf/dl-open.c: Likewise.
43385         * elf/reldep3.c: Likewise.
43386         * elf/reldep.c: Likewise.
43387         * elf/sprof.c: Likewise.
43388         * iconv/iconv_charmap.c: Likewise.
43389         * iconv/skeleton.c: Likewise.
43390         * iconv/strtab.c: Likewise.
43391         * io/lockf64.c: Likewise.
43392         * libio/libioP.h: Likewise.
43393         * resolv/gai_notify.c: Likewise.
43394         * resolv/ns_name.c: Likewise.
43395         * resolv/ns_samedomain.c: Likewise.
43396         * resolv/res_send.c: Likewise.
43397         * stdlib/random.c: Likewise.
43398         * sunrpc/rpc/xdr.h: Likewise.
43399         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43400         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43401         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43402         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43403         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43406         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43407         * sysdeps/mach/hurd/check_fds.c: Likewise.
43408         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43409         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43410         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43411         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43413         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43414         * sysdeps/pthread/aio_notify.c: Likewise.
43415         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43416         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43417         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43419         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43421 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43423         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43424         version if bit_Slow_SSE4_2 is set.
43425         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43426         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43428 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43430         [BZ #15867]
43431         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43432         trampoline stack frame information.
43433         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43434         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43435         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43436         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43437         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43438         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43439         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43440         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43441         sa_flags value.
43442         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43443         interrupting a syscall and set with option SA_SIGINFO.
43445 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43447         [BZ #15531]
43448         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43449         argument is infinite.
43450         * math/s_cprojf.c (__cprojf): Likewise.
43451         * math/s_cprojl.c (__cprojl): Likewise.
43452         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43453         * math/libm-test.inc (cproj_test_data): Add more tests.
43455         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43457         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43458         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43459         size.  Use __ffs to determine corresponding shift.
43461 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43462             Roland McGrath  <roland@hack.frob.com>
43464         * Makefile (INSTALL): Remove trailing blank lines from output of
43465         makeinfo.
43467 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43469         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43470         Align 32 bit compat elf_greg to 8 bytes.
43472 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43474         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43476 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43478         * string/strcoll_l.c (coll_seq): New structure.
43479         (get_next_seq_cached): New function.
43480         (get_next_seq): New function.
43481         (do_compare): New function.
43482         (STRCOLL): Use GNU style definition.  Simplify implementation
43483         by using get_next_seq, get_next_seq_cached and do_compare.
43485 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43487         [BZ #14699]
43488         CVE-2013-4237
43489         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43490         member.
43491         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43492         member.
43493         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43494         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43495         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43496         conditional.
43497         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43498         GETDENTS_64BIT_ALIGNED.
43499         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43500         * manual/filesys.texi (Reading/Closing Directory): Document
43501         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43502         strongly.
43503         * manual/conf.texi (Limits for Files): Add portability note to
43504         NAME_MAX, PATH_MAX.
43505         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43507 2013-08-13  Andreas Schwab  <schwab@suse.de>
43509         [BZ #15749]
43510         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43511         of fabs.
43512         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43513         LDBL_MAX_EXP >= 16384]: Add tests for it.
43515 2013-08-12  David S. Miller  <davem@davemloft.net>
43517         * version.h (RELEASE): Set to "development".
43518         (VERSION): Set to "2.18.90".
43519         * NEWS: Add 2.19 section.
43521 2013-08-03  David S. Miller  <davem@davemloft.net>
43523         * po/ko.po: Update Korean translation from translation project.
43525 2013-08-01  David S. Miller  <davem@davemloft.net>
43527         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43528         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43529         Bilka.
43531 2013-07-30  David S. Miller  <davem@davemloft.net>
43533         * po/fr.po: Update French translation from translation project.
43535 2013-07-28  David S. Miller  <davem@davemloft.net>
43537         * po/cs.po: Update Czech translation from translation project.
43539         * po/sv.po: Update Swedish translation from translation project.
43541 2013-07-27  David S. Miller  <davem@davemloft.net>
43543         * po/eo.po: Update Esperanto translation from translation project.
43545         * po/vi.po: Update Vietnamese translation from translation project.
43547         * po/de.po: Update German translation from translation project.
43549 2013-07-26  David S. Miller  <davem@davemloft.net>
43551         * po/bg.po: Update Bulgarian translation from translation project.
43553         * po/nl.po: Update Dutch translation from translation project.
43554         * po/pl.po: Update Polish translation from translation project.
43555         * po/ru.po: Update Russian translation from translation project.
43557 2013-07-24  David S. Miller  <davem@davemloft.net>
43559         * po/libc.pot: Update.
43561 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43563         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43564         variable page size.
43565         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43566         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43567         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43569 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43571         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43573 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43574             Andreas Schwab  <schwab@suse.de>
43575             Roland McGrath  <roland@hack.frob.com>
43576             Joseph Myers  <joseph@codesourcery.com>
43577             Carlos O'Donell  <carlos@redhat.com>
43579         [BZ #15755]
43580         * config.h.in: Define HAVE_PT_CHOWN.
43581         * config.make.in (build-pt-chown): New variable.
43582         * configure.in (--enable-pt_chown): New configure option.
43583         * configure: Regenerate.
43584         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43585         build-pt-chown is enabled.
43586         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43587         pt_chown to fix pty ownership.
43588         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43589         CLOSE_ALL_FDS.
43590         * manual/install.texi (Configuring and compiling): Mention
43591         --enable-pt_chown. Add @findex for grantpt.
43592         * INSTALL: Regenerate.
43594 2013-07-20  David S. Miller  <davem@davemloft.net>
43596         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43597         difference between 32-bit and 64-bit.
43599 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43601         [BZ #15711]
43602         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43603         Avoid system header dependency with -ffreestanding.
43604         ($(objpfx)bits/syscall%d): Likewise.
43606 2013-07-13  David S. Miller  <davem@davemloft.net>
43608         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43609         underflows from atanl/atan2l due to bug 15319.
43610         (casinh_test_data): Likewise.
43612 2013-07-07  David S. Miller  <davem@davemloft.net>
43614         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43616 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43618         * sysdeps/i386/fpu/libm-test-ulps: Update.
43619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43621 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43623         * configure.in (--enable-lock-elision): Fix message text.
43624         * INSTALL: Regenerate.
43625         * configure: Regenerate.
43627 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43631 2013-07-03  Andreas Jaeger  <aj@suse.de>
43633         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43634         define.
43635         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43636         (ptrace_peeksiginfo_args): Add.
43637         (__ptrace_peeksiginfo_flags): Add.
43638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43642 2013-07-03  Allan McRae  <allan@archlinux.org>
43644         * sysdeps/i386/fpu/libm-test-ulps: Update.
43646 2013-07-02  David S. Miller  <davem@davemloft.net>
43648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43650 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43654 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43656         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43659 2013-07-02  Andi Kleen <ak@linux.intel.com>
43661         * config.h.in (ENABLE_LOCK_ELISION): Add.
43662         * configure.in (--enable-lock-elision): Add option.
43663         * manual/install.texi: Document --enable lock elision.
43664         * configure: Regenerate
43665         * INSTALL: Regenerate.
43667 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43669         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43670         SSE4.2 strcasecmp for libc.a.
43671         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43673 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43675         [BZ #13304]
43676         * soft-fp/op-common.h (_FP_FMA): New macro.
43677         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43678         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43679         (_FP_MUL_MEAT_1_imm): ... here.
43680         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43681         (_FP_MUL_MEAT_1_wide): ... here.
43682         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43683         (_FP_MUL_MEAT_1_hard): ... here.
43684         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43685         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43686         (_FP_MUL_MEAT_2_wide): ... here.
43687         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43688         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43689         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43690         (_FP_MUL_MEAT_2_gmp): ... here.
43691         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43692         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43693         (_FP_MUL_MEAT_4_wide): ... here.
43694         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43695         (_FP_MUL_MEAT_4_gmp): ... here.
43696         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43697         (_FP_WFRACBITS_DW_S): Likewise.
43698         (_FP_WFRACXBITS_DW_S): Likewise.
43699         (_FP_HIGHBIT_DW_S): Likewise.
43700         (FP_FMA_S): Likewise.
43701         (_FP_FRAC_HIGH_DW_S): Likewise.
43702         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43703         (_FP_WFRACBITS_DW_D): Likewise.
43704         (_FP_WFRACXBITS_DW_D): Likewise.
43705         (_FP_HIGHBIT_DW_D): Likewise.
43706         (FP_FMA_D): Likewise.
43707         (_FP_FRAC_HIGH_DW_D): Likewise.
43708         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43709         (_FP_WFRACBITS_DW_E): Likewise.
43710         (_FP_WFRACXBITS_DW_E): Likewise.
43711         (_FP_HIGHBIT_DW_E): Likewise.
43712         (FP_FMA_E): Likewise.
43713         (_FP_FRAC_HIGH_DW_E): Likewise.
43714         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43715         (_FP_WFRACBITS_DW_Q): Likewise.
43716         (_FP_WFRACXBITS_DW_Q): Likewise.
43717         (_FP_HIGHBIT_DW_Q): Likewise.
43718         (FP_FMA_Q): Likewise.
43719         (_FP_FRAC_HIGH_DW_Q): Likewise.
43720         * soft-fp/fmasf4.c: New file.
43721         * soft-fp/fmadf4.c: Likewise.
43722         * soft-fp/fmatf4.c: Likewise.
43724 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43727         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43728         Silvermont.
43729         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43730         macro.
43731         (index_Slow_SSE4_2): Likewise.
43732         (index_Prefer_PMINUB_for_stringop): Likewise.
43733         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43734         bit_Slow_SSE4_2 is set.
43735         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43738 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43740         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43741         rtld_global._dl_hwcap2.
43742         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43743         POWER8.
43744         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43745         POWER8 feature descriptions defined in _dl_hwcap2.
43746         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43747         string handling for POWER8 feature bits.
43748         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43749         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43750         _dl_powerpc_cap_flags.
43751         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43752         * sysdeps/powerpc/rtld-global-offsets.sym
43753         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43754         _dl_hwcap2 in the rtld_global_ro structure.
43756 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43758         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43759         hardware capabilities in support of AT_HWCAP2.
43760         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43761         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43762         GLRO(dl_hwcap2).
43763         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43764         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43765         explicitly the unknown a_type display mechanism is used.
43766         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43767         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43768         struct member.
43769         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43770         to macro prototype for AT_HWCAP2 support.
43771         * sysdeps/i386/dl-procinfo.h: Likewise.
43772         * sysdeps/s390/dl-procinfo.h: Likewise.
43773         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43774         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43775         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43776         return -1 for unknown a_type display fallback.
43777         * sysdeps/sparc/dl-procinfo.h: Likewise.
43778         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43779         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43781 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43783         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43784         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43786 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43788         [BZ #12492]
43789         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43790         mprotect making __stack_prot writable.
43792 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43793             Joseph Myers  <joseph@codesourcery.com>
43795         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43796         as being properly aligned.
43798 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43800         * dlfcn/modstatic5.c: New file.
43801         * dlfcn/tststatic5.c: New file.
43802         * dlfcn/Makefile (tests): Add tststatic5.
43803         (tests-static): Likewise.
43804         (modules-names): Add modstatic5.
43805         (tststatic5-ENV): New variable.
43806         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43808         [BZ #15022]
43809         * elf/dl-support.c (_dl_main_map): New variable.
43810         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43811         (_dl_nns, _dl_load_adds): Set to 1.
43812         (_dl_initial_searchlist): Refer to _dl_main_map.
43813         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43814         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43815         call to _dl_get_origin.
43816         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43817         around call_map.
43818         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43819         * dlfcn/modstatic3.c: New file.
43820         * dlfcn/tststatic3.c: New file.
43821         * dlfcn/tststatic4.c: New file.
43822         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43823         (tests-static): Likewise.
43824         (modules-names): Add modstatic3.
43825         (tststatic3-ENV, tststatic4-ENV): New variables.
43826         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43827         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43829 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43831         * configure.in (CC): Require GCC version 4.4 or later.
43832         * configure: Regenerated.
43833         * manual/install.texi (Tools for Compilation): Update GCC version
43834         requirement.
43835         * INSTALL: Regenerated.
43837 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43839         [BZ #15674]
43840         * string/test-memcmp.c (check2): New.
43841         (main): Call check2.
43843         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43845 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43847         [BZ #15022]
43848         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43849         over to...
43850         (dl_open_worker) [!SHARED]: ... here.
43852 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43854         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43856 2013-06-25  Richard Henderson  <rth@redhat.com>
43858         * locale/programs/locarchive.c: Include <libc-internal.h>
43860 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43862         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43863         trailing whitespace removed.
43865 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43867         [BZ #10283]
43868         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43869         * locale/programs/locarchive.c: Include libc-mmap.h.
43870         (prepare_address_space): Take two new outputs (the mmap base and len).
43871         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43872         values.
43873         (create_archive): Declare new mmap base and len values for
43874         prepare_address_space, and store the result in ah.
43875         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43876         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43877         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43878         Declare new mmap base and len values for
43879         prepare_address_space, and store the result in new_ah.
43880         (open_archive): Declare new mmap base and len values for
43881         prepare_address_space, and store the result in ah.
43882         (close_archive): If ah->mmap_base is not NULL, use that and
43883         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43884         * sysdeps/generic/libc-mmap.h: New file.
43886 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43888         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43889         (ALIGN_UP): Likewise.
43890         (PTR_ALIGN_DOWN): Likewise.
43891         (PTR_ALIGN_UP): Likewise.
43893 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43895         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43896         entry mapped to PPC_PLATFORM_POWER8.
43897         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43898         POWER8.
43899         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43900         (_dl_string_platform): Add case for exporting platform position for
43901         POWER8.
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43903         search path to sysdeps/powerpc/powerpc32/power8 directory.
43904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43905         search path to sysdeps/powerpc/powerpc64/power8 directory.
43906         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43907         power7 directories.
43908         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43909         power7 directories.
43911 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43913         * INSTALL: Regenerate.
43915         * nscd/connections.c (nscd_init): Fix comment.
43917 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43919         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43921         [BZ #15667]
43922         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43923         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43925 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43927         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43928         DL_DST_REQ_STATIC.
43929         (DL_DST_REQ_STATIC): Remove macro.
43931 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43933         [BZ #7006]
43934         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43935         with a shift of 0 bits.
43937 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43939         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43940         $(tststatic-ENV).
43942 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43944         [BZ #15655]
43945         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43947 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43949         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43950         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43951         accepts -fno-tree-loop-distribute-patterns.
43952         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43953         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43954         recursive call.
43955         * string/memset.c (memset): Likewise.
43956         * string/test-memmove.c (simple_memmove): Disable loop transformation
43957         to library calls.
43958         * string/test-memset.c (simple_memset): Likewise.
43959         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43960         * benchtests/bench-memset.c (simple_memset): Likewise.
43961         * configure: Regenerated.
43963 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43965         * math/test-misc.c (main): Ignore fesetround failure when failures
43966         of subsequent rounding tests would be ignored.
43968         [BZ #15654]
43969         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43970         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43971         * math/fegetenv.c (__fegetenv): Return 0.
43972         * math/fegetexcept.c (fegetexcept): Return 0.
43973         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43974         FE_TONEAREST.
43975         * math/feholdexcpt.c (feholdexcept): Return 0.
43976         * math/fesetenv.c (__fesetenv): Return 0.
43977         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43978         argument FE_TONEAREST.
43979         * math/feupdateenv.c (__feupdateenv): Return 0.
43980         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43982 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43984         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43985         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43986         ($(objpfx)rtld-%.os rules): Use them.
43988 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43990         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43991         fields.
43993 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43995         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43996         length of target pattern, then descending length of dependency pattern.
43997         * configure.in (AWK): Require gawk 3.1.2 or newer.
43998         * manual/install.texi (Tools for Compilation): Say that we do.
43999         * configure: Regenerated.
44001         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44002         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44003         * scripts/sysd-rules.awk: ... this new script.
44004         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44005         than a glob-style pattern.
44007 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44009         * math/test-misc.c (main): Do not treat incorrectly rounded
44010         conversions as failure unless ROUNDING_TESTS passes.
44012 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44014         [BZ #15631]
44015         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44016         restore exception state around main square root computation, then
44017         check for inexactness explicitly.
44019         * math/libm-test.inc (fma_test_data): Add another test.
44021 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44023         * manual/threads.texi (Non-POSIX Extensions): New document
44024         node.  Document pthread_getattr_default_np and
44025         pthread_setattr_default_np.
44027         * Versions.def (libpthread): Add GLIBC_2.18.
44028         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44030         Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44032         Likewise.
44033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44034         Likewise.
44035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44036         Likewise.
44037         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44038         Likewise.
44039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44040         Likewise.
44041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44042         Likewise.
44043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44044         Likewise.
44045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44046         Likewise.
44048 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44051         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44053 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44054             H.J. Lu  <hjl.tools@gmail.com>
44056         [BZ #15627]
44057         * sysdeps/x86_64/rtld-memset.c: Remove file.
44058         * sysdeps/x86_64/rtld-memset.S: New file.
44060 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44062         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44063         (test_in_one_mode): Take arguments for whether the rounding mode
44064         is supported for each floating-point type.
44065         (do_test): Pass new arguments to test_in_one_mode using
44066         ROUNDING_TESTS.
44068 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44070         * posix/tst-waitid.c (do_test): Distinguish different instances of
44071         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44072         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44073         before entering the kernel for waitpid.
44075 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44077         * NEWS: Fix note on clock function precision.  Text by Roland
44078         McGrath.
44080 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44082         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44083         it into place only when and if the sanity check passes.
44085 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44087         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44088         output for whether conversion result is exact.  Take argument
44089         indicating whether type is IBM long double.
44090         (round_for_all): Change need_exact field to ibm_ld.
44091         * stdlib/tst-strtod-round.c (struct exactness): New type.
44092         (struct test): Change bool ld_ok field to struct exactness exact.
44093         (TEST): Update all definitions for change to field.
44094         (tests): Regenerate array contents.
44095         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44096         field value.  Check for IBM long double here.
44097         (do_test): Update calls to test_in_one_mode.
44099 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44101         [BZ #12515]
44102         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44103         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44105 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44107         [BZ #15605]
44108         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44109         generated by the compiler on loop optimizations.
44110         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44111         general definitions.
44113 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44115         * math/bug-nextafter.c: Include <math-tests.h>.
44116         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44117         the relevant type.
44118         * math/bug-nexttoward.c: Include <math-tests.h>.
44119         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44120         the relevant type.
44121         * math/test-misc.c: Include <math-tests.h>.
44122         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44123         the relevant type.
44125 2013-06-12  Andreas Jaeger  <aj@suse.de>
44127         * po/ia.po: Update Interlingua translation from translation
44128         project.
44130 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44132         * include/fenv.h: Include stdbool.h.
44133         (struct rm_ctx): New structure.
44134         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44135         Define macro.
44136         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44137         (SET_RESTORE_ROUNDF): Likewise.
44138         (SET_RESTORE_ROUNDL): Likewise.
44139         (SET_RESTORE_ROUND_NOEX): Likewise.
44140         (SET_RESTORE_ROUND_NOEXF): Likewise.
44141         (SET_RESTORE_ROUND_NOEXL): Likewise.
44142         (SET_RESTORE_ROUND_53BIT): Likewise.
44143         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44144         (libc_feresetround_noexf_ctx): Likewise.
44145         (libc_feresetround_noexl_ctx): Likewise.
44146         (libc_feholdsetround_53bit_ctx): Likewise.
44147         (libc_feresetround_53bit_ctx): Likewise.
44148         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44149         (libc_feholdexcept_setround_sse_ctx): New function.
44150         (libc_fesetenv_sse_ctx): Likewise.
44151         (libc_feupdateenv_sse_ctx): Likewise.
44152         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44153         (libc_feholdexcept_setround_387_ctx): Likewise.
44154         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44155         (libc_feholdsetround_387_prec_ctx): Likewise.
44156         (libc_feholdsetround_387_ctx): Likewise.
44157         (libc_feholdsetround_387_53bit_ctx): Likewise.
44158         (libc_feholdsetround_sse_ctx): Likewise.
44159         (libc_feresetround_sse_ctx): Likewise.
44160         (libc_feresetround_387_ctx): Likewise.
44161         (libc_feupdateenv_387_ctx): Likewise.
44162         (libc_feholdexcept_setroundf_ctx): Define macro.
44163         (libc_fesetenvf_ctx): Likewise.
44164         (libc_feupdateenvf_ctx): Likewise.
44165         (libc_feholdsetroundf_ctx): Likewise.
44166         (libc_feresetroundf_ctx): Likewise.
44167         (libc_feholdexcept_setround_ctx): Likewise.
44168         (libc_fesetenv_ctx): Likewise.
44169         (libc_feupdateenv_ctx): Likewise.
44170         (libc_feholdsetround_ctx): Likewise.
44171         (libc_feresetround_ctx): Likewise.
44172         (libc_feholdexcept_setroundl_ctx): Likewise.
44173         (libc_feupdateenvl_ctx): Likewise.
44174         (libc_feholdsetroundl_ctx): Likewise.
44175         (libc_feresetroundl_ctx): Likewise.
44176         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44177         (libc_feresetround_53bit_ctx): Likewise.
44179 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44181         * locale/iso-639.def: Convert to UTF-8.
44183 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44185         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44186         (EXCEPTION_TESTS_double): Likewise.
44187         (EXCEPTION_TESTS_long_double): Likewise.
44188         (EXCEPTION_TESTS): Likewise.
44189         * math/libm-test.inc (test_exceptions): Only test exceptions if
44190         EXCEPTION_TESTS (FLOAT).
44192 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44194         * benchtests/Makefile (string-bench): Add strcpy_chk and
44195         stpcpy_chk.
44196         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44197         * benchtests/bench-stpcpy_chk.c: New file.
44198         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44199         * benchtests/bench-strcpy_chk.c: New file.
44200         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44201         code.
44202         (do_test): Likewise.
44204 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44206         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44207         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44208         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44209         with tabs where appropriate.
44210         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44211         dl-procinfo.h.
44212         [PPC_PLATFORM_PPC440]: Likewise.
44213         [PPC_PLATFORM_PPC464]: Likewise.
44214         [PPC_PLATFORM_PPC476]: Likewise.
44215         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44216         ppc464, and ppc476 platform strings merging from ports/
44217         dl-procinfo.h.
44219 2013-06-11  Andreas Schwab  <schwab@suse.de>
44221         [BZ #14991]
44222         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44223         (from_ucs4_idx): Regenerate.
44224         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44225         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44226         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44227         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44228         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44229         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44230         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44231         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44232         from FROM_LOOP and TO_LOOP specific macros.
44233         (BODY): Handle combining characters.
44234         * iconvdata/BIG5HKSCS.irreversible: Update.
44235         * iconvdata/BIG5HKSCS.precomposed: New file.
44236         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44237         characters.
44238         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44240 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44242         * include/sys/time.h: Fix indentation and add copyright header.
44244         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44245         (do_test): Likewise.
44246         * string/test-memchr.c (do_one_test): Likewise.
44247         (do_test): Likewise.
44248         * string/test-memcmp.c (do_one_test): Likewise.
44249         (do_test): Likewise.
44250         * string/test-memcpy.c (do_one_test): Likewise.
44251         (do_test): Likewise.
44252         * string/test-memmem.c (do_one_test): Likewise.
44253         (do_test): Likewise.
44254         (do_random_tests): Likewise.
44255         * string/test-memmove.c (do_one_test): Likewise.
44256         (do_test): Likewise.
44257         * string/test-memset.c (do_one_test): Likewise.
44258         (do_test): Likewise.
44259         * string/test-rawmemchr.c (do_one_test): Likewise.
44260         (do_test): Likewise.
44261         * string/test-strcasecmp.c (do_one_test): Likewise.
44262         (do_test): Likewise.
44263         * string/test-strcasestr.c (do_one_test): Likewise.
44264         (do_test): Likewise.
44265         * string/test-strcat.c (do_one_test): Likewise.
44266         (do_test): Likewise.
44267         * string/test-strchr.c (do_one_test): Likewise.
44268         (do_test): Likewise.
44269         * string/test-strcmp.c (do_one_test): Likewise.
44270         (do_test): Likewise.
44271         * string/test-strcpy.c (do_one_test): Likewise.
44272         (do_test): Likewise.
44273         * string/test-string.h: Likewise.
44274         (test_init): Likewise.
44275         * string/test-strlen.c (do_one_test): Likewise.
44276         (do_test): Likewise.
44277         * string/test-strncasecmp.c (do_one_test): Likewise.
44278         (do_test): Likewise.
44279         * string/test-strncat.c (do_one_test): Likewise.
44280         (do_test): Likewise.
44281         * string/test-strncmp.c (do_one_test): Likewise.
44282         (do_test_limit): Likewise.
44283         (do_test): Likewise.
44284         * string/test-strncpy.c (do_one_test): Likewise.
44285         (do_test): Likewise.
44286         * string/test-strnlen.c (do_one_test): Likewise.
44287         (do_test): Likewise.
44288         * string/test-strpbrk.c (do_one_test): Likewise.
44289         (do_test): Likewise.
44290         * string/test-strrchr.c (do_one_test): Likewise.
44291         (do_test): Likewise.
44292         * string/test-strspn.c (do_one_test): Likewise.
44293         (do_test): Likewise.
44294         * string/test-strstr.c (do_one_test): Likewise.
44295         (do_test): Likewise.
44297         * benchtests/Makefile (string-bench): Add string benchmarks.
44298         * benchtests/bench-bcopy-ifunc.c: New file.
44299         * benchtests/bench-bcopy.c: New file.
44300         * benchtests/bench-bzero-ifunc.c: New file.
44301         * benchtests/bench-bzero.c: New file.
44302         * benchtests/bench-memccpy-ifunc.c: New file.
44303         * benchtests/bench-memccpy.c: New file.
44304         * benchtests/bench-memchr-ifunc.c: New file.
44305         * benchtests/bench-memchr.c: New file.
44306         * benchtests/bench-memcmp-ifunc.c: New file.
44307         * benchtests/bench-memcmp.c: New file.
44308         * benchtests/bench-memmem-ifunc.c: New file.
44309         * benchtests/bench-memmem.c: New file.
44310         * benchtests/bench-memmove-ifunc.c: New file.
44311         * benchtests/bench-memmove.c: New file.
44312         * benchtests/bench-mempcpy-ifunc.c: New file.
44313         * benchtests/bench-mempcpy.c: New file.
44314         * benchtests/bench-memset-ifunc.c: New file.
44315         * benchtests/bench-memset.c: New file.
44316         * benchtests/bench-rawmemchr-ifunc.c: New file.
44317         * benchtests/bench-rawmemchr.c: New file.
44318         * benchtests/bench-stpcpy-ifunc.c: New file.
44319         * benchtests/bench-stpcpy.c: New file.
44320         * benchtests/bench-stpncpy-ifunc.c: New file.
44321         * benchtests/bench-stpncpy.c: New file.
44322         * benchtests/bench-strcasecmp-ifunc.c: New file.
44323         * benchtests/bench-strcasecmp.c: New file.
44324         * benchtests/bench-strcasestr-ifunc.c: New file.
44325         * benchtests/bench-strcasestr.c: New file.
44326         * benchtests/bench-strcat-ifunc.c: New file.
44327         * benchtests/bench-strcat.c: New file.
44328         * benchtests/bench-strchr-ifunc.c: New file.
44329         * benchtests/bench-strchr.c: New file.
44330         * benchtests/bench-strchrnul-ifunc.c: New file.
44331         * benchtests/bench-strchrnul.c: New file.
44332         * benchtests/bench-strcmp-ifunc.c: New file.
44333         * benchtests/bench-strcmp.c: New file.
44334         * benchtests/bench-strcpy-ifunc.c: New file.
44335         * benchtests/bench-strcpy.c: New file.
44336         * benchtests/bench-strcspn-ifunc.c: New file.
44337         * benchtests/bench-strcspn.c: New file.
44338         * benchtests/bench-strlen-ifunc.c: New file.
44339         * benchtests/bench-strlen.c: New file.
44340         * benchtests/bench-strncasecmp-ifunc.c: New file.
44341         * benchtests/bench-strncasecmp.c: New file.
44342         * benchtests/bench-strncat-ifunc.c: New file.
44343         * benchtests/bench-strncat.c: New file.
44344         * benchtests/bench-strncmp-ifunc.c: New file.
44345         * benchtests/bench-strncmp.c: New file.
44346         * benchtests/bench-strncpy-ifunc.c: New file.
44347         * benchtests/bench-strncpy.c: New file.
44348         * benchtests/bench-strnlen-ifunc.c: New file.
44349         * benchtests/bench-strnlen.c: New file.
44350         * benchtests/bench-strpbrk-ifunc.c: New file.
44351         * benchtests/bench-strpbrk.c: New file.
44352         * benchtests/bench-strrchr-ifunc.c: New file.
44353         * benchtests/bench-strrchr.c: New file.
44354         * benchtests/bench-strspn-ifunc.c: New file.
44355         * benchtests/bench-strspn.c: New file.
44356         * benchtests/bench-strstr-ifunc.c: New file.
44357         * benchtests/bench-strstr.c: New file.
44359         * benchtests/Makefile: Disable parallel execution of targets.
44360         (string-bench): Add memcpy.
44361         (benchset): New variable to store a list of benchmark sets.
44362         (bench-func): Renamed from bench.
44363         (bench-set): New target.
44364         (bench): Depend on bench-func and bench-set.
44365         * benchtests/README: Add section on benchmark sets.
44366         * benchtests/bench-memcpy-ifunc.c: New file.
44367         * benchtests/bench-memcpy.c: New file.
44368         * benchtests/bench-string.h: New file.
44370 2013-06-11  Andreas Schwab  <schwab@suse.de>
44372         [BZ #15577]
44373         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44374         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44375         values in the triple.
44376         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44377         terminator in the group key.
44379 2013-06-11  Andreas Jaeger  <aj@suse.de>
44381         * po/zh_TW.po: Update Chinese (traditional) translation from
44382         translation project.
44384 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44386         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44387         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44388         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44390         (clock_getcpuclockid): Likewise.
44391         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44392         Add weak_alias and libc_hidden_def.
44393         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44394         * rt/clock_gettime.c (clock_gettime): Rename to
44395         __clock_gettime.  Add weak_alias and libc_hidden_def.
44396         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44397         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44398         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44399         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44400         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44401         Likewise.
44402         * rt/clock_settime.c (clock_settime): Rename to
44403         __clock_settime.  Add weak_alias and libc_hidden_def.
44404         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44406 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44408         * mach/err_boot.sub: Remove trailing whitespace.
44409         * mach/err_ipc.sub: Likewise.
44410         * mach/err_mach.sub: Likewise.
44412         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44413         (ROUNDING_TESTS_double): Likewise.
44414         (ROUNDING_TESTS_long_double): Likewise.
44415         (ROUNDING_TESTS): Likewise.
44416         * math/libm-test.inc: Include <math-tests.h>.
44417         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44418         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44419         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44420         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44422 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44424         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44425         of assigning.
44427 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44429         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44430         otherwise empty TRANS lines.
44431         * sysdeps/gnu/errlist.c: Regenerated.
44433         * catgets/gencat.c (error_print): Use (void) in function
44434         definition.
44435         * crypt/crypt_util.c (__init_des): Likewise.
44436         * crypt/speeds.c (Stop): Likewise.
44437         (main): Likewise.
44438         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44439         * inet/ruserpass.c (token): Likewise.
44440         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44441         * intl/localealias.c (extend_alias_table): Likewise.
44442         * intl/plural-exp.c (init_germanic_plural): Likewise.
44443         * libio/fcloseall.c (__fcloseall): Likewise.
44444         * libio/genops.c (_IO_flush_all): Likewise.
44445         (_IO_flush_all_linebuffered): Likewise.
44446         (_IO_cleanup): Likewise.
44447         (_IO_iter_begin): Likewise.
44448         (_IO_iter_end): Likewise.
44449         (_IO_list_lock): Likewise.
44450         (_IO_list_unlock): Likewise.
44451         (_IO_list_resetlock): Likewise.
44452         * libio/getchar.c (getchar): Likewise.
44453         * libio/getchar_u.c (getchar_unlocked): Likewise.
44454         * libio/getwchar.c (getwchar): Likewise.
44455         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44456         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44457         * login/getpt.c (__getpt): Likewise.
44458         * login/tst-utmp.c (main): Likewise.
44459         * malloc/hooks.c (__malloc_check_init): Likewise.
44460         * malloc/malloc.c (__malloc_stats): Likewise.
44461         * malloc/mtrace.c (tr_break): Likewise.
44462         (mtrace): Likewise.
44463         (muntrace): Likewise.
44464         * misc/fstab.c (endfsent): Likewise.
44465         * misc/getclktck.c (__getclktck): Likewise.
44466         * misc/getdtsz.c (__getdtablesize): Likewise.
44467         * misc/gethostid.c (gethostid): Likewise.
44468         * misc/getpagesize.c (__getpagesize): Likewise.
44469         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44470         (__get_nprocs): Likewise.
44471         (__get_phys_pages): Likewise.
44472         (__get_avphys_pages): Likewise.
44473         * misc/getttyent.c (getttyent): Likewise.
44474         (setttyent): Likewise.
44475         (endttyent): Likewise.
44476         * misc/getusershell.c (getusershell): Likewise.
44477         (endusershell): Likewise.
44478         (setusershell): Likewise.
44479         (initshells): Likewise.
44480         * misc/hsearch.c (__hdestroy): Likewise.
44481         * misc/sync.c (sync): Likewise.
44482         * misc/syslog.c (closelog_internal): Likewise.
44483         (closelog): Likewise.
44484         * misc/ttyslot.c (ttyslot): Likewise.
44485         * misc/vhangup.c (vhangup): Likewise.
44486         * posix/fork.c (__fork): Likewise.
44487         * posix/getegid.c (__getegid): Likewise.
44488         * posix/geteuid.c (__geteuid): Likewise.
44489         * posix/getgid.c (__getgid): Likewise.
44490         * posix/getpid.c (__getpid): Likewise.
44491         * posix/getppid.c (__getppid): Likewise.
44492         * posix/getuid.c (__getuid): Likewise.
44493         * posix/pause.c (pause): Likewise.
44494         * posix/setpgrp.c (setpgrp): Likewise.
44495         * posix/setsid.c (__setsid): Likewise.
44496         * posix/test-vfork.c (noop): Likewise.
44497         * resolv/gethnamaddr.c (_endhtent): Likewise.
44498         (_gethtent): Likewise.
44499         (ht_endhostent): Likewise.
44500         (gethostent): Likewise.
44501         (dns_service): Likewise.
44502         * stdlib/drand48.c (drand48): Likewise.
44503         * stdlib/lrand48.c (lrand48): Likewise.
44504         * stdlib/mrand48.c (mrand48): Likewise.
44505         * stdlib/rand.c (rand): Likewise.
44506         * stdlib/random.c (__random): Likewise.
44507         * stdlib/setenv.c (clearenv): Likewise.
44508         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44509         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44510         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44511         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44512         (__get_nprocs): Likewise.
44513         (__get_phys_pages): Likewise.
44514         (__get_avphys_pages): Likewise.
44515         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44516         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44517         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44518         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44519         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44520         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44521         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44522         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44523         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44524         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44525         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44526         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44527         * sysdeps/posix/clock.c (clock): Likewise.
44528         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44529         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44530         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44531         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44532         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44534         (__get_nprocs_conf): Likewise.
44535         (__get_phys_pages): Likewise.
44536         (__get_avphys_pages): Likewise.
44537         * time/clock.c (clock): Likewise.
44538         * time/tzset.c (__tzname_max): Likewise.
44540 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44542         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44543         (__bswap_32): Do not use "register".
44544         * crypt/crypt.c (_ufc_doit_r): Likewise.
44545         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44546         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44547         * gmon/gmon.c (__monstartup): Likewise.
44548         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44549         * hurd/hurdmalloc.c (more_memory): Likewise.
44550         (malloc): Likewise.
44551         (free): Likewise.
44552         (realloc): Likewise.
44553         (malloc_fork_prepare): Likewise.
44554         (malloc_fork_parent): Likewise.
44555         (malloc_fork_child): Likewise.
44556         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44557         (_svcauth_des): Likewise.
44558         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44559         * inet/inet_net.c (inet_network): Likewise.
44560         * inet/inet_netof.c (inet_netof): Likewise.
44561         * inet/rcmd.c (__validuser2_sa): Likewise.
44562         * io/fts.c (fts_open): Likewise.
44563         (fts_load): Likewise.
44564         (fts_close): Likewise.
44565         (fts_read): Likewise.
44566         (fts_children): Likewise.
44567         (fts_build): Likewise.
44568         (fts_stat): Likewise.
44569         (fts_sort): Likewise.
44570         (fts_alloc): Likewise.
44571         (fts_lfree): Likewise.
44572         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44573         (_IO_file_xsgetn): Likewise.
44574         (_IO_file_xsgetn_mmap): Likewise.
44575         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44576         (_IO_cookie_write): Likewise.
44577         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44578         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44579         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44580         * malloc/obstack.c (_obstack_begin): Likewise.
44581         (_obstack_begin_1): Likewise.
44582         (_obstack_newchunk): Likewise.
44583         (_obstack_allocated_p): Likewise.
44584         (obstack_free): Likewise.
44585         (_obstack_memory_used): Likewise.
44586         * misc/getttyent.c (getttynam): Likewise.
44587         (getttyent): Likewise.
44588         (skip): Likewise.
44589         (value): Likewise.
44590         * misc/getusershell.c (initshells): Likewise.
44591         * misc/syslog.c (__vsyslog_chk): Likewise.
44592         * misc/ttyslot.c (ttyslot): Likewise.
44593         * nis/nis_hash.c (__nis_hash): Likewise.
44594         * posix/fnmatch_loop.c (FCT): Likewise.
44595         * posix/getconf.c (print_all): Likewise.
44596         (main): Likewise.
44597         * posix/getopt.c (exchange): Likewise.
44598         * posix/glob.c (globfree): Likewise.
44599         (prefix_array): Likewise.
44600         (__glob_pattern_type): Likewise.
44601         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44602         (NS_GET32): Likewise.
44603         (NS_PUT16): Likewise.
44604         (NS_PUT32): Likewise.
44605         * resolv/gethnamaddr.c (getanswer): Likewise.
44606         (gethostbyname2): Likewise.
44607         (gethostbyaddr): Likewise.
44608         (_gethtent): Likewise.
44609         (_gethtbyname2): Likewise.
44610         (_gethtbyaddr): Likewise.
44611         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44612         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44613         * resolv/res_init.c (__res_vinit): Likewise.
44614         (net_mask): Likewise.
44615         * resolv/res_mkquery.c (outchar): Likewise.
44616         (PRINT): Likewise.
44617         * stdio-common/printf_fp.c (outchar): Likewise.
44618         (PRINT): Likewise.
44619         * stdio-common/printf_fphex.c (outchar): Likewise.
44620         (PRINT): Likewise.
44621         * stdio-common/printf_size.c (outchar): Likewise.
44622         (PRINT): Likewise.
44623         * stdio-common/test_rdwr.c (main): Likewise.
44624         * stdio-common/tfformat.c (matches): Likewise.
44625         * stdio-common/vfprintf.c (outchar): Likewise.
44626         (printf_unknown): Likewise.
44627         (buffered_vfprintf): Likewise.
44628         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44629         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44630         (ReadFile): Likewise.
44631         * stdlib/qsort.c (SWAP): Likewise.
44632         (_quicksort): Likewise.
44633         * stdlib/setenv.c (__add_to_environ): Likewise.
44634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44635         * stdlib/strtol_l.c (__strtol_l): Likewise.
44636         * stdlib/tst-strtod.c (main): Likewise.
44637         * stdlib/tst-strtol.c (main): Likewise.
44638         * stdlib/tst-strtoll.c (main): Likewise.
44639         * string/bits/string2.h (__strcmp_cc): Likewise.
44640         (__strcmp_cg): Likewise.
44641         (__strcspn_c1): Likewise.
44642         (__strcspn_c2): Likewise.
44643         (__strcspn_c3): Likewise.
44644         (__strspn_c1): Likewise.
44645         (__strspn_c2): Likewise.
44646         (__strspn_c3): Likewise.
44647         (__strsep_1c): Likewise.
44648         (__strsep_2c): Likewise.
44649         (__strsep_3c): Likewise.
44650         * string/memccpy.c (__memccpy): Likewise.
44651         * string/stpcpy.c (__stpcpy): Likewise.
44652         * string/strcmp.c (strcmp): Likewise.
44653         * string/strrchr.c (strrchr): Likewise.
44654         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44655         Likewise.
44656         * sysdeps/mach/hurd/getcwd.c
44657         (_hurd_canonicalize_directory_name_internal): Likewise.
44658         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44659         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44660         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44661         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44662         Likewise, in both definitions.
44663         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44664         definitions.
44665         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44666         64] (__bswap_64): Likewise.
44667         * time/test_time.c (main): Likewise.
44668         * time/tzfile.c (__tzfile_read): Likewise.
44669         (__tzfile_compute): Likewise.
44670         * time/tzset.c (__tzset_parse_tz): Likewise.
44671         (tzset_internal): Likewise.
44672         (compute_change): Likewise.
44673         * wcsmbs/wcscat.c (__wcscat): Likewise.
44674         * wcsmbs/wcschr.c (wcschr): Likewise.
44675         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44676         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44677         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44678         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44679         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44680         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44681         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44682         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44683         * wcsmbs/wmemset.c (wmemset): Likewise.
44685 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44687         * scripts/config.guess: Update to version 2013-05-16.
44688         * scripts/config.sub: Update to version 2013-04-24.
44689         * scripts/install-sh: Update to version 2011-11-20.07.
44690         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44691         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44693 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44695         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44696         * elf/sln.c: Likewise.
44697         * hurd/hurd/ioctl.h: Likewise.
44698         * hurd/hurdmalloc.c: Likewise.
44699         * hurd/xattr.c: Likewise.
44700         * include/shlib-compat.h: Likewise.
44701         * inet/ruserpass.c: Likewise.
44702         * libio/iofgets_u.c: Likewise.
44703         * libio/iofgetws_u.c: Likewise.
44704         * locale/programs/ld-identification.c: Likewise.
44705         * locale/programs/ld-time.c: Likewise.
44706         * mach/msg-destroy.c: Likewise.
44707         * nss/nss_files/files-netgrp.c: Likewise.
44708         * resolv/res_data.c: Likewise.
44709         * soft-fp/op-1.h: Likewise.
44710         * soft-fp/op-2.h: Likewise.
44711         * soft-fp/op-4.h: Likewise.
44712         * soft-fp/op-common.h: Likewise.
44713         * stdio-common/printf_fphex.c: Likewise.
44714         * stdlib/strtod_l.c: Likewise.
44715         * sunrpc/rpc/clnt.h: Likewise.
44716         * sysdeps/generic/framestate.c: Likewise.
44717         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44718         * sysdeps/i386/bsd-setjmp.S: Likewise.
44719         * sysdeps/i386/__longjmp.S: Likewise.
44720         * sysdeps/i386/setjmp.S: Likewise.
44721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44728         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44729         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44730         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44731         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44734         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44737         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44738         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44739         * sysdeps/ieee754/support.c: Likewise.
44740         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44741         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44742         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44743         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44744         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44745         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44746         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44747         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44748         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44749         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44750         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44751         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44752         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44753         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44754         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44755         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44756         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44759 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44761         * posix/transbug.c: Remove executable mode.
44763 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44765         * crypt/speeds.c: Remove trailing whitespace.
44766         * dlfcn/default.c: Likewise.
44767         * elf/ifuncdep2.c: Likewise.
44768         * elf/ifuncmain1.c: Likewise.
44769         * elf/ifuncmain1vis.c: Likewise.
44770         * elf/testobj.h: Likewise.
44771         * elf/tst-stackguard1.c: Likewise.
44772         * gmon/sys/gmon.h: Likewise.
44773         * hurd/hurdmsg.c: Likewise.
44774         * hurd/new-fd.c: Likewise.
44775         * hurd/ports-get.c: Likewise.
44776         * iconvdata/ibm1008_420.c: Likewise.
44777         * inet/tst-getni1.c: Likewise.
44778         * inet/tst-getni2.c: Likewise.
44779         * libio/ioungetc.c: Likewise.
44780         * libio/wfiledoalloc.c: Likewise.
44781         * manual/libm-err-tab.pl: Likewise.
44782         * math/w_dremf.c: Likewise.
44783         * misc/ftruncate.c: Likewise.
44784         * posix/bug-glob2.c: Likewise.
44785         * posix/tst-pcre.c: Likewise.
44786         * posix/wait4.c: Likewise.
44787         * resolv/README: Likewise.
44788         * resolv/res_debug.h: Likewise.
44789         * resolv/tst-inet_ntop.c: Likewise.
44790         * setjmp/bug269-setjmp.c: Likewise.
44791         * soft-fp/extended.h: Likewise.
44792         * soft-fp/op-1.h: Likewise.
44793         * soft-fp/op-2.h: Likewise.
44794         * soft-fp/op-4.h: Likewise.
44795         * soft-fp/op-8.h: Likewise.
44796         * soft-fp/testit.c: Likewise.
44797         * stdio-common/bug16.c: Likewise.
44798         * stdlib/random.c: Likewise.
44799         * sunrpc/rpcsvc/rquota.x: Likewise.
44800         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44801         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44802         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44803         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44804         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44805         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44806         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44808         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44809         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44810         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44817         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44818         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44827         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44828         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44829         * sysdeps/ieee754/s_lib_version.c: Likewise.
44830         * sysdeps/mach/hurd/check_fds.c: Likewise.
44831         * sysdeps/mach/hurd/getsockname.c: Likewise.
44832         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44833         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44834         * sysdeps/powerpc/bits/link.h: Likewise.
44835         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44836         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44837         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44838         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44839         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44840         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44841         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44842         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44843         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44844         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44845         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44846         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44847         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44848         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44849         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44850         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44853         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44854         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44855         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44856         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44857         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44858         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44859         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44860         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44861         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44862         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44863         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44868         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44869         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44870         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44871         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44872         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44873         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44875         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44876         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44877         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44878         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44879         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44880         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44881         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44882         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44883         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44884         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44886         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44887         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44889         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44890         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44891         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44892         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44893         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44894         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44895         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44896         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44897         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44898         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44899         * sysdeps/powerpc/sysdep.h: Likewise.
44900         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44901         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44902         * sysdeps/sh/dl-trampoline.S: Likewise.
44903         * sysdeps/sh/memset.S: Likewise.
44904         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44905         * sysdeps/sh/strlen.S: Likewise.
44906         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44907         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44908         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44909         * sysdeps/sparc/sparc32/rem.S: Likewise.
44910         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44911         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44912         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44913         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44914         * sysdeps/sparc/sparc32/urem.S: Likewise.
44915         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44916         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44917         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44918         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44919         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44920         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44921         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44922         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44923         * sysdeps/unix/bsd/times.c: Likewise.
44924         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44925         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44929         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44930         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44931         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44932         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44933         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44934         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44935         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44936         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44937         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44938         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44939         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44940         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44941         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44942         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44943         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44944         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44945         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44946         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44947         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44948         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44949         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44950         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44951         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44952         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44953         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44954         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44955         * sysdeps/x86_64/strcspn.S: Likewise.
44957 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44959         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44960         generated file.  Regenerate properly from gen-translit.pl.
44961         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44962         locale/C-translit.h.
44964 2013-06-05  Andreas Schwab  <schwab@suse.de>
44966         [BZ #15100]
44967         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44968         week as 6 instead of -1.
44969         * time/tst-strptime.c (day_tests): Add test case.
44971 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44973         * sysdeps/generic/math_private.h
44974         (libc_feholdexcept_setround_53bit): Replace with
44975         libc_feholdsetround_53bit.
44976         (libc_feupdateenv_53bit): Replace with
44977         libc_feresetround_53bit.
44978         (SET_RESTORE_ROUND_53BIT): Adjust.
44980 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44982         * string/test-strchrnul.c: Add copyright header.
44984         * posix/tst-getaddrinfo4.c: Increase test timeout.
44986 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44988         [BZ #15536]
44989         * math/libm-test.inc (MAX_EXP): Remove
44990         (MIN_EXP): Define.
44991         (ulp): Use MIN_EXP - MANT_DIG.
44992         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44994 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44996         * po/be.po: Revert last change.
44997         * po/zh_CN.po: Likewise.
44998         * po/header.pot: Likewise.
45000 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45002         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45003         link-libc-deps to empty as target-specific variable.
45004         * Makerules (link-libc-args): New variable.
45005         (libc-for-link): Likewise.
45006         (link-libc-deps): Likewise.
45007         (lib%.so): Depend on $(link-libc-deps).  Link with
45008         $(link-libc-args).
45009         (build-module): Link with $(link-libc-args).
45010         (build-module-asneeded): Likewise.
45011         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45012         list of objects.
45013         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45014         target-specific variable.
45015         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45016         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45017         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45018         libc.
45019         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45020         libc and ld.so.
45021         ($(objpfx)libpcprofile.so): Likewise.
45022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45023         libc_nonshared.a.
45024         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45025         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45026         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45027         $(link-libc-deps).
45028         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45029         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45030         * login/Makefile ($(objpfx)libutil.so): Likewise.
45031         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45032         * math/Makefile ($(objpfx)libm.so): Likewise.
45033         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45034         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45035         variable instead of depending directly on libc.
45036         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45037         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45038         $(link-libc-deps).
45039         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45040         libc.
45041         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45042         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45043         ($(objpfx)libanl.so): Likewise.
45044         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45045         ld.so.
45046         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45047         $(link-libc-deps).
45048         * sysdeps/i386/fpu/Makefile: Remove file.
45049         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45050         ($(objpfx)libm.so): Remove dependency on ld.so.
45052 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45054         [BZ # 15553]
45055         * nis/yp_xdr.c (XDRMAXNAME): Define.
45056         (XDRMAXRECORD): Define.
45057         (xdr_domainname): Use XDRMAXNAME.
45058         (xdr_mapname): Likewise.
45059         (xdr_peername): Likewise.
45060         (xdr_keydat): Use XDRMAXRECORD.
45061         (xdr_valdat): Likewise.
45063 2013-05-30  Jeff Law  <law@redhat.com>
45065         [BZ #14256]
45066         * manual/errno.texi (ESTALE): Update to account for more than
45067         just NFS file systems.
45068         * sysdeps/gnu/errlist.c: Regenerated.
45070 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45072         [BZ #15465]
45073         * elf/Makefile (tests): Add tst-null-argv.
45074         (modules-names):  Add tst-null-argv-lib.
45075         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45076         (tst-null-argv-ENV): Set environment for tst-null-argv.
45077         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45078         (RTLD_PROGNAME): New macro.
45079         * elf/tst-null-argv.c: New test case.
45080         * elf/tst-null-argv-lib.c: Library for test case.
45081         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45082         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45083         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45084         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45085         * elf/dl-init.c (call_init): Likewise.
45086         (_dl_init): Likewise.
45087         * elf/dl-load.c (print_search_path): Likewise.
45088         (_dl_map_object): Likewise.
45089         * elf/dl-lookup.c (do_lookup_x): Likewise.
45090         (add_dependency): Likewise.
45091         (_dl_lookup_symbol_x): Likewise.
45092         (_dl_debug_bindings): Likewise.
45093         * elf/dl-open.c (_dl_show_scope): Likewise.
45094         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45095         * elf/dl-version.c (match_symbol): Likewise.
45096         (_dl_check_map_versions): Likewise.
45097         * elf/rtld.c (dl_main): Likewise.
45098         (print_unresolved): Use RTLD_PROGNAME.
45099         (print_missing_version): Likewise.
45100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45101         (elf_machine_rela): Likewise.
45102         * sysdeps/powerpc/powerpc32/dl-machine.c
45103         (__process_machine_rela): Likewise.
45104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45105         Likewise.
45106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45107         Likewise.
45108         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45109         Likewise.
45110         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45112         Likewise.
45113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45114         Likewise.
45115         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45117 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45119         * po/be.po: Add descriptive title.
45120         * po/zh_CN.po: Likewise.
45121         * po/header.pot: Likewise.
45123 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45125         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45126         error message.
45127         (enlarge_archive): Likewise.
45129 2013-05-28  Ben North  <ben@redfrontdoor.org>
45131         * manual/arith.texi (frexp): It is the magnitude of the return
45132         value which lies in [0.5, 1), not the return value itself.
45134 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45138 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45140         * stdio-common/bug26.c (main): Correct fscanf template.
45142         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45143         declare _dl_skip_args.
45145         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45146         Don't declare.
45148         * manual/platform.texi: Add missing @end deftypefun.
45150 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45152         [BZ #15529]
45153         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45154         bit of mantissa of 2^16382.
45155         * math/libm-test.inc (hypot_test_data): Add more tests.
45157         * math/libm-test.inc: Add drem and pow10 to list of tested
45158         functions.
45159         (pow10_test): New function.
45160         (drem_test): Likewise.
45161         (drem_test_tonearest): Likewise.
45162         (drem_test_towardzero): Likewise.
45163         (drem_test_downward): Likewise.
45164         (drem_test_upward): Likewise.
45165         (main): Call the new functions.
45167         * math/libm-test.inc (finite_test_data): Remove.
45168         (finite_test): Run tests from isfinite_test_data.
45169         (gamma_test_data): Remove.
45170         (gamma_test): Run tests from lgamma_test_data.
45171         * sysdeps/i386/fpu/libm-test-ulps: Update.
45172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45174 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45176         * manual/platform.texi: Add PowerPC PPR function set documentation.
45177         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45178         implementation.
45180 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45182         * math/libm-test.inc (MAX_EXP): Define.
45183         (ULPDIFF): Define.
45184         (ulp): New function.
45185         (check_float_internal): Use ULPDIFF.
45186         (cpow_test): Disable failing test.
45187         (check_ulp): Test ulp() implemetnation.
45188         (main): Call check_ulp before starting tests.
45190 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45192         * math/gen-libm-test.pl (generate_testfile): Do not handle
45193         START_DATA and END_DATA.
45194         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45195         END_DATA.
45196         (acos_tonearest_test_data): Likewise.
45197         (acos_towardzero_test_data): Likewise.
45198         (acos_downward_test_data): Likewise.
45199         (acos_upward_test_data): Likewise.
45200         (acosh_test_data): Likewise.
45201         (asin_test_data): Likewise.
45202         (asin_tonearest_test_data): Likewise.
45203         (asin_towardzero_test_data): Likewise.
45204         (asin_downward_test_data): Likewise.
45205         (asin_upward_test_data): Likewise.
45206         (asinh_test_data): Likewise.
45207         (atan_test_data): Likewise.
45208         (atanh_test_data): Likewise.
45209         (atan2_test_data): Likewise.
45210         (cabs_test_data): Likewise.
45211         (cacos_test_data): Likewise.
45212         (cacosh_test_data): Likewise.
45213         (carg_test_data): Likewise.
45214         (casin_test_data): Likewise.
45215         (casinh_test_data): Likewise.
45216         (catan_test_data): Likewise.
45217         (catanh_test_data): Likewise.
45218         (cbrt_test_data): Likewise.
45219         (ccos_test_data): Likewise.
45220         (ccosh_test_data): Likewise.
45221         (ceil_test_data): Likewise.
45222         (cexp_test_data): Likewise.
45223         (cimag_test_data): Likewise.
45224         (clog_test_data): Likewise.
45225         (clog10_test_data): Likewise.
45226         (conj_test_data): Likewise.
45227         (copysign_test_data): Likewise.
45228         (cos_test_data): Likewise.
45229         (cos_tonearest_test_data): Likewise.
45230         (cos_towardzero_test_data): Likewise.
45231         (cos_downward_test_data): Likewise.
45232         (cos_upward_test_data): Likewise.
45233         (cosh_test_data): Likewise.
45234         (cosh_tonearest_test_data): Likewise.
45235         (cosh_towardzero_test_data): Likewise.
45236         (cosh_downward_test_data): Likewise.
45237         (cosh_upward_test_data): Likewise.
45238         (cpow_test_data): Likewise.
45239         (cproj_test_data): Likewise.
45240         (creal_test_data): Likewise.
45241         (csin_test_data): Likewise.
45242         (csinh_test_data): Likewise.
45243         (csqrt_test_data): Likewise.
45244         (ctan_test_data): Likewise.
45245         (ctan_tonearest_test_data): Likewise.
45246         (ctan_towardzero_test_data): Likewise.
45247         (ctan_downward_test_data): Likewise.
45248         (ctan_upward_test_data): Likewise.
45249         (ctanh_test_data): Likewise.
45250         (ctanh_tonearest_test_data): Likewise.
45251         (ctanh_towardzero_test_data): Likewise.
45252         (ctanh_downward_test_data): Likewise.
45253         (ctanh_upward_test_data): Likewise.
45254         (erf_test_data): Likewise.
45255         (erfc_test_data): Likewise.
45256         (exp_test_data): Likewise.
45257         (exp_tonearest_test_data): Likewise.
45258         (exp_towardzero_test_data): Likewise.
45259         (exp_downward_test_data): Likewise.
45260         (exp_upward_test_data): Likewise.
45261         (exp10_test_data): Likewise.
45262         (exp2_test_data): Likewise.
45263         (expm1_test_data): Likewise.
45264         (fabs_test_data): Likewise.
45265         (fdim_test_data): Likewise.
45266         (finite_test_data): Likewise.
45267         (floor_test_data): Likewise.
45268         (fma_test_data): Likewise.
45269         (fma_towardzero_test_data): Likewise.
45270         (fma_downward_test_data): Likewise.
45271         (fma_upward_test_data): Likewise.
45272         (fmax_test_data): Likewise.
45273         (fmin_test_data): Likewise.
45274         (fmod_test_data): Likewise.
45275         (fpclassify_test_data): Likewise.
45276         (frexp_test_data): Likewise.
45277         (gamma_test_data): Likewise.
45278         (hypot_test_data): Likewise.
45279         (ilogb_test_data): Likewise.
45280         (isfinite_test_data): Likewise.
45281         (isgreater_test_data): Likewise.
45282         (isgreaterequal_test_data): Likewise.
45283         (isinf_test_data): Likewise.
45284         (isless_test_data): Likewise.
45285         (islessequal_test_data): Likewise.
45286         (islessgreater_test_data): Likewise.
45287         (isnan_test_data): Likewise.
45288         (isnormal_test_data): Likewise.
45289         (issignaling_test_data): Likewise.
45290         (isunordered_test_data): Likewise.
45291         (j0_test_data): Likewise.
45292         (j1_test_data): Likewise.
45293         (jn_test_data): Likewise.
45294         (ldexp_test_data): Likewise.
45295         (lgamma_test_data): Likewise.
45296         (lrint_test_data): Likewise.
45297         (lrint_tonearest_test_data): Likewise.
45298         (lrint_towardzero_test_data): Likewise.
45299         (lrint_downward_test_data): Likewise.
45300         (lrint_upward_test_data): Likewise.
45301         (llrint_test_data): Likewise.
45302         (llrint_tonearest_test_data): Likewise.
45303         (llrint_towardzero_test_data): Likewise.
45304         (llrint_downward_test_data): Likewise.
45305         (llrint_upward_test_data): Likewise.
45306         (log_test_data): Likewise.
45307         (log10_test_data): Likewise.
45308         (log1p_test_data): Likewise.
45309         (log2_test_data): Likewise.
45310         (logb_test_data): Likewise.
45311         (logb_downward_test_data): Likewise.
45312         (lround_test_data): Likewise.
45313         (llround_test_data): Likewise.
45314         (modf_test_data): Likewise.
45315         (nearbyint_test_data): Likewise.
45316         (nextafter_test_data): Likewise.
45317         (nexttoward_test_data): Likewise.
45318         (pow_test_data): Likewise.
45319         (pow_tonearest_test_data): Likewise.
45320         (pow_towardzero_test_data): Likewise.
45321         (pow_downward_test_data): Likewise.
45322         (pow_upward_test_data): Likewise.
45323         (remainder_test_data): Likewise.
45324         (remainder_tonearest_test_data): Likewise.
45325         (remainder_towardzero_test_data): Likewise.
45326         (remainder_downward_test_data): Likewise.
45327         (remainder_upward_test_data): Likewise.
45328         (remquo_test_data): Likewise.
45329         (rint_test_data): Likewise.
45330         (rint_tonearest_test_data): Likewise.
45331         (rint_towardzero_test_data): Likewise.
45332         (rint_downward_test_data): Likewise.
45333         (rint_upward_test_data): Likewise.
45334         (round_test_data): Likewise.
45335         (scalb_test_data): Likewise.
45336         (scalbn_test_data): Likewise.
45337         (scalbln_test_data): Likewise.
45338         (signbit_test_data): Likewise.
45339         (sin_test_data): Likewise.
45340         (sin_tonearest_test_data): Likewise.
45341         (sin_towardzero_test_data): Likewise.
45342         (sin_downward_test_data): Likewise.
45343         (sin_upward_test_data): Likewise.
45344         (sincos_test_data): Likewise.
45345         (sinh_test_data): Likewise.
45346         (sinh_tonearest_test_data): Likewise.
45347         (sinh_towardzero_test_data): Likewise.
45348         (sinh_downward_test_data): Likewise.
45349         (sinh_upward_test_data): Likewise.
45350         (sqrt_test_data): Likewise.
45351         (tan_test_data): Likewise.
45352         (tan_tonearest_test_data): Likewise.
45353         (tan_towardzero_test_data): Likewise.
45354         (tan_downward_test_data): Likewise.
45355         (tan_upward_test_data): Likewise.
45356         (tanh_test_data): Likewise.
45357         (tgamma_test_data): Likewise.
45358         (trunc_test_data): Likewise.
45359         (y0_test_data): Likewise.
45360         (y1_test_data): Likewise.
45361         (yn_test_data): Likewise.
45362         (significand_test_data): Likewise.
45364         * math/gen-libm-test.pl (@functions): Remove variable.
45365         (generate_testfile): Don't handle START and END lines.
45366         * math/libm-test.inc (START): New macro.
45367         (END): Likewise.
45368         (END_COMPLEX): Likewise.
45369         (acos_test): Use END macro without arguments.
45370         (acos_test_tonearest): Likewise.
45371         (acos_test_towardzero): Likewise.
45372         (acos_test_downward): Likewise.
45373         (acos_test_upward): Likewise.
45374         (acosh_test): Likewise.
45375         (asin_test): Likewise.
45376         (asin_test_tonearest): Likewise.
45377         (asin_test_towardzero): Likewise.
45378         (asin_test_downward): Likewise.
45379         (asin_test_upward): Likewise.
45380         (asinh_test): Likewise.
45381         (atan_test): Likewise.
45382         (atanh_test): Likewise.
45383         (atan2_test): Likewise.
45384         (cabs_test): Likewise.
45385         (cacos_test): Use END_COMPLEX macro without arguments.
45386         (cacosh_test): Likewise.
45387         (carg_test): Use END macro without arguments.
45388         (casin_test): Use END_COMPLEX macro without arguments.
45389         (casinh_test): Likewise.
45390         (catan_test): Likewise.
45391         (catanh_test): Likewise.
45392         (cbrt_test): Use END macro without arguments.
45393         (ccos_test): Use END_COMPLEX macro without arguments.
45394         (ccosh_test): Likewise.
45395         (ceil_test): Use END macro without arguments.
45396         (cexp_test): Use END_COMPLEX macro without arguments.
45397         (cimag_test): Use END macro without arguments.
45398         (clog_test): Use END_COMPLEX macro without arguments.
45399         (clog10_test): Likewise.
45400         (conj_test): Likewise.
45401         (copysign_test): Use END macro without arguments.
45402         (cos_test): Likewise.
45403         (cos_test_tonearest): Likewise.
45404         (cos_test_towardzero): Likewise.
45405         (cos_test_downward): Likewise.
45406         (cos_test_upward): Likewise.
45407         (cosh_test): Likewise.
45408         (cosh_test_tonearest): Likewise.
45409         (cosh_test_towardzero): Likewise.
45410         (cosh_test_downward): Likewise.
45411         (cosh_test_upward): Likewise.
45412         (cpow_test): Use END_COMPLEX macro without arguments.
45413         (cproj_test): Likewise.
45414         (creal_test): Use END macro without arguments.
45415         (csin_test): Use END_COMPLEX macro without arguments.
45416         (csinh_test): Likewise.
45417         (csqrt_test): Likewise.
45418         (ctan_test): Likewise.
45419         (ctan_test_tonearest): Likewise.
45420         (ctan_test_towardzero): Likewise.
45421         (ctan_test_downward): Likewise.
45422         (ctan_test_upward): Likewise.
45423         (ctanh_test): Likewise.
45424         (ctanh_test_tonearest): Likewise.
45425         (ctanh_test_towardzero): Likewise.
45426         (ctanh_test_downward): Likewise.
45427         (ctanh_test_upward): Likewise.
45428         (erf_test): Use END macro without arguments.
45429         (erfc_test): Likewise.
45430         (exp_test): Likewise.
45431         (exp_test_tonearest): Likewise.
45432         (exp_test_towardzero): Likewise.
45433         (exp_test_downward): Likewise.
45434         (exp_test_upward): Likewise.
45435         (exp10_test): Likewise.
45436         (exp2_test): Likewise.
45437         (expm1_test): Likewise.
45438         (fabs_test): Likewise.
45439         (fdim_test): Likewise.
45440         (finite_test): Likewise.
45441         (floor_test): Likewise.
45442         (fma_test): Likewise.
45443         (fma_test_towardzero): Likewise.
45444         (fma_test_downward): Likewise.
45445         (fma_test_upward): Likewise.
45446         (fmax_test): Likewise.
45447         (fmin_test): Likewise.
45448         (fmod_test): Likewise.
45449         (fpclassify_test): Likewise.
45450         (frexp_test): Likewise.
45451         (gamma_test): Likewise.
45452         (hypot_test): Likewise.
45453         (ilogb_test): Likewise.
45454         (isfinite_test): Likewise.
45455         (isgreater_test): Likewise.
45456         (isgreaterequal_test): Likewise.
45457         (isinf_test): Likewise.
45458         (isless_test): Likewise.
45459         (islessequal_test): Likewise.
45460         (islessgreater_test): Likewise.
45461         (isnan_test): Likewise.
45462         (isnormal_test): Likewise.
45463         (issignaling_test): Likewise.
45464         (isunordered_test): Likewise.
45465         (j0_test): Likewise.
45466         (j1_test): Likewise.
45467         (jn_test): Likewise.
45468         (ldexp_test): Likewise.
45469         (lgamma_test): Likewise.
45470         (lrint_test): Likewise.
45471         (lrint_test_tonearest): Likewise.
45472         (lrint_test_towardzero): Likewise.
45473         (lrint_test_downward): Likewise.
45474         (lrint_test_upward): Likewise.
45475         (llrint_test): Likewise.
45476         (llrint_test_tonearest): Likewise.
45477         (llrint_test_towardzero): Likewise.
45478         (llrint_test_downward): Likewise.
45479         (llrint_test_upward): Likewise.
45480         (log_test): Likewise.
45481         (log10_test): Likewise.
45482         (log1p_test): Likewise.
45483         (log2_test): Likewise.
45484         (logb_test): Likewise.
45485         (logb_test_downward): Likewise.
45486         (lround_test): Likewise.
45487         (llround_test): Likewise.
45488         (modf_test): Likewise.
45489         (nearbyint_test): Likewise.
45490         (nextafter_test): Likewise.
45491         (nexttoward_test): Likewise.
45492         (pow_test): Likewise.
45493         (pow_test_tonearest): Likewise.
45494         (pow_test_towardzero): Likewise.
45495         (pow_test_downward): Likewise.
45496         (pow_test_upward): Likewise.
45497         (remainder_test): Likewise.
45498         (remainder_test_tonearest): Likewise.
45499         (remainder_test_towardzero): Likewise.
45500         (remainder_test_downward): Likewise.
45501         (remainder_test_upward): Likewise.
45502         (remquo_test): Likewise.
45503         (rint_test): Likewise.
45504         (rint_test_tonearest): Likewise.
45505         (rint_test_towardzero): Likewise.
45506         (rint_test_downward): Likewise.
45507         (rint_test_upward): Likewise.
45508         (round_test): Likewise.
45509         (scalb_test): Likewise.
45510         (scalbn_test): Likewise.
45511         (scalbln_test): Likewise.
45512         (signbit_test): Likewise.
45513         (sin_test): Likewise.
45514         (sin_test_tonearest): Likewise.
45515         (sin_test_towardzero): Likewise.
45516         (sin_test_downward): Likewise.
45517         (sin_test_upward): Likewise.
45518         (sincos_test): Likewise.
45519         (sinh_test): Likewise.
45520         (sinh_test_tonearest): Likewise.
45521         (sinh_test_towardzero): Likewise.
45522         (sinh_test_downward): Likewise.
45523         (sinh_test_upward): Likewise.
45524         (sqrt_test): Likewise.
45525         (tan_test): Likewise.
45526         (tan_test_tonearest): Likewise.
45527         (tan_test_towardzero): Likewise.
45528         (tan_test_downward): Likewise.
45529         (tan_test_upward): Likewise.
45530         (tanh_test): Likewise.
45531         (tgamma_test): Likewise.
45532         (trunc_test): Likewise.
45533         (y0_test): Likewise.
45534         (y1_test): Likewise.
45535         (yn_test): Likewise.
45536         (significand_test): Likewise.
45538 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45540         [BZ #15381]
45541         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45543 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45545         [BZ #14894]
45546         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45547         __ppc_mdoio and __ppc_mdoom.
45548         * manual/platform.texi: Document new functions __ppc_yield,
45549         __ppc_mdoio and __ppc_mdoom.
45551 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45553         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45554         (main): Mention "tls" pseudo-hwcap is legacy.
45555         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45557 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45559         * math/gen-libm-test.pl (parse_args): Output only string of
45560         arguments as text for test name, not full call or descriptions of
45561         tests for extra outputs.
45562         (generate_testfile): Do not pass function name to parse_args.
45563         Generate this_func variable from START.
45564         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45565         field to arg_str.
45566         (struct test_ff_f_data): Likewise.
45567         (test_ff_f_data_nexttoward): Likewise.
45568         (struct test_fi_f_data): Likewise.
45569         (struct test_fl_f_data): Likewise.
45570         (struct test_if_f_data): Likewise.
45571         (struct test_fff_f_data): Likewise.
45572         (struct test_c_f_data): Likewise.
45573         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45574         (struct test_fF_f1_data): Likewise.
45575         (struct test_ffI_f1_data): Likewise.
45576         (struct test_c_c_data): Rename test_name field to arg_str.
45577         (struct test_cc_c_data): Likewise.
45578         (struct test_f_i_data): Likewise.
45579         (struct test_ff_i_data): Likewise.
45580         (struct test_f_l_data): Likewise.
45581         (struct test_f_L_data): Likewise.
45582         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45583         and extra2_name.
45584         (COMMON_TEST_SETUP): New macro.
45585         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45586         (COMMON_TEST_CLEANUP): Likewise.
45587         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45588         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45589         macros.
45590         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45591         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45592         macros.
45593         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45594         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45595         cleanup macros.
45596         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45597         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45598         macros.
45599         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45600         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45601         macros.
45602         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45603         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45604         cleanup macros.
45605         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45606         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45607         cleanup macros.
45608         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45609         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45610         cleanup macros.
45611         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45612         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45613         macros.
45614         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45615         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45616         macros.
45617         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45618         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45619         macros.
45620         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45621         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45622         cleanup macros.
45623         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45624         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45625         cleanup macros.
45626         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45627         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45628         macros.
45629         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45630         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45631         cleanup macros.
45632         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45633         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45634         macros.
45635         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45636         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45637         macros.
45638         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45639         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45640         cleanup macros.
45641         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45643 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45645         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45646         to _sifields.sigfault.
45647         (si_addr_lsb): Define new macro.
45648         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45650         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45652 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45654         [BZ #15441]
45655         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45656         returns -1.
45657         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45658         null return -1.
45659         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45660         loading the domain.
45662 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45664         * math/gen-libm-test.pl (parse_args): Do not include expected
45665         result in test name.
45666         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45668         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45669         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45670         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45673 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45675         * benchtests/Makefile: Sort function entries.
45677         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45678         tanh, asinh, acosh, atanh.
45679         * benchtests/acos-inputs: New file.
45680         * benchtests/acosh-inputs: New file.
45681         * benchtests/asin-inputs: New file.
45682         * benchtests/asinh-inputs: New file.
45683         * benchtests/atanh-inputs: New file.
45684         * benchtests/cosh-inputs: New file.
45685         * benchtests/log-inputs: New file.
45686         * benchtests/sinh-inputs: New file.
45687         * benchtests/tanh-inputs: New file.
45689 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45691         [BZ #15339]
45692         * posix/tst-getaddrinfo4.c: New test.
45693         * posix/Makefile (tests): Add it.
45695 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45697         [BZ #15339]
45698         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45699         when no services were used.
45700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45701         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45703 2013-05-21  Andreas Schwab  <schwab@suse.de>
45705         [BZ #15014]
45706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45707         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45708         successful.
45709         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45710         redundant variable declarations and reallocation of buffer when
45711         parsing as IPv6 address.  Always set NSS status when called from
45712         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45713         buffer too small.  Correct computation of needed size.
45714         * nss/Makefile (tests): Add test-digits-dots.
45715         * nss/test-digits-dots.c: New test.
45717 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45719         * benchtests/Makefile: Remove instructions for adding
45720         benchmark tests.
45721         * benchtests/README: New file to explain how to execute and
45722         enhance the benchmark tests.
45724 2013-05-21  Andreas Schwab  <schwab@suse.de>
45726         [BZ #15493]
45727         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45728         * setjmp/tst-sigsetjmp.c: New test.
45730 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45732         * sysdeps/x86_64/memset.S (memset): New implementation.
45733         (__bzero): Likewise.
45734         (__memset_tail): New function.
45736 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45738         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45739         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45740         __memcpy_sse2_unaligned ifunc selection.
45741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45742         Add memcpy-sse2-unaligned.S.
45743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45744         Add: __memcpy_sse2_unaligned.
45746 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45748         [BZ #15490]
45749         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45750         math_force_eval before restoring floating-point envrionment.
45751         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45753         Likewise.
45754         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45755         <math_private.h>.
45756         (__nearbyintl): Use math_force_eval before restoring
45757         floating-point environment.
45758         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45760         * math/gen-libm-test.pl (special_functions): Remove.
45761         (parse_args): Don't handle TEST_extra.  Handle functions with no
45762         return value.
45763         * math/libm-test.inc (struct test_sincos_data): Replace with
45764         struct test_fFF_11_data.
45765         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45766         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45767         (sincos_test_data): Change element type to struct
45768         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45769         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45770         RUN_TEST_LOOP_sincos.
45771         * math/README.libm-test: Don't mention special handling of
45772         individual functions.
45773         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45777         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45780         * math/gen-libm-test.pl (get_variable): Remove function.
45781         (parse_args): Don't show pointer parameters to call in test
45782         names.  Use "extra output N" in test names for extra outputs
45783         rather than naming variables.
45785 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45787         [BZ #15488]
45788         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45789         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45790         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45791         double tests.
45792         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45793         disable.
45794         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45795         check_long_double.
45797         * math/gen-libm-test.pl (@tests): Remove variable.
45798         ($count): Likewise.
45799         (new_test): Remove function.
45800         (show_exceptions): New function.
45801         (special_functions): Use show_exceptions instead of new_test.
45802         (parse_args): Likewise.
45803         (generate_testfile): Pass only function name in generated call to
45804         print_max_error or print_complex_max_error.
45805         (get_ulps): Do not handle complex tests specially.
45806         (output_test): Rename to ...
45807         (get_all_ulps_for_test): ... this.  Return a string rather than
45808         printing to a file.  Require ulps to be present.
45809         (output_ulps): Generate arrays rather than #defines.
45810         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45811         (struct ulp_data): New type.
45812         (BUILD_COMPLEX_ULP): Remove macro.
45813         (compare_ulp_data): New function.
45814         (find_ulps): Likewise.
45815         (find_test_ulps): Likewise.
45816         (find_function_ulps): Likewise.
45817         (find_complex_function_ulps): Likewise.
45818         (print_max_error): Determine allowed ulps using
45819         find_function_ulps.
45820         (print_complex_max_error): Determine allowed ulps using
45821         find_complex_function_ulps.
45822         (check_float_internal): Determine max ulps using find_test_ulps.
45823         (check_float): Do not take max_ulp parameter.  Update call to
45824         check_float_internal.
45825         (check_complex): Likewise.
45826         (check_int): Do not take max_ulp parameter.
45827         (check_long): Likewise.
45828         (check_bool): Likewise.
45829         (check_longlong): Likewise.
45830         (struct test_f_f_data): Remove max_ulp field.
45831         (struct test_ff_f_data): Likewise.
45832         (struct test_ff_f_data_nexttoward): Likewise.
45833         (struct test_fi_f_data): Likewise.
45834         (struct test_fl_f_data): Likewise.
45835         (struct test_if_f_data): Likewise.
45836         (struct test_fff_f_data): Likewise.
45837         (struct test_c_f_data): Likewise.
45838         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45839         (struct test_fF_f1_data): Likewise.
45840         (struct test_ffI_f1_data): Likewise.
45841         (struct test_c_c_data): Remove max_ulp field.
45842         (struct test_cc_c_data): Likewise.
45843         (struct test_f_i_data): Likewise.
45844         (struct test_ff_i_data): Likewise.
45845         (struct test_f_l_data): Likewise.
45846         (struct test_f_L_data): Likewise.
45847         (struct test_sincos_data): Likewise.
45848         (RUN_TEST_f_f): Do not handle ulps.
45849         (RUN_TEST_LOOP_f_f): Likewise.
45850         (RUN_TEST_2_f): Likewise.
45851         (RUN_TEST_LOOP_2_f): Likewise.
45852         (RUN_TEST_fff_f): Likewise.
45853         (RUN_TEST_LOOP_fff_f): Likewise.
45854         (RUN_TEST_c_f): Likewise.
45855         (RUN_TEST_LOOP_c_f): Likewise.
45856         (RUN_TEST_f_f1): Likewise.
45857         (RUN_TEST_LOOP_f_f1): Likewise.
45858         (RUN_TEST_fF_f1): Likewise.
45859         (RUN_TEST_LOOP_fF_f1): Likewise.
45860         (RUN_TEST_fI_f1): Likewise.
45861         (RUN_TEST_LOOP_fI_f1): Likewise.
45862         (RUN_TEST_ffI_f1): Likewise.
45863         (RUN_TEST_LOOP_ffI_f1): Likewise.
45864         (RUN_TEST_c_c): Likewise.
45865         (RUN_TEST_LOOP_c_c): Likewise.
45866         (RUN_TEST_cc_c): Likewise.
45867         (RUN_TEST_LOOP_cc_c): Likewise.
45868         (RUN_TEST_f_i): Likewise.
45869         (RUN_TEST_LOOP_f_i): Likewise.
45870         (RUN_TEST_f_i_tg): Likewise.
45871         (RUN_TEST_LOOP_f_i_tg): Likewise.
45872         (RUN_TEST_ff_i_tg): Likewise.
45873         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45874         (RUN_TEST_f_b): Likewise.
45875         (RUN_TEST_LOOP_f_b): Likewise.
45876         (RUN_TEST_f_b_tg): Likewise.
45877         (RUN_TEST_LOOP_f_b_tg): Likewise.
45878         (RUN_TEST_f_l): Likewise.
45879         (RUN_TEST_LOOP_f_l): Likewise.
45880         (RUN_TEST_f_L): Likewise.
45881         (RUN_TEST_LOOP_f_L): Likewise.
45882         (RUN_TEST_sincos): Likewise.
45883         (RUN_TEST_LOOP_sincos): Likewise.
45885 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45887         [BZ #15480]
45888         [BZ #15485]
45889         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45890         main case of finite arguments, set rounding mode to FE_TONEAREST
45891         and discard exceptions.
45892         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45893         exceptions.
45894         (remainder_tonearest_test_data): New variable.
45895         (remainder_test_tonearest): New function.
45896         (remainder_towardzero_test_data): New variable.
45897         (remainder_test_towardzero): New function.
45898         (remainder_downward_test_data): New variable.
45899         (remainder_test_downward): New function.
45900         (remainder_upward_test_data): New variable.
45901         (remainder_test_upward): New function.
45902         (main): Call the new test functions.
45904         * math/libm-test.inc (struct test_f_f1_data): Remove field
45905         extra_init.
45906         (struct test_fF_f1_data): Likewise.
45907         (struct test_ffI_f1_data): Likewise.
45908         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45909         based on value of EXTRA_EXPECTED.
45910         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45911         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45912         EXTRA_VAR based on value of EXTRA_EXPECTED.
45913         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45914         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45915         EXTRA_VAR based on value of EXTRA_EXPECTED.
45916         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45917         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45918         EXTRA_VAR based on value of EXTRA_EXPECTED.
45919         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45920         * math/gen-libm-test.pl (parse_args): Don't output initializers
45921         for extra output values.
45923         * math/libm-test.inc (check_int): Expect result to be exactly
45924         equal to expected value and do not handle ulps.
45925         (check_long): Likewise.
45926         (check_longlong): Likewise.
45928         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45929         exceptions.
45930         (cimag_test_data): Likewise.
45931         (conj_test_data): Likewise.
45932         (copysign_test_data): Likewise.
45933         (cproj_test_data): Likewise.
45934         (creal_test_data): Likewise.
45935         (fabs_test_data): Likewise.
45936         (fdim_test_data): Likewise.
45937         (finite_test_data): Likewise.
45938         (floor_test_data): Likewise.
45939         (fmax_test_data): Likewise.
45940         (fmin_test_data): Likewise.
45941         (fmod_test_data): Likewise.
45942         (fpclassify_test_data): Likewise.
45943         (frexp_test_data): Likewise.
45944         (ilogb_test_data): Likewise.
45945         (isfinite_test_data): Likewise.
45946         (isgreater_test_data): Likewise.
45947         (isgreaterequal_test_data): Likewise.
45948         (isinf_test_data): Likewise.
45949         (isless_test_data): Likewise.
45950         (islessequal_test_data): Likewise.
45951         (islessgreater_test_data): Likewise.
45952         (isnan_test_data): Likewise.
45953         (isnormal_test_data): Likewise.
45954         (issignaling_test_data): Likewise.
45955         (isunordered_test_data): Likewise.
45956         (ldexp_test_data): Likewise.
45957         (lrint_test_data): Likewise.
45958         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45959         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45960         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45961         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45962         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45963         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45964         test input.
45965         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45966         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45967         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45968         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45969         that test input.
45970         (lrint_downward_test_data): Test for "inexact" exceptions.
45971         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45972         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45973         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45974         test input.
45975         (lrint_upward_test_data): Test for "inexact" exceptions.
45976         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45977         test input.
45978         (llrint_test_data): Test for "inexact" exceptions.
45979         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45980         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45981         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45982         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45983         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45984         (llrint_downward_test_data): Test for "inexact" exceptions.
45985         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45986         (llrint_upward_test_data): Test for "inexact" exceptions.
45987         (logb_test_data): Likewise.
45988         (logb_downward_test_data): Likewise.
45989         (nextafter_test_data): Likewise.
45990         (nexttoward_test_data): Likewise.
45991         (remainder_test_data): Likewise.
45992         (remquo_test_data): Likewise.
45993         (scalbn_test_data): Likewise.
45994         (scalbln_test_data): Likewise.
45995         (signbit_test_data): Likewise.
45996         (sqrt_test_data): Likewise.
45997         (significand_test_data): Likewise.
45999 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46001         [BZ #15424]
46002         * benchtests/bench-modf.c (struct args): Mark arg0 as
46003         volatile.
46004         * scripts/bench.pl: Mark members of struct args as volatile.
46006 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46008         [BZ # 15497]
46009         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46010         negative infinity on POWER6 or lower.
46011         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46013 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46015         [BZ #15442]
46016         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46017         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46018         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46019         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46020         (_FP_SETQNAN): New macro.
46021         (_FP_SETQNAN_SEMIRAW): Likewise.
46022         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46023         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46024         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46025         (FP_EXTEND): Use _FP_FRAC_SNANP.
46026         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46027         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46028         into account.
46029         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46030         New macro.
46031         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46032         Likewise.
46034 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46036         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46037         with DIVIDE_BY_ZERO_EXCEPTION.
46038         (gamma_test_data): Likewise.
46039         (lgamma_test_data): Likewise.
46040         (log_test_data): Likewise.
46041         (log10_test_data): Likewise.
46042         (log2_test_data): Likewise.
46043         (tgamma_test_data): Likewise.
46045         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46046         (acos_test_tonearest): Likewise.
46047         (acos_test_towardzero): Likewise.
46048         (acos_test_downward): Likewise.
46049         (acos_test_upward): Likewise.
46050         (acosh_test): Likewise.
46051         (asin_test): Likewise.
46052         (asin_test_tonearest): Likewise.
46053         (asin_test_towardzero): Likewise.
46054         (asin_test_downward): Likewise.
46055         (asin_test_upward): Likewise.
46056         (asinh_test): Likewise.
46057         (atan_test): Likewise.
46058         (atanh_test): Likewise.
46059         (atan2_test): Likewise.
46060         (cabs_test): Likewise.
46061         (cacos_test): Likewise.
46062         (cacosh_test): Likewise.
46063         (casin_test): Likewise.
46064         (casinh_test): Likewise.
46065         (catan_test): Likewise.
46066         (catanh_test): Likewise.
46067         (cbrt_test): Likewise.
46068         (ccos_test): Likewise.
46069         (ccosh_test): Likewise.
46070         (cexp_test): Likewise.
46071         (clog_test): Likewise.
46072         (clog10_test): Likewise.
46073         (cos_test): Likewise.
46074         (cos_test_tonearest): Likewise.
46075         (cos_test_towardzero): Likewise.
46076         (cos_test_downward): Likewise.
46077         (cos_test_upward): Likewise.
46078         (cosh_test): Likewise.
46079         (cosh_test_tonearest): Likewise.
46080         (cosh_test_towardzero): Likewise.
46081         (cosh_test_downward): Likewise.
46082         (cosh_test_upward): Likewise.
46083         (cpow_test): Likewise.
46084         (csin_test): Likewise.
46085         (csinh_test): Likewise.
46086         (csqrt_test): Likewise.
46087         (ctan_test): Likewise.
46088         (ctan_test_tonearest): Likewise.
46089         (ctan_test_towardzero): Likewise.
46090         (ctan_test_downward): Likewise.
46091         (ctan_test_upward): Likewise.
46092         (ctanh_test): Likewise.
46093         (ctanh_test_tonearest): Likewise.
46094         (ctanh_test_towardzero): Likewise.
46095         (ctanh_test_downward): Likewise.
46096         (ctanh_test_upward): Likewise.
46097         (erf_test): Likewise.
46098         (erfc_test): Likewise.
46099         (exp_test): Likewise.
46100         (exp_test_tonearest): Likewise.
46101         (exp_test_towardzero): Likewise.
46102         (exp_test_downward): Likewise.
46103         (exp_test_upward): Likewise.
46104         (exp10_test): Likewise.
46105         (exp2_test): Likewise.
46106         (expm1_test): Likewise.
46107         (fmod_test): Likewise.
46108         (gamma_test): Likewise.
46109         (hypot_test): Likewise.
46110         (j0_test): Likewise.
46111         (j1_test): Likewise.
46112         (jn_test): Likewise.
46113         (lgamma_test): Likewise.
46114         (log_test): Likewise.
46115         (log10_test): Likewise.
46116         (log1p_test): Likewise.
46117         (log2_test): Likewise.
46118         (logb_test_downward): Likewise.
46119         (pow_test): Likewise.
46120         (pow_test_tonearest): Likewise.
46121         (pow_test_towardzero): Likewise.
46122         (pow_test_downward): Likewise.
46123         (pow_test_upward): Likewise.
46124         (remainder_test): Likewise.
46125         (remquo_test): Likewise.
46126         (sin_test): Likewise.
46127         (sin_test_tonearest): Likewise.
46128         (sin_test_towardzero): Likewise.
46129         (sin_test_downward): Likewise.
46130         (sin_test_upward): Likewise.
46131         (sincos_test): Likewise.
46132         (sinh_test): Likewise.
46133         (sinh_test_tonearest): Likewise.
46134         (sinh_test_towardzero): Likewise.
46135         (sinh_test_downward): Likewise.
46136         (sinh_test_upward): Likewise.
46137         (sqrt_test): Likewise.
46138         (tan_test): Likewise.
46139         (tan_test_tonearest): Likewise.
46140         (tan_test_towardzero): Likewise.
46141         (tan_test_downward): Likewise.
46142         (tan_test_upward): Likewise.
46143         (tanh_test): Likewise.
46144         (tgamma_test): Likewise.
46145         (y0_test): Likewise.
46146         (y1_test): Likewise.
46147         (yn_test): Likewise.
46149         * math/gen-libm-test.pl (adjust_arg): Remove function.
46150         (special_function): Remove argument $in_func.  Only handle
46151         generating output for tables of tests, not inside functions.
46152         (parse_args): Likewise.
46153         (generate_testfile): Remove variable $in_func.  Update call to
46154         parse_args.
46155         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46156         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46157         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46158         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46159         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46160         (MAX_VALUE_INIT): Rename macro to max_value.
46161         (MIN_VALUE_INIT): Rename macro to min_value.
46162         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46163         (plus_zero): Remove variable.
46164         (minus_zero): Likewise.
46165         (plus_infty): Likewise.
46166         (minus_infty): Likewise.
46167         (qnan_value): Likewise.
46168         (max_value): Likewise.
46169         (min_value): Likewise.
46170         (min_subnorm_value): Likewise.
46172 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46174         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46175         uint64_t or uint32_t usage.
46176         * crypt/sha256-block.c: Likewise.
46177         * crypt/sha256-crypt.c: Likewise.
46178         * crypt/sha256.c: Likewise.
46179         * crypt/sha512-block.c: Likewise.
46180         * crypt/sha512-crypt.c: Likewise.
46181         * crypt/sha512.c: Likewise.
46182         * debug/backtrace-tst.c: Likewise.
46183         * debug/pcprofiledump.c: Likewise.
46184         * elf/cache.c: Likewise.
46185         * elf/dl-cache.c: Likewise.
46186         * elf/dl-misc.c: Likewise.
46187         * elf/dl-profile.c: Likewise.
46188         * elf/dl-support.c: Likewise.
46189         * elf/ldconfig.c: Likewise.
46190         * elf/sprof.c: Likewise.
46191         * iconv/dummy-repertoire.c: Likewise.
46192         * iconv/iconv_charmap.c: Likewise.
46193         * iconv/skeleton.c: Likewise.
46194         * iconvdata/8bit-generic.c: Likewise.
46195         * iconvdata/cp737.h: Likewise.
46196         * iconvdata/cp775.h: Likewise.
46197         * iconvdata/ibm1008.h: Likewise.
46198         * iconvdata/ibm1025.h: Likewise.
46199         * iconvdata/ibm1046.h: Likewise.
46200         * iconvdata/ibm1097.h: Likewise.
46201         * iconvdata/ibm1112.h: Likewise.
46202         * iconvdata/ibm1122.h: Likewise.
46203         * iconvdata/ibm1123.h: Likewise.
46204         * iconvdata/ibm1124.h: Likewise.
46205         * iconvdata/ibm1129.h: Likewise.
46206         * iconvdata/ibm1130.h: Likewise.
46207         * iconvdata/ibm1132.h: Likewise.
46208         * iconvdata/ibm1133.h: Likewise.
46209         * iconvdata/ibm1137.h: Likewise.
46210         * iconvdata/ibm1140.h: Likewise.
46211         * iconvdata/ibm1141.h: Likewise.
46212         * iconvdata/ibm1142.h: Likewise.
46213         * iconvdata/ibm1143.h: Likewise.
46214         * iconvdata/ibm1144.h: Likewise.
46215         * iconvdata/ibm1145.h: Likewise.
46216         * iconvdata/ibm1146.h: Likewise.
46217         * iconvdata/ibm1147.h: Likewise.
46218         * iconvdata/ibm1148.h: Likewise.
46219         * iconvdata/ibm1149.h: Likewise.
46220         * iconvdata/ibm1153.h: Likewise.
46221         * iconvdata/ibm1154.h: Likewise.
46222         * iconvdata/ibm1155.h: Likewise.
46223         * iconvdata/ibm1156.h: Likewise.
46224         * iconvdata/ibm1157.h: Likewise.
46225         * iconvdata/ibm1158.h: Likewise.
46226         * iconvdata/ibm1160.h: Likewise.
46227         * iconvdata/ibm1161.h: Likewise.
46228         * iconvdata/ibm1162.h: Likewise.
46229         * iconvdata/ibm1163.h: Likewise.
46230         * iconvdata/ibm1164.h: Likewise.
46231         * iconvdata/ibm1166.h: Likewise.
46232         * iconvdata/ibm1167.h: Likewise.
46233         * iconvdata/ibm12712.h: Likewise.
46234         * iconvdata/ibm1390.h: Likewise.
46235         * iconvdata/ibm1399.h: Likewise.
46236         * iconvdata/ibm16804.h: Likewise.
46237         * iconvdata/ibm4517.h: Likewise.
46238         * iconvdata/ibm4899.h: Likewise.
46239         * iconvdata/ibm4909.h: Likewise.
46240         * iconvdata/ibm4971.h: Likewise.
46241         * iconvdata/ibm5347.h: Likewise.
46242         * iconvdata/ibm803.h: Likewise.
46243         * iconvdata/ibm856.h: Likewise.
46244         * iconvdata/ibm901.h: Likewise.
46245         * iconvdata/ibm902.h: Likewise.
46246         * iconvdata/ibm9030.h: Likewise.
46247         * iconvdata/ibm9066.h: Likewise.
46248         * iconvdata/ibm921.h: Likewise.
46249         * iconvdata/ibm922.h: Likewise.
46250         * iconvdata/ibm9448.h: Likewise.
46251         * iconvdata/isiri-3342.h: Likewise.
46252         * iconvdata/jis0201.h: Likewise.
46253         * include/link.h: Likewise.
46254         * include/netdb.h: Likewise.
46255         * inet/check_native.c: Likewise.
46256         * inet/check_pf.c: Likewise.
46257         * inet/getipv4sourcefilter.c: Likewise.
46258         * inet/getnameinfo.c: Likewise.
46259         * inet/getsourcefilter.c: Likewise.
46260         * inet/htonl.c: Likewise.
46261         * inet/setipv4sourcefilter.c: Likewise.
46262         * inet/setsourcefilter.c: Likewise.
46263         * inet/test-inet6_opt.c: Likewise.
46264         * inet/tst-network.c: Likewise.
46265         * locale/C-collate.c: Likewise.
46266         * locale/C-ctype.c: Likewise.
46267         * locale/C-time.c: Likewise.
46268         * locale/C-translit.h: Likewise.
46269         * locale/loadarchive.c: Likewise.
46270         * locale/programs/3level.h: Likewise.
46271         * locale/programs/charmap.c: Likewise.
46272         * locale/programs/charmap.h: Likewise.
46273         * locale/programs/ld-address.c: Likewise.
46274         * locale/programs/ld-collate.c: Likewise.
46275         * locale/programs/ld-ctype.c: Likewise.
46276         * locale/programs/ld-identification.c: Likewise.
46277         * locale/programs/ld-measurement.c: Likewise.
46278         * locale/programs/ld-messages.c: Likewise.
46279         * locale/programs/ld-monetary.c: Likewise.
46280         * locale/programs/ld-name.c: Likewise.
46281         * locale/programs/ld-numeric.c: Likewise.
46282         * locale/programs/ld-paper.c: Likewise.
46283         * locale/programs/ld-telephone.c: Likewise.
46284         * locale/programs/ld-time.c: Likewise.
46285         * locale/programs/linereader.c: Likewise.
46286         * locale/programs/locale.c: Likewise.
46287         * locale/programs/locarchive.c: Likewise.
46288         * locale/programs/locfile.h: Likewise.
46289         * locale/programs/repertoire.c: Likewise.
46290         * locale/programs/simple-hash.c: Likewise.
46291         * locale/programs/simple-hash.h: Likewise.
46292         * malloc/memusage.c: Likewise.
46293         * malloc/memusagestat.c: Likewise.
46294         * nis/nis_defaults.c: Likewise.
46295         * nis/nis_hash.c: Likewise.
46296         * nis/nis_print.c: Likewise.
46297         * nis/nis_xdr.c: Likewise.
46298         * nscd/connections.c: Likewise.
46299         * nscd/hstcache.c: Likewise.
46300         * nscd/nscd_gethst_r.c: Likewise.
46301         * nscd/nscd_getserv_r.c: Likewise.
46302         * nscd/nscd_helper.c: Likewise.
46303         * nscd/servicescache.c: Likewise.
46304         * nss/makedb.c: Likewise.
46305         * nss/nss_db/db-XXX.c: Likewise.
46306         * nss/nss_db/db-initgroups.c: Likewise.
46307         * nss/nss_db/db-netgrp.c: Likewise.
46308         * nss/nss_files/files-network.c: Likewise.
46309         * nss/nss_files/files-parse.c: Likewise.
46310         * posix/bug-regex5.c: Likewise.
46311         * posix/fnmatch_loop.c: Likewise.
46312         * posix/regcomp.c: Likewise.
46313         * posix/regexec.c: Likewise.
46314         * posix/tst-rfc3484-2.c: Likewise.
46315         * posix/tst-rfc3484-3.c: Likewise.
46316         * posix/tst-rfc3484.c: Likewise.
46317         * resolv/nss_dns/dns-canon.c: Likewise.
46318         * resolv/nss_dns/dns-network.c: Likewise.
46319         * resolv/res_init.c: Likewise.
46320         * resolv/res_mkquery.c: Likewise.
46321         * resolv/tst-aton.c: Likewise.
46322         * stdlib/cxa_atexit.c: Likewise.
46323         * stdlib/cxa_finalize.c: Likewise.
46324         * stdlib/gen-fpioconst.c: Likewise.
46325         * stdlib/strtol_l.c: Likewise.
46326         * string/tst-endian.c: Likewise.
46327         * sunrpc/auth_des.c: Likewise.
46328         * sunrpc/clnt_udp.c: Likewise.
46329         * sunrpc/rtime.c: Likewise.
46330         * sunrpc/svcauth_des.c: Likewise.
46331         * sunrpc/xdr.c: Likewise.
46332         * sunrpc/xdr_intXX_t.c: Likewise.
46333         * sunrpc/xdr_rec.c: Likewise.
46334         * sysdeps/generic/ldconfig.h: Likewise.
46335         * sysdeps/generic/ldsodefs.h: Likewise.
46336         * sysdeps/generic/memusage.h: Likewise.
46337         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46339         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46340         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46343         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46347         * sysdeps/posix/getaddrinfo.c: Likewise.
46348         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46349         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46350         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46351         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46352         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46353         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46354         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46355         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46356         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46357         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46358         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46359         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46360         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46361         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46362         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46363         * sysdeps/x86_64/dl-tls.h: Likewise.
46364         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46365         * time/alt_digit.c: Likewise.
46366         * time/era.c: Likewise.
46367         * wcsmbs/tst-c16c32-1.c: Likewise.
46369 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46371         * math/libm-test.inc (struct test_sincos_data): New type.
46372         (RUN_TEST_LOOP_sincos): New macro.
46373         (sincos_test_data): New variable.
46374         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46376 2013-05-16  Richard Henderson  <rth@redhat.com>
46378         * math/atest-exp2.c (LIMB64): New macro.
46379         (CONSTSZ): New macro.
46380         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46381         (hexdig): Move ...
46382         (print_mpn_fp): ... to function scope.
46383         (read_mpn_hex): Remove.
46384         (get_log2): Remove.
46385         (exp2_mpn): Use mp_log2.
46386         (main): Use mp_exp1.
46388 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46390         * math/libm-test.inc: Remove comment about not testing "inexact"
46391         exceptions.
46392         (INEXACT_EXCEPTION): New macro.
46393         (NO_INEXACT_EXCEPTION): Likewise.
46394         (INVALID_EXCEPTION_OK): Update value.
46395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46396         (OVERFLOW_EXCEPTION_OK): Likewise.
46397         (UNDERFLOW_EXCEPTION_OK): Likewise.
46398         (IGNORE_ZERO_INF_SIGN): Likewise.
46399         (ERRNO_UNCHANGED): Likewise.
46400         (ERRNO_EDOM): Likewise.
46401         (ERRNO_ERANGE): Likewise.
46402         (test_exceptions): Handle testing "inexact" exceptions.
46403         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46404         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46405         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46406         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46407         INEXACT_EXCEPTION.
46408         (rint_towardzero_test_data): Likewise.
46409         (rint_downward_test_data): Likewise.
46410         (rint_upward_test_data): Likewise.
46412         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46413         with OVERFLOW_EXCEPTION.
46414         (exp10_test_data): Likewise.
46415         (exp2_test_data): Likewise.
46416         (expm1_test_data): Likewise.
46417         (lgamma_test_data): Likewise.
46418         (pow_test_data): Likewise.
46419         (tgamma_test_data): Likewise.
46420         (yn_test_data): Remove duplicate test of overflow.
46422         * math/libm-test.inc (struct test_cc_c_data): New type.
46423         (RUN_TEST_LOOP_cc_c): New macro.
46424         (cpow_test_data): New variable.
46425         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46427         * math/libm-test.inc (struct test_f_L_data): New type.
46428         (RUN_TEST_LOOP_f_L): New macro.
46429         (llrint_test_data): New variable.
46430         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46431         (llrint_tonearest_test_data): New variable.
46432         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46433         (llrint_towardzero_test_data): New variable.
46434         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46435         (llrint_downward_test_data): New variable.
46436         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46437         (llrint_upward_test_data): New variable.
46438         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46439         (llround_test_data): New variable.
46440         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46442 2013-05-13  Peter Collingbourne  <pcc@google.com>
46444         * math/atest-exp2.c (get_log2): Remove const attribute.
46446 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46448         * math/libm-test.inc (struct test_f_l_data): New type.
46449         (RUN_TEST_LOOP_f_l): New macro.
46450         (lrint_test_data): New variable.
46451         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46452         (lrint_tonearest_test_data): New variable.
46453         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46454         (lrint_towardzero_test_data): New variable.
46455         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46456         (lrint_downward_test_data): New variable.
46457         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46458         (lrint_upward_test_data): New variable.
46459         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46460         (lround_test_data): New variable.
46461         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46463 2013-05-15  Peter Collingbourne  <pcc@google.com>
46465         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46466         (EXTRACT_WORDS64) Use where appropriate.
46467         (INSERT_WORDS64) Likewise.
46469         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46470         constraints with x constraints.
46471         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46473         * malloc/obstack.c (_obstack_compat): Add initializer.
46475 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46477         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46478         si_trapno and add si_addr_lsb to _sifields.sigfault.
46479         (si_trapno): Remove macro.
46480         (si_addr_lsb): Define new macro.
46481         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46483 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46485         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46486         instead of TEST_f_l.
46487         (llrint_test_tonearest): Likewise.
46488         (llrint_test_towardzero): Likewise.
46489         (llrint_test_downward): Likewise.
46490         (llrint_test_upward): Likewise.
46491         (llround_test): Likewise.
46493         * math/libm-test.inc (struct test_f_i_data): Add comment.
46494         (RUN_TEST_LOOP_f_b): New macro.
46495         (RUN_TEST_LOOP_f_b_tg): Likewise.
46496         (finite_test_data): New variable.
46497         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46498         (isfinite_test_data): New variable.
46499         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46500         (isinf_test_data): New variable.
46501         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46502         (isnan_test_data): New variable.
46503         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46504         (isnormal_test_data): New variable.
46505         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46506         (issignaling_test_data): New variable.
46507         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46508         (signbit_test_data): New variable.
46509         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46511         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46512         with INVALID_EXCEPTION.
46513         (acosh_test_data): Likewise.
46514         (asin_test_data): Likewise.
46515         (atanh_test_data): Likewise.
46516         (fmod_test_data): Likewise.
46517         (log_test_data): Likewise.
46518         (log10_test_data): Likewise.
46519         (log2_test_data): Likewise.
46520         (pow_test_data): Likewise.
46521         (sqrt_test_data): Likewise.
46522         (y0_test_data): Likewise.
46523         (y1_test_data): Likewise.
46524         (yn_test_data): Likewise.
46526         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46527         function contents.
46529         * math/libm-test.inc (struct test_ff_i_data): New type.
46530         (RUN_TEST_LOOP_ff_i_tg): New macro.
46531         (isgreater_test_data): New variable.
46532         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46533         (isgreaterequal_test_data): New variable.
46534         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46535         (isless_test_data): New variable.
46536         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46537         (islessequal_test_data): New variable.
46538         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46539         (islessgreater_test_data): New variable.
46540         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46541         (isunordered_test_data): New variable.
46542         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46544 2013-05-14  David S. Miller  <davem@davemloft.net>
46546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46548 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46550         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46552         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46553         extra_test to int.
46554         (struct test_f_i_data): Change type of max_ulp to int.
46556         * math/libm-test.inc (test_ffI_f1_data): New type.
46557         (RUN_TEST_LOOP_ffI_f1): New macro.
46558         (remquo_test_data): New variable.
46559         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46561         * setjmp/tst-setjmp-fp.c: New file.
46562         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46563         (link-libm): New variable.
46564         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46566         * math/libm-test.inc (struct test_f_i_data): New type.
46567         (RUN_TEST_LOOP_f_i): New macro.
46568         (RUN_TEST_LOOP_f_i_tg): Likewise.
46569         (fpclassify_test_data): New variable.
46570         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46571         (ilogb_test_data): New variable.
46572         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46574         * math/libm-test.inc (scalbln_test): Correct function name in END
46575         call.
46577         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46578         (RUN_TEST_LOOP_fI_f1): New macro.
46579         (frexp_test_data): New variable.
46580         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46582         * math/libm-test.inc (struct test_fF_f1_data): New type.
46583         (RUN_TEST_LOOP_fF_f1): New macro.
46584         (modf_test_data): New variable.
46585         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46587         * math/libm-test.inc (struct test_f_f1_data): New type.
46588         (RUN_TEST_LOOP_f_f1): New macro.
46589         (gamma_test_data): New variable.
46590         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46591         (lgamma_test_data): New variable.
46592         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46594 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46596         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46597         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46598         (main): Comment "tls" pseudo-hwcap.
46600 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46602         * math/libm-test.inc (struct test_fl_f_data): New type.
46603         (RUN_TEST_LOOP_fl_f): New variable.
46604         (scalbln_test_data): New variable.
46605         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46607         * math/libm-test.inc (struct test_fi_f_data): New type.
46608         (RUN_TEST_LOOP_fi_f): New macro.
46609         (ldexp_test_data): New variable.
46610         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46611         (scalbn_test_data): New variable.
46612         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46614         * math/libm-test.inc (struct test_c_f_data): New type.
46615         (RUN_TEST_LOOP_c_f): New macro.
46616         (cabs_test_data): New variable.
46617         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46618         (carg_test_data): New variable.
46619         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46620         (cimag_test_data): New variable.
46621         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46622         (creal_test_data): New variable.
46623         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46625         * math/libm-test.inc (struct test_if_f_data): New type.
46626         (RUN_TEST_LOOP_if_f): New macro.
46627         (jn_test_data): New variable.
46628         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46629         (yn_test_data): New variable.
46630         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46632         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46634 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46636         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46637         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46639 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46641         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46642         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46643         (bench-deps): Add bench-timing.h.
46644         * benchtests-bench-skeleton.c: Include bench-timing.h.
46645         (main): Use TIMING_* macros instead of clock_gettime.
46646         * benchtests/bench-timing.h: New file.
46648         [BZ #14582]
46649         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46650         Renamed from _LIB_VERSION.
46651         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46653 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46655         * math/libm-test.inc (struct test_fff_f_data): New type.
46656         (RUN_TEST_LOOP_fff_f): New macro.
46657         (fma_test_data): New variable.
46658         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46659         (fma_towardzero_test_data): New variable.
46660         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46661         (fma_downward_test_data): New variable.
46662         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46663         (fma_upward_test_data): New variable.
46664         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46666         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46667         (struct test_c_c_data): New type.
46668         (RUN_TEST_LOOP_c_c): New macro.
46669         (cacos_test_data): New variable.
46670         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46671         (cacosh_test_data): New variable.
46672         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46673         (casin_test_data): New variable.
46674         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46675         (casinh_test_data): New variable.
46676         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46677         (catan_test_data): New variable.
46678         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46679         (catanh_test_data): New variable.
46680         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46681         (ccos_test_data): New variable.
46682         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46683         (ccosh_test_data): New variable.
46684         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46685         (cexp_test_data): New variable.
46686         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46687         (clog_test_data): New variable.
46688         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46689         (clog10_test_data): New variable.
46690         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46691         (conj_test_data): New variable.
46692         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46693         (cproj_test_data): New variable.
46694         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46695         (csin_test_data): New variable.
46696         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46697         (csinh_test_data): New variable.
46698         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46699         (csqrt_test_data): New variable.
46700         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46701         (ctan_test_data): New variable.
46702         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46703         (ctan_tonearest_test_data): New variable.
46704         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46705         (ctan_towardzero_test_data): New variable.
46706         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46707         (ctan_downward_test_data): New variable.
46708         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46709         (ctan_upward_test_data): New variable.
46710         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46711         (ctanh_test_data): New variable.
46712         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46713         (ctanh_tonearest_test_data): New variable.
46714         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46715         (ctanh_towardzero_test_data): New variable.
46716         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46717         (ctanh_downward_test_data): New variable.
46718         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46719         (ctanh_upward_test_data): New variable.
46720         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46721         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46722         of BUILD_COMPLEX.
46724         * math/libm-test.inc (struct test_ff_f_data): New type.
46725         (struct test_ff_f_data_nexttoward): Likewise.
46726         (RUN_TEST_LOOP_2_f): New macro.
46727         (RUN_TEST_LOOP_ff_f): Likewise.
46728         (atan2_test_data): New variable.
46729         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46730         (copysign_test_data): New variable.
46731         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46732         (fdim_test_data): New variable.
46733         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46734         (fmax_test_data): New variable.
46735         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46736         (fmin_test_data): New variable.
46737         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46738         (fmod_test_data): New variable.
46739         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46740         (hypot_test_data): New variable.
46741         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46742         (nextafter_test_data): New variable.
46743         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46744         (nexttoward_test_data): New variable.
46745         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46746         (pow_test_data): New variable.
46747         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46748         (pow_tonearest_test_data): New variable.
46749         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46750         (pow_towardzero_test_data): New variable.
46751         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46752         (pow_downward_test_data): New variable.
46753         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46754         (pow_upward_test_data): New variable.
46755         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46756         (remainder_test_data): New variable.
46757         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46758         (scalb_test_data): New variable.
46759         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46760         * sysdeps/i386/fpu/libm-test-ulps: Update.
46762 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46764         * math/libm-test.inc (fma_test): Use max_value instead of local
46765         variable fltmax.
46766         (nextafter_test): Likewise.
46768         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46769         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46770         (acos_downward_test_data): New variable.
46771         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46772         (acos_upward_test_data): New variable.
46773         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46774         (acosh_test_data): New variable.
46775         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46776         (asin_test_data): New variable.
46777         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46778         (asin_tonearest_test_data): New variable.
46779         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46780         (asin_towardzero_test_data): New variable.
46781         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46782         (asin_downward_test_data): New variable.
46783         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46784         (asin_upward_test_data): New variable.
46785         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46786         (asinh_test_data): New variable.
46787         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46788         (atan_test_data): New variable.
46789         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46790         (atanh_test_data): New variable.
46791         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46792         (cbrt_test_data): New variable.
46793         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46794         (ceil_test_data): New variable.
46795         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46796         (cos_test_data): New variable.
46797         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46798         (cos_tonearest_test_data): New variable.
46799         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46800         (cos_towardzero_test_data): New variable.
46801         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46802         (cos_downward_test_data): New variable.
46803         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46804         (cos_upward_test_data): New variable.
46805         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46806         (cosh_test_data): New variable.
46807         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46808         (cosh_tonearest_test_data): New variable.
46809         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46810         (cosh_towardzero_test_data): New variable.
46811         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46812         (cosh_downward_test_data): New variable.
46813         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46814         (cosh_upward_test_data): New variable.
46815         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46816         (erf_test_data): New variable.
46817         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46818         (erfc_test_data): New variable.
46819         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46820         (exp_test_data): New variable.
46821         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46822         (exp_tonearest_test_data): New variable.
46823         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46824         (exp_towardzero_test_data): New variable.
46825         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46826         (exp_downward_test_data): New variable.
46827         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46828         (exp_upward_test_data): New variable.
46829         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46830         (exp10_test_data): New variable.
46831         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46832         (exp2_test_data): New variable.
46833         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46834         (expm1_test_data): New variable.
46835         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46836         (fabs_test_data): New variable.
46837         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46838         (floor_test_data): New variable.
46839         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46840         (j0_test_data): New variable.
46841         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46842         (j1_test_data): New variable.
46843         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46844         (log_test_data): New variable.
46845         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46846         (log10_test_data): New variable.
46847         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46848         (log1p_test_data): New variable.
46849         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46850         (log2_test_data): New variable.
46851         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46852         (logb_test_data): New variable.
46853         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46854         (logb_downward_test_data): New variable.
46855         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46856         (nearbyint_test_data): New variable.
46857         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46858         (rint_test_data): New variable.
46859         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46860         (rint_tonearest_test_data): New variable.
46861         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46862         (rint_towardzero_test_data): New variable.
46863         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46864         (rint_downward_test_data): New variable.
46865         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46866         (rint_upward_test_data): New variable.
46867         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46868         (round_test_data): New variable.
46869         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46870         (sin_test_data): New variable.
46871         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46872         (sin_tonearest_test_data): New variable.
46873         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46874         (sin_towardzero_test_data): New variable.
46875         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46876         (sin_downward_test_data): New variable.
46877         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46878         (sin_upward_test_data): New variable.
46879         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46880         (sinh_test_data): New variable.
46881         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46882         (sinh_tonearest_test_data): New variable.
46883         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46884         (sinh_towardzero_test_data): New variable.
46885         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46886         (sinh_downward_test_data): New variable.
46887         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46888         (sinh_upward_test_data): New variable.
46889         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46890         (sqrt_test_data): New variable.
46891         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46892         (tan_test_data): New variable.
46893         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46894         (tan_tonearest_test_data): New variable.
46895         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46896         (tan_towardzero_test_data): New variable.
46897         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46898         (tan_downward_test_data): New variable.
46899         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46900         (tan_upward_test_data): New variable.
46901         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46902         (tanh_test_data): New variable.
46903         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46904         (tgamma_test_data): New variable.
46905         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46906         (trunc_test_data): New variable.
46907         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46908         (y0_test_data): New variable.
46909         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46910         (y1_test_data): New variable.
46911         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46912         (significand_test_data): New variable.
46913         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46915 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46917         [BZ #12387]
46918         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46920 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46922         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46924 2013-05-10  Andreas Jaeger  <aj@suse.de>
46926         [BZ #15448]
46927         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46928         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46930 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46932         * math/gen-libm-test.pl (adjust_arg): New function.
46933         (special_functions): Handle generating output in both functions
46934         and arrays.
46935         (parse_args): Likewise.
46936         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46937         $in_func argument to parse_args.
46938         * math/libm-test.inc (struct test_f_f_data): New type.
46939         (IF_ROUND_INIT_): New macro.
46940         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46941         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46942         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46943         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46944         (ROUND_RESTORE_): Likewise.
46945         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46946         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46947         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46948         (ROUND_RESTORE_FE_UPWARD): Likewise.
46949         (RUN_TEST_LOOP_f_f): New macro.
46950         (acos_test_data): New variable.
46951         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46952         (acos_tonearest_test_data): New variable.
46953         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46955 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46957         * benchtests/bench-skeleton.c (startup): Fix coding style.
46959 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46961         [BZ #6809]
46962         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46963         negative infinity argument.
46964         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46965         negative infinity argument.
46966         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46967         negative infinity argument.
46968         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46969         domain errors.
46971 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46973         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46974         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46975         * iconv/iconv_prog.c (main): Likewise.
46976         * locale/programs/charmap-dir.c (charmap_readdir)
46977         (fopen_uncompressed): Likewise.
46978         * locale/programs/locfile.c (siblings_uncached)
46979         (write_locale_data): Use lstat64 instead of lstat.
46980         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46981         stat.
46983 2013-05-10  Andreas Jaeger  <aj@suse.de>
46985         [BZ #15395]
46986         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46987         localization.
46988         Include <locale.h>.
46990 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46992         * elf/dl-close.c (_dl_close_worker): Add comments.
46994 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46996         [BZ #15359]
46997         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46998         high part of pi/2.
46999         (__ieee754_rem_pio2l): Update comments.
47001         [BZ #15429]
47002         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47003         high part of pi/2.
47004         (__ieee754_rem_pio2l): Update comments.
47006         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47007         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47009         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47010         M_PI_4l.
47012         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47013         (M_PI_34_LOG10El): Likewise.
47014         (M_PI2_LOG10El): Likewise.
47015         (M_PI4_LOG10El): Likewise.
47016         (M_PI_LOG10El): Likewise.
47018 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47022 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47024         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47025         (MINUS_ZERO_INIT): Likewise.
47026         (PLUS_INFTY_INIT): Likewise.
47027         (MINUS_INFTY_INIT): Likewise.
47028         (QNAN_VALUE_INIT): Likewise.
47029         (MAX_VALUE_INIT): Likewise.
47030         (MIN_VALUE_INIT): Likewise.
47031         (MIN_SUBNORM_VALUE_INIT): Likewise.
47032         (plus_zero): Initialize with PLUS_ZERO_INIT.
47033         (minus_zero): Initialize with MINUS_ZERO_INIT.
47034         (plus_infty): Initialize with PLUS_INFTY_INIT.
47035         (minus_infty): Initialize with MINUS_INFTY_INIT.
47036         (qnan_value): Initialize with QNAN_VALUE_INIT.
47037         (max_value): Initialize with MAX_VALUE_INIT.
47038         (min_value): Initialize with MIN_VALUE_INIT.
47039         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47041         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47042         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47043         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47044         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47046         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47047         (RUN_TEST_2_f): Likewise.
47048         (RUN_TEST_ff_f): Likewise.
47049         (RUN_TEST_fi_f): Likewise.
47050         (RUN_TEST_fl_f): Likewise.
47051         (RUN_TEST_fff_f): Likewise.
47052         (RUN_TEST_c_f): Likewise.
47053         (RUN_TEST_f_f1): Likewise.
47054         (RUN_TEST_fF_f1): Likewise.
47055         (RUN_TEST_fI_f1): Likewise.
47056         (RUN_TEST_ffI_f1): Likewise.
47057         (RUN_TEST_c_c): Likewise.
47058         (RUN_TEST_cc_c): Likewise.
47059         (RUN_TEST_f_i): Likewise.
47060         (RUN_TEST_f_i_tg): Likewise.
47061         (RUN_TEST_ff_i_tg): Likewise.
47062         (RUN_TEST_f_b): Likewise.
47063         (RUN_TEST_f_b_tg): Likewise.
47064         (RUN_TEST_f_l): Likewise.
47065         (RUN_TEST_f_L): Likewise.
47066         (RUN_TEST_sincos): Likewise.
47067         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47068         whether to show exceptions.  Do not include ");\n" in return
47069         value.
47070         (special_functions): Output call to RUN_TEST_sincos instead of
47071         check_float calls.  Update calls to new_test.
47072         (parse_args): Output call to single RUN_TEST_* macro instead of
47073         check_* calls and other assignments.  Update calls to new_test.
47075         [BZ #2546]
47076         [BZ #2560]
47077         [BZ #5159]
47078         [BZ #15426]
47079         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47080         input to result for tgamma overflow.
47081         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47082         (gamma_coeff): New variable.
47083         (NCOEFF): New macro.
47084         (gamma_positive): New function.
47085         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47086         underflow here.  Use gamma_positive instead of exp (lgamma) for
47087         other arguments.
47088         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47089         (gamma_coeff): New variable.
47090         (NCOEFF): New macro.
47091         (gammaf_positive): New function.
47092         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47093         underflow here.  Use gamma_positive instead of exp (lgamma) for
47094         other arguments.
47095         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47096         (gamma_coeff): New variable.
47097         (NCOEFF): New macro.
47098         (gammal_positive): New function.
47099         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47100         underflow here.  Use gamma_positive instead of exp (lgamma) for
47101         other arguments.
47102         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47103         (gamma_coeff): New variable.
47104         (NCOEFF): New macro.
47105         (gammal_positive): New function.
47106         (__ieee754_gammal_r): Handle positive infinity, overflow and
47107         underflow here.  Handle NaN the same as positive infinity.  Remove
47108         check x < 0xffffffff for negative integers.  Use gamma_positive
47109         instead of exp (lgamma) for other arguments.
47110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47111         (gamma_coeff): New variable.
47112         (NCOEFF): New macro.
47113         (gammal_positive): New function.
47114         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47115         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47117         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47118         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47119         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47120         * sysdeps/generic/math_private.h (__gamma_productf): New
47121         prototype.
47122         (__gamma_product): Likewise.
47123         (__gamma_productl): Likewise.
47124         * math/Makefile (libm-calls): Add gamma_product.
47125         * math/libm-test.inc (tgamma_test): Add more tests.
47126         * sysdeps/i386/fpu/libm-test-ulps: Update.
47127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47129 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47131         * benchtests/bench-skeleton.c (main): Preheat CPU.
47133 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47135         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47137 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47139         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47140         and _dl_skip_args_internal.
47142 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47144         * manual/message.texi (Message Translation): Talk about users.
47145         Message to key mapping impacts design.
47147 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47149         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47151         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47153         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47154         * sysdeps/wordsize-64/glob64.c: ... here.
47156         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47157         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47158         New macros.
47160         * debug/getlogin_r_chk.c: Moved to ...
47161         * login/getlogin_r_chk.c: ... here.
47162         * debug/Makefile (routines): Move getlogin_r_chk to ...
47163         * login/Makefile (routines): ... here.
47164         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47165         * login/Versions (libc: GLIBC_2.4): ... here.
47167         * io/poll.c (__poll): Renamed from poll.
47168         Add libc_hidden_def.
47169         (poll): Define as weak alias.
47171         * debug/ptsname_r_chk.c: Moved to ...
47172         * login/ptsname_r_chk.c: ... here.
47173         * debug/Makefile (routines): Move ptsname_r_chk to ...
47174         * login/Makefile (routines): ... here.
47175         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47176         * login/Versions (libc: GLIBC_2.4): ... here.
47178         * posix/getlogin.c: Moved to ...
47179         * login/getlogin.c: ... here.
47180         * posix/getlogin_r.c: Moved to ...
47181         * login/getlogin_r.c: ... here.
47182         * posix/getlogin_r.c: Moved to ...
47183         * login/getlogin_r.c: ... here.
47184         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47185         * login/Makefile (routines): ... here.
47186         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47187         * login/Versions (libc: GLIBC_2.0): ... here.
47189         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47190         (setrlimit): Define as weak alias.
47192         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47193         Call __ names for open, ftruncate, and close.
47194         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47195         (truncate): Define as weak alias.
47197 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47199         * math/gen-libm-test.pl (parse_args): Initialize x before each
47200         test of frexp, modf and remquo.
47202         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47203         test signgam value.
47205 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47207         [BZ #15418]
47208         [BZ #15419]
47209         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47210         internal tests.
47211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47213 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47215         * elf/dl-writev.h: New file.
47216         * elf/dl-misc.c: Include it.
47217         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47218         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47220 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47222         * math/libm-test.inc (noXFails): Remove variable.
47223         (noXPasses): Likewise.
47224         (BUILD_COMPLEX_INT): Remove macro.
47225         (print_screen): Remove xfail argument.
47226         (print_screen_max_error): Likewise.
47227         (update_stats): Likewise.
47228         (print_max_error): Likewise.  Update calls to other affected
47229         functions.
47230         (print_complex_max_error): Likewise.
47231         (test_single_exception): Update calls to print_screen.
47232         (test_single_errno): Likewise.
47233         (check_float_internal): Remove xfail argument.  Update calls to
47234         other affected functions.
47235         (check_float): Likewise.
47236         (check_complex): Likewise.
47237         (check_int): Likewise.
47238         (check_long): Likewise.
47239         (check_bool): Likewise.
47240         (check_longlong): Likewise.
47241         (main): Don't print noXFails and noXPasses.
47242         * math/gen-libm-test.pl (top level): Don't mention expected
47243         failure handling in comment.
47244         (new_test): Don't handle expected failures.
47245         (parse_args): Don't mention expected failure handling in comment.
47246         (generate_testfile): Don't handle expected failures.
47247         (parse_ulps): Likewise.
47248         (print_ulps_file): Likewise.
47249         (get_failure): Remove function.
47250         (output_test): Don't handle expected failures.
47251         * make/README.libm-test: Don't mention expected failure handling.
47253         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47254         (minus_zero): Likewise.
47255         (plus_infty): Likewise.
47256         (minus_infty): Likewise.
47257         (qnan_value): Likewise.
47258         (max_value): Likewise.
47259         (min_value): Likewise.
47260         (min_subnorm_value): Likewise.
47261         (initialize): Do not initialize those variables dynamically.
47263 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47265         * io/open.c (__open_2): Moved to ...
47266         * io/open_2.c: ... this new file.
47267         * io/open64.c (__open64_2): Moved to ...
47268         * io/open64_2.c: ... this new file.
47269         * io/openat.c (__openat_2): Moved to ...
47270         * io/openat_2.c: ... this new file.
47271         * io/openat64.c (__openat64_2): Moved to ...
47272         * io/openat64_2.c: ... this new file.
47273         * io/Makefile (routines): Add them.
47274         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47275         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47276         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47277         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47278         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47279         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47280         (__openat64): Add hidden_ver.
47281         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47282         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47284         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47285         Separately conditionalize setting of GLRO(dl_sysinfo) so
47286         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47287         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47289 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47291         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47292         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47293         definition.
47294         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47295         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47296         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47297         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47298         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47300 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47302         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47303         test signgam value.
47305         * math/libm-test.inc (hypot_test): Do not use
47306         IGNORE_ZERO_INF_SIGN.
47308 2013-05-03  Andreas Jaeger  <aj@suse.de>
47310         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47311         Linux 3.9.
47312         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47313         (PF_MAX): Adjust for VSOCK change.
47315 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47319 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47321         [BZ #15264]
47322         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47323         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47324         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47326 2013-05-02  David S. Miller  <davem@davemloft.net>
47328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47330 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47332         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47334 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47336         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47338 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47340         [BZ #14952]
47341         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47342         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47343         Use __attribute__ ((__gnu_inline__)).
47344         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47345         Don't use __attribute__ ((__gnu_inline__)).
47347 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47349         [BZ #15423]
47350         * math/s_catan.c (__catan): Handle small real or imaginary part of
47351         input specially to avoid spurious underflow.
47352         * math/s_catanf.c (__catanf): Likewise.
47353         * math/s_catanh.c (__catanh): Likewise.
47354         * math/s_catanhf.c (__catanhf): Likewise.
47355         * math/s_catanhl.c (__catanhl): Likewise.
47356         * math/s_catanl.c (__catanl): Likewise.
47357         * math/libm-test.inc (catan_test): Add more tests.
47358         (catanh_test): Likewise.
47359         * sysdeps/i386/fpu/libm-test-ulps: Update.
47360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47362 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47366 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47368         [BZ #15416]
47369         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47370         accurately for denominator in atan2.
47371         * math/s_catanf.c (__catanf): Likewise.
47372         * math/s_catanh.c (__catanh): Likewise.
47373         * math/s_catanhf.c (__catanhf): Likewise.
47374         * math/s_catanhl.c (__catanhl): Likewise.
47375         * math/s_catanl.c (__catanl): Likewise.
47376         * math/libm-test.inc (catan_test): Add more tests.
47377         (catanh_test): Likewise.
47378         * sysdeps/i386/fpu/libm-test-ulps: Update.
47379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47381 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47383         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47385         * benchtests/Makefile (bench): Remove slow benchmarks.
47386         * benchtests/atan-inputs: Add slow benchmark inputs.
47387         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47388         (BENCH_FUNC): Accept variant offset.
47389         (VARIANT): Define.
47390         * benchtests/bench-skeleton.c (main): Run benchmark for each
47391         variant.
47392         * benchtests/cos-inputs: Add slow benchmark inputs.
47393         * benchtests/exp-inputs: Likewise.
47394         * benchtests/pow-inputs: Likewise.
47395         * benchtests/sin-inputs: Likewise.
47396         * benchtests/slowatan-inputs: Remove.
47397         * benchtests/slowatan.c: Remove.
47398         * benchtests/slowcos-inputs: Remove.
47399         * benchtests/slowcos.c: Remove.
47400         * benchtests/slowexp-inputs: Remove.
47401         * benchtests/slowexp.c: Remove.
47402         * benchtests/slowpow-inputs: Remove.
47403         * benchtests/slowpow.c: Remove.
47404         * benchtests/slowsin-inputs: Remove.
47405         * benchtests/slowsin.c: Remove.
47406         * benchtests/slowtan-inputs: Remove.
47407         * benchtests/slowtan.c: Remove.
47408         * benchtests/tan-inputs: Add slow benchmark inputs.
47409         * scripts/bench.pl: Parse comments and directives.
47411         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47412         in CPPFLAGS.
47413         ($(objpfx)bench-%.c): Remove *-ITER.
47414         * benchtests/bench-modf.c: Remove definition of ITER.
47415         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47416         (main): Loop for DURATION seconds instead of fixed number of
47417         iterations.
47418         * scripts/bench.pl: Don't expect iterations in parameters.
47420 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47422         * io/fchdir.c (__fchdir): Renamed from fchdir.
47423         (fchdir): Define as weak alias.
47425 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47427         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47428         (ERRNO_EDOM): Likewise.
47429         (ERRNO_ERANGE): Likewise.
47430         (noErrnoTests): New variable.
47431         (init_max_error): Set errno to 0.
47432         (test_single_errno): New function.
47433         (test_errno): Likewise.
47434         (check_float_internal): Call test_errno.  Set errno to 0.
47435         (check_complex): Refer to errno tests in comment.
47436         (check_int): Call test_errno.  Set errno to 0.
47437         (check_long): Likewise.
47438         (check_bool): Likewise.
47439         (check_longlong): Likewise.
47440         (cos_test): Use ERRNO_* flags for errno tests instead of
47441         check_int.
47442         (expm1_test): Likewise.
47443         (fmod_test): Likewise.
47444         (ilogb_test): Likewise.
47445         (lgamma_test): Likewise.
47446         (pow_test): Likewise.
47447         (remainder_test): Likewise.
47448         (sin_test): Likewise.
47449         (tan_test): Likewise.
47450         (yn_test): Likewise.
47451         (initialize): Set errno to 0.
47452         (main): Print number of errno tests.
47453         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47455 2013-04-29  Andreas Jaeger  <aj@suse.de>
47457         [BZ #15084]
47458         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47459         and RES_USEVC.
47461         [BZ #15085]
47462         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47463         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47464         unimplemented.
47466         [BZ #15380]
47467         * stdlib/random.c (__initstate): Return NULL if
47468         __initstate fails.
47470         [BZ #15086]
47471         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47472         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47473         RES_SNGLKUPREOP.
47475 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47479 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47481         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47482         of individual tests.
47483         (casin_test): Likewise.
47484         (casinh_test): Likewise.
47486 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47488         [BZ #15409]
47489         * math/s_catan.c (__catan): Handle arguments with large real or
47490         imaginary part separately without squaring.
47491         * math/s_catanf.c (__catanf): Likewise.
47492         * math/s_catanh.c (__catanh): Likewise.
47493         * math/s_catanhf.c (__catanhf): Likewise.
47494         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47495         and redefine.
47496         (__catanhl): Handle arguments with large real or imaginary part
47497         separately without squaring.
47498         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47499         and redefine.
47500         (__catanl): Handle arguments with large real or imaginary part
47501         separately without squaring.
47502         * math/libm-test.inc (catan_test): Add more tests.
47503         (catanh_test): Likewise.
47504         * sysdeps/i386/fpu/libm-test-ulps: Update.
47505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47507 2013-04-27  Andreas Jaeger  <aj@suse.de>
47509         [BZ #15007]
47510         * stdlib/stdlib.h: Update guards for qecvt.
47511         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47512         <stdlib.h>.
47514 2013-04-27  Allan McRae  <allan@archlinux.org>
47516         * sysdeps/i386/fpu/libm-test-ulps: Update.
47518 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47520         [BZ #15406]
47521         * math/s_catan.c: Include <float.h>.
47522         (__catan): Ensure underflow exception occurs for underflowed
47523         result.
47524         * math/s_catanf.c: Include <float.h>.
47525         (__catanf): Ensure underflow exception occurs for underflowed
47526         result.
47527         * math/s_catanh.c: Include <float.h>.
47528         (__catanh): Ensure underflow exception occurs for underflowed
47529         result.
47530         * math/s_catanhf.c: Include <float.h>.
47531         (__catanhf): Ensure underflow exception occurs for underflowed
47532         result.
47533         * math/s_catanhl.c: Include <float.h>.
47534         (__catanhl): Ensure underflow exception occurs for underflowed
47535         result.
47536         * math/s_catanl.c: Include <float.h>.
47537         (__catanl): Ensure underflow exception occurs for underflowed
47538         result.
47539         * math/libm-test.inc (catan_test): Add more tests.
47540         (catanh_test): Likewise.
47542         [BZ #15405]
47543         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47544         underflowed result.
47545         * math/s_ccoshf.c (__ccoshf): Likewise.
47546         * math/s_ccoshl.c (__ccoshl): Likewise.
47547         * math/s_csin.c (__csin): Likewise.
47548         * math/s_csinf.c (__csinf): Likewise.
47549         * math/s_csinh.c (__csinh): Likewise.
47550         * math/s_csinhf.c (__csinhf): Likewise.
47551         * math/s_csinhl.c (__csinhl): Likewise.
47552         * math/s_csinl.c (__csinl): Likewise.
47553         * math/libm-test.inc (ccos_test): Add more tests.
47554         (ccosh_test): Likewise.
47555         (csin_test): Likewise.
47556         (csinh_test): Likewise.
47558 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47560         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47561         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47562         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47563         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47564         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47565         powerpc/power5+/fpu folders.
47566         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47569 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47573 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47575         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47576         additions to variable.
47577         [$(config-machine) = x86_64] (modules-names): Likewise.
47578         ($(objpfx)tst-audit3): Remove dependency.
47579         ($(objpfx)tst-audit3.out): Likewise.
47580         ($(objpfx)tst-audit4): Likewise.
47581         ($(objpfx)tst-audit4.out): Likewise.
47582         ($(objpfx)tst-audit5): Likewise.
47583         ($(objpfx)tst-audit5.out): Likewise.
47584         ($(objpfx)tst-audit6): Likewise.
47585         ($(objpfx)tst-audit6.out): Likewise.
47586         ($(objpfx)tst-audit7): Likewise.
47587         ($(objpfx)tst-audit7.out): Likewise.
47588         (tst-audit3-ENV): Remove variable.
47589         (tst-audit4-ENV): Likewise.
47590         (tst-audit5-ENV): Likewise.
47591         (tst-audit6-ENV): Likewise.
47592         (tst-audit7-ENV): Likewise.
47593         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47594         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47595         addition to variable.
47596         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47597         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47598         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47599         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47600         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47601         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47602         tst-audit3, tst-audit4 and tst-audit5.
47603         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47604         tst-audit6 and tst-audit7.
47605         [$(subdir) = elf] (modules-names): Add audit modules for those
47606         tests.
47607         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47608         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47609         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47610         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47611         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47612         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47613         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47614         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47615         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47616         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47617         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47618         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47619         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47620         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47621         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47622         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47623         Likewise.
47624         [$(subdir) = elf && $(config-cflags-avx) = yes]
47625         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47626         [$(subdir) = elf && $(config-cflags-avx) = yes]
47627         (CFLAGS-tst-auditmod4a.c): Likewise.
47628         [$(subdir) = elf && $(config-cflags-avx) = yes]
47629         (CFLAGS-tst-auditmod4b.c): Likewise.
47630         [$(subdir) = elf && $(config-cflags-avx) = yes]
47631         (CFLAGS-tst-auditmod6b.c): Likewise.
47632         [$(subdir) = elf && $(config-cflags-avx) = yes]
47633         (CFLAGS-tst-auditmod6c.c): Likewise.
47634         [$(subdir) = elf && $(config-cflags-avx) = yes]
47635         (CFLAGS-tst-auditmod7b.c): Likewise.
47636         * elf/tst-audit3.c: Move to ...
47637         * sysdeps/x86_64/tst-audit3.c: ... here.
47638         * elf/tst-audit4.c: Move to ...
47639         * sysdeps/x86_64/tst-audit4.c: ... here.
47640         * elf/tst-audit5.c: Move to ...
47641         * sysdeps/x86_64/tst-audit5.c: ... here.
47642         * elf/tst-audit6.c: Move to ...
47643         * sysdeps/x86_64/tst-audit6.c: ... here.
47644         * elf/tst-audit7.c: Move to ...
47645         * sysdeps/x86_64/tst-audit7.c: ... here.
47646         * elf/tst-auditmod3a.c: Move to ...
47647         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47648         * elf/tst-auditmod3b.c: Move to ...
47649         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47650         * elf/tst-auditmod4a.c: Move to ...
47651         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47652         * elf/tst-auditmod4b.c: Move to ...
47653         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47654         * elf/tst-auditmod5a.c: Move to ...
47655         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47656         * elf/tst-auditmod5b.c: Move to ...
47657         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47658         * elf/tst-auditmod6a.c: Move to ...
47659         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47660         * elf/tst-auditmod6b.c: Move to ...
47661         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47662         * elf/tst-auditmod6c.c: Move to ...
47663         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47664         * elf/tst-auditmod7a.c: Move to ...
47665         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47666         * elf/tst-auditmod7b.c: Move to ...
47667         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47669 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47671         [BZ #15366]
47672         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47673         define unconditionally.
47674         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47675         define unconditionally.
47676         (INT8_C, INT16_C, etc.): Likewise.
47678 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47680         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47681         __ehdr_start with hidden visibility.
47683         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47685 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47687         * math/libm-test.inc (cos_test): Use accurate hex constants.
47688         (sincost_test): Likewise.
47690 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47692         * math/libm-test.inc (catan_test): Add more tests.
47693         (catanh_test): Likewise.
47695         * math/s_catanf.c (__catanf): Use suffixed floating-point
47696         constants.
47697         * math/s_catanhf.c (__catanhf): Likewise.
47698         * math/s_catanhl.c (__catanhl): Likewise.
47699         * math/s_catanl.c (__catanl): Likewise.
47701         [BZ #15394]
47702         * math/s_catan.c (__catan): Calculate imaginary part of result
47703         with log1p not log unless computing log of number close to 0.
47704         * math/s_catanf.c (__catanf): Likewise.
47705         * math/s_catanl.c (__catanl): Likewise.
47706         * math/s_catanh.c (__catanh): Calculate real part of result with
47707         log1p not log unless computing log of number close to 0.
47708         * math/s_catanhf.c (__catanhf): Likewise.
47709         * math/s_catanhl.c (__catanhl): Likewise.
47710         * math/libm-test.inc (catan_test): Add more tests.
47711         (catanh_test): Likewise.
47712         * sysdeps/i386/fpu/libm-test-ulps: Update.
47713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47715 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         * benchtests/Makefile: Mention files in which fast and slow
47718         paths of math functions are implemented.
47720 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47722         * sysdeps/posix/timespec_get.c: New file.
47724 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47726         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47727         POWER.
47728         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47729         for POWER.
47730         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47731         powerpc/power5/fpu folders.
47732         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47733         * benchtests/Makefile: Add modf testcase.
47734         * benchtests/bench-modf.c: New file: Benchmark test for mo
47736 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47738         [BZ #14888]
47739         * time/Makefile (tests): Add tst-strptime-whitespace.
47740         * time/strptime_l.c (get_number): Use ISSPACE.
47741         (__strptime_internal): Likewise.
47742         * time/tst-strptime-whitespace.c: New test case.
47744 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47746         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47747         member.
47748         (_nss_files_init): Set it here.
47750 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47752         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47753         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47754         unsigned.
47756 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47758         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47760 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47763         size just once.
47765 2013-04-21  David S. Miller  <davem@davemloft.net>
47767         * po/ru.po: Update Russion translation from translation project.
47769 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47771         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47772         and setfsgid.
47774 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47776         * configure.in: Remove i386 configure warning. Remove i386 case.
47777         * configure: Regenerate.
47778         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47779         Add example to error message.
47780         * sysdeps/i386/configure: Regenerate.
47782 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47784         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47785         slowtan.
47786         * benchtests/cos-inputs: New file.
47787         * benchtests/slowcos-inputs: New file.
47788         * benchtests/slowcos.c: New file.
47789         * benchtests/slowtan-inputs: New file.
47790         * benchtests/slowtan.c: New file.
47791         * benchtests/tan-inputs: New file.
47793 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47795         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47796         considered kosher.
47798 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47800         * benchtests/Makefile: Include cppflags-iterator.mk to add
47801         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47803         * Makefile.in (bench-clean): New target.
47804         * benchtests/Makefile (bench-clean): Likewise.
47806 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47808         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47810 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47812         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47814 2013-04-15  Andreas Schwab  <schwab@suse.de>
47816         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47818         * nscd/pwdcache.c (cache_addpw): Likewise.
47819         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47820         more than recsize.
47822 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47824         * benchtests/Makefile (bench): Write all output to
47825         bench-out.tmp together.
47827 2013-04-15  Andreas Schwab  <schwab@suse.de>
47829         * nscd/nscd.c (main): Don't fork again after closing files.
47831 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47833         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47835         * benchtests/Rules (bench-deps): Collect dependencies into a
47836         single variable.  Add Makefile to dependencies.
47837         ($(objpfx)bench-%.c): Depend on bench-deps.
47839 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47840             Xavier Roche  <roche+kml2@exalead.com>
47842         [BZ #15361]
47843         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47844         just that it's a file descriptor.
47845         * manual/llio.texi (Synchronizing AIO Operations): Update description
47846         for EBADF error from aio_fsync.
47848 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47850         * Rules (bench): Move target definition...
47851         * benchtests/Makefile: ... here.
47853 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47855         * math/libm-test.inc (cos_test): Fix PI/2 test.
47856         (sincos_test): Likewise.
47857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47858         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47860 2013-04-11  Andreas Schwab  <schwab@suse.de>
47862         [BZ #13988]
47863         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47864         accept exponent character only when digits were seen.
47865         * stdio-common/Makefile (tests): Add bug26.
47866         * stdio-common/bug26.c: New file.
47868         [BZ #14293]
47869         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47870         non-freeable.
47872 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47874         * Makeconfig (rtld-prefix): Define built linker prefix.
47875         * Rules (run-bench): Use it.
47876         * math/Makefile (run-regen-ulps): Likewise.
47878         * Rules (bench): Remove eval.
47880 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47881             Roland McGrath  <roland@hack.frob.com>
47882             Ondrej Bilka  <neleai@seznam.cz>
47884         [BZ #15346]
47885         * time/getdate.c: Include ctype.h and alloca.h.
47886         (__getdate_r): Trim leading and trailing spaces of input.
47887         * time/tst-getdate.c (tests): Add tests with leading and
47888         trailing spaces.
47890 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47892         [BZ #14280]
47893         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47894         when computing value.
47896 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47898         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47899         Use testrun.sh to run libm tests.
47901         [BZ #15309]
47902         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47904 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47906         [BZ #15264]
47907         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47909 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47911         * Makefile.in (regen-ulps): New target.
47912         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47913         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47914         [ifneq (no,$(PERL)] (regen-ulps): New target.
47915         [ifeq (no,$(PERL)] (regen-ulps): New target.
47916         * math/libm-test.inc (ulps_file_name): Define.
47917         (output_dir): New variable.
47918         (options): Add "output-dir" option.
47919         (parse_opt): Handle 'o' case.
47920         (main): If output_dir is non-NULL use it as a prefix
47921         otherwise use "".
47922         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47924 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47926         [BZ #10060, #10062]
47927         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47928         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47929         fail configure if __sync_val_compare_and_swap is not inlined.
47930         * sysdeps/i386/configure: Regenerate.
47931         * configure.in: Build for i686 when configured for i386.
47932         * configure: Regenerate.
47933         * README: Remove i386 reference.
47935 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47937         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47938         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47940 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47942         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47943         (lmsnanval): New variables.
47944         (F): Add conversion tests.
47945         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47946         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47948         * stdio-common/tstdiomisc.c (F): Properly collect individual
47949         tests' results.
47951         [BZ #14686, #15336]
47952         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47953         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47954         Instead, use input NaN values or generate a qNaN by arithmetic
47955         operation.  Also fix bugs to comply with the standard.
47956         * math/libm-test.inc (remainder_test): Add more tests.
47958         [BZ #15335, #15342]
47959         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47961         input NaN values or generate a qNaN by arithmetic operation.
47963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47964         unreachable code.
47966         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47967         definitions.
47969 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47971         [BZ #14478]
47972         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47973         underflowed result.
47974         * math/s_cexpf.c (__cexpf): Likewise.
47975         * math/s_cexpl.c (__cexpl): Likewise.
47976         * math/libm-test.inc (cexp_test): Add more tests.
47978 2013-04-03  Andreas Schwab  <schwab@suse.de>
47980         [BZ #15330]
47981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47982         order arrays from heap if bigger than alloca cutoff.
47984 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47986         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47987         (SNAN_TESTS_double): Refer to GCC PR56831.
47988         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47989         GCC PR56828.
47991 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47993         * Rules (bench): Move bench.out after the run is complete.
47995         * Rules (bench): Echo currently running benchmark.
47997         * benchtests/Makefile (bench): Add atan and slowatan.
47998         * benchtests/atan-inputs: New file.
47999         * benchtests/slowatan-inputs: New file.
48000         * benchtests/slowatan.c: New file.
48002         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48004         its value.
48006         [BZ #15305]
48007         * sysdeps/unix/sysv/linux/kernel-features.h
48008         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48009         __ASSUME_XFS_RESTRICTED_CHOWN.
48010         * sysdeps/unix/sysv/linux/pathconf.c
48011         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48012         Save and restore errno.
48014 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48016         [BZ #15327]
48017         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48018         arguments using __kernel_casinh.
48019         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48020         arguments using __kernel_casinhf.
48021         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48022         arguments using __kernel_casinhl.
48023         * math/libm-test.inc (cacosh_test): Add more tests.
48024         * sysdeps/i386/fpu/libm-test-ulps: Update.
48025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48027 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48029         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48032         * bench/Makefile (bench): Add sin and slowsin.
48033         * benchtests/sin-inputs: New file.
48034         * benchtests/slowsin-inputs: New file.
48035         * benchtests/slowsin.c: New file.
48037         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48038         (bench): Add slowexp and slowpow.
48039         (exp-ITER): Increase iterations.
48040         (pow-ITER): Likewise.
48041         * benchtests/exp-inputs: Change input.
48042         * benchtests/pow-inputs: Likewise.
48043         * benchtests/slowexp-inputs: New file.
48044         * benchtests/slowexp.c: New file.
48045         * benchtests/slowpow-inputs: New file.
48046         * benchtests/slowpow.c: New file.
48048 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48050         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48051         instructions.
48052         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48053         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48054         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48055         * benchtests/Makefile: Add rint benchtest.
48056         * benchtests/rint-inputs: Input for rint benchtest.
48058 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48060         * Versions.def (libm): Add GLIBC_2.18.
48061         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48062         hidden libm prototypes.
48063         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48064         * math/Makefile (libm-calls): Add s_issignaling.
48065         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48066         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48067         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48068         declaration.
48069         * math/math.h [__USE_GNU] (issignaling): New macro.
48070         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48071         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48072         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48073         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48074         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48075         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48076         * manual/arith.texi (issignaling): New section.
48077         * manual/libm-err-tab.pl (@all_functions): Update comment.
48078         * math/gen-libm-test.pl (parse_args): Apply special handling for
48079         issignaling.
48080         * math/libm-test.inc (print_float, issignaling_test): New
48081         functions.
48082         (check_float_internal): Add issignaling checks.
48083         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48084         default definition.
48085         * sysdeps/powerpc/math-tests.h: New file.
48086         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48087         tests.
48088         * math/test-snan.c (TEST_FUNC): Likewise.
48090 2013-03-30  David S. Miller  <davem@davemloft.net>
48092         * po/de.po: Update from translation team.
48094 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48096         [BZ #10357]
48097         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48098         imaginary part less than 1.0 and real part less than 0.5
48099         specially.
48100         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48101         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48102         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48103         (cacos_test): Add more tests.
48104         (casin_test): Likewise.
48105         (casinh_test): Likewise.
48106         * sysdeps/i386/fpu/libm-test-ulps: Update.
48107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48109 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48111         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48112         ONE with its value.
48114         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48115         (__pow_mp): Replace ONE and MONE with their values.
48116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48118         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48119         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48121         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48123         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48125         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48126         (__pow_mp): Replace ZERO and MZERO with their values.
48127         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48129         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48131         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48132         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48133         (__sqr): Likewise.
48135         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48137         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48139 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48141         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48142         Declare with __attribute__ ((weak)).
48143         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48144         Call __call_tls_dtors only if it's not NULL.
48146 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48148         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48149         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48150         magic __ehdr_start linker symbol if it's defined.
48151         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48152         them up here if it was already done.
48154         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48155         (_dl_aux_init): Use const in cast when setting it.
48156         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48157         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48158         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48160         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48161         Declare them here.
48162         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48163         * csu/libc-tls.c: Nor here.
48164         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48166         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48167         (__libc_message): Never call vsyslog.
48169 2013-03-28  Alan Modra  <amodra@gmail.com>
48171         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48172         Define as empty.
48173         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48174         Likewise.
48176 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48178         [BZ #15214]
48179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48180         underflow.
48181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48183 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48185         [BZ #15304]
48186         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48187         Don't add gid passed as argument.
48189         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48191 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48193         [BZ #15307]
48194         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48195         imaginary part between 1.0 and 1.5 and real part less than 0.5
48196         specially.
48197         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48198         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48199         * math/libm-test.inc (cacos_test): Add more tests.
48200         (casin_test): Likewise.
48201         (casinh_test): Likewise.
48202         * sysdeps/i386/fpu/libm-test-ulps: Update.
48203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48205 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48207         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48208         constants.
48209         (norm): Likewise.
48210         (denorm): Likewise.
48211         (__dbl_mp): Likewise.
48212         (add_magnitudes): Likewise.
48213         (sub_magnitudes): Likewise.
48214         (__add): Likewise.
48215         (__sub): Likewise.
48216         (__mul): Likewise.
48217         (__sqr): Likewise.
48218         (__inv): Likewise.
48219         (__dvd): Likewise.
48221         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48222         commented code.
48223         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48224         (__dubcos): Likewise.
48225         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48226         (__ieee754_acos): Likewise.
48227         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48228         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48229         (__exp1): Likewise.
48230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48232         (log1): Likewise.
48233         (my_log2): Likewise.
48234         (checkint): Likewise.
48235         * sysdeps/ieee754/dbl-64/e_remainder.c
48236         (__ieee754_remainder): Likewise.
48237         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48239         (bsloww): Likewise.
48240         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48242         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48243         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48244         MANTISSA_STORE_T to store computations on mantissa.  Use
48245         macros for rounding and division.
48246         (denorm): Likewise.
48247         (__dbl_mp): Likewise.
48248         (add_magnitudes): Likewise.
48249         (sub_magnitudes): Likewise.
48250         (__mul): Likewise.
48251         (__sqr): Likewise.
48252         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48253         powers of two in terms of TWOPOW macro.
48254         (mp_no): Make type of mantissa as MANTISSA_T.
48255         [!RADIXI]: Define RADIXI.
48256         [!TWO52]: Define TWO52.
48257         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48259 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48261         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48262         llroundl symbol when building for PPC32.
48264 2013-03-24  Mark H Weaver  <mhw@netris.org>
48266         * manual/arith.texi (Normalization Functions): Fix prototypes for
48267         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48269 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48271         [BZ #13889]
48272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48273         high value to check if expl overflow.
48274         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48275         to check for underflow and overflow.
48276         * math/libm-test.inc: Add exp test.
48278 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48280         [BZ #11120]
48281         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48282         with NOT_IN_libc.
48284 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48286         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48287         symbol.
48289 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48291         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48292         wrap blocks consisting of several statements.
48294         * sysdeps/generic/math-tests.h: New file.
48295         * sysdeps/i386/fpu/math-tests.h: Likewise.
48296         * math/test-snan.c: Include it.
48297         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48299 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48301         [BZ #15285]
48302         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48303         (__ieee754_j0l): Do not improve calculations using cos of twice
48304         input for inputs above LDBL_MAX / 2.0L.
48305         (__ieee754_y0l): Likewise.
48306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48307         (__ieee754_j1l): Do not improve calculations using cos of twice
48308         input for inputs above LDBL_MAX / 2.0L.
48309         (__ieee754_y1l): Likewise.
48310         * math/libm-test.inc (j0_test): Add another test.
48311         (j1_test): Likewise.
48312         (y0_test): Likewise.
48313         (y1_test): Likewise.
48314         * sysdeps/i386/fpu/libm-test-ulps: Update.
48316 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48318         * Rules ($(objpfx)bench-%.c): Include code from a C source
48319         file.
48321 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48323         [BZ #15287]
48324         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48325         imaginary part 1.0 and real part less than 0.5 specially.
48326         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48327         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48328         * math/libm-test.inc (cacos_test): Add more tests.
48329         (casin_test): Likewise.
48330         (casinh_test): Likewise.
48331         * sysdeps/i386/fpu/libm-test-ulps: Update.
48332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48334 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48336         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48337         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48339 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48341         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48342         * config.make.in (config-cflags-sse4): Remove variable.
48343         (config-cflags-avx): Likewise.
48344         (config-cflags-sse2avx): Likewise.
48345         (config-cflags-novzeroupper): Likewise.
48346         (config-asflags-i686): Likewise.
48347         (have-mfma4): Likewise.
48348         (have-as-vis3): Likewise.
48349         (MIG): Likewise.
48350         * configure.in (MIG): Do not AC_SUBST.
48351         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48352         (libc_cv_cc_sse4): Do not AC_SUBST.
48353         (libc_cv_cc_avx): Likewise.
48354         (libc_cv_cc_sse2avx): Likewise.
48355         (libc_cv_cc_novzeroupper): Likewise.
48356         (libc_cv_cc_fma4): Likewise.
48357         (libc_cv_as_i686): Likewise.
48358         (libc_cv_sparc_as_vis3): Likewise.
48359         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48360         LIBC_CONFIG_VAR.
48361         (config-asflags-i686): Likewise.
48362         (config-cflags-avx): Likewise.
48363         (config-cflags-sse2avx): Likewise.
48364         (have-mfma4): Likewise.
48365         (config-cflags-novzeroupper): Likewise.
48366         * sysdeps/mach/configure.in (MIG): Likewise.
48367         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48368         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48369         LIBC_CONFIG_VAR.
48370         (config-cflags-avx): Likewise.
48371         (config-cflags-sse2avx): Likewise.
48372         (have-mfma4): Likewise.
48373         (config-cflags-novzeroupper): Likewise.
48374         * configure: Regenerated.
48375         * sysdeps/i386/configure: Likewise.
48376         * sysdeps/mach/configure: Likewise.
48377         * sysdeps/sparc/configure: Likewise.
48378         * sysdeps/x86_64/configure: Likewise.
48380 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48382         [BZ #14812]
48383         * locale/programs/localedef.c (options): Put N_ translation marker
48384         on argument names, not just descriptions.
48386 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48388         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48390 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48392         [BZ #14176]
48393         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48395 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48397         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48398         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48399         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48400         [!BEFORE_ABORT] (before_abort): New function.
48401         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48402         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48403         (writev_for_fatal): New function.
48404         (WRITEV_FOR_FATAL): New macro; call that.
48405         (backtrace_and_maps): New function.
48406         (BEFORE_ABORT): New macro; call that.
48407         (struct str_list): Type removed.
48408         (__libc_message, __libc_fatal): Functions removed.
48409         Include <sysdeps/posix/libc_fatal.c> instead.
48411 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48413         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48414         constants.
48415         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48416         double constants.
48418 2013-03-19  Andreas Schwab  <schwab@suse.de>
48420         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48421         * sysdeps/gnu/configure: Regenerate.
48423         * configure.in: Substitute libc_cv_rtlddir.
48424         * configure: Regenerate.
48425         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48426         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48427         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48428         * elf/Makefile (install-others, CFLAGS-interp.c)
48429         (ldso_install, common-ldd-rewrite): Likewise.
48430         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48431         $(inst_slibdir)/$(rtld-installed-name).
48432         * scripts/rellns-sh: Add -p option.
48433         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48434         for source.
48436 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48438         * manual/nptl.texi: Renamed to ...
48439         * manual/threads.texi: ... this.
48440         * manual/Makefile (chapters): Update.
48442 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48444         [BZ #14812]
48445         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48446         on argument names, not just descriptions.
48447         * malloc/memusagestat.c (options): Likewise.
48448         * nss/getent.c (options): Likewise.
48450 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48452         [BZ #14812]
48453         * iconv/iconv_prog.c (options): Put N_ translation marker
48454         on argument names, not just descriptions.
48455         * iconv/iconvconfig.c (options): Likewise.
48457 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48459         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48460         implementation which is faster on all x86_64 architectures.
48461         Tested on AMD, Intel Nehalem, SNB, IVB.
48462         * sysdeps/x86_64/strnlen.S: Likewise.
48464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48465         Remove all multiarch strlen and strnlen versions.
48466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48467         Remove strlen and strnlen related parts.
48469         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48470         Inline strlen part.
48471         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48473         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48474         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48475         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48476         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48477         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48478         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48480 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48482         * manual/memory.texi (Malloc Tunable Parameters):
48483         Sort parameters alphabetically. Add comments for missing entries.
48485 2013-03-17  David S. Miller  <davem@davemloft.net>
48487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48489 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48491         [BZ #15283]
48492         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48493         for arguments at most half maximum finite value.
48494         * math/libm-test.inc (j0_test): Add more tests.
48495         (j1_test): Likewise.
48496         (y0_test): Likewise.
48497         (y1_test): Likewise.
48498         * sysdeps/i386/fpu/libm-test-ulps: Update.
48499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48501         [BZ #14155]
48502         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48503         1 / x and functions P and Q for arguments above 0x1p256L.
48504         (__ieee754_y0l): Likewise.
48505         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48506         (__ieee754_y1l): Likewise.
48507         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48508         (j1_test): Likewise.
48509         (y0_test): Likewise.
48510         (y1_test): Likewise.
48512 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48514         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48515         variable.
48517 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48519         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48520         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48521         zero since it's initialized to EXEC_PAGESIZE.
48523         * sysdeps/unix/sysv/linux/ldsodefs.h
48524         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48525         * sysdeps/generic/ldsodefs.h: ... here.
48527 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48529         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48531         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48532         math/test-snan.c.
48533         * math/test-snan.c: Renamed from
48534         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48535         * math/Makefile (tests): Add test-snan.
48536         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48537         test-powerpc-snan.
48539         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48540         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48541         functions.
48542         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48543         __builtin_nan family of functions.
48544         * math/libm-test.inc (initialize): Initialize qnan_value with
48545         __builtin_nan family of functions.
48546         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48547         Remove variables.
48548         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48549         Remove functions.
48550         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48551         storage class.  Initialize qNaN_var and sNaN_var with
48552         __builtin_nan and __builtin_nans families of functions,
48553         respectively.
48555         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48556         (sqrt_test): Remove duplicate test with qNaN input.
48557         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48558         (round_test, signbit_test, significand_test): Note missing +/-Inf
48559         as well as qNaN tests.
48561         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48562         qNaN_var.  Fix a few strings, too.
48563         * math/libm-test.inc (nan_value): Rename to qnan_value.
48564         * math/gen-libm-test.pl (%beautify): Adjust to that.
48565         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48566         * math/test-misc.c (main): Likewise.
48567         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48568         to __qnan_bytes, and __qnan_union, respectively.
48569         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48570         Likewise.
48571         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48572         and lqnanval, respectively.
48573         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48574         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48575         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48576         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48578         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48579         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48580         doubles.
48582         * math/test-misc.c (main): Fix copy'n'pastos.
48583         * misc/tst-efgcvt.c (special): Likewise.
48585         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48586         Remove declarations.
48588 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48590         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48591         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48592         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48593         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48595 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48597         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48598         macro to return vdso values correctly in IFUNC implementations.
48599         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48600         Optimization by using IFUNC.
48602 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48603             Richard Henderson  <rth@redhat.com>
48604             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48606         * Makefile.in (bench): New target.
48607         * NEWS: Mention the benchmark framework.
48608         * Rules (bench): Likewise.
48609         (binaries-bench): Generate binaries for functions to
48610         benchmark.
48611         * benchtests/Makefile: New makefile for benchmark tests.
48612         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48613         programs.
48614         * benchtests/exp-inputs: New input file for EXP function.
48615         * benchtests/pow-inputs: New input file for POW function.
48616         * scripts/bench.pl: New script to generate source files for
48617         benchmark programs.
48619 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48621         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48622         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48623         computations on mantissa.  Use macros for rounding and
48624         division.
48625         (denorm): Likewise.
48626         (__dbl_mp): Likewise.
48627         (add_magnitudes): Likewise.
48628         (sub_magnitudes): Likewise.
48629         (__mul): Likewise.
48630         (__sqr): Likewise.
48631         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48632         powers of two in terms of TWOPOW macro.
48633         (mp_no): Make type of mantissa as MANTISSA_T.
48634         [!RADIXI]: Define RADIXI.
48635         [!TWO52]: Define TWO52.
48636         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48638         * manual/nptl.texi (cindex): Modify threads to pthreads.
48640 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48642         * sysdeps/x86_64/preconfigure: Regenerated.
48644 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48646         [BZ #14155]
48647         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48648         0x1p28 and above.
48649         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48650         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48651         0x1p28 and above.
48652         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48653         * math/libm-test.inc (j0_test): Do not allow one spurious
48654         underflow exception.
48655         (y1_test): Likewise.
48657 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48659         * manual/Makefile (chapters): Add nptl.
48660         * manual/debug.texi (Debugging Support): Add link to Threads
48661         chapter.
48662         * manual/nptl.texi: New file.
48664         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48666 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48668         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48669         for non-NULL pointer before the memory validity test. Pointed
48670         out by Holger Brunck <holger.brunck@keymile.com>.
48672 2013-03-13  Andreas Schwab  <schwab@suse.de>
48674         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48675         instead of .os.
48677 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48679         * timezone/zic.c: Update from tzcode 2013b.
48681 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48683         * manual/install.texi (Configuring and compiling):
48684         Mention i686 and i586.
48685         * INSTALL: Regenerate.
48687 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48689         * sysdeps/init_array/elf-init.c: New file.
48690         * csu/elf-init.c
48691         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48692         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48694         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48695         __gmon_start__ as global, but as static with a .preinit_array pointer.
48696         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48697         * sysdeps/init_array/crti.S: New file, empty except for comments.
48698         * sysdeps/init_array/crtn.S: Likewise.
48700 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48702         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48703         definining bcopy.
48704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48705         Remove Prefer_SSE_for_memop.
48706         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48707         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48708         HAS_PREFER_SSE_FOR_MEMOP.
48709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48710         memset-x86-64.
48711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48712         Remove bzero, memset ifunc support.
48713         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48714         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48715         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48716         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48718 2013-03-11  Andreas Schwab  <schwab@suse.de>
48720         [BZ #15234]
48721         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48722         by SHLIB_COMPAT.
48723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48724         (GLIBC_2.16): Remove pthread_atfork.
48726 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48728         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48729         (ptestcases.h): Likewise.
48731 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48733         * Makeconfig ($(common-objpfx)config.status): Depend on
48734         sysdeps/*/preconfigure{,.in} too.
48736 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48738         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48739         (__free_hook): Use void * instead of __malloc_ptr_t.
48740         (__malloc_hook): Likewise.
48741         (__realloc_hook): Likewise.
48742         (__memalign_hook): Likewise.
48743         (__after_morecore_hook): Likewise.
48744         * malloc/arena.c (save_malloc_hook): Likewise.
48745         (save_free_hook): Likewise.
48746         * malloc/hooks.c (malloc_hook_ini): Likewise.
48747         (realloc_hook_ini): Likewise.
48748         (memalign_hook_ini): Likewise.
48749         * malloc/malloc.c (malloc_hook_ini): Likewise.
48750         (realloc_hook_ini): Likewise.
48751         (memalign_hook_ini): Likewise.
48752         (__free_hook): Likewise.
48753         (__malloc_hook): Likewise.
48754         (__realloc_hook): Likewise.
48755         (__memalign_hook): Likewise.
48756         (__libc_malloc): Likewise.
48757         (__libc_free): Likewise.
48758         (__libc_realloc): Likewise.
48759         (__libc_memalign): Likewise.
48760         (__libc_valloc): Likewise.
48761         (__libc_pvalloc): Likewise.
48762         (__libc_calloc): Likewise.
48763         (__posix_memalign): Likewise.
48764         * malloc/morecore.c (__sbrk): Likewise.
48765         (__default_morecore): Likewise.
48767         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48769         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48770         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48771         __malloc_ptrdiff_t.
48773         * malloc/malloc.h (__malloc_size_t): Remove macro.
48774         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48775         __malloc_size_t.
48776         (old_memalign_hook): Likewise.
48777         (old_realloc_hook): Likewise.
48778         (struct hdr): Likewise.
48779         (flood): Likewise.
48780         (mallochook): Likewise.
48781         (memalignhook): Likewise.
48782         (reallochook): Likewise.
48783         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48784         (tr_old_realloc_hook): Likewise.
48785         (tr_old_memalign_hook): Likewise.
48786         (tr_mallochook): Likewise.
48787         (tr_reallochook): Likewise.
48788         (tr_memalignhook): Likewise.
48790 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48793         default_ldbl_pack and using as default implementation.
48794         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48795         implementation.
48796         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48797         redundant definition.
48798         (ldbl_insert_mantissa): Likewise.
48799         (ldbl_canonicalize): Likewise.
48800         (ldbl_nearbyint): Likewise.
48801         (ldbl_pack): Rename to ldbl_pack_ppc.
48802         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48803         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48804         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48806 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48809         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48810         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48811         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48813         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48814         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48815         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48817 2013-03-07  Andreas Jaeger  <aj@suse.de>
48819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48820         bits/mman-linux.h.
48822 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48824         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48825         Include mpa.h and declare __MPEXP.
48826         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48827         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48828         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48829         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48830         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48831         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48832         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48834         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48835         (__slowpow): Use long double EXPL and LOGL functions to
48836         compute POW.
48837         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48838         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48839         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48840         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48841         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48842         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48845         intermediate variable to calculate exponent.
48846         (__sqr): Likewise.
48847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48848         Likewise.
48849         (__sqr): Likewise.
48851         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48852         [!NO__SQR]: Define __sqr.
48853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48854         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48855         sysdeps/ieee754/dbl-64/mpa.c.
48856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48858         [BZ #12723]
48859         * posix/Makefile (tests): Add tst-pathconf.
48860         * posix/tst-pathconf.c: New test case.
48861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48862         _PC_PIPE_BUF.
48863         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48865 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48867         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48869 2013-03-06  Andreas Jaeger  <aj@suse.de>
48871         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48872         definition via __MAP_ANONYMOUS.
48874         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48875         it's not part of Linux headers.
48877         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48878         (MAP_HUGE_MASK): Define.
48880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48881         Define.
48882         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48883         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48884         Define.
48885         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48886         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48887         Define.
48888         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48890         Define.
48891         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48893         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48894         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48895         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48896         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48897         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48898         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48900         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48901         Handle f2fs.
48903         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48904         Handle f2fs and efivarfs.
48906         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48907         f2fs.
48909         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48910         (EFIVARFS_MAGIC): Add.
48911         (F2FS_LINK_MAX): Add.
48913 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48915         * stdio-common/vfprintf.c: Replace __builtin_expect with
48916         __glibc_unlikely.
48918 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48920         [BZ #13550]
48921         * sysdeps/generic/bp-sym.h: Remove file.
48922         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48923         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48924         <bp-sym.h> and <bp-asm.h>.
48925         (__longjmp): Don't use BP_SYM.
48926         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48927         and <bp-asm.h>.
48928         (memcpy): Don't use BP_SYM.
48929         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48930         <bp-sym.h> and <bp-asm.h>.
48931         (memcpy): Don't use BP_SYM.
48932         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48933         <bp-asm.h>.
48934         (memcpy): Don't use BP_SYM.
48935         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48936         <bp-asm.h>.
48937         (memset): Don't use BP_SYM.
48938         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48939         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48940         (__bzero): Don't use BP_SYM.
48941         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48942         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48943         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48944         <bp-sym.h> and <bp-asm.h>.
48945         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48946         pointers.
48947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48948         <bp-sym.h> and <bp-asm.h>.
48949         (memcpy): Don't use BP_SYM.
48950         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48951         <bp-sym.h> and <bp-asm.h>.
48952         (memset): Don't use BP_SYM.
48953         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48954         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48955         (__bzero): Don't use BP_SYM.
48956         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48957         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48958         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48959         <bp-sym.h> and <bp-asm.h>.
48960         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48961         pointers.
48962         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48963         <bp-sym.h> and <bp-asm.h>.
48964         (memcpy): Don't use BP_SYM.
48965         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48966         <bp-sym.h> and <bp-asm.h>.
48967         (memset): Don't use BP_SYM.
48968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48970         (__bzero): Don't use BP_SYM.
48971         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48972         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48973         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48974         <bp-sym.h> and <bp-asm.h>.
48975         (__memchr): Don't use BP_SYM.
48976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48977         <bp-sym.h> and <bp-asm.h>.
48978         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48979         pointers.
48980         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48981         <bp-sym.h> and <bp-asm.h>.
48982         (memcpy): Don't use BP_SYM.
48983         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48984         <bp-sym.h> and <bp-asm.h>.
48985         (__mempcpy): Don't use BP_SYM.
48986         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48987         <bp-sym.h> and <bp-asm.h>.
48988         (__memrchr): Don't use BP_SYM.
48989         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48990         <bp-sym.h> and <bp-asm.h>.
48991         (memset): Don't use BP_SYM.
48992         (__bzero): Likewise.
48993         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48994         <bp-sym.h> and <bp-asm.h>.
48995         (__rawmemchr): Don't use BP_SYM.
48996         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48997         <bp-sym.h> and <bp-asm.h>.
48998         (__STRCMP): Don't use BP_SYM.
48999         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49000         <bp-sym.h> and <bp-asm.h>.
49001         (strchr): Don't use BP_SYM.
49002         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49003         <bp-sym.h> and <bp-asm.h>.
49004         (__strchrnul): Don't use BP_SYM.
49005         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49006         <bp-sym.h> and <bp-asm.h>.
49007         (strlen): Don't use BP_SYM.
49008         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49009         <bp-sym.h> and <bp-asm.h>.
49010         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49011         pointers.
49012         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49013         <bp-sym.h> and <bp-asm.h>.
49014         (__strnlen): Don't use BP_SYM.
49015         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49016         <bp-sym.h> and <bp-asm.h>.
49017         (__GI__setjmp): Don't use BP_SYM.
49018         (_setjmp): Likewise.
49019         (__sigsetjmp): Likewise.
49020         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49021         (L(start_addresses)): Don't use BP_SYM.
49022         (_start): Likewise.
49023         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49024         <bp-asm.h>.
49025         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49026         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49027         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49028         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49029         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49030         <bp-asm.h>.
49031         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49032         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49033         about bounded pointers.
49034         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49035         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49036         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49037         <bp-asm.h>.
49038         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49039         about bounded pointers.  Remove GKM FIXME comments.
49040         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49041         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49042         <bp-asm.h>.
49043         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49044         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49045         Remove GKM FIXME comments.
49046         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49047         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49048         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49049         <bp-asm.h>.
49050         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49051         about bounded pointers.  Remove GKM FIXME comment.
49052         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49053         and <bp-asm.h>.
49054         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49055         pointers.
49056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49057         <bp-sym.h> and <bp-asm.h>.
49058         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49060         <bp-sym.h> and <bp-asm.h>.
49061         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49062         comment.
49064 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49066         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49067         call free(NULL).
49069 2013-03-05  David S. Miller  <davem@davemloft.net>
49071         * po/es.po: Update from translation team.
49073 2013-03-05  Andreas Jaeger  <aj@suse.de>
49075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49076         <bits/mman-linux.h>.
49077         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49078         is fine.
49079         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49080         <bits/mman-linux.h> to end of file.
49081         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49082         is fine.
49083         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49084         <bits/mman-linux.h> to end of file.
49085         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49086         is fine.
49087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49088         <bits/mman-linux.h> to end of file.
49090         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49091         (MCL_CURRENT, MCL_FUTURE): Define here.
49093 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49095         [BZ #15232]
49096         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49097         attribute_hidden.
49098         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49100 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49102         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49103         fourth parameter needed for rt_sigprocmask syscall.
49104         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49105         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49107         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49108         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49109         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49111 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49113         [BZ #13550]
49114         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49115         comment about bounded pointers.
49116         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49117         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49119 2013-03-04  Andreas Jaeger  <aj@suse.de>
49121         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49122         common definitions.
49124         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49125         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49126         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49127         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49128         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49131 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49133         [BZ #15055]
49134         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49135         __ieee754_sqrl instead of __sqrl.
49137 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49139         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49140         * sysdeps/powerpc/fpu_control.h: ... here.
49141         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49142         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49143         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49144         * sysdeps/powerpc/bits/mathinline.h: ... here.
49146 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49148         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49149         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49150         to just [NEED_DL_SYSINFO_DSO].
49151         * elf/dl-support.c: Likewise.
49152         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49153         * elf/rtld.c (dl_main): Likewise.
49154         * elf/setup-vdso.h (setup_vdso): Likewise.
49155         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49156         * sysdeps/unix/sysv/linux/dl-sysdep.c
49157         (_dl_discover_osversion): Likewise.
49159 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49161         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49162         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49164 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49166         * NEWS: Mention libm performance improvements and non-x86 PI
49167         futex support.
49169         * csu/libc-start.c (__pthread_initialize_minimal): Change
49170         function arguments.
49171         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49173 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49175         [BZ #13550]
49176         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49177         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49178         <bp-sym.h> and <bp-asm.h>.
49179         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49180         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49181         and <bp-asm.h>.
49182         (memcpy): Don't use BP_SYM.
49183         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49184         <bp-asm.h>.
49185         (__mpn_add_n): Don't use BP_SYM.
49186         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49187         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49188         and <bp-asm.h>.
49189         (__mpn_addmul_1): Don't use BP_SYM.
49190         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49191         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49192         <bp-sym.h>.
49193         (_setjmp): Don't use BP_SYM.
49194         (__novmx_setjmp): Likewise.
49195         (__GI__setjmp): Likewise.
49196         (__vmx_setjmp): Likewise.
49197         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49198         <bp-sym.h>.
49199         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49200         (__bzero): Don't use BP_SYM.
49201         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49202         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49203         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49204         <bp-sym.h> and <bp-asm.h>.
49205         (memcpy): Don't use BP_SYM.
49206         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49207         <bp-sym.h> and <bp-asm.h>.
49208         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49209         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49210         <bp-sym.h> and <bp-asm.h>.
49211         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49212         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49213         <bp-asm.h>.
49214         (__mpn_lshift): Don't use BP_SYM.
49215         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49216         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49217         <bp-asm.h>.
49218         (memset): Don't use BP_SYM.
49219         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49220         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49221         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49222         <bp-asm.h>.
49223         (__mpn_mul_1): Don't use BP_SYM.
49224         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49225         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49226         <bp-sym.h> and <bp-asm.h>.
49227         (memcmp): Don't use BP_SYM.
49228         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49229         <bp-sym.h> and <bp-asm.h>.
49230         (memcpy): Don't use BP_SYM.
49231         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49232         <bp-sym.h> and <bp-asm.h>.
49233         (memset): Don't use BP_SYM.
49234         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49235         <bp-sym.h> and <bp-asm.h>.
49236         (strncmp): Don't use BP_SYM.
49237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49238         <bp-sym.h> and <bp-asm.h>.
49239         (memcpy): Don't use BP_SYM.
49240         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49241         <bp-sym.h> and <bp-asm.h>.
49242         (memset): Don't use BP_SYM.
49243         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49244         <bp-sym.h> and <bp-asm.h>.
49245         (__memchr): Don't use BP_SYM.
49246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49247         <bp-sym.h> and <bp-asm.h>.
49248         (memcmp): Don't use BP_SYM.
49249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49250         <bp-sym.h> and <bp-asm.h>.
49251         (memcpy): Don't use BP_SYM.
49252         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49253         <bp-sym.h> and <bp-asm.h>.
49254         (__mempcpy): Don't use BP_SYM.
49255         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49256         <bp-sym.h> and <bp-asm.h>.
49257         (__memrchr): Don't use BP_SYM.
49258         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49259         <bp-sym.h> and <bp-asm.h>.
49260         (memset): Don't use BP_SYM.
49261         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49262         <bp-sym.h> and <bp-asm.h>.
49263         (__rawmemchr): Don't use BP_SYM.
49264         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49265         <bp-sym.h> and <bp-asm.h>.
49266         (__STRCMP): Don't use BP_SYM.
49267         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49268         <bp-sym.h> and <bp-asm.h>.
49269         (strchr): Don't use BP_SYM.
49270         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49271         <bp-sym.h> and <bp-asm.h>.
49272         (__strchrnul): Don't use BP_SYM.
49273         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49274         <bp-sym.h> and <bp-asm.h>.
49275         (strlen): Don't use BP_SYM.
49276         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49277         <bp-sym.h> and <bp-asm.h>.
49278         (strncmp): Don't use BP_SYM.
49279         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49280         <bp-sym.h> and <bp-asm.h>.
49281         (__strnlen): Don't use BP_SYM.
49282         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49283         <bp-asm.h>.
49284         (__mpn_rshift): Don't use BP_SYM.
49285         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49286         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49287         <bp-sym.h> and <bp-asm.h>.
49288         (__sigsetjmp): Don't use BP_SYM.
49289         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49290         (L(start_addresses)): Don't use BP_SYM.
49291         (_start): Likewise.
49292         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49293         <bp-asm.h>.
49294         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49295         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49296         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49297         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49298         <bp-asm.h>.
49299         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49300         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49301         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49302         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49303         <bp-asm.h>.
49304         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49305         comments.
49306         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49307         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49308         <bp-asm.h>.
49309         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49310         FIXME comments.
49311         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49312         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49313         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49314         <bp-asm.h>.
49315         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49316         comment.
49317         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49318         and <bp-asm.h>.
49319         (strncmp): Don't use BP_SYM,
49320         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49321         <bp-asm.h>.
49322         (__mpn_sub_n): Don't use BP_SYM.
49323         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49324         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49325         and <bp-asm.h>.
49326         (__mpn_submul_1): Don't use BP_SYM.
49327         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49329         <bp-sym.h> and <bp-asm.h>.
49330         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49332         <bp-sym.h> and <bp-asm.h>.
49333         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49334         comment.
49336 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49339         Use ZK to minimize writes to Z.
49340         (sub_magnitudes): Simplify code a bit.
49341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49342         Use ZK to minimize writes to Z.
49343         (sub_magnitudes): Simplify code a bit.
49345 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49347         * csu/gmon-start.c: Add special exception to license text.
49349 2013-02-27  Richard Henderson  <rth@redhat.com>
49351         * scripts/config.guess: Update from config.git.
49352         * scripts/config.sub: Likewise.
49354 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49356         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49358         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49360         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49362         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49364         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49366 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49368         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49369         [$(build-shared = yes].
49371 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49373         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49374         (__mul): Reduce iterations for calculating mantissa.
49376         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49377         MPTWO.
49378         (__mpranred): Likewise.
49380         [BZ #15160]
49381         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49382         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49384 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49386         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49387         Define __attribute__.
49389 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49391         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49392         unused.
49393         * posix/regex_internal.h (__attribute): Remove.
49394         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49395         (re_string_context_at): Likewise.
49396         (bitset_not): Use __attribute__ and mark function as possibly
49397         unused.
49398         (bitset_merge): Likewise.
49399         (bitset_mask): Likewise.
49400         (re_string_char_size_at): Likewise.
49401         (re_string_wchar_at): Likewise.
49402         (re_string_elem_size_at): Likewise.
49404 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49406         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49407         code.
49408         (cc32): Likewise.
49410         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49411         (__acr): Likewise.
49412         (__cpy): Likewise.
49413         (norm): Likewise.
49414         (denorm): Likewise.
49415         (__dbl_mp): Likewise.
49416         (add_magnitudes): Likewise.
49417         (sub_magnitudes): Likewise.
49418         (__mul): Likewise.
49419         (__inv): Likewise.
49421         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49422         style.
49424         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49425         style.
49427         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49428         code.
49430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49431         up changes with default code.
49432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49433         Likewise.
49435 2013-02-24  Allan McRae  <allan@archlinux.org>
49437         * manual/socket.texi (The Internet Namespace): Order menu items
49438         to match that in the file.
49440         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49441         node listing of the info page menu.
49443 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49445         [BZ #13550]
49446         * sysdeps/i386/bp-asm.h: Remove file.
49447         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49448         (PARMS): Do not use macros from bp-asm.h.
49449         (S1): Likewise.
49450         (S2): Likewise.
49451         (SIZE): Likewise.
49452         (__mpn_add_n): Do not use BP_SYM
49453         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49454         "bp-asm.h".
49455         (PARMS): Do not use macros from bp-asm.h.
49456         (S1): Likewise.
49457         (SIZE): Likewise.
49458         (__mpn_addmul_1): Do not use BP_SYM
49459         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49460         "bp-asm.h".
49461         (PARMS): Do not use macros from bp-asm.h.
49462         (SIGMSK): Likewise.
49463         (_setjmp): Likewise.  Do not use BP_SYM.
49464         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49465         "bp-asm.h".
49466         (PARMS): Do not use macros from bp-asm.h.
49467         (SIGMSK): Likewise.
49468         (setjmp): Likewise.  Do not use BP_SYM.
49469         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49470         "bp-asm.h".
49471         (PARMS): Do not use macros from bp-asm.h.
49472         (__frexp): Do not use BP_SYM.
49473         (frexp): Likewise.
49474         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49475         "bp-asm.h".
49476         (PARMS): Do not use macros from bp-asm.h.
49477         (__frexpf): Do not use BP_SYM.
49478         (frexpf): Likewise.
49479         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49480         "bp-asm.h".
49481         (PARMS): Do not use macros from bp-asm.h.
49482         (__frexpl): Do not use BP_SYM.
49483         (frexpl): Likewise.
49484         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49485         "bp-asm.h".
49486         (PARMS): Do not use macros from bp-asm.h.
49487         (__remquo): Do not use BP_SYM.
49488         (remquo): Likewise.
49489         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49490         "bp-asm.h".
49491         (PARMS): Do not use macros from bp-asm.h.
49492         (__remquof): Do not use BP_SYM.
49493         (remquof): Likewise.
49494         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49495         "bp-asm.h".
49496         (PARMS): Do not use macros from bp-asm.h.
49497         (__remquol): Do not use BP_SYM.
49498         (remquol): Likewise.
49499         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49500         "bp-asm.h".
49501         (PARMS): Do not use macros from bp-asm.h.
49502         (DEST): Likewise.
49503         (SRC): Likewise.
49504         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49505         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49506         "bp-asm.h".
49507         (PARMS): Do not use macros from bp-asm.h.
49508         (strlen): Do not use BP_SYM.
49509         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49510         "bp-asm.h".
49511         (PARMS): Do not use macros from bp-asm.h.
49512         (S1): Likewise.
49513         (S2): Likewise.
49514         (SIZE): Likewise.
49515         (__mpn_add_n): Do not use BP_SYM.
49516         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49517         "bp-asm.h".
49518         (PARMS): Do not use macros from bp-asm.h.
49519         (S1): Likewise.
49520         (SIZE): Likewise.
49521         (__mpn_addmul_1): Do not use BP_SYM.
49522         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49523         weak_alias.
49524         (bzero): Likewise.
49525         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49526         "bp-asm.h".
49527         (PARMS): Do not use macros from bp-asm.h.
49528         (S): Likewise.
49529         (SIZE): Likewise.
49530         (__mpn_lshift): Do not use BP_SYM.
49531         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49532         "bp-asm.h".
49533         (PARMS): Do not use macros from bp-asm.h.
49534         (DEST): Likewise.
49535         (SRC): Likewise.
49536         (LEN): Likewise.
49537         (memcpy): Likewise.  Do not use BP_SYM.
49538         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49539         libc_hidden_def and weak_alias.
49540         (mempcpy): Do not use BP_SYM in weak_alias.
49541         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49542         "bp-asm.h".
49543         (PARMS): Do not use macros from bp-asm.h.
49544         (DEST): Likewise.
49545         (LEN): Likewise.
49546         [!BZERO_P] (CHR): Likewise.
49547         (memset): Likewise.  Do not use BP_SYM.
49548         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49549         "bp-asm.h".
49550         (PARMS): Do not use macros from bp-asm.h.
49551         (S1): Likewise.
49552         (SIZE): Likewise.
49553         (__mpn_mul_1): Do not use BP_SYM.
49554         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49555         "bp-asm.h".
49556         (PARMS): Do not use macros from bp-asm.h.
49557         (S): Likewise.
49558         (SIZE): Likewise.
49559         (__mpn_rshift): Do not use BP_SYM.
49560         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49561         "bp-asm.h".
49562         (PARMS): Do not use macros from bp-asm.h.
49563         (STR): Likewise.
49564         (CHR): Likewise.
49565         (strchr): Likewise.  Do not use BP_SYM.
49566         (index): Do not use BP_SYM in weak_alias.
49567         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49573         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49574         "bp-asm.h".
49575         (PARMS): Do not use macros from bp-asm.h.
49576         (strlen): Do not use BP_SYM.
49577         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49578         "bp-asm.h".
49579         (PARMS): Do not use macros from bp-asm.h.
49580         (S1): Likewise.
49581         (S2): Likewise.
49582         (SIZE): Likewise.
49583         (__mpn_sub_n): Do not use BP_SYM.
49584         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
49590         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49591         "bp-asm.h".
49592         (PARMS): Do not use macros from bp-asm.h.
49593         (S1): Likewise.
49594         (S2): Likewise.
49595         (SIZE): Likewise.
49596         (__mpn_add_n): Do not use BP_SYM.
49597         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49598         weak_alias.
49599         (bzero): Likewise.
49600         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49601         "bp-asm.h".
49602         (PARMS): Do not use macros from bp-asm.h.
49603         (BLK2): Likewise.
49604         (LEN): Likewise.
49605         (memcmp): Do not use BP_SYM.
49606         (bcmp): Do not use BP_SYM in weak_alias.
49607         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49608         "bp-asm.h".
49609         (PARMS): Do not use macros from bp-asm.h.
49610         (DEST): Likewise.
49611         (SRC): Likewise.
49612         (LEN): Likewise.
49613         (memcpy): Likewise.  Do not use BP_SYM.
49614         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49615         "bp-asm.h".
49616         (PARMS): Do not use macros from bp-asm.h.
49617         (DEST): Likewise.
49618         (SRC): Likewise.
49619         (LEN): Likewise.
49620         (memmove): Likewise.  Do not use BP_SYM.
49621         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49622         "bp-asm.h".
49623         (PARMS): Do not use macros from bp-asm.h.
49624         (DEST): Likewise.
49625         (SRC): Likewise.
49626         (LEN): Likewise.
49627         (__mempcpy): Likewise.  Do not use BP_SYM.
49628         (mempcpy): Do not use BP_SYM in weak_alias.
49629         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49630         "bp-asm.h".
49631         (PARMS): Do not use macros from bp-asm.h.
49632         (DEST): Likewise.
49633         (LEN): Likewise.
49634         [!BZERO_P] (CHR): Likewise.
49635         (memset): Likewise.  Do not use BP_SYM.
49636         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49637         "bp-asm.h".
49638         (PARMS): Do not use macros from bp-asm.h.
49639         (STR2): Likewise.
49640         (strcmp): Do not use BP_SYM.
49641         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49642         "bp-asm.h".
49643         (PARMS): Do not use macros from bp-asm.h.
49644         (STR): Likewise.
49645         (DELIM): Likewise.
49646         [USE_AS_STRTOK_R] (SAVE): Likewise.
49647         (FUNCTION): Likewise.  Do not use BP_SYM.
49648         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49649         aliases.
49650         (strtok_r): Likewise.
49651         (__GI___strtok_r): Likewise.
49652         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49653         (PARMS): Do not use macros from bp-asm.h.
49654         (S): Likewise.
49655         (SIZE): Likewise.
49656         (__mpn_lshift): Do not use BP_SYM.
49657         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49658         (PARMS): Do not use macros from bp-asm.h.
49659         (STR): Likewise.
49660         (CHR): Likewise.
49661         (__memchr): Do not use BP_SYM.
49662         (memchr): Do not use BP_SYM in weak_alias.
49663         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49664         (PARMS): Do not use macros from bp-asm.h.
49665         (BLK2): Likewise.
49666         (LEN): Likewise.
49667         (memcmp): Do not use BP_SYM.
49668         (bcmp): Do not use BP_SYM in weak_alias.
49669         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49670         (PARMS): Do not use macros from bp-asm.h.
49671         (S1): Likewise.
49672         (SIZE): Likewise.
49673         (__mpn_mul_1): Do not use BP_SYM.
49674         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49675         "bp-asm.h".
49676         (PARMS): Do not use macros from bp-asm.h.
49677         (STR): Likewise.
49678         (CHR): Likewise.
49679         (__rawmemchr): Do not use BP_SYM.
49680         (rawmemchr): Do not use BP_SYM in weak_alias.
49681         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49682         (PARMS): Do not use macros from bp-asm.h.
49683         (S): Likewise.
49684         (SIZE): Likewise.
49685         (__mpn_rshift): Do not use BP_SYM.
49686         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49687         (PARMS): Do not use macros from bp-asm.h.
49688         (SIGMSK): Likewise.
49689         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49690         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49691         (_start): Do not use BP_SYM.
49692         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49693         (PARMS): Do not use macros from bp-asm.h.
49694         (DEST): Likewise.
49695         (SRC): Likewise.
49696         (__stpcpy): Likewise.  Do not use BP_SYM.
49697         (stpcpy): Do not use BP_SYM in weak_alias.
49698         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49699         "bp-asm.h".
49700         (PARMS): Do not use macros from bp-asm.h.
49701         (DEST): Likewise.
49702         (SRC): Likewise.
49703         (LEN): Likewise.
49704         (__stpncpy): Likewise.  Do not use BP_SYM.
49705         (stpncpy): Do not use BP_SYM in weak_alias.
49706         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49707         (PARMS): Do not use macros from bp-asm.h.
49708         (STR): Likewise.
49709         (CHR): Likewise.
49710         (strchr): Likewise.  Do not use BP_SYM.
49711         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49712         "bp-asm.h".
49713         (PARMS): Do not use macros from bp-asm.h.
49714         (STR): Likewise.
49715         (CHR): Likewise.
49716         (__strchrnul): Likewise.  Do not use BP_SYM.
49717         (strchrnul): Do not use BP_SYM in weak_alias.
49718         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49719         "bp-asm.h".
49720         (PARMS): Do not use macros from bp-asm.h.
49721         (STOP): Likewise.
49722         (strcspn): Do not use BP_SYM.
49723         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49724         "bp-asm.h".
49725         (PARMS): Do not use macros from bp-asm.h.
49726         (STR): Likewise.
49727         (STOP): Likewise.
49728         (strpbrk): Likewise.  Do not use BP_SYM.
49729         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49730         "bp-asm.h".
49731         (PARMS): Do not use macros from bp-asm.h.
49732         (STR): Likewise.
49733         (CHR): Likewise.
49734         (strrchr): Likewise.  Do not use BP_SYM.
49735         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49736         (PARMS): Do not use macros from bp-asm.h.
49737         (SKIP): Likewise.
49738         (strspn): Do not use BP_SYM.
49739         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49740         (PARMS): Do not use macros from bp-asm.h.
49741         (STR): Likewise.
49742         (DELIM): Likewise.
49743         (SAVE): Likewise.
49744         (FUNCTION): Likewise.  Do not use BP_SYM.
49745         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49746         aliases.
49747         (strtok_r): Likewise.
49748         (__GI___strtok_r): Likewise.
49749         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49750         (PARMS): Do not use macros from bp-asm.h.
49751         (S1): Likewise.
49752         (S2): Likewise.
49753         (SIZE): Likewise.
49754         (__mpn_sub_n): Do not use BP_SYM.
49755         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49756         "bp-asm.h".
49757         (PARMS): Do not use macros from bp-asm.h.
49758         (S1): Likewise.
49759         (SIZE): Likewise.
49760         (__mpn_submul_1): Do not use BP_SYM.
49761         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49762         <bp-sym.h>.
49763         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49764         and <bp-asm.h>.
49765         (PARMS): Do not use macros from bp-asm.h.
49766         (FLAGS): Likewise.
49767         (PTID): Likewise.
49768         (TLS): Likewise.
49769         (CTID): Likewise.
49770         (__clone): Do not use BP_SYM.
49771         (clone): Do not use BP_SYM in weak_alias.
49772         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49773         and <bp-asm.h>.
49774         (PARMS): Do not use macros from bp-asm.h.
49775         (LEN): Likewise.
49776         (__mmap64): Do not use BP_SYM.
49777         (mmap64): Do not use BP_SYM in weak_alias.
49778         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49779         <bp-sym.h> and <bp-asm.h>.
49780         (PARMS): Do not use macros from bp-asm.h.
49781         (__posix_fadvise64_l64): Do not use BP_SYM.
49782         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49783         (PARMS): Do not use macros from bp-asm.h.
49784         (NSOPS): Likewise.
49785         (semtimedop): Do not use BP_SYM.
49786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49787         and <bp-asm.h>.
49789 2013-02-21  Allan McRae  <allan@archlinux.org>
49791         * manual/message.texi (Charset conversion in gettext):
49792         Move @end statement to beginning of line.
49794 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49797         static.
49798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49799         Likewise.
49801         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49802         (denorm): Likewise.
49803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49806 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49808         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49809         tail-call to the resolved function if pltexit isn't needed.
49811 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49814         or Y being zero as being unlikely.
49815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49816         Likewise.
49818 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49820         * manual/nss.texi (System Databases and Name Service Switch):
49821         Remove frobnicate @pxref.
49823 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49825         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49826         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49828 2013-02-20  Petr Machata  <pmachata@redhat.com>
49830         * elf/elf.h (R_ARM_TARGET1): New macro.
49831         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49832         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49833         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49834         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49835         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49836         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49837         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49838         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49839         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49840         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49841         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49842         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49843         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49844         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49845         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49846         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49847         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49848         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49849         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49850         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49851         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49852         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49853         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49854         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49855         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49856         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49857         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49858         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49859         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49860         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49861         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49862         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49863         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49864         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49865         (R_ARM_THM_GOT_BREL12): Likewise.
49866         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49867         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49868         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49869         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49870         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49871         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49872         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49873         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49874         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49876 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49878         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49879         __attribute_used__ to __attribute__ ((unused)).
49881 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49883         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49884         powerpc mpa.c.
49885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49886         comment formatting.
49887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49889 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49891         [BZ #13550]
49892         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49893         Remove macro.
49894         (ENTER): Remove both macro definitions.
49895         (LEAVE): Likewise.
49896         (CHECK_BOUNDS_LOW): Likewise.
49897         (CHECK_BOUNDS_HIGH): Likewise.
49898         (CHECK_BOUNDS_BOTH): Likewise.
49899         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49900         (RETURN_BOUNDED_POINTER): Likewise.
49901         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49902         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49903         (POP_ERRNO_LOCATION_RETURN): Likewise.
49904         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49905         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49906         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49907         macros.
49908         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49909         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49910         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49911         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49912         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49913         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49914         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49915         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49916         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49917         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49918         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49919         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49920         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49921         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49922         removed macros.
49923         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49924         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49925         macros.
49926         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49927         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49928         * sysdeps/i386/i586/memset.S (memset): Likewise.
49929         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49930         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49931         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49932         macros.
49933         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49934         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49935         Change uses of L(2) to L(out).
49936         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49937         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49938         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49939         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49940         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49941         removed macros.
49942         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49943         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49944         macros.
49945         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49946         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49947         (RETURN): Do not use macro LEAVE.
49948         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49949         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49950         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49951         * sysdeps/i386/i686/memset.S (memset): Likewise.
49952         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49953         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49954         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49955         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49956         Likewise.
49957         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49958         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49959         L(1_2) and L(1_3) into L(1).
49960         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49961         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49962         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49963         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49964         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49965         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49966         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49967         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49968         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49969         macros.
49970         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49972         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49973         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49974         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49975         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49976         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49977         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49978         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49979         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49980         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49981         * sysdeps/i386/strspn.S (strspn): Likewise.
49982         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49983         conditional code.
49984         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49985         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49986         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49987         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49988         L(1_3) into L(1_1).
49989         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49990         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49991         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49992         macros.
49993         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49995 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49997         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49998         macro.
50000 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50002         * math/atest-exp.c (exp_mpn): Remove ROUND.
50003         * math/atest-exp2.c (exp_mpn): Likewise.
50004         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50006         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50007         * stdlib/tst-tls-atexit-lib.c: Likewise.
50008         * stdlib/tst-tls-atexit.c: Likewise.
50010 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50012         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50013         and __attribute_alloc_size__.
50015 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50017         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50018         __attribute_alloc_size__.
50019         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50020         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50022 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50024         * include/programs/xmalloc.h: New file.
50025         * catgets/gencat.c: Include it.
50026         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50027         * elf/pldd.c: Likewise.
50028         * iconv/iconv_charmap.c: Likewise.
50029         * iconv/iconvconfig.c: Likewise.
50030         * iconv/strtab.c: Likewise.
50031         * locale/programs/locale.c: Likewise.
50032         * locale/programs/localedef.h: Likewise.
50033         * locale/programs/simple-hash.c: Likewise.
50034         * nscd/nscd.h: Likewise.
50035         * nss/makedb.c: Likewise.
50036         * sysdeps/generic/ldconfig.h: Likewise.
50038 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50040         * Versions.def: Add GLIBC_2.18.
50041         * include/link.h (struct link_map): New member l_tls_dtor_count.
50042         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50043         (__call_tls_dtors): Likewise.
50044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50045         __cxa_thread_atexit_impl.
50046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50047         Likewise.
50048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50049         Likewise.
50050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50051         Likewise.
50052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50053         Likewise.
50054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50056         Likewise.
50057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50058         Likewise.
50059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50061         Likewise.
50062         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50063         (tests): Add test case tst-tls-atexit.
50064         (modules-names): Add shared library for tst-tls-atexit.
50065         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50066         (GLIBC_PRIVATE): Add __call_tls_dtors.
50067         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50068         for libstdc++.
50069         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50070         * stdlib/tst-tls-atexit.c: New test case.
50071         * stdlib/tst-tls-atexit-lib.c: New test case.
50073         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50075         * elf/Versions (ld): Add _dl_find_dso_for_object.
50076         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50077         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50078         (dl_open_worker): Use _dl_find_dso_for_object.
50079         * elf/dl-sym.c (do_sym): Likewise.
50080         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50082 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50084         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50085         Syntactic changes only.
50086         (_dl_runtime_profile): Do a tail-call to the resolved function.
50088 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50090         [BZ #13550]
50091         * sysdeps/x86_64/bp-asm.h: Remove file.
50092         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50093         <bp-sym.h> and <bp-asm.h>.
50094         (__clone): Do not use BP_SYM.
50095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50096         <bp-sym.h> and <bp-asm.h>.
50097         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50098         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50099         "bp-asm.h".
50100         (_setjmp): Do not use BP_SYM.
50101         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50102         "bp-asm.h".
50103         (setjmp): Do not use BP_SYM.
50104         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50105         libc_hidden_def.
50106         (mempcpy): Do not use BP_SYM in weak_alias.
50107         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50108         "bp-asm.h".
50109         (strchr): Do not use BP_SYM.
50110         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50111         "bp-asm.h".
50112         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50113         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50114         (_start): Do not use BP_SYM.
50115         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50116         "bp-asm.h".
50117         (strcat): Do not use BP_SYM.
50118         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50119         "bp-asm.h".
50120         (STRCMP): Do not use BP_SYM.
50121         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50122         "bp-asm.h".
50123         (STRCPY): Do not use BP_SYM.
50124         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50125         "bp-asm.h".
50126         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50127         "bp-asm.h".
50128         (FUNCTION): Do not use BP_SYM.
50129         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50130         weak_alias.
50131         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50133 2013-02-17  Andreas Jaeger  <aj@suse.de>
50135         * time/Versions: Sort entries.
50136         * string/Versions: Likewise.
50137         * resolv/Versions: Likewise.
50138         * posix/Versions: Likewise.
50139         * iconv/Versions: Likewise.
50140         * elf/Versions: Likewise.
50141         * wcsmbs/Versions: Likewise.
50143 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50145         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50146         loop termination condition.
50148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50149         variable to calculate EZ.
50150         (__sqr): Likewise.
50152         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50153         the lower precision input.
50155 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50157         [BZ #13550]
50158         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50159         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50160         (run-via-rtld-prefix): Do not handle %-bp tests.
50161         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50162         (all-object-suffixes): Remove .ob.
50163         (bppfx): Remove variable.
50164         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50165         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50166         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50167         [$(build-bounded) = yes] (libtype.ob): Likewise.
50168         * Makerules (elide-routines.ob): Remove variable.
50169         (do-tests-clean): Do not handle *-bp.out.
50170         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50171         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50172         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50173         (tests): Do not include $(tests-bp.out).
50174         (xtests): Do not include $(xtests-bp.out).
50175         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50176         [$(build-bounded) = yes] ($(addprefix
50177         $(objpfx),$(binaries-bounded))): Remove rule.
50178         ($(objpfx)%-bp.out): Remove rule.
50179         * config.make.in (build-bounded): Remove variable.
50180         * crypt/Makefile [$(build-bounded) = yes]
50181         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50182         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50183         append to variable.
50184         [$(build-bounded) = yes] (install-lib): Likewise.
50185         [$(build-bounded) = yes] (generated): Likewise.
50186         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50187         Remove rule.
50188         * intl/Makefile [$(build-bounded) = yes]
50189         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50190         * math/Makefile [$(build-bounded) = yes]
50191         ($(tests:%=$(objpfx)%-bp): Likewise.
50192         * misc/Makefile [$(build-bounded) = yes]
50193         ($(objpfx)tst-tsearch-bp): Likewise.
50194         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50195         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50196         Remove dependency.
50197         * string/Makefile (o-objects.ob): Remove variable.
50198         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50199         (CFLAGS-.ob): Remove variable.
50200         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50201         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50202         both definitions of variable.
50203         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50204         (ASFLAGS-.ob): Remove variable.
50206 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50208         [BZ #13550]
50209         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50210         Remove __BOUNDED_POINTERS__ from condition.
50211         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50212         * string/bits/string2.h [!__NO_STRING_INLINES &&
50213         !__BOUNDED_POINTERS__]: Likewise.
50214         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50215         Likewise.
50216         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50217         Remove conditional code.
50218         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50219         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50220         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50221         condition.
50223         [BZ #13550]
50224         * csu/libc-start.c: Do not include <bp-sym.h>.
50225         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50226         * elf/dl-open.c: Do not include <bp-sym.h>.
50227         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50228         * math/fegetenv.c: Do not include <bp-sym.h>.
50229         (fegetenv): Do not use BP_SYM in versioned symbols.
50230         * nptl/sysdeps/pthread/bits/libc-lockP.h
50231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50232         <bp-sym.h>.
50233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50234         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50236         (__pthread_mutex_destroy): Likewise.
50237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50238         (__pthread_mutex_lock): Likewise.
50239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50240         (__pthread_mutex_trylock): Likewise.
50241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50242         (__pthread_mutex_unlock): Likewise.
50243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50244         (__pthread_mutexattr_init): Likewise.
50245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50246         (__pthread_mutexattr_destroy): Likewise.
50247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50248         (__pthread_mutexattr_settype): Likewise.
50249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50250         (__pthread_rwlock_init): Likewise.
50251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50252         (__pthread_rwlock_destroy): Likewise.
50253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50254         (__pthread_rwlock_rdlock): Likewise.
50255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50256         (__pthread_rwlock_tryrdlock): Likewise.
50257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50258         (__pthread_rwlock_wrlock): Likewise.
50259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50260         (__pthread_rwlock_trywrlock): Likewise.
50261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50262         (__pthread_rwlock_unlock): Likewise.
50263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50264         (__pthread_key_create): Likewise.
50265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50266         (__pthread_setspecific): Likewise.
50267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50268         (__pthread_getspecific): Likewise.
50269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50270         Likewise.
50271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50272         (_pthread_cleanup_push_defer): Likewise.
50273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50274         (_pthread_cleanup_pop_restore): Likewise.
50275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50276         (pthread_setcancelstate): Likewise.
50277         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50278         <bp-sym.h>.
50279         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50280         (memchr): Do not use BP_SYM in weak_alias.
50281         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50282         (fegetenv): Do not use BP_SYM in versioned symbols.
50283         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50284         (fesetenv): Do not use BP_SYM in versioned symbols.
50285         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50286         (feupdateenv): Do not use BP_SYM in versioned symbols.
50287         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50288         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50289         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50290         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50291         (open64): Do not use BP_SYM in weak_alias.
50292         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50293         (fegetenv): Do not use BP_SYM in versioned symbols.
50294         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50295         (fesetenv): Do not use BP_SYM in versioned symbols.
50296         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50297         (feupdateenv): Do not use BP_SYM in versioned symbols.
50298         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50299         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50300         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50301         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50302         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50303         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50304         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50305         <bp-sym.h>.
50306         (__libc_start_main): Do not use BP_SYM.
50308 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50311         redundant return line.
50312         (norm): Likewise.
50313         (denorm): Likewise.
50314         (dbl_mp): Likewise.
50315         (sub_magnitudes): Likewise.
50316         (__add): Likewise.
50317         (__sub): Likewise.
50318         (__mul): Likewise.
50319         (__inv): Likewise.
50320         (__dvd): Likewise.
50321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50322         (norm): Likewise.
50323         (denorm): Likewise.
50324         (dbl_mp): Likewise.
50325         (sub_magnitudes): Likewise.
50326         (__add): Likewise.
50327         (__sub): Likewise.
50328         (__mul): Likewise.
50329         (__inv): Likewise.
50330         (__dvd): Likewise.
50332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50333         instead of __mul.
50334         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50335         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50336         (cc32): Likewise.
50338         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50339         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50341         of __mul for squares.
50342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50343         function
50344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50345         Likewise.
50346         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50347         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50349 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50351         [BZ #13550]
50352         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50353         code.
50354         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50355         prototype or function definition.  Rename ubp_* variables and
50356         parameters.  Remove argv definitions conditional on
50357         [__BOUNDED_POINTERS__].
50358         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50359         * elf/dl-runtime.c (_dl_fixup): Likewise.
50360         * include/set-hooks.h (RUN_HOOK): Likewise.
50361         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50362         definition.
50363         * string/strcpy.c (strcpy): Do not use __unbounded.
50364         * sysdeps/generic/frame.h (struct layout): Likewise.
50365         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50366         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50367         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50368         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50369         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50370         (__backtrace): Likewise.
50371         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50372         use __ptrvalue.
50373         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50374         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50375         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50376         Likewise.
50377         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50378         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50379         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50380         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50381         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50382         Do not use __unbounded.
50383         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50384         Rename __unboundedrlimits parameter to rlimits in prototype.
50385         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50386         Do not use __unbounded.
50387         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50388         not use __ptrvalue.
50389         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50390         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50391         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50392         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50393         __ptrvalue or __unbounded.
50394         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50395         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50396         use __unbounded.
50397         (__new_msgctl): Do not use __ptrvalue.
50398         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50399         __unbounded.
50400         (__libc_msgrcv): Do not use __ptrvalue.
50401         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50402         startup_info): Do not use __unbounded.
50403         (__libc_start_main): Likewise.  Rename ubp_* variables and
50404         parameters.  Remove argv definitions conditional on
50405         [__BOUNDED_POINTERS__].
50406         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50407         __ptrvalue.
50408         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50409         use __unbounded.
50410         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50411         or __ptrvalue.
50412         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50413         use __unbounded.
50414         (__new_shmctl): Do not use __ptrvalue.
50415         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50416         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50417         Likewise.
50418         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50420         (__libc_sigaction): Likewise.
50421         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50423         Likewise.
50424         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50426 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50428         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50430         * string/mempcpy.c: Implement by calling memcpy.
50432 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50437         evaluation.
50439         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50440         values in the mantissa.
50442         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50443         minimize writes to Z.
50444         (sub_magnitudes): Simplify code a bit.
50446 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50448         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50449         from the message.  The linker prefixes all warnings with that already.
50451 2013-02-12  Andreas Schwab  <schwab@suse.de>
50453         [BZ #15078]
50454         * posix/regexec.c (extend_buffers): Add parameter min_len.
50455         (check_matching): Pass minimum needed length.
50456         (clean_state_log_if_needed): Likewise.
50457         (get_subexp): Likewise.
50458         * posix/Makefile (tests): Add bug-regex34.
50459         (bug-regex34-ENV): Define.
50460         * posix/bug-regex34.c: New file.
50462         [BZ #11561]
50463         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50464         elements compare against the byte sequence of it, not its name.
50465         * posix/Makefile (tests): Add bug-regex35.
50466         (bug-regex35-ENV): Define.
50467         * posix/bug-regex35.c: New file.
50469 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50471         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50472         comment.
50473         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50474         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50475         (CHECK_EOL): Add undef.
50477 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50479         * bits/stdlib-bsearch.h: New file.
50480         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50481         * stdlib/stdlib.h: Likewise.
50483 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50485         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50486         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50487         declaration.
50488         * manual/search.texi (Array Search Function): Add missing const in
50489         lfind prototype.
50490         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50491         declaration to use rlim_t.
50492         (Basic Scheduling Functions): Remove erroneous const from
50493         sched_getparam prototype.  Remove erroneous * from
50494         sched_get_priority_max and sched_get_priority_min prototypes.
50495         (Resource Usage): Fix summary @comment on vtimes to refer to
50496         sys/vtimes.h rather than vtimes.h.
50497         Add missing *s in vtimes prototype.
50498         (Limits on Resources): Fix ulimit prototype to return long int.
50499         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50500         prototypes to use long int rather than double.
50501         (BSD Random): Fix initstate and setstate to use char *, not void *.
50502         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50503         prototype to make second argument 'struct aiocb64 *const[]'.
50504         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50505         (Status of AIO Operations): Remove erroneous const in aio_return and
50506         aio_return64 prototypes.
50507         (Synchronizing I/O): Fix sync prototype to return void.
50508         * manual/startup.texi (Suboptions): Remove an erroneous const in
50509         getsubopt prototype.
50510         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50511         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50512         use size_t rather than int.
50513         (Scanning All Users): Likewise for getpwent_r.
50514         (Setting Groups): Add missing const to setgroups prototype.
50515         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50516         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50517         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50518         'const void *' rather than 'const char *'.
50519         (Host Address Functions): Likewise for inet_ntop.
50520         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50521         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50522         ssize_t for return value.
50523         (Sending Data): Likewise for send, sendto, sendmsg.
50524         (Socket Option Functions): Add a missing const in setsockopt prototype.
50525         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50526         use wchar_t for the argument.
50527         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50528         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50529         take no arguments.
50530         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50531         double/float/long double for second argument.
50532         Fix return types of significand, significandf, significandl.
50533         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50534         argument in fchmod prototype.
50535         (File Owner): Use uid_t and gid_t in fchown prototype.
50536         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50537         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50538         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50539         use 'const struct dirent **' as argument types to CMP function pointer
50540         argument.
50541         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50542         (File Times): Fix summary magic @comment for struct utimbuf and utime
50543         to refer to utime.h, not time.h.
50544         * manual/string.texi (Argz Functions): Add missing const in
50545         argz_extract and argz_next prototypes.
50546         (Finding Tokens in a String): Likewise for basename.
50547         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50548         (Copying and Concatenation): Fix typo in wmemmove prototype.
50549         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50550         (Signal Stack): Remove erroneous const in sigstack prototype.
50551         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50552         prototype.
50553         (Simple Calendar Time): Likewise for stime.
50554         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50555         prototype.
50556         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50557         say sys/sysctl.h instead.
50558         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50559         and vsyslog prototypes.
50561 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50563         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50564         Remove.
50566 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50568         * misc/sys/mman.h: Fix typo in mremap comment.
50570 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50572         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50573         the '\0' terminator.
50575 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50577         [BZ #13550]
50578         * debug/segfault.c: Don't include <bp-checks.h>.
50579         * sysdeps/generic/bp-checks.h: Remove file.
50580         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50581         (__GETDENTS): Don't use CHECK_N.
50582         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50583         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50584         (__getgroups): Don't use CHECK_N.
50585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50586         (setgroups): Don't use CHECK_N.
50587         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50588         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50589         (__libc_msgrcv): Don't use CHECK_N.
50590         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50591         (__libc_msgsnd): Don't use CHECK_N.
50592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50593         <bp-checks.h>.
50594         (__libc_pread): Don't use CHECK_N.
50595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50596         include <bp-checks.h>.
50597         (__libc_pread64): Don't use CHECK_N.
50598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50599         include <bp-checks.h>.
50600         (__libc_pwrite): Don't use CHECK_N.
50601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50602         include <bp-checks.h>.
50603         (__libc_pwrite64): Don't use CHECK_N.
50604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50605         <bp-checks.h>.
50606         (__libc_pread): Don't use CHECK_N.
50607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50608         include <bp-checks.h>.
50609         (__libc_pread64): Don't use CHECK_N.
50610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50611         include <bp-checks.h>.
50612         (__libc_pwrite): Don't use CHECK_N.
50613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50614         include <bp-checks.h>.
50615         (__libc_pwrite64): Don't use CHECK_N.
50616         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50617         (do_pread): Don't use CHECK_N.
50618         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50619         (do_pread64): Don't use CHECK_N.
50620         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50621         (do_pwrite): Don't use CHECK_N.
50622         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50623         (do_pwrite64): Don't use CHECK_N.
50624         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50625         (__libc_readv): Don't use CHECK_N.
50626         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50627         (semop): Don't use CHECK_N.
50628         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50629         <bp-checks.h>.
50630         (semtimedop): Don't use CHECK_N.
50631         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50632         (__libc_pread): Don't use CHECK_N.
50633         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50634         <bp-checks.h>.
50635         (__libc_pread64): Don't use CHECK_N.
50636         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50637         <bp-checks.h>.
50638         (__libc_pwrite): Don't use CHECK_N.
50639         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50640         <bp-checks.h>.
50641         (__libc_pwrite64): Don't use CHECK_N.
50642         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50643         <bp-checks.h>.
50644         (__libc_msgrcv): Don't use CHECK_N.
50645         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50646         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50647         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50648         (__libc_writev): Don't use CHECK_N.
50650 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50652         * string/strcpy.c: Removed unused variable.
50654         * Makeconfig (+sysdep-includes): Define with := rather than =.
50655         Use an existing include/ subdir of each sysdeps dir before it.
50657 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50659         * nscd/connection.c (register_traced_file): Comment function.
50660         [HAVE_INOTIFY] (union __inev): Define.
50661         [HAVE_INOTIFY] (inotify_check_files): New function.
50662         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50663         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50664         clear_db_cache.
50665         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50667 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50669         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50670         loaded if not already and that a failure is permanent.
50672 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50674         [BZ #15006]
50675         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50676         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50678 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50680         [BZ #13550]
50681         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50682         (CHECK_1_NULL_OK): Likewise.
50683         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50684         (__fxstat): Do not use CHECK_1.
50685         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50686         <bp-checks.h>.
50687         (___fxstat64): Do not use CHECK_1.
50688         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50689         <bp-checks.h>.
50690         (__fxstatat): Do not use CHECK_1.
50691         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50692         <bp-checks.h>.
50693         (__fxstatat64): Do not use CHECK_1.
50694         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50695         <bp-checks.h>.
50696         (__fxstat): Do not use CHECK_1.
50697         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50698         <bp-checks.h>.
50699         (__fxstatat): Do not use CHECK_1.
50700         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50701         <bp-checks.h>.
50702         (__getresgid): Do not use CHECK_1.
50703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50704         <bp-checks.h>.
50705         (__getresuid): Do not use CHECK_1.
50706         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50707         <bp-checks.h>.
50708         (__lxstat): Do not use CHECK_1.
50709         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50710         <bp-checks.h>.
50711         (__old_msgctl): Do not use CHECK_1.
50712         (__new_msgctl): Likewise.
50713         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50714         <bp-checks.h>.
50715         (__new_setrlimit): Do not use CHECK_1.
50716         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50717         <bp-checks.h>.
50718         (__old_shmctl): Do not use CHECK_1.
50719         (__new_shmctl): Likewise.
50720         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50721         <bp-checks.h>.
50722         (__xstat): Do not use CHECK_1.
50723         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50724         (__lxstat): Do not use CHECK_1.
50725         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50726         <bp-checks.h>.
50727         (___lxstat64): Do not use CHECK_1.
50728         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50729         (__old_msgctl): Do not use CHECK_1.
50730         (__new_msgctl): Likewise.
50731         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50732         <bp-checks.h>.
50733         (__gettimeofday): Do not use CHECK_1.
50734         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50735         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50736         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50737         <bp-checks.h>.
50738         (__gettimeofday): Do not use CHECK_1.
50739         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50740         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50741         (__new_shmctl): Do not use CHECK_1.
50742         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50743         <bp-checks.h>.
50744         (do_sigtimedwait): Do not use CHECK_1.
50745         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50746         <bp-checks.h>.
50747         (do_sigwaitinfo): Do not use CHECK_1.
50748         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50749         <bp-checks.h>.
50750         (msgctl): Do not use CHECK_1.
50751         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50752         <bp-checks.h>.
50753         (shmctl): Do not use CHECK_1.
50754         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50755         (ustat): Do not use CHECK_1.
50756         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50757         <bp-checks.h>.
50758         (__fxstat): Do not use CHECK_1.
50759         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50760         <bp-checks.h>.
50761         (__fxstatat): Do not use CHECK_1.
50762         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50763         <bp-checks.h>.
50764         (__lxstat): Do not use CHECK_1.
50765         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50766         <bp-checks.h>.
50767         (__xstat): Do not use CHECK_1.
50768         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50769         (__xstat): Do not use CHECK_1.
50770         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50771         (___xstat64): Do not use CHECK_1.
50773         [BZ #13550]
50774         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50775         definitions.
50776         (CHECK_BOUNDS_HIGH): Likewise.
50777         * string/strcpy.c: Do not include <bp-checks.h>.
50778         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50780 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50782         * nscd/nscd-client.h (__nscd_drop_map_ref):
50783         Add __attribute__ ((unused)).
50784         * nis/nss-nisplus.h (niserr2nss): Likewise.
50786         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50787         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50789         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50790         Remove inline keyword.
50791         * include/rounding-mode.h (round_away): Likewise.
50792         * libio/wfileops.c (adjust_wide_data): Likewise.
50793         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50794         (__m128i_strloadu_tolower): Likewise.
50795         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50796         (__m128i_strloadu_tolower): Likewise.
50797         * time/mktime.c (ydhms_diff): Likewise.
50798         * locale/elem-hash.h (elem_hash): Likewise.
50799         * locale/setlocale.c (setdata): Likewise.
50800         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50801         (re_string_wchar_at): Likewise.
50802         (bitset_not, bitset_merge, bitset_mask): Likewise.
50803         [!(__GNUC__ > 3)] (inline): Remove macro.
50804         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50805         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50806         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50807         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50808         * string/memcmp.c (memcmp_bytes): Likewise.
50809         * locale/programs/locarchive.c (compute_hashval): Likewise.
50810         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50811         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50812         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50813         * nss/getent.c (print_rpc, print_protocols): Likewise.
50814         (print_passwd, print_group, print_aliases): Likewise.
50815         * nis/nss-nisplus.h (niserr2nss): Likewise.
50816         * nscd/connections.c (restart_p): Likewise.
50817         Change return type to bool.
50819 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50821         * Makeconfig (all-Depend-files): Add existing
50822         $(sorted-subdirs:=/Depend) files.
50823         (all-subdirs): Remove nss.
50824         * sysdeps/unix/inet/Subdirs: Add it here instead.
50825         * hesiod/Depend: New file.
50827         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50828         instead of calling alloca.
50830         * io/lseek.c (__lseek): Rename to __libc_lseek.
50831         Define __lseek as an alias.
50833         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50835 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50837         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50838         else clause and remove check for non-standard endianness.
50840 2013-02-04  David S. Miller  <davem@davemloft.net>
50842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50844 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50846         [BZ #13550]
50847         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50848         (__ubp_memchr): Remove prototype.
50849         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50850         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50851         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50852         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50853         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50854         Remove alias.
50855         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50856         (__ubp_memchr): Likewise.
50857         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50858         (__ubp_memchr): Likewise.
50859         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50860         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50861         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50862         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50863         CHECK_STRING.
50864         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50865         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50866         (__getcwd): Do not use CHECK_STRING.
50867         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50868         <bp-checks.h>.
50869         (__real_chown): Do not use CHECK_STRING.
50870         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50871         <bp-checks.h>.
50872         (fchownat): Do not use CHECK_STRING.
50873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50874         CHECK_STRING.
50875         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50876         <bp-checks.h>.
50877         (__lchown): Do not use CHECK_STRING.
50878         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50879         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50880         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50881         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50883         include <bp-checks.h>.
50884         (truncate64): Do not use CHECK_STRING.
50885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50886         <bp-checks.h>.
50887         (__real_chown): Do not use CHECK_STRING.
50888         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50889         <bp-checks.h>.
50890         (__lchown): Do not use CHECK_STRING.
50891         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50892         <bp-checks.h>.
50893         (__chown): Do not use CHECK_STRING.
50894         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50895         <bp-checks.h>.
50896         (truncate64): Do not use CHECK_STRING.
50897         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50898         Likewise.
50899         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50900         (__xmknod): Do not use CHECK_STRING.
50901         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50902         <bp-checks.h>.
50903         (__xmknodat): Do not use CHECK_STRING.
50904         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50905         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50907 2013-02-04  Andreas Schwab  <schwab@suse.de>
50909         [BZ #14142]
50910         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50911         * include/netdb.h: Likewise for h_errno.
50912         * elf/tst-stackguard1.c: Include <tls.h>.
50914 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50916         * elf/link.h (struct link_map): Extend the l_addr comment.
50917         * include/link.h (struct link_map): Likewise.
50919 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50921         [BZ #13550]
50922         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50923         (BOUNDED_1): Remove macro.
50924         * debug/backtrace.c: Don't include <bp-checks.h>.
50925         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50926         (__backtrace): Likewise.
50927         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50928         <bp-checks.h>.
50929         (__backtrace): Don't use BOUNDED_1.
50930         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50931         <bp-checks.h>.
50932         (__backtrace): Don't use BOUNDED_1.
50933         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50934         (__backtrace): Don't use BOUNDED_1.
50935         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50936         (shmat): Don't use BOUNDED_N.
50938 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50940         [BZ #13550]
50941         * sysdeps/generic/bp-start.h: Remove file.
50942         * csu/libc-start.c: Don't include <bp-start.h>.
50943         (LIBC_START_MAIN): Set up __environ directly instead of using
50944         INIT_ARGV_and_ENVIRON.
50945         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50946         <bp-start.h>.
50948         [BZ #13550]
50949         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50950         definitions.
50951         (CHECK_FCNTL): Likewise.
50952         (CHECK_N_PAGES): Likewise.
50954         [BZ #13550]
50955         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50956         definitions.
50957         (CHECK_SIGSET_NULL_OK): Likewise.
50958         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50959         <bp-checks.h>.
50960         (sigpending): Don't use CHECK_SIGSET.
50961         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50962         <bp-checks.h>.
50963         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50964         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50965         <bp-checks.h>.
50966         (do_sigsuspend): Don't use CHECK_SIGSET.
50967         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50968         use CHECK_SIGSET.
50969         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50970         (do_sigwait): Don't use CHECK_SIGSET.
50971         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50972         use CHECK_SIGSET.
50973         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50974         include <bp-checks.h>.
50975         (sigpending): Don't use CHECK_SIGSET.
50976         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50977         include <bp-checks.h>.
50978         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50979         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50980         <bp-checks.h>.
50981         (sigpending): Don't use CHECK_SIGSET.
50982         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50983         <bp-checks.h>.
50984         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50986         [BZ #13550]
50987         * sysdeps/generic/bp-semctl.h: Remove file.
50988         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50989         <bp-checks.h> and <bp-semctl.h>.
50990         (__old_semctl): Don't use CHECK_SEMCTL.
50991         (__new_semctl): Likewise.
50992         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50993         and <bp-semctl.h>.
50994         (__old_semctl): Don't use CHECK_SEMCTL.
50995         (__new_semctl): Likewise.
50996         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50997         <bp-checks.h> and <bp-semctl.h>.
50998         (__old_semctl): Don't use CHECK_SEMCTL.
50999         (__new_semctl): Likewise.
51000         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51001         <bp-checks.h> and <bp-semctl.h>.
51002         (semctl): Don't use CHECK_SEMCTL.
51004         [BZ #13550]
51005         * Makerules (elide-bp-thunks): Remove variable.
51006         (elide-routines.oS): Don't use $(elide-bp-thunks).
51007         (elide-routines.os): Likewise.
51008         (elide-routines.o): Likewise.
51009         (elide-routines.op): Likewise.
51010         (elide-routines.og): Likewise.
51011         (objects): Don't use $(bp-thunks).
51012         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51013         include.
51014         (common-generated): Do not add s-proto-bp.d.
51015         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51016         (int): Likewise.
51017         (typ): Likewise.
51018         Do not generate makefile rules for bounded-pointer thunks.
51019         * sysdeps/generic/bp-thunks.h: Remove file.
51020         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51021         * sysdeps/unix/s-proto-bp.S: Likewise.
51023         [BZ #15062]
51024         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51025         parts of result separately when argument is not close to line from
51026         -i to i and one part of argument is small.
51027         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51028         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51029         * math/libm-test.inc (cacos_test): Add more tests.
51030         (casin_test): Likewise.
51031         (casinh_test): Likewise.
51032         * sysdeps/i386/fpu/libm-test-ulps: Update.
51033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51035 2013-01-31  David S. Miller  <davem@davemloft.net>
51037         * po/de.po: Update from translation team.
51039 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51041         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51043 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51045         * configure.in (_AC_PROG_CC_C89): New definition.
51046         * configure: Regenerate.
51048         * configure.in (AC_PROG_CPP): New definition.
51049         * configure: Regenerate.
51051 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51053         * debug/tst-backtrace.h: New file.
51054         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51055         (ret): Remove variable.
51056         (x): Likewise.
51057         (FAIL): Remove macro.
51058         (NO_INLINE): Likewise.
51059         (fn1): Use match function instead of strstr.
51060         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51061         (ret): Remove variable.
51062         (x): Likewise.
51063         (FAIL): Remove macro.
51064         (NO_INLINE): Likewise.
51065         (fn): Use match function instead of strstr.
51066         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51067         (ret): Remove variable.
51068         (x): Likewise.
51069         (FAIL): Remove macro.
51070         (NO_INLINE): Likewise.
51071         (handle_signal): Use match function instead of strstr.
51072         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51073         (ret): Remove variable.
51074         (x): Likewise.
51075         (FAIL): Remove macro.
51076         (NO_INLINE): Likewise.
51077         (handle_signal): Use match function instead of strstr.
51079 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51081         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51083 2013-01-23  David S. Miller  <davem@davemloft.net>
51085         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51086         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51087         argument of CAS if possible.
51088         * sysdeps/sparc/sparc64/bits/atomic.h
51089         (__arch_compare_and_exchange_val_32_acq): Likewise.
51090         (__arch_compare_and_exchange_val_64_acq): Likewise.
51092 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51094         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51095         * sysdeps/posix/ulimit.c: ... this.
51096         Include <limits.h>.
51097         * sysdeps/unix/bsd/ulimit.c: Remove file.
51099 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51101         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51102         (LDFLAGS-tst-array5): Likewise.
51104 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51106         [BZ #15036]
51107         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51108         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51109         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51110         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51112 2013-01-21  David S. Miller  <davem@davemloft.net>
51114         * sysdeps/sparc/backtrace.c: New file.
51115         * sysdeps/sparc/sparc32/backtrace.h: New file.
51116         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51117         * sysdeps/sparc/sparc64/backtrace.h: New file.
51118         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51119         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51120         -funwind-tables.
51122 2013-01-21  Andreas Schwab  <schwab@suse.de>
51124         [BZ #15020]
51125         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51126         closed its stdout.
51128 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51131         "mpa2.h".
51132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51134 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51135             Mark Mitchell  <mark@codesourcery.com>
51136             Tom de Vries  <tom@codesourcery.com>
51137             Paul Pluzhnikov  <ppluzhnikov@google.com>
51139         * debug/tst-backtrace2.c: New file.
51140         * debug/tst-backtrace3.c: Likewise.
51141         * debug/tst-backtrace4.c: Likewise.
51142         * debug/tst-backtrace5.c: Likewise.
51143         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51144         (CFLAGS-tst-backtrace3.c): Likewise.
51145         (CFLAGS-tst-backtrace4.c): Likewise.
51146         (CFLAGS-tst-backtrace5.c): Likewise.
51147         (LDFLAGS-tst-backtrace2): Likewise.
51148         (LDFLAGS-tst-backtrace3): Likewise.
51149         (LDFLAGS-tst-backtrace4): Likewise.
51150         (LDFLAGS-tst-backtrace5): Likewise.
51151         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51152         tst-backtrace4 and tst-backtrace5.
51154 2013-01-18  Anton Blanchard  <anton@samba.org>
51155             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51157         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51158         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51160         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51162         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51163         "+r" and remove output regs list as redundant.  Add explicit inline
51164         asm to specify register of return val to work around compiler codegen
51165         bug.  Remove (int) cast on return value.  Add return type parameter to
51166         use in macro so that this macro does not truncate return value for
51167         64-bit values.
51168         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51169         pass to INTERNAL_VSYSCALL_NCS.
51170         (INLINE_VSYSCALL): Add 'long int' as return type to
51171         INTERNAL_VSYSCALL_NCS macro invocation.
51172         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51173         INTERNAL_VSYSCALL_NCS macro invocation.
51174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51176 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51178         [BZ #14496]
51179         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51180         Fix application of SIMD FP exception mask.
51182         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51183         mp_no from a power of two.
51184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51185         __mpexp_twomm1.  Use __pow_mp.
51187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51188         multiplication.
51190 2013-01-17  David S. Miller  <davem@davemloft.net>
51192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51194 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51196         [BZ #15023]
51197         * include/complex.h: Condition contents on [!_COMPLEX_H].
51198         (__kernel_casinhf): New prototype.
51199         (__kernel_casinh): Likewise.
51200         (__kernel_casinhl): Likewise.
51201         * math/Makefile (libm_calls): Add k_casinh.
51202         * math/k_casinh.c: New file.
51203         * math/k_casinhf.c: Likewise.
51204         * math/k_casinhl.c: Likewise.
51205         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51206         finite nonzero arguments.
51207         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51208         finite nonzero arguments.
51209         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51210         finite nonzero arguments.
51211         * math/s_casinh.c: Do not include <float.h>.
51212         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51213         * math/s_casinhf.c: Do not include <float.h>.
51214         (__casinhf): Move code for finite nonzero arguments to
51215         k_casinhf.c.
51216         * math/s_casinhl.c: Do not include <float.h>.
51217         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51218         redefine.
51219         (__casinhl): Move code for finite nonzero arguments to
51220         k_casinhl.c.
51221         * math/libm-test.inc (cacos_test): Add more tests.
51222         * sysdeps/i386/fpu/libm-test-ulps: Update.
51223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51225 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51227         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51228         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51229         [!HAVE_MREMAP]: Remove [defined linux] case.
51230         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51232 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51234         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51236 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51238         * elf/elf.h (R_386_SIZE32): New relocation.
51239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51240         R_386_SIZE32.
51241         (elf_machine_rela): Likewise.
51242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51243         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51245 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51247         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51248         (FP_FAST_FMA): Do not define.
51249         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51250         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51251         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51252         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51253         !_SOFT_FLOAT]: Likewise.
51254         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51255         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51256         value.
51257         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51258         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51259         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51260         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51261         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51262         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51263         file.
51265 2013-01-16  Andreas Schwab  <schwab@suse.de>
51267         [BZ #14327]
51268         * include/stdlib.h (__mktemp): Add declaration.
51269         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51270         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51272 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51274         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51275         definitions.
51276         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51277         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51278         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51279         definitions here.
51280         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51281         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51282         definitions.
51283         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51284         and ONE.
51285         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51286         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51287         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51288         definitions.
51289         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51290         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51291         definitions.
51292         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51294         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51296 2013-01-15  David S. Miller  <davem@davemloft.net>
51298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51299         trunc{,f} to libm-sysdep_routes.
51300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51302         file.
51303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51305         file.
51306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51307         file.
51308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51310         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51311         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51312         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51313         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51314         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51315         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51318         nearbyint{,f} to libm-sysdep_routes.
51319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51321         New file.
51322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51323         file.
51324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51325         New file.
51326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51327         file.
51328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51330         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51331         file.
51332         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51333         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51334         file.
51335         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51336         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51337         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51339         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51340         libc_feholdexcept and libc_fesetenv.
51342 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51344         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51346 2013-01-14  David S. Miller  <davem@davemloft.net>
51348         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51349         (SPARC_ASM_VIS2_IFUNC): Likewise.
51350         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51352         use of 'siam' instruction.
51353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51354         Likewise.
51355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51356         Likewise.
51357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51358         Likewise.
51359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51364         file.
51365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51366         file.
51367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51368         file.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51370         file.
51371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51376         new VIS2 routines.
51377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51380         Likewise.
51381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51386         routines to libm-sysdep_routines.
51387         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51390         fdim/fdimf to libm-sysdep_routines.
51391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51392         file.
51393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51395         file.
51396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51399         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51400         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51401         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51402         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51404 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51406         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51407         to optimize copies.
51409         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51414         local variable MPTWO.
51415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51416         Likewise.
51418 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51420         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51421         GLOB_NOESCAPE.
51423 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51425         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51427 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51429         * manual/pattern.texi (glob_t): Document gl_flags.
51430         (glob64_t): Likewise.
51432 2013-01-11  David S. Miller  <davem@davemloft.net>
51434         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51435         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51436         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51437         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51438         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51439         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51440         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51441         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51442         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51443         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51444         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51445         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51446         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51448         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51449         sparc V9 rather than using V8 code.
51450         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51451         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51453         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51454         Move to...
51455         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51456         Here.
51458 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51460         [BZ #14941]
51461         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51462         not in the main loop.
51463         * configure: Regenerated.
51465 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51467         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51468         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51469         to just #else.
51470         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51471         [!__GLIBC_HAVE_LONG_LONG] case.
51472         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51473         condition to just #else.
51474         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51475         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51476         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51477         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51478         unconditional.
51479         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51480         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51481         #elif condition to just #else.
51482         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51483         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51484         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51485         #elif condition to just #else.
51487 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51489         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51490         (EF_MIPS_ARCH_64): Fix value.
51491         (EF_MIPS_ARCH_32R2): New.
51492         (EF_MIPS_ARCH_64R2): New.
51494 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51496         * Makeconfig (+link-pie-before-libc): New.
51497         (+link-pie-after-libc): Likewise.
51498         (+link-pie-tests): Likewise.
51499         (+link-pie): Rewritten.
51500         (link-before-libc): Remove $(config-LDFLAGS).
51501         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51502         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51503         (config-LDFLAGS): Renamed to ...
51504         (rtld-LDFLAGS): This.
51505         (rtld-tests-LDFLAGS): New macro.
51506         (link-libc-rpath-link): Likewise.
51507         (link-libc-tests-rpath-link): Likewise.
51508         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51509         (link-libc): Prepand $(link-libc-rpath-link).
51510         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51511         (test-program-prefix): New macro.
51512         (test-via-rtld-prefix): Likewise.
51513         (test-program-cmd): Likewise.
51514         (host-test-program-cmd): Likewise.
51515         * Makefile ($(common-objpfx)testrun.sh): Replace
51516         $(run-program-prefix) with $(test-program-prefix).
51517         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51518         $(rtld-LDFLAGS).
51519         ($(common-objpfx)shlib.lds): Likewise.
51520         (build-module-helper): Likewise.
51521         ($(common-objpfx)format.lds): Likewise.
51522         * Rules (binaries-pie-tests): New.
51523         (binaries-pie-notests): Likewise.
51524         (binaries-pie): Rewritten.
51525         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51526         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51527         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51528         (make-test-out): Replace $(host-built-program-cmd) with
51529         $(host-test-program-cmd).
51530         * config.make.in (build-hardcoded-path-in-tests): New variable.
51531         * configure.in (--enable-hardcoded-path-in-tests): New configure
51532         option.
51533         (hardcoded_path_in_tests): New AC_SUBST.
51534         * configure: Regenerated.
51535         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51536         $(built-program-cmd) with $(test-program-cmd).
51537         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51538         (test_program_cmd): This.
51539         * elf/Makefile ($(objpfx)order.out): Run test with
51540         $(test-program-prefix).
51541         ($(objpfx)order2.out): Likewise.
51542         ($(objpfx)tst-initorder.out): Likewise.
51543         ($(objpfx)tst-initorder2.out): Likewise.
51544         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51545         $(test-program-cmd).
51546         ($(objpfx)tst-array1-static.out): Likewise.
51547         ($(objpfx)tst-array2.out): Likewise.
51548         ($(objpfx)tst-array3.out): Likewise.
51549         ($(objpfx)tst-array4.out): Likewise.
51550         ($(objpfx)tst-array5.out): Likewise.
51551         ($(objpfx)tst-array5-static.out): Likewise.
51552         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51553         $(test-program-cmd).
51554         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51555         $(run-program-prefix) with $(test-program-prefix).
51556         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51557         (test_program_prefix): This.
51558         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51559         $(run-program-prefix) with $(test-program-prefix).
51560         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51561         (test_program_prefix): This.
51562         * iconvdata/tst-tables.sh: Likewise.
51563         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51564         $(run-program-prefix) with $(test-program-prefix).
51565         ($(objpfx)tst-translit.out): Likewise.
51566         ($(objpfx)tst-gettext2.out): Likewise.
51567         ($(objpfx)tst-gettext4.out): Likewise.
51568         ($(objpfx)tst-gettext6.out): Likewise.
51569         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51570         (test_program_prefix): This.
51571         * intl/tst-gettext2.sh: Likewise.
51572         * intl/tst-gettext4.sh  Likewise.
51573         * intl/tst-gettext6.sh: Likewise.
51574         * intl/tst-translit.sh: Likewise.
51575         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51576         with $(test-program-cmd).
51577         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51578         $(run-program-prefix) with $(test-program-prefix).
51579         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51580         (test_program_prefix): This.
51581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51582         $(run-program-prefix) with $(test-program-prefix).
51583         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51584         (test_program_prefix): This.
51585         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51586         * posix/Makefile ($(objpfx)globtest.out): Replace
51587         $(run-via-rtld-prefix) and $(test-wrapper) with
51588         $(test-program-prefix) and $(test-via-rtld-prefix).
51589         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51590         $(test-program-prefix).
51591         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51592         $(host-test-program-cmd).
51593         (tst-spawn-ARGS): Likewise.
51594         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51595         $(test-program-prefix).
51596         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51597         (test_via_rtld_prefix): This.
51598         (test_wrapper): Renamed to ...
51599         (test_program_prefix): This.
51600         (run_program_prefix): Replaced by test_program_prefix.
51601         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51602         (test_program_prefix): This.
51603         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51604         with $(host-test-program-cmd).
51605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51606         $(run-program-prefix) with $(test-program-prefix).
51607         ($(objpfx)tst-printf.out): Likewise.
51608         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51609         $(test-program-cmd).
51610         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51611         (test_program_prefix): This.
51612         * stdio-common/tst-unbputc.sh: Likewise.
51613         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51614         $(run-program-prefix) with $(test-program-prefix).
51615         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51616         (test_program_prefix): This.
51617         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51618         $(built-program-cmd) with $(test-program-cmd).
51620 2013-01-11  Andreas Jaeger  <aj@suse.de>
51622         [BZ #15003]
51623         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51624         value. Sync with Linux 3.7.
51626 2013-01-10  David S. Miller  <davem@davemloft.net>
51628         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51629         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51630         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51632 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51634         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51635         never set.
51636         * configure: Regenerated.
51638 2013-01-10  David S. Miller  <davem@davemloft.net>
51640         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51641         sparc V9 rather than using V8 code.
51642         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51643         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51645 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51647         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51648         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51649         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51650         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51651         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51652         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51653         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51654         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51655         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51656         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51657         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51658         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51659         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51660         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51661         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51662         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51663         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51664         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51665         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51666         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51667         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51668         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51669         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51670         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51671         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51672         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51673         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51675 2013-01-10  David S. Miller  <davem@davemloft.net>
51677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51679 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51681         * posix/Makefile (tests-static): New variable.
51682         (tests): Add $(tests-static).
51683         (tst-exec-static-ARGS): New variable.
51684         (tst-spawn-static-ARGS): Likewise.
51685         * posix/tst-exec-static.c: New file.
51686         * posix/tst-spawn-static.c: Likewise.
51687         * posix/tst-exec.c: Support run directly.
51688         * posix/tst-spawn.c: Likewise.
51690 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51692         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51693         long.
51694         * math/bits/mathcalls.h (llrint): Likewise.
51695         (llround): Likewise.
51696         * stdlib/stdlib.h (struct drand48_data): Likewise.
51697         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51698         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51699         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51700         Likewise.
51701         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51702         Likewise.
51703         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51704         (elf_greg_t): Likewise.
51705         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51706         (__jmp_buf): Likewise.
51707         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51708         definitions.
51709         (llrint): Likewise, for all definitions.
51710         (llrintl): Likewise.
51712         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51713         Remove [__GNUC__] condition.
51714         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51715         condition to just [__USE_ISOC99].
51716         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51718 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51720         [BZ #14200]
51721         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51722         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51723         defined.
51724         (_POSIX_V6_ILP32_OFF32): Likewise.
51725         (_XBS5_ILP32_OFF32): Likewise.
51726         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51727         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51729 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51731         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51734         doubles __mpexp_twomm1.  Adjust usage.
51735         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51736         Remove.
51738 2013-01-10  Andreas Schwab  <schwab@suse.de>
51740         [BZ #14964]
51741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51742         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51744 2013-01-09  David S. Miller  <davem@davemloft.net>
51746         [BZ #15003]
51747         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51748         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51749         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51750         (TCP_FASTOPEN): Define.
51751         (tcp_repair_opt): New structure.
51752         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51753         enum values.
51754         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51755         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51756         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51757         (tcp_cookie_transactions): New structure.
51759 2013-01-09  Anton Blanchard  <anton@samba.org>
51761         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51764         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51766 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51768         * include/features.h (__USE_ANSI): Remove.
51770 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51772         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51774         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51776 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51778         * sysdeps/s390/fpu/libm-test-ulps: Update.
51780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51782         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51783         (__acr): Likewise.
51784         (__cpy): Likewise.
51785         (norm): Likewise.
51786         (denorm): Likewise.
51787         (__mp_dbl): Likewise.
51788         (__dbl_mp): Likewise.
51789         (add_magnitudes): Likewise.
51790         (sub_magnitudes): Likewise.
51791         (__add): Likewise.
51792         (__sub): Likewise.
51793         (__mul): Likewise.
51794         (__inv): Likewise.
51795         (__dvd): Likewise.
51796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51797         (__acr): Likewise.
51798         (__cpy): Likewise.
51799         (norm): Likewise.
51800         (denorm): Likewise.
51801         (__mp_dbl): Likewise.
51802         (__dbl_mp): Likewise.
51803         (add_magnitudes): Likewise.
51804         (sub_magnitudes): Likewise.
51805         (__add): Likewise.
51806         (__sub): Likewise.
51807         (__mul): Likewise.
51808         (__inv): Likewise.
51809         (__dvd): Likewise.
51810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51811         (__acr): Likewise.
51812         (__cpy): Likewise.
51813         (norm): Likewise.
51814         (denorm): Likewise.
51815         (__mp_dbl): Likewise.
51816         (__dbl_mp): Likewise.
51817         (add_magnitudes): Likewise.
51818         (sub_magnitudes): Likewise.
51819         (__add): Likewise.
51820         (__sub): Likewise.
51821         (__mul): Likewise.
51822         (__inv): Likewise.
51823         (__dvd): Likewise.
51825 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51827         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51828         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51829         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51830         2 && __USE_EXTERN_INLINES]: Likewise.
51832 2013-01-08  Andreas Jaeger  <aj@suse.de>
51834         [BZ# 14985]
51835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51836         Remove.
51837         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51838         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51840 2013-01-07  Anton Blanchard  <anton@samba.org>
51842         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51843         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51844         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51845         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51846         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51847         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51848         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51849         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51852         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51856         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51857         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51863         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51864         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51865         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51866         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51867         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51868         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51869         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51871         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51872         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51874         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51875         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51876         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51877         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51884         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51886 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51888         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51889         (__MALLOC_PMT): Likewise.
51890         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51891         [__GNUC__], only on [_LIBC].
51892         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51893         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51894         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51895         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51896         forward declaration.
51897         (realloc_hook_ini): Likewise.
51898         (memalign_hook_ini): Likewise.
51899         (__libc_memalign): Do not use __MALLOC_PMT in variable
51900         declaration.
51901         (__libc_valloc): Likewise.
51902         (__libc_pvalloc): Likewise.
51903         (__libc_calloc): Likewise.
51904         (__posix_memalign): Likewise.
51906         [BZ #14996]
51907         * math/s_casinh.c: Include <float.h>.
51908         (__casinh): Do not do computation with squaring and square root
51909         for large arguments.
51910         * math/s_casinhf.c: Include <float.h>.
51911         (__casinhf): Do not do computation with squaring and square root
51912         for large arguments.
51913         * math/s_casinhl.c: Include <float.h>.
51914         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51915         (__casinhl): Do not do computation with squaring and square root
51916         for large arguments.
51917         * math/libm-test.inc (casin_test): Add more tests.
51918         (casinh_test): Likewise.
51919         * sysdeps/i386/fpu/libm-test-ulps: Update.
51920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51922 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51924         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51925         (__x86_64_raw_data_cache_size): Likewise.
51926         (__x86_64_data_cache_size_half): Likewise.
51927         (__x86_64_raw_data_cache_size_half): Likewise.
51928         (__x86_64_shared_cache_size): Likewise.
51929         (__x86_64_raw_shared_cache_size): Likewise.
51930         (__x86_64_shared_cache_size_half): Likewise.
51931         (__x86_64_raw_shared_cache_size_half): Likewise.
51932         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51933         to ...
51934         (__x86_data_cache_size): This.
51935         (__x86_64_raw_data_cache_size): Renamed to ...
51936         (__x86_raw_data_cache_size): This.
51937         (__x86_64_data_cache_size_half): Renamed to ...
51938         (__x86_data_cache_size_half): This.
51939         (__x86_64_raw_data_cache_size_half): Renamed to ...
51940         (__x86_raw_data_cache_size_half): This.
51941         (__x86_64_shared_cache_size): Renamed to ...
51942         (__x86_shared_cache_size): This.
51943         (__x86_64_raw_shared_cache_size): Renamed to ...
51944         (__x86_raw_shared_cache_size): This.
51945         (__x86_64_shared_cache_size_half): Renamed to ...
51946         (__x86_shared_cache_size_half): This.
51947         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51948         (__x86_raw_shared_cache_size_half): This.
51949         * sysdeps/x86_64/memcpy.S: Updated.
51950         * sysdeps/x86_64/memset.S: Likewise.
51951         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51952         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51953         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51955 2013-01-04  David S. Miller  <davem@davemloft.net>
51957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51959 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51961         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51962         1 to avoid redefinition warning.
51963         (__USE_GNU): Don't define.
51964         (init_signaling_nan): Protoize.
51966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51968 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51970         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51972         (__cpymn): Likewise.
51973         (norm): Remove commented code.
51974         (denorm): Likewise.
51975         (__mp_dbl): Likewise.
51976         (__inv): Likewise.
51977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51978         (__cpymn): Likewise.
51979         (norm): Remove commented code.
51980         (denorm): Likewise.
51981         (__mp_dbl): Likewise.
51982         (__inv): Likewise.
51984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51985         mp_no value for 1.0 and 2.0.
51986         (norm): Use RADIXI instead of radixi.d.
51987         (denorm): Likewise.
51988         (__mul): Use 0.0 instead of zero.d.
51989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51990         mp_no value for 1.0 and 2.0.
51991         (norm): Use RADIXI instead of radixi.d.
51992         (denorm): Likewise.
51993         (__mul): Use 0.0 instead of zero.d.
51995 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51997         [BZ #14994]
51998         * math/s_casinh.c (__casinh): Reduce finite argument to first
51999         quadrant then set signs of results at the end.
52000         * math/s_casinhf.c (__casinhf): Likewise.
52001         * math/s_casinhl.c (__casinhl): Likewise.
52002         * math/libm-test.inc (casin_test): Add more tests.
52003         (casinh_test): Likewise.
52004         * sysdeps/i386/fpu/libm-test-ulps: Update.
52005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52007 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52009         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52011         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52013         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52014         declarations.
52015         (denorm): Likewise.
52016         (__mp_dbl): Likewise.
52017         (__inv): Likewise.
52019         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52020         and adjust the header comment.
52022         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52023         variable name from declaration.
52025 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52028         Initialize COMMON_CPUID_INDEX_7 element.
52029         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52030         (CPUID_RTM): Likewise.
52031         (HAS_RTM): Likewise.
52032         (COMMON_CPUID_INDEX_7): New enum.
52034 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52036         [BZ #14981]
52037         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52038         size is zero, record memory as freed.
52040 2013-01-03  Andreas Jaeger  <aj@suse.de>
52042         * po/ia.po: Add new Interlingua translation.
52044 2012-01-03  Allan McRae  <allan@archlinux.org>
52046         * locale/programs/localedef.c: Fix description of '--posix' flag.
52048 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52050         * NEWS: Update dates in second copyright notice.
52051         * README: Update copyright dates in example.
52052         * manual/libc.texinfo: Update copyright dates.
52053         * scripts/test-installation.pl: Update copyright date in --version
52054         output.
52056         * hurd/ctty-input.c: Fix copyright notice formatting.
52057         * hurd/ctty-output.c: Likewise.
52058         * hurd/dtable.c: Likewise.
52059         * hurd/hurd-raise.c: Likewise.
52060         * hurd/hurdprio.c: Likewise.
52061         * hurd/msgportdemux.c: Likewise.
52062         * misc/sys/file.h: Likewise.
52063         * misc/sys/ioctl.h: Likewise.
52064         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52065         * sysdeps/mach/hurd/chdir.c: Likewise.
52066         * sysdeps/mach/hurd/fchdir.c: Likewise.
52067         * sysdeps/mach/hurd/rename.c: Likewise.
52068         * sysdeps/mach/hurd/rmdir.c: Likewise.
52069         * sysdeps/mach/hurd/seekdir.c: Likewise.
52070         * sysdeps/mach/hurd/setsid.c: Likewise.
52071         * sysdeps/posix/wait3.c: Likewise.
52073         * All files with FSF copyright notices: Update copyright dates
52074         using scripts/update-copyrights.
52075         * intl/plural.c: Regenerated.
52076         * locale/programs/charmap-kw.h: Likewise.
52077         * locale/programs/locfile-kw.h: Likewise.
52079 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52081         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52082         four values.
52084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52085         calculation loop and add branch prediction.
52087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52088         check access beyond bounds of m1np.
52090         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52091         MPTWO.
52092         (__inv): Remove local variable MPTWO to use the global
52093         constant.
52094         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52096         variable MPTWO.
52097         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52098         MP3HALFS static const.
52100 2013-01-01  David S. Miller  <davem@davemloft.net>
52102         * po/ca.po: Update from translation team.
52104 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52106         * scripts/update-copyrights: New file.
52107         * Makeconfig: Reformat copyright notice.
52108         * ctype/ctype.h: Likewise.
52109         * debug/swprintf_chk.c: Likewise.
52110         * elf/dl-cache.c: Likewise.
52111         * elf/dl-debug.c: Likewise.
52112         * elf/dl-object.c: Likewise.
52113         * grp/initgroups.c: Likewise.
52114         * hurd/Makefile: Likewise.
52115         * hurd/hurd/signal.h: Likewise.
52116         * hurd/hurdfault.c: Likewise.
52117         * hurd/hurdioctl.c: Likewise.
52118         * hurd/hurdlookup.c: Likewise.
52119         * hurd/intr-msg.c: Likewise.
52120         * iconv/gconv_open.c: Likewise.
52121         * libio/swprintf.c: Likewise.
52122         * locale/lc-ctype.c: Likewise.
52123         * locale/nl_langinfo.c: Likewise.
52124         * mach/Machrules: Likewise.
52125         * mach/Makefile: Likewise.
52126         * malloc/obstack.h: Likewise.
52127         * manual/Makefile: Likewise.
52128         * manual/tsort.awk: Likewise.
52129         * misc/bits/stab.def: Likewise.
52130         * nis/nis_print_group_entry.c: Likewise.
52131         * nis/nis_table.c: Likewise.
52132         * nis/nss_compat/compat-pwd.c: Likewise.
52133         * nis/nss_compat/compat-spwd.c: Likewise.
52134         * po/Makefile: Likewise.
52135         * posix/fnmatch.c: Likewise.
52136         * posix/regex.h: Likewise.
52137         * resolv/Makefile: Likewise.
52138         * resolv/nss_dns/dns-network.c: Likewise.
52139         * resolv/res_hconf.c: Likewise.
52140         * scripts/gen-sorted.awk: Likewise.
52141         * soft-fp/soft-fp.h: Likewise.
52142         * stdio-common/printf.h: Likewise.
52143         * stdlib/monetary.h: Likewise.
52144         * stdlib/random.c: Likewise.
52145         * stdlib/random_r.c: Likewise.
52146         * sysdeps/generic/Makefile: Likewise.
52147         * sysdeps/gnu/Makefile: Likewise.
52148         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52150         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52172         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52174         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52175         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52176         * sysdeps/mach/hurd/errnos.awk: Likewise.
52177         * sysdeps/mach/hurd/fork.c: Likewise.
52178         * sysdeps/mach/hurd/getcwd.c: Likewise.
52179         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52180         * sysdeps/mach/hurd/mmap.c: Likewise.
52181         * sysdeps/mach/hurd/utimes.c: Likewise.
52182         * sysdeps/mach/hurd/xmknod.c: Likewise.
52183         * sysdeps/posix/profil.c: Likewise.
52184         * sysdeps/posix/readdir_r.c: Likewise.
52185         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52186         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52187         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52188         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52190         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52192         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52194         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52195         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52196         * sysdeps/pthread/lio_listio.c: Likewise.
52197         * sysdeps/sparc/dl-procinfo.h: Likewise.
52198         * sysdeps/unix/i386/sysdep.S: Likewise.
52199         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52200         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52201         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52202         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52204         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52205         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52206         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52207         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52208         * sysdeps/wordsize-32/divdi3.c: Likewise.
52209         * time/sys/time.h: Likewise.
52210         * wcsmbs/Makefile: Likewise.
52212 2013-01-01  David S. Miller  <davem@davemloft.net>
52214         * po/fr.po: Update from translation team.
52216         * catgets/gencat.c: Update copyright year.
52217         * csu/version.c: Likewise.
52218         * debug/catchsegv.sh: Likewise.
52219         * debug/pcprofiledump.c: Likewise.
52220         * debug/xtrace.sh: Likewise.
52221         * elf/ldconfig.c: Likewise.
52222         * elf/ldd.bash.in: Likewise.
52223         * elf/pldd.c: Likewise.
52224         * elf/sotruss.ksh: Likewise.
52225         * elf/sprof.c: Likewise.
52226         * iconv/iconv_prog.c: Likewise.
52227         * iconv/iconvconfig.c: Likewise.
52228         * locale/programs/locale.c: Likewise.
52229         * locale/programs/localedef.c: Likewise.
52230         * login/programs/pt_chown.c: Likewise.
52231         * malloc/memusage.sh: Likewise.
52232         * malloc/memusagestat.c: Likewise.
52233         * malloc/mtrace.pl: Likewise.
52234         * nscd/nscd.c: Likewise.
52235         * nss/getent.c: Likewise.
52236         * nss/makedb.c: Likewise.
52237         * posix/getconf.c: Likewise.
52239 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52241         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52242         numbers.
52244 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52246         * math/bits/mathcalls.h (modf): Use __nonnull.
52248 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52250         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52251         (split): Use macro CN instead of the bare value.
52252         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52253         could be used.
52254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52255         instead of the bare value.
52256         (power1): Likewise.
52258 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52261         __ATAN_TWOM.
52262         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52264         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52265         their values.
52266         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52267         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52268         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52269         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52271 2012-12-28  Andreas Jaeger  <aj@suse.de>
52273         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52274         values are from Linux 3.7.
52276         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52277         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52279 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52282         TRUE case.
52284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52285         (norm): Likewise.
52286         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52287         variables with preprocessor constants.
52288         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52289         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52290         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52292 2012-12-27  Bruno Haible  <bruno@clisp.org>
52294         [BZ #14317]
52295         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52296         only if needed.
52298 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52301         and use variable directly.
52302         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52304         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52305         MPONE.
52306         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52308         variable MPONE.
52309         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52311         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52312         include directive.  Remove local variable MPONE.
52313         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52314         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52315         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52317 2012-12-25  David S. Miller  <davem@davemloft.net>
52319         * version.h (RELEASE): Set to "development".
52320         (VERSION): Set to "2.17.90".
52321         * NEWS: Add 2.18 section.
52323 2012-12-21  David S. Miller  <davem@davemloft.net>
52325         * po/hr.po: Update from translation team.
52327 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52329         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52331 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52333         * NEWS:  Mention new memcpy for MIPS.
52335 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52337         * manual/contrib.texi (Contributors): Spelling correction.
52339 2012-12-15  David S. Miller  <davem@davemloft.net>
52341         * po/ru.po: Update from translation team.
52343 2012-12-13  David S. Miller  <davem@davemloft.net>
52345         * NEWS: Mention IFUNC testsuite enhancements.
52347         * po/pl.po: Update from translation team.
52348         * po/bg.po: Likewise.
52350         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52351         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52353 2012-12-11  David S. Miller  <davem@davemloft.net>
52355         * po/sv.po: Update from translation team.
52357         * po/vi.po: Update from translation team.
52359         * po/cs.po: Update from translation team.
52361         * po/de.po: Update from translation team.
52362         * po/eo.po: Likewise.
52363         * po/nl.po: Likewise.
52365 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52367         [BZ #14246]
52368         * manual/argp.texi (Argp Helper Functions): Move node to follow
52369         Argp Parsing State.
52371         [BZ #14872]
52372         * manual/conf.texi (Limits on File System Capacity): Mention if
52373         terminating null is included in the max size.
52375 2012-12-10  Andreas Jaeger  <aj@suse.de>
52377         * po/cs.po: Update from translation team.
52379 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52381         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52382         void pointer and cast to uintptr_t.
52383         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52384         path.
52385         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52386         * sysdeps/s390/s390-64/memset.S: Likewise.
52388 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52390         [BZ #14833]
52391         * menual/message.texi (Message Translation): Fix typos.
52392         (Helper programs for gettext): Likewise.
52394 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52396         [BZ #14898]
52397         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52398         Change to -1.
52400 2012-12-07  David S. Miller  <davem@davemloft.net>
52402         * po/libc.pot: Update.
52404 2012-12-07  Richard Henderson  <rth@redhat.com>
52406         [BZ #10114]
52407         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52408         normal/normal case to before the switch.
52409         (_FP_DIV): Likewise.
52411 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52412             Mike Frysinger  <vapier@gentoo.org>
52414         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52415         check for __NR_fadvise64_64.
52417 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52419         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52420         0, not just to plain "0" as a statement.
52421         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52422         with cw.
52424 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52426         * NEWS: Use sourceware.org in Bugzilla URL.
52428 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52431         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52433         * stdio-common/tst-put-error.c (do_test): Add newline to the
52434         padded test to ensure flush.
52436 2012-12-05  Jeff Law  <law@redhat.com>
52438         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52440 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52442         * README: Don't refer to ports add-on as distributed separately.
52443         Mention AArch64 in list of systems supported in the ports add-on.
52445         * LICENSES: Add more non-FSF copyright and license notices.
52447         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52448         ((unused)).
52450         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52452         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52453         10000 as width of padded output.
52455 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52457         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52460         variable LX with __attribute__ ((unused)).
52461         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52462         Likewise.
52463         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52465         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52466         with __attribute__ ((unused)).
52468 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52470         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52472 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52474         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52475         (CFLAGS-nldbl-acos.c): New variable.
52476         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52477         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52478         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52479         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52480         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52481         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52482         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52483         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52484         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52485         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52486         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52487         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52488         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52489         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52490         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52491         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52492         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52493         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52494         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52495         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52496         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52497         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52498         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52499         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52500         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52501         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52502         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52503         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52504         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52505         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52506         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52507         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52508         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52509         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52510         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52511         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52512         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52513         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52514         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52515         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52516         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52517         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52518         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52519         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52520         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52521         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52522         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52523         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52524         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52525         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52526         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52527         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52528         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52529         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52530         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52531         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52532         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52533         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52534         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52535         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52536         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52537         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52538         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52539         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52540         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52541         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52542         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52543         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52544         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52545         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52546         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52547         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52548         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52549         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52550         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52551         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52552         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52553         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52554         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52555         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52556         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52557         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52558         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52559         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52560         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52561         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52562         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52563         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52564         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52565         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52566         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52567         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52568         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52569         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52570         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52571         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52572         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52575         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52577         [BZ #14914]
52578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52579         whole low double instead of just low 47 bits when splitting values
52580         into two parts.
52582 2012-12-03  Allan McRae  <allan@archlinux.org>
52584         * manual/stdio.texi (Predefined Printf Handlers): Remove
52585         @hsep and @vsep usage.
52587 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52589         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52590         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52592 2012-12-03  Jeff Law  <law@redhat.com>
52594         * time/sys/time.h (settimeofday): Do not mark TV argument
52595         as __nonnull.
52597 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52599         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52600         when currently writing and seek to current position when not.
52601         * libio/Makefile (tests): Remove bug-fclose1.
52602         * libio/bug-fclose1.c: Delete.
52604 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52606         * manual/arith.texi (feenableexcept): Fix typo.
52607         (fedisableexcept): Likewise.
52609 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52611         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52612         second, differently-typed declaration, rather than a cast.
52614 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52616         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52617         * include/rpc/svc.h: ... here.
52619 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52621         [BZ #13013]
52622         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52623         depending n and resplen2 to catch cases where answer
52624         equals answerp2.
52626 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52628         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52629         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52631 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52633         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52635 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52637         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52639 2012-11-28  Jeff Law  <law@redhat.com>
52641         [BZ #13761]
52642         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52643         dataset_temporary.  Track alloca usage into alloca_used.
52644         If dataset is large allocate and release it via malloc/free.
52646 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52648         [BZ #14197]
52649         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52651 2012-11-28  David S. Miller  <davem@davemloft.net>
52653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52655 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52657         [BZ #14803]
52658         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52659         of pi/2 rounded to nearest to 64 bits.
52660         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52661         nearest to 64 bits.
52662         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52663         bits.
52665 2012-11-28  Jeff Law <law@redhat.com>
52666             Martin Osvald <mosvald@redhat.com>
52668         [BZ #14889]
52669         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52670         * sunrpc/svc.c: Include time.h.
52671         (__svc_accept_failed): New function.
52672         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52673         any reason other than EINTR, call __svc_accept_failed.
52674         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52675         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52677 2012-11-28  Andreas Schwab  <schwab@suse.de>
52679         * scripts/abilist.awk: Also handle indirect functions in .opd
52680         section.
52682 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52684         [BZ #13881]
52685         * sysdeps/x86/fpu/powl_helper.c: New file.
52686         * sysdeps/x86/fpu/Makefile: Likewise.
52687         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52688         (p3): New object.
52689         (__ieee754_powl): Use __powl_helper for finite arguments except
52690         integer exponents below 8.
52691         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52692         (p3): New object.
52693         (__ieee754_powl): Use __powl_helper for finite arguments except
52694         integer exponents below 8.
52695         * math/libm-test.inc (pow_test): Add more tests and enable some
52696         previously disabled tests.
52697         * sysdeps/i386/fpu/libm-test-ulps: Update.
52698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52700 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52701             Carlos O'Donell  <carlos_odonell@mentor.com>
52703         * nss/makedb.c (is_prime): Assert that input is odd and greater
52704         than 4.  Note that fact in a comment too.
52705         (next_prime): Add 4 to input.
52707 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52709         [BZ #11741]
52710         * libio/Makefile (tests): Add test case tst-fwrite-error.
52711         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52712         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52713         * libio/tst-fwrite-error.c: New test case.
52715 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52717         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52718         before casting to void *.
52719         * include/libc-internal.h (__pointer_type): New macro.
52720         (__integer_if_pointer_type_sub): Likewise.
52721         (__integer_if_pointer_type): Likewise.
52722         (cast_to_integer): Likewise.
52723         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52724         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52725         before casting to atomic64_t.
52726         (atomic_exchange_acq): Likewise.
52727         (__arch_exchange_and_add_body): Likewise.
52728         (__arch_add_body): Likewise.
52729         (atomic_add_negative): Likewise.
52730         (atomic_add_zero): Likewise.
52732 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52734         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52735         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52736         (add_fdes): Likewise.
52737         (linear_search_fdes): Likewise.
52738         (binary_search_unencoded_fdes): Likewise.
52740 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52742         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52744 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52746         * configure.in: Autodetect C++ header directories.
52747         * configure: Regenerated.
52749 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52751         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52753 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52757 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52759         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52760         LDBL_MANT_DIG == 106]: Disable some tests.
52761         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52762         Likewise.
52763         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52764         Likewise.
52766         [BZ #14871]
52767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52768         input for small inputs.  Return +/- pi/2 for large inputs.
52769         * math/libm-test.inc (atan_test): Add more tests.
52771         * sysdeps/generic/unwind-dw2-fde-glibc.c
52772         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52773         __attribute__ ((unused)).
52775         [BZ #14645]
52776         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52777         x * y if x and y are nonzero and z is zero.
52779         [BZ #14811]
52780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52781         nonzero exponents with absolute value below 0x1p-117 to +/-
52782         0x1p-117.
52784         [BZ #14869]
52785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52786         up arguments below 2**-450, not just those below 2**-500.
52787         * math/libm-test.inc (hypot_test): Add another test.
52789         [BZ #14868]
52790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52791         Return a+b for ratio over 2**120, not 2**60.
52792         * math/libm-test.inc (hypot_test): Add another test.
52794         * math/libm-test.inc (clog_test): Use
52795         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52796         (clog10_test): Likewise.
52798         [BZ #6778]
52799         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52801 2012-11-22  Andreas Schwab  <schwab@suse.de>
52803         * sysdeps/i386/fpu/libm-test-ulps: Update.
52805 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52807         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52808         printf output with newline.
52810 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52812         [BZ #14865]
52813         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52814         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52815         -z nodlopen, -z initfirst and -z execstack support.
52816         * configure: Regenerated.
52818         * elf/elf.h (DF_1_NODIRECT): New macro.
52819         (DF_1_IGNMULDEF): Likewise.
52820         (DF_1_NOKSYMS): Likewise.
52821         (DF_1_NOHDR): Likewise.
52822         (DF_1_EDITED): Likewise.
52823         (DF_1_NORELOC): Likewise.
52824         (DF_1_SYMINTPOSE): Likewise.
52825         (DF_1_GLOBAUDIT): Likewise.
52826         (DF_1_SINGLETON): Likewise.
52827         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52828         DT_1_SUPPORTED_MASK bits.
52829         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52831 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52833         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52835 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52837         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52838         macro.
52840         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52841         (sendmmsg): Move declarations...
52842         * socket/sys/socket.h: ... here.
52843         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52844         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52845         include it from...
52846         * socket/recvmmsg.c: ... this new file.
52847         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52848         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52849         definition of __sendmmsg hidden.
52850         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52851         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52852         Move ENOSYS stub into and include it from...
52853         * socket/sendmmsg.c: ... this new file.
52854         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52855         (sysdep_routines): Move recvmmsg and sendmmsg...
52856         * socket/Makefile (routines): ... here.
52857         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52858         (GLIBC_PRIVATE): Add __sendmmsg.
52859         * include/sys/socket.h (__sendmmsg): Add declarations.
52860         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52861         sendmmsg.
52863 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52865         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52866         variable I1 with __attribute__ ((unused)).
52867         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52869 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52871         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52872         DUMMY variables with __attribute__ ((unused)).
52874         * bits/byteswap.h: Include <bits/types.h>.
52875         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52877 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52879         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52880         string_t.  Do not manually set errno.
52881         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52882         length with __strnlen.  Make sure to both set errno and return it on
52883         failure.
52885 2012-11-19  David S. Miller  <davem@davemloft.net>
52887         With help from Joseph Myers.
52888         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52889         very large arguments properly.
52890         * math/libm-test.inc (atan_test): New tests.
52891         (atan2_test): New tests.
52892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52895 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52897         [BZ #14856]
52898         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52899         Define to 3.
52901         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52902         [POSIX] (EADDRNOTAVAIL): Likewise.
52903         [POSIX] (EAFNOSUPPORT): Likewise.
52904         [POSIX] (EALREADY): Likewise.
52905         [POSIX] (ECONNABORTED): Likewise.
52906         [POSIX] (ECONNREFUSED): Likewise.
52907         [POSIX] (ECONNRESET): Likewise.
52908         [POSIX] (EDESTADDRREQ): Likewise.
52909         [POSIX] (EDQUOT): Likewise.
52910         [POSIX] (EHOSTUNREACH): Likewise.
52911         [POSIX] (EIDRM): Likewise.
52912         [POSIX] (EISCONN): Likewise.
52913         [POSIX] (ELOOP): Likewise.
52914         [POSIX] (EMULTIHOP): Likewise.
52915         [POSIX] (ENETDOWN): Likewise.
52916         [POSIX] (ENETUNREACH): Likewise.
52917         [POSIX] (ENOBUFS): Likewise.
52918         [POSIX] (ENODATA): Likewise.
52919         [POSIX] (ENOLINK): Likewise.
52920         [POSIX] (ENOMSG): Likewise.
52921         [POSIX] (ENOPROTOOPT): Likewise.
52922         [POSIX] (ENOSR): Likewise.
52923         [POSIX] (ENOSTR): Likewise.
52924         [POSIX] (ENOTCONN): Likewise.
52925         [POSIX] (ENOTSOCK): Likewise.
52926         [POSIX] (EOPNOTSUPP): Likewise.
52927         [POSIX] (EOVERFLOW): Likewise.
52928         [POSIX] (EPROTO): Likewise.
52929         [POSIX] (EPROTONOSUPPORT): Likewise.
52930         [POSIX] (EPROTOTYPE): Likewise.
52931         [POSIX] (ESTALE): Likewise.
52932         [POSIX] (ETIME): Likewise.
52933         [POSIX] (ETXTBSY): Likewise.
52934         [POSIX] (EWOULDBLOCK): Likewise.
52935         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52936         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52937         [POSIX] (SEEK_CUR): Likewise.
52938         [POSIX] (SEEK_END): Likewise.
52939         [POSIX || UNIX98] (mode_t): Do not require.
52940         [POSIX] (off_t): Likewise.
52941         [POSIX] (pid_t): Likewise.
52942         [POSIX] (sys/stat.h): Do not allow header.
52943         [POSIX] (unistd.h): Likewise.
52944         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52945         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52946         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52947         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52948         require.
52949         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52950         sigevent): Specify elements.
52951         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52952         entry.
52953         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52954         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52956         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52957         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52958         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52959         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52960         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52961         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52962         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52964         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52965         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52966         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52967         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52968         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52970         Likewise.
52971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52972         Likewise.
52973         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52974         Likewise.
52975         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52976         Likewise.
52977         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52978         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52979         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52980         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52981         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52982         Specify lower bound on value.
52983         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52984         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52985         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52986         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52987         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52988         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52989         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52990         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52991         value.
52992         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52993         as optional.
52994         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52995         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52996         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52997         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52998         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52999         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53000         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53001         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53002         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53003         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53004         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53005         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53006         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53007         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53008         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53009         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53010         entry.
53011         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53012         optional.
53013         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53014         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53015         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53016         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53017         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53018         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53019         Likewise.
53020         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53021         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53022         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53023         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53024         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53025         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53027         as optional.
53028         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53029         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53030         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53031         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53032         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53033         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53034         specify as optional.
53035         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53036         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53037         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53038         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53039         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53040         [XPG3] (NL_LANGMAX): Likewise.
53041         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53042         [POSIX || XPG3] (NL_NMAX): Likewise.
53043         [POSIX || XPG3] (NL_SETMAX): Likewise.
53044         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53045         [XPG3] (NZERO): Likewise.
53046         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53047         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53048         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53049         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53050         (REG_ERANGE): Expect.
53051         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53052         optional-constant.
53053         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53054         Use (void) in prototype.
53055         [POSIX] (*_t): Allow.
53056         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53057         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53058         (WRDE_BADVAL): Expect.
53060         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53061         expect.
53062         [XPG3 || XPG4] (O_RSYNC): Likewise.
53063         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53064         Likewise.
53065         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53066         [XPG3 || XPG4] (sigqueue): Likewise.
53067         [XPG3 || XPG4] (sigtimedwait): Likewise.
53068         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53069         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53070         [XPG3 || XPG4] (vsnprintf): Likewise.
53071         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53072         Likewise.
53073         [XPG3 || XPG4] (blksize_t): Likewise.
53074         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53075         Likewise.
53076         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53077         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53078         [XPG3 || XPG4] (struct itimerspec): Likewise.
53079         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53080         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53081         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53082         [XPG3 || XPG4] (clockid_t): Likewise.
53083         [XPG3 || XPG4] (timer_t): Likewise.
53084         [XPG3 || XPG4] (clock_getres): Likewise.
53085         [XPG3 || XPG4] (clock_gettime): Likewise.
53086         [XPG3 || XPG4] (clock_settime): Likewise.
53087         [XPG3 || XPG4] (nanosleep): Likewise.
53088         [XPG3 || XPG4] (timer_create): Likewise.
53089         [XPG3 || XPG4] (timer_delete): Likewise.
53090         [XPG3 || XPG4] (timer_gettime): Likewise.
53091         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53092         [XPG3 || XPG4] (timer_settime): Likewise.
53093         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53094         [XPG3 || XPG4] (getlogin_r): Likewise.
53095         [XPG3 || XPG4] (pread): Likewise.
53096         [XPG3 || XPG4] (pthread_atfork): Likewise.
53097         [XPG3 || XPG4] (pwrite): Likewise.
53099         [BZ #14835]
53100         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53101         <bits/siginfo.h>.
53103 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53105         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53106         finalizing MALLSTREAM.
53108         * sysdeps/mach/hurd/syncfs.c: New file.
53110 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53112         [BZ #14719]
53113         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53114         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53115         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53116         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53117         (_nss_dns_gethostbyname4_r): Likewise.
53118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53119         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53121 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53123         [BZ #13763]
53124         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53126 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53128         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53129         * elf/cache.c (print_entry): Print ",AArch64" for
53130         FLAG_AARCH64_LIB64
53132         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53133         * elf/cache.c (print_entry): Print ",hard-float" for
53134         FLAG_ARM_LIBHF.
53136 2012-11-18  David S. Miller  <davem@davemloft.net>
53138         With help from Joseph Myers.
53139         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53140         cutoff to 2**-13.
53141         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53142         cutoff to 2**-25.
53143         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53144         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53145         small.
53146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53147         * math/libm-test.inc (y0_test): New tests.
53148         (y1_test): New tests.
53149         * sysdeps/i386/fpu/libm-test-ulps: Update.
53150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53153 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53155         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53156         64-bit targets.
53157         * configure: Regenerated.
53159 2012-11-17  David S. Miller  <davem@davemloft.net>
53161         [BZ #14811]
53162         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53163         nonzero exponents with absolute value below 0x1p-128 to +/-
53164         0x1p-128.
53166 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53168         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53170         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53172         * posix/getconf-speclist.c: New file.
53173         * posix/posix-envs.def: Likewise.
53174         * posix/confstr.c (START_ENV_GROUP): New macro.
53175         (END_ENV_GROUP): Likewise.
53176         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53177         (KNOWN_PRESENT_ENV_STRING): Likewise.
53178         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53179         (UNKNOWN_ENVIRONMENT): Likewise.
53180         (confstr): Include posix-envs.def instead of handling
53181         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53182         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53183         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53184         (END_ENV_GROUP): Likewise.
53185         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53187         (UNKNOWN_ENVIRONMENT): Likewise.
53188         (__sysconf): Include posix-envs.def instead of handling associated
53189         cases directly here.
53190         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53191         preprocessing getconf-speclist.c rather than running getconf or
53192         generating empty file.
53194 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53196         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53198 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53200         [BZ #14672]
53201         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53203 2012-11-16  David S. Miller  <davem@davemloft.net>
53205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53206         smaller than LDBL_EPSILON/2.0L, just return xm1.
53208 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53210         * elf/tst-array1.c (init): Set constructor priority to 1000.
53211         (fini): Set destructor priority to 1000.
53212         * elf/tst-array2dep.c: Likewise.
53214 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53216         [BZ #11741]
53217         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53218         (_IO_new_file_xsputn): Also return EOF if none of the input
53219         data was written when overflow failed.
53220         * libio/iopadn.c (_IO_padn): Likewise.
53221         * libio/iowpadn.c (_IO_wpadn): Likewise.
53222         * stdio-common/tst-put-error.c: Add copyright notice.
53223         (do_test): Add case for printing padded string.
53224         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53225         _IO_padn returned error.
53226         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53227         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53228         return EOF.
53230 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53232         * libio/libioP.h: Add comment note that the references to C++
53233         bits are now obsolete.
53235 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53237         * math/libm-test.inc (check_complex): Use asprintf.
53239 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53241         * debug/pcprofiledump.c (print_version): Update copyright year.
53242         * malloc/memusagestat.c (print_version): Likewise.
53244 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53246         [BZ #14831]
53247         * elf/Makefile (tests): Add tst-audit8.
53248         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53249         ($(objpfx)tst-audit8.out): New target.
53250         (tst-audit8-ENV): New variable.
53251         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53252         audit if l_reloc_result is NULL.
53253         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53254         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53255         * elf/tst-audit8.c: New file.
53257 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53259         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53260         * misc/Makefile (CFLAGS-select.c): Define.
53261         * posix/Makefile (CFLAGS-pause.c): Define.
53263 2012-11-13  David S. Miller  <davem@davemloft.net>
53265         * crypt/Makefile: Move test targets after toplevel Rules
53266         inclusion.  Grab any necessary sysdep routines when linking.
53267         * crypt/md5.c (md5_process_block): Remove define, we will always
53268         name it __md5_process_block.
53269         (md5_finish_ctx): Update md5_process_block call.
53270         (md5_stream): Likewise.
53271         (md5_process_bytes): Likewise.
53272         (md5_process_block): Rename to __md5_process_block and move to ...
53273         * crypt/md5-block.c: ... here.
53274         * crypt/sha256.c (sha256_process_block): Move to ...
53275         * crypt/sha256-block.c: ... here.
53276         * crypt/sha512.c (sha512_process_block): Move to ...
53277         * crypt/sha512-block.c: ... here.
53278         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53279         path.
53280         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53281         * sysdeps/sparc/sparc64/multiarch/Makefile
53282         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53283         crypt subdir.
53284         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53285         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53286         multiarch changes.
53287         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53288         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53289         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53290         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53291         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53292         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53293         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53294         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53295         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53296         file.
53297         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53298         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53299         file.
53300         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53302 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53304         * timezone/tzselect.ksh: Update from tzcode git revision
53305         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53306         * timezone/zdump.c: Likewise.
53307         * timezone/zic.c: Likewise.
53308         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53309         in TZVERSION setting, not $(PKGVERSION).
53310         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53311         REPORT_BUGS_TO settings.
53313         [BZ #14838]
53314         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53315         macro.
53317 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53319         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53320         detection to immediately after _FP_ROUND().
53321         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53322         bits are 0.
53324 2012-11-11  David S. Miller  <davem@davemloft.net>
53326         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53327         inttypes.h
53328         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53329         __close rather than their public counterparts.
53331 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53333         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53334         file.
53335         [UNIX98] (sem_timedwait): Do not expect.
53336         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53337         [XPG4 || UNIX98] (sockatmark): Do not expect.
53338         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53339         (clock_getcpuclockid): Do not expect.
53340         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53341         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53342         Do not expect.
53343         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53344         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53345         [UNIX98] (vwscanf): Likewise.
53346         [UNIX98] (vswscanf): Likewise.
53348 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53350         * timezone/version.h: Remove file.
53351         * timezone/README: Do not refer to version.h.
53352         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53353         $(objpfx)version.h.
53354         ($(objpfx)zdump.o): Likewise.
53355         ($(objpfx)version.h): New target.
53357         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53358         2012i.
53359         * timezone/README: Don't mention modification to tzselect.ksh.
53360         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53361         work on unmodified tzselect.ksh.  Substitute version numbers in
53362         tzselect.ksh.
53364         * Makefile (format-me): Remove.
53365         (INSTALL): Adjust indentation.  Use commands directly instead of
53366         using $(format-me).
53368         * aclocal.m4 (ACX_PKGVERSION): New macro.
53369         (ACX_BUGURL): Likewise.
53370         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53371         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53372         (REPORT_BUGS_TO): Likewise.
53373         * configure: Regenerated.
53374         * config.h.in (PKGVERSION): New macro.
53375         (REPORT_BUGS_TO): Likewise.
53376         * config.make.in (PKGVERSION): New variable.
53377         (PKGVERSION_TEXI): Likewise.
53378         (REPORT_BUGS_TO): Likewise.
53379         (REPORT_BUGS_TEXI): Likewise.
53380         * Makefile (format-me): Use -I$(common-objpfx)manual.
53381         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53382         ($(common-objpfx)manual/%): New target.
53383         (manual/%): Remove target.
53384         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53385         (print_version): Use PKGVERSION.
53386         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53387         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53388         and REPORT_BUGS_TO.
53389         ($(objpfx)xtrace): Likewise.
53390         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53391         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53392         (print_version): Use PKGVERSION.
53393         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53394         (do_version): Use PKGVERSION.
53395         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53396         REPORT_BUGS_TO.
53397         (common-ldd-rewrite): Likewise.
53398         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53399         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53400         (print_version): Use PKGVERSION.
53401         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53402         * elf/pldd.c (argp_program_bug_address): Remove variable.
53403         (more_help): New function.
53404         (argp): Use more_help.
53405         (print_version): Use PKGVERSION.
53406         * elf/sln.c (main): Use PKGVERSION.
53407         (usage): Use REPORT_BUGS_TO.
53408         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53409         (top level): Use PKGVERSION.
53410         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53411         (print_version): Use PKGVERSION.
53412         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53413         (print_version): Use PKGVERSION.
53414         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53415         (print_version): Use PKGVERSION.
53416         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53417         (print_version): Use PKGVERSION.
53418         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53419         (print_version): Use PKGVERSION.
53420         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53421         (print_version): Use PKGVERSION.
53422         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53423         and BUGURL.
53424         ($(objpfx)memusage): Likewise.
53425         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53426         (do_version): Use PKGVERSION.
53427         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53428         (print_version): Use PKGVERSION.
53429         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53430         ($PKGVERSION): New variable.
53431         ($REPORT_BUGS_TO): Likewise.
53432         (usage): Use $REPORT_BUGS_TO.
53433         (top level): Use $PKGVERSION.
53434         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53435         ($(objpfx)pkgvers.texi): New rule.
53436         ($(objpfx)stamp-pkgvers): Likewise.
53437         * manual/install.texi: Include pkgvers.texi.
53438         (--with-pkgversion): Document new configure option.
53439         (--with-bugurl): Likewise.
53440         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53441         than necessarily for this particular distribution.  Use
53442         REPORT_BUGS_TO for where to report bugs.
53443         * INSTALL: Regenerated.
53444         * manual/libc.texinfo: Include pkgvers.texi.
53445         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53446         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53447         (print_version): Use PKGVERSION.
53448         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53449         (print_version): Use PKGVERSION.
53450         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53451         (print_version): Use PKGVERSION.
53452         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53453         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53454         macro.
53455         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53456         (print_version): Use PKGVERSION.
53457         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53458         (print_version): Use PKGVERSION.
53459         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53460         and PKGVERSION.
53462         * timezone/checktab.awk: Update from tzcode 2012i.
53463         * timezone/ialloc.c: Likewise.
53464         * timezone/private.h: Likewise.
53465         * timezone/scheck.c: Likewise.
53466         * timezone/tzfile.h: Likewise.
53467         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53468         (TZVERSION): Hardcode tzcode version number.
53469         * timezone/zdump.c: Update from tzcode 2012i.
53470         * timezone/zic.c: Likewise.
53471         * timezone/version.h: New file.
53472         * timezone/README: Describe version.h.  Update upstream location.
53474         [BZ #14824]
53475         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53476         (mktemp): Enable declaration.
53477         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53479         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53481         Likewise.
53482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53483         Likewise.
53484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53485         Likewise.
53486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53487         Likewise.
53488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53489         Likewise.
53490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53491         Likewise.
53493         [BZ #14821]
53494         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53495         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53496         for copies of such integer values.
53497         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53498         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53500 2012-11-09  Andreas Jaeger  <aj@suse.de>
53502         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53503         definitions and declarations that are provided by
53504         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53506 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53508         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53509         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53510         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53511         definition.
53513 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53515         * elf/elf.h: Update comment before AArch64 relocations.
53517 2012-11-07  David S. Miller  <davem@davemloft.net>
53519         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53520         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53521         (__start_context): Declare.
53522         (__makecontext_ret): Delete.
53523         (__makecontext): Hook up __start_context instead of
53524         __makecontext_ret.
53525         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53526         (sysdep_routines): Add __start_context when in stdlib.
53528 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53530         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53531         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53532         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53533         hardcoded "nm".
53534         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53535         (READELF): New variable.  Use it instead of hardcoded "readelf".
53537 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53539         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53540         * sysdeps/x86/Makefile: Here.
53541         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53542         * sysdeps/x86/tst-xmmymm.sh: This.
53544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53546         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53547         expectations.
53548         [UNIX98] (pthread_barrier_t): Do not expect.
53549         [UNIX98] (pthread_barrierattr_t): Likewise.
53550         [UNIX98] (pthread_spinlock_t): Likewise.
53551         [UNIX98] (pthread_barrier_destroy): Likewise.
53552         [UNIX98] (pthread_barrier_init): Likewise.
53553         [UNIX98] (pthread_barrier_wait): Likewise.
53554         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53555         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53556         [UNIX98] (pthread_barrierattr_init): Likewise.
53557         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53558         [UNIX98] (pthread_getcpuclockid): Likewise.
53559         [UNIX98] (pthread_mutex_timedlock): Likewise.
53560         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53561         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53562         [UNIX98] (pthread_sigmask): Likewise.
53563         [UNIX98] (pthread_spin_destroy): Likewise.
53564         [UNIX98] (pthread_spin_init): Likewise.
53565         [UNIX98] (pthread_spin_lock): Likewise.
53566         [UNIX98] (pthread_spin_trylock): Likewise.
53567         [UNIX98] (pthread_spin_unlock): Likewise.
53568         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53569         Do not expect.
53570         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53571         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53572         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53573         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53574         [XPG3 || XPG4] (pthread_key_t): Likewise.
53575         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53576         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53577         [XPG3 || XPG4] (pthread_once_t): Likewise.
53578         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53579         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53580         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53581         [XPG3 || XPG4] (pthread_t): Likewise.
53583         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53584         not expect.
53585         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53587         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53588         Change function return type to int.
53590         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53591         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53592         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53593         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53594         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53595         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53596         [!POSIX] (posix_madvise): Likewise.
53597         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53598         && !UNIX98].
53599         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53600         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53601         (mode_t): Likewise.
53602         (posix_mem_offset): Likewise.
53603         (posix_typed_mem_get_info): Likewise.
53604         (posix_typed_mem_open): Likewise.
53606         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53607         Change condition to [XOPEN2K8].
53609         * conform/conformtest.pl: Preprocess allow-header data with -x c
53610         instead of from stdin.
53611         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53612         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53613         [C99-based standards] (cerfc): Likewise.
53614         [C99-based standards] (cexp2): Likewise.
53615         [C99-based standards] (cexpm1): Likewise.
53616         [C99-based standards] (clog10): Likewise.
53617         [C99-based standards] (clog1p): Likewise.
53618         [C99-based standards] (clog2): Likewise.
53619         [C99-based standards] (clgamma): Likewise.
53620         [C99-based standards] (ctgamma): Likewise.
53621         [C99-based standards] (cerff): Likewise.
53622         [C99-based standards] (cerfcf): Likewise.
53623         [C99-based standards] (cexp2f): Likewise.
53624         [C99-based standards] (cexpm1f): Likewise.
53625         [C99-based standards] (clog10f): Likewise.
53626         [C99-based standards] (clog1pf): Likewise.
53627         [C99-based standards] (clog2f): Likewise.
53628         [C99-based standards] (clgammaf): Likewise.
53629         [C99-based standards] (ctgammaf): Likewise.
53630         [C99-based standards] (cerfl): Likewise.
53631         [C99-based standards] (cerfcl): Likewise.
53632         [C99-based standards] (cexp2l): Likewise.
53633         [C99-based standards] (cexpm1l): Likewise.
53634         [C99-based standards] (clog10l): Likewise.
53635         [C99-based standards] (clog1pl): Likewise.
53636         [C99-based standards] (clog2l): Likewise.
53637         [C99-based standards] (clgammal): Likewise.
53638         [C99-based standards] (ctgammal): Likewise.
53639         * conform/data/inttypes.h-data [C99-based standards]: Include
53640         stdint.h-data.  Remove all expectations for stdint.h contents.
53641         [C99-based standards] (PRI*): Do not allow.
53642         [C99-based standards] (SCN*): Likewise.
53643         [C99-based standards] (*_t): Likewise.
53644         [C99-based-standards] (PRId8): Expect macro.
53645         [C99-based-standards] (PRIi8): Likewise.
53646         [C99-based-standards] (PRIo8): Likewise.
53647         [C99-based-standards] (PRIu8): Likewise.
53648         [C99-based-standards] (PRIx8): Likewise.
53649         [C99-based-standards] (PRIX8): Likewise.
53650         [C99-based-standards] (SCNd8): Likewise.
53651         [C99-based-standards] (SCNi8): Likewise.
53652         [C99-based-standards] (SCNo8): Likewise.
53653         [C99-based-standards] (SCNu8): Likewise.
53654         [C99-based-standards] (SCNx8): Likewise.
53655         [C99-based-standards] (PRIdLEAST8): Likewise.
53656         [C99-based-standards] (PRIiLEAST8): Likewise.
53657         [C99-based-standards] (PRIoLEAST8): Likewise.
53658         [C99-based-standards] (PRIuLEAST8): Likewise.
53659         [C99-based-standards] (PRIxLEAST8): Likewise.
53660         [C99-based-standards] (PRIXLEAST8): Likewise.
53661         [C99-based-standards] (SCNdLEAST8): Likewise.
53662         [C99-based-standards] (SCNiLEAST8): Likewise.
53663         [C99-based-standards] (SCNoLEAST8): Likewise.
53664         [C99-based-standards] (SCNuLEAST8): Likewise.
53665         [C99-based-standards] (SCNxLEAST8): Likewise.
53666         [C99-based-standards] (PRIdFAST8): Likewise.
53667         [C99-based-standards] (PRIiFAST8): Likewise.
53668         [C99-based-standards] (PRIoFAST8): Likewise.
53669         [C99-based-standards] (PRIuFAST8): Likewise.
53670         [C99-based-standards] (PRIxFAST8): Likewise.
53671         [C99-based-standards] (PRIXFAST8): Likewise.
53672         [C99-based-standards] (SCNdFAST8): Likewise.
53673         [C99-based-standards] (SCNiFAST8): Likewise.
53674         [C99-based-standards] (SCNoFAST8): Likewise.
53675         [C99-based-standards] (SCNuFAST8): Likewise.
53676         [C99-based-standards] (SCNxFAST8): Likewise.
53677         [C99-based-standards] (PRId16): Likewise.
53678         [C99-based-standards] (PRIi16): Likewise.
53679         [C99-based-standards] (PRIo16): Likewise.
53680         [C99-based-standards] (PRIu16): Likewise.
53681         [C99-based-standards] (PRIx16): Likewise.
53682         [C99-based-standards] (PRIX16): Likewise.
53683         [C99-based-standards] (SCNd16): Likewise.
53684         [C99-based-standards] (SCNi16): Likewise.
53685         [C99-based-standards] (SCNo16): Likewise.
53686         [C99-based-standards] (SCNu16): Likewise.
53687         [C99-based-standards] (SCNx16): Likewise.
53688         [C99-based-standards] (PRIdLEAST16): Likewise.
53689         [C99-based-standards] (PRIiLEAST16): Likewise.
53690         [C99-based-standards] (PRIoLEAST16): Likewise.
53691         [C99-based-standards] (PRIuLEAST16): Likewise.
53692         [C99-based-standards] (PRIxLEAST16): Likewise.
53693         [C99-based-standards] (PRIXLEAST16): Likewise.
53694         [C99-based-standards] (SCNdLEAST16): Likewise.
53695         [C99-based-standards] (SCNiLEAST16): Likewise.
53696         [C99-based-standards] (SCNoLEAST16): Likewise.
53697         [C99-based-standards] (SCNuLEAST16): Likewise.
53698         [C99-based-standards] (SCNxLEAST16): Likewise.
53699         [C99-based-standards] (PRIdFAST16): Likewise.
53700         [C99-based-standards] (PRIiFAST16): Likewise.
53701         [C99-based-standards] (PRIoFAST16): Likewise.
53702         [C99-based-standards] (PRIuFAST16): Likewise.
53703         [C99-based-standards] (PRIxFAST16): Likewise.
53704         [C99-based-standards] (PRIXFAST16): Likewise.
53705         [C99-based-standards] (SCNdFAST16): Likewise.
53706         [C99-based-standards] (SCNiFAST16): Likewise.
53707         [C99-based-standards] (SCNoFAST16): Likewise.
53708         [C99-based-standards] (SCNuFAST16): Likewise.
53709         [C99-based-standards] (SCNxFAST16): Likewise.
53710         [C99-based-standards] (PRId32): Likewise.
53711         [C99-based-standards] (PRIi32): Likewise.
53712         [C99-based-standards] (PRIo32): Likewise.
53713         [C99-based-standards] (PRIu32): Likewise.
53714         [C99-based-standards] (PRIx32): Likewise.
53715         [C99-based-standards] (PRIX32): Likewise.
53716         [C99-based-standards] (SCNd32): Likewise.
53717         [C99-based-standards] (SCNi32): Likewise.
53718         [C99-based-standards] (SCNo32): Likewise.
53719         [C99-based-standards] (SCNu32): Likewise.
53720         [C99-based-standards] (SCNx32): Likewise.
53721         [C99-based-standards] (PRIdLEAST32): Likewise.
53722         [C99-based-standards] (PRIiLEAST32): Likewise.
53723         [C99-based-standards] (PRIoLEAST32): Likewise.
53724         [C99-based-standards] (PRIuLEAST32): Likewise.
53725         [C99-based-standards] (PRIxLEAST32): Likewise.
53726         [C99-based-standards] (PRIXLEAST32): Likewise.
53727         [C99-based-standards] (SCNdLEAST32): Likewise.
53728         [C99-based-standards] (SCNiLEAST32): Likewise.
53729         [C99-based-standards] (SCNoLEAST32): Likewise.
53730         [C99-based-standards] (SCNuLEAST32): Likewise.
53731         [C99-based-standards] (SCNxLEAST32): Likewise.
53732         [C99-based-standards] (PRIdFAST32): Likewise.
53733         [C99-based-standards] (PRIiFAST32): Likewise.
53734         [C99-based-standards] (PRIoFAST32): Likewise.
53735         [C99-based-standards] (PRIuFAST32): Likewise.
53736         [C99-based-standards] (PRIxFAST32): Likewise.
53737         [C99-based-standards] (PRIXFAST32): Likewise.
53738         [C99-based-standards] (SCNdFAST32): Likewise.
53739         [C99-based-standards] (SCNiFAST32): Likewise.
53740         [C99-based-standards] (SCNoFAST32): Likewise.
53741         [C99-based-standards] (SCNuFAST32): Likewise.
53742         [C99-based-standards] (SCNxFAST32): Likewise.
53743         [C99-based-standards] (PRId64): Likewise.
53744         [C99-based-standards] (PRIi64): Likewise.
53745         [C99-based-standards] (PRIo64): Likewise.
53746         [C99-based-standards] (PRIu64): Likewise.
53747         [C99-based-standards] (PRIx64): Likewise.
53748         [C99-based-standards] (PRIX64): Likewise.
53749         [C99-based-standards] (SCNd64): Likewise.
53750         [C99-based-standards] (SCNi64): Likewise.
53751         [C99-based-standards] (SCNo64): Likewise.
53752         [C99-based-standards] (SCNu64): Likewise.
53753         [C99-based-standards] (SCNx64): Likewise.
53754         [C99-based-standards] (PRIdLEAST64): Likewise.
53755         [C99-based-standards] (PRIiLEAST64): Likewise.
53756         [C99-based-standards] (PRIoLEAST64): Likewise.
53757         [C99-based-standards] (PRIuLEAST64): Likewise.
53758         [C99-based-standards] (PRIxLEAST64): Likewise.
53759         [C99-based-standards] (PRIXLEAST64): Likewise.
53760         [C99-based-standards] (SCNdLEAST64): Likewise.
53761         [C99-based-standards] (SCNiLEAST64): Likewise.
53762         [C99-based-standards] (SCNoLEAST64): Likewise.
53763         [C99-based-standards] (SCNuLEAST64): Likewise.
53764         [C99-based-standards] (SCNxLEAST64): Likewise.
53765         [C99-based-standards] (PRIdFAST64): Likewise.
53766         [C99-based-standards] (PRIiFAST64): Likewise.
53767         [C99-based-standards] (PRIoFAST64): Likewise.
53768         [C99-based-standards] (PRIuFAST64): Likewise.
53769         [C99-based-standards] (PRIxFAST64): Likewise.
53770         [C99-based-standards] (PRIXFAST64): Likewise.
53771         [C99-based-standards] (SCNdFAST64): Likewise.
53772         [C99-based-standards] (SCNiFAST64): Likewise.
53773         [C99-based-standards] (SCNoFAST64): Likewise.
53774         [C99-based-standards] (SCNuFAST64): Likewise.
53775         [C99-based-standards] (SCNxFAST64): Likewise.
53776         [C99-based-standards] (PRIdMAX): Likewise.
53777         [C99-based-standards] (PRIiMAX): Likewise.
53778         [C99-based-standards] (PRIoMAX): Likewise.
53779         [C99-based-standards] (PRIuMAX): Likewise.
53780         [C99-based-standards] (PRIxMAX): Likewise.
53781         [C99-based-standards] (PRIXMAX): Likewise.
53782         [C99-based-standards] (SCNdMAX): Likewise.
53783         [C99-based-standards] (SCNiMAX): Likewise.
53784         [C99-based-standards] (SCNoMAX): Likewise.
53785         [C99-based-standards] (SCNuMAX): Likewise.
53786         [C99-based-standards] (SCNxMAX): Likewise.
53787         [C99-based-standards] (PRIdPTR): Likewise.
53788         [C99-based-standards] (PRIiPTR): Likewise.
53789         [C99-based-standards] (PRIoPTR): Likewise.
53790         [C99-based-standards] (PRIuPTR): Likewise.
53791         [C99-based-standards] (PRIxPTR): Likewise.
53792         [C99-based-standards] (PRIXPTR): Likewise.
53793         [C99-based-standards] (SCNdPTR): Likewise.
53794         [C99-based-standards] (SCNiPTR): Likewise.
53795         [C99-based-standards] (SCNoPTR): Likewise.
53796         [C99-based-standards] (SCNuPTR): Likewise.
53797         [C99-based-standards] (SCNxPTR): Likewise.
53798         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53799         allow.
53800         * conform/data/stdint.h-data: Update comments to clarify
53801         requirements.
53802         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53803         type.
53804         [C99-based standards] (INT8_MAX): Likewise.
53805         [C99-based standards] (INT16_MIN): Likewise.
53806         [C99-based standards] (INT16_MAX): Likewise.
53807         [C99-based standards] (INT32_MIN): Likewise.
53808         [C99-based standards] (INT32_MAX): Likewise.
53809         [C99-based standards] (INT64_MIN): Likewise.
53810         [C99-based standards] (INT64_MAX): Likewise.
53811         [C99-based standards] (UINT8_MAX): Likewise.
53812         [C99-based standards] (UINT16_MAX): Likewise.
53813         [C99-based standards] (UINT32_MAX): Likewise.
53814         [C99-based standards] (UINT64_MAX): Likewise.
53815         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53816         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53817         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53818         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53819         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53820         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53821         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53822         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53823         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53824         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53825         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53826         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53827         [C99-based standards] (INT_FAST8_MIN): Likewise.
53828         [C99-based standards] (INT_FAST8_MAX): Likewise.
53829         [C99-based standards] (INT_FAST16_MIN): Likewise.
53830         [C99-based standards] (INT_FAST16_MAX): Likewise.
53831         [C99-based standards] (INT_FAST32_MIN): Likewise.
53832         [C99-based standards] (INT_FAST32_MAX): Likewise.
53833         [C99-based standards] (INT_FAST64_MIN): Likewise.
53834         [C99-based standards] (INT_FAST64_MAX): Likewise.
53835         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53836         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53837         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53838         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53839         [C99-based standards] (INTPTR_MIN): Likewise.
53840         [C99-based standards] (INTPTR_MAX): Likewise.
53841         [C99-based standards] (UINTPTR_MAX): Likewise.
53842         [C99-based standards] (INTMAX_MIN): Likewise.
53843         [C99-based standards] (INTMAX_MAX): Likewise.
53844         [C99-based standards] (UINTMAX_MAX): Likewise.
53845         [C99-based standards] (PTRDIFF_MIN): Likewise.
53846         [C99-based standards] (PTRDIFF_MAX): Likewise.
53847         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53848         [C99-based standards] (SIZE_MAX): Likewise.
53849         [C99-based standards] (WCHAR_MAX): Likewise.
53850         [C99-based standards] (WINT_MAX): Likewise.
53851         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53852         constraint on value.
53853         [C99-based standards] (WCHAR_MIN): Likewise.
53854         [C99-based standards] (WINT_MIN): Likewise.
53855         [C99-based standards] (*_t): Allow.
53856         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53857         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53858         Include math.h-data and complex.h-data.  Remove all expectations
53859         of math.h and complex.h contents.
53860         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53861         at end of line.
53862         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53863         (struct tm): Expect tag.
53864         [C99-based-standards] (wcstof): Expect function.
53865         [C99-based-standards] (wcstold): Likewise.
53866         [C99-based-standards] (wcstoll): Likewise.
53867         [C99-based-standards] (wcstoull): Likewise.
53868         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53869         macro-int-constant.  Specify type.
53870         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53871         constraint on value.
53872         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53873         Specify type.
53874         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53875         Specify value.
53876         [ISO C standards]: Do not allow headers.
53877         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53878         wcs[abcdefghijklmnopqrstuvwxyz]*.
53879         [ISO C standards] (*_t): Do not allow.
53880         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53881         Expect function.
53882         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53883         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53884         Specify type.
53885         [ISO C standards]: Do not allow headers.
53886         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53887         is[abcdefghijklmnopqrstuvwxyz]*.
53888         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53889         to[abcdefghijklmnopqrstuvwxyz]*.
53890         [ISO C standards] (*_t): Do not allow.
53891         * conform/data/stdalign.h-data: New file.
53892         * conform/data/stdbool.h-data: Likewise.
53893         * conform/data/stdnoreturn.h-data: Likewise.
53895 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53897         [BZ #14815]
53898         * manual/filesys.texi (Directory Entries): Typo fix.
53899         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53901 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53903         * elf/elf.h (EM_AARCH64): New macro.
53904         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53905         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53906         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53907         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53908         (R_AARCH64_TLSDESC): Likewise.
53909         (NT_ARM_TLS): Likewise.
53910         (NT_ARM_HW_BREAK): Likewise.
53911         (NT_ARM_HW_WATCH): Likewise.
53913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53915         [BZ #14811]
53916         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53917         (__ieee754_powl): Saturate nonzero exponents with absolute value
53918         below 0x1p-79 to +/- 0x1p-79.
53919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53920         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53921         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53922         nonzero exponents with absolute value below 0x1p-32 to +/-
53923         0x1p-32.
53924         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53925         (__ieee754_powl): Saturate nonzero exponents with absolute value
53926         below 0x1p-79 to +/- 0x1p-79.
53927         * math/libm-test.inc (pow_test): Add more tests.
53929 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53931         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53932         _dl_s390_cap_flags with kernel. Increase string length.
53933         (_dl_s390_platforms): Add z196 and zEC12.
53935 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53937         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53938         Change XOPEN21K to XOPEN2K.
53940 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53942         * string/memmove.c: Use memcpy when possible.
53944 2012-11-06  Andreas Jaeger  <aj@suse.de>
53946         * po/eo.po: Update from translation team.
53948 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53950         [BZ #14793]
53951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53952         exponent and small x and y exponents, scale x or y up.  Increase
53953         by 2 the exponent used in scaling up.
53954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53956         * math/libm-test.inc (fma_test): Add more tests.
53957         (fma_test_towardzero): Likewise.
53958         (fma_test_downward): Likewise.
53959         (fma_test_upward): Likewise.
53961 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53963         [BZ #14805]
53964         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53965         fenv_t *.
53967         [BZ #14801]
53968         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53969         namespace for names of struct fields.
53970         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53971         fenv_t fields.
53972         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53973         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53975 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53977         [BZ #3665]
53978         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53980 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53982         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53983         PTR_DEMANGLE.
53985         [BZ #5246]
53986         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53987         PTR_DEMANGLE.
53989 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53991         [BZ #14797]
53992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53993         definitely overflow as x * y not x * y + z.
53994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53996         * math/libm-test.inc (fma_test): Add more tests.
53997         (fma_test_towardzero): Likewise.
53998         (fma_test_downward): Likewise.
53999         (fma_test_upward): Likewise.
54001 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54003         [BZ #157]
54005         * include/stub-tag.h: Remove file.
54006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54007         '#include' of it.
54008         * manual/maint.texi (Porting): Don't reference it.
54009         * Makerules ($(objpfx)stubs): Likewise.
54010         * dirent/closedir.c: Don't include <stub-tag.h>.
54011         * dirent/dirfd.c: Likewise.
54012         * dirent/fdopendir.c: Likewise.
54013         * dirent/getdents.c: Likewise.
54014         * dirent/getdents64.c: Likewise.
54015         * dirent/opendir.c: Likewise.
54016         * dirent/readdir.c: Likewise.
54017         * dirent/readdir64.c: Likewise.
54018         * dirent/readdir64_r.c: Likewise.
54019         * dirent/readdir_r.c: Likewise.
54020         * dirent/rewinddir.c: Likewise.
54021         * dirent/seekdir.c: Likewise.
54022         * dirent/telldir.c: Likewise.
54023         * gmon/profil.c: Likewise.
54024         * grp/setgroups.c: Likewise.
54025         * inet/if_index.c: Likewise.
54026         * io/access.c: Likewise.
54027         * io/chdir.c: Likewise.
54028         * io/chmod.c: Likewise.
54029         * io/chown.c: Likewise.
54030         * io/close.c: Likewise.
54031         * io/dup.c: Likewise.
54032         * io/dup2.c: Likewise.
54033         * io/dup3.c: Likewise.
54034         * io/euidaccess.c: Likewise.
54035         * io/faccessat.c: Likewise.
54036         * io/fchdir.c: Likewise.
54037         * io/fchmod.c: Likewise.
54038         * io/fchmodat.c: Likewise.
54039         * io/fchown.c: Likewise.
54040         * io/fchownat.c: Likewise.
54041         * io/fcntl.c: Likewise.
54042         * io/flock.c: Likewise.
54043         * io/fstatfs.c: Likewise.
54044         * io/fstatfs64.c: Likewise.
54045         * io/fstatvfs.c: Likewise.
54046         * io/fstatvfs64.c: Likewise.
54047         * io/futimens.c: Likewise.
54048         * io/fxstat.c: Likewise.
54049         * io/fxstat64.c: Likewise.
54050         * io/fxstatat.c: Likewise.
54051         * io/fxstatat64.c: Likewise.
54052         * io/getcwd.c: Likewise.
54053         * io/isatty.c: Likewise.
54054         * io/lchmod.c: Likewise.
54055         * io/lchown.c: Likewise.
54056         * io/link.c: Likewise.
54057         * io/linkat.c: Likewise.
54058         * io/lseek.c: Likewise.
54059         * io/lseek64.c: Likewise.
54060         * io/lxstat64.c: Likewise.
54061         * io/mkdir.c: Likewise.
54062         * io/mkdirat.c: Likewise.
54063         * io/mkfifo.c: Likewise.
54064         * io/mkfifoat.c: Likewise.
54065         * io/open.c: Likewise.
54066         * io/open64.c: Likewise.
54067         * io/openat.c: Likewise.
54068         * io/openat64.c: Likewise.
54069         * io/pipe.c: Likewise.
54070         * io/pipe2.c: Likewise.
54071         * io/poll.c: Likewise.
54072         * io/posix_fadvise.c: Likewise.
54073         * io/posix_fadvise64.c: Likewise.
54074         * io/posix_fallocate.c: Likewise.
54075         * io/posix_fallocate64.c: Likewise.
54076         * io/read.c: Likewise.
54077         * io/readlink.c: Likewise.
54078         * io/readlinkat.c: Likewise.
54079         * io/rmdir.c: Likewise.
54080         * io/sendfile.c: Likewise.
54081         * io/sendfile64.c: Likewise.
54082         * io/statfs.c: Likewise.
54083         * io/statfs64.c: Likewise.
54084         * io/statvfs.c: Likewise.
54085         * io/statvfs64.c: Likewise.
54086         * io/symlink.c: Likewise.
54087         * io/symlinkat.c: Likewise.
54088         * io/ttyname.c: Likewise.
54089         * io/ttyname_r.c: Likewise.
54090         * io/umask.c: Likewise.
54091         * io/unlink.c: Likewise.
54092         * io/unlinkat.c: Likewise.
54093         * io/utime.c: Likewise.
54094         * io/utimensat.c: Likewise.
54095         * io/write.c: Likewise.
54096         * io/xmknod.c: Likewise.
54097         * io/xmknodat.c: Likewise.
54098         * io/xstat.c: Likewise.
54099         * io/xstat64.c: Likewise.
54100         * login/getpt.c: Likewise.
54101         * login/grantpt.c: Likewise.
54102         * login/unlockpt.c: Likewise.
54103         * math/e_acoshl.c: Likewise.
54104         * math/e_acosl.c: Likewise.
54105         * math/e_asinl.c: Likewise.
54106         * math/e_atan2l.c: Likewise.
54107         * math/e_atanhl.c: Likewise.
54108         * math/e_coshl.c: Likewise.
54109         * math/e_expl.c: Likewise.
54110         * math/e_fmodl.c: Likewise.
54111         * math/e_gammal_r.c: Likewise.
54112         * math/e_hypotl.c: Likewise.
54113         * math/e_j0l.c: Likewise.
54114         * math/e_j1l.c: Likewise.
54115         * math/e_jnl.c: Likewise.
54116         * math/e_lgammal_r.c: Likewise.
54117         * math/e_log10l.c: Likewise.
54118         * math/e_log2l.c: Likewise.
54119         * math/e_logl.c: Likewise.
54120         * math/e_powl.c: Likewise.
54121         * math/e_rem_pio2l.c: Likewise.
54122         * math/e_sinhl.c: Likewise.
54123         * math/e_sqrtl.c: Likewise.
54124         * math/fclrexcpt.c: Likewise.
54125         * math/fedisblxcpt.c: Likewise.
54126         * math/feenablxcpt.c: Likewise.
54127         * math/fegetenv.c: Likewise.
54128         * math/fegetexcept.c: Likewise.
54129         * math/fegetround.c: Likewise.
54130         * math/feholdexcpt.c: Likewise.
54131         * math/fesetenv.c: Likewise.
54132         * math/fesetround.c: Likewise.
54133         * math/feupdateenv.c: Likewise.
54134         * math/fgetexcptflg.c: Likewise.
54135         * math/fraiseexcpt.c: Likewise.
54136         * math/fsetexcptflg.c: Likewise.
54137         * math/ftestexcept.c: Likewise.
54138         * math/k_cosl.c: Likewise.
54139         * math/k_rem_pio2l.c: Likewise.
54140         * math/k_sinl.c: Likewise.
54141         * math/k_tanl.c: Likewise.
54142         * math/s_asinhl.c: Likewise.
54143         * math/s_atanl.c: Likewise.
54144         * math/s_cbrtl.c: Likewise.
54145         * math/s_erfl.c: Likewise.
54146         * math/s_expm1l.c: Likewise.
54147         * math/s_log1pl.c: Likewise.
54148         * math/s_tanhl.c: Likewise.
54149         * misc/acct.c: Likewise.
54150         * misc/brk.c: Likewise.
54151         * misc/chflags.c: Likewise.
54152         * misc/chroot.c: Likewise.
54153         * misc/fchflags.c: Likewise.
54154         * misc/fgetxattr.c: Likewise.
54155         * misc/flistxattr.c: Likewise.
54156         * misc/fremovexattr.c: Likewise.
54157         * misc/fsetxattr.c: Likewise.
54158         * misc/fsync.c: Likewise.
54159         * misc/ftruncate.c: Likewise.
54160         * misc/futimes.c: Likewise.
54161         * misc/futimesat.c: Likewise.
54162         * misc/getdomain.c: Likewise.
54163         * misc/getdtsz.c: Likewise.
54164         * misc/gethostid.c: Likewise.
54165         * misc/gethostname.c: Likewise.
54166         * misc/getloadavg.c: Likewise.
54167         * misc/getpagesize.c: Likewise.
54168         * misc/getsysstats.c: Likewise.
54169         * misc/getxattr.c: Likewise.
54170         * misc/gtty.c: Likewise.
54171         * misc/ioctl.c: Likewise.
54172         * misc/lgetxattr.c: Likewise.
54173         * misc/listxattr.c: Likewise.
54174         * misc/llistxattr.c: Likewise.
54175         * misc/lremovexattr.c: Likewise.
54176         * misc/lsetxattr.c: Likewise.
54177         * misc/lutimes.c: Likewise.
54178         * misc/madvise.c: Likewise.
54179         * misc/mincore.c: Likewise.
54180         * misc/mlock.c: Likewise.
54181         * misc/mlockall.c: Likewise.
54182         * misc/mmap.c: Likewise.
54183         * misc/mprotect.c: Likewise.
54184         * misc/msync.c: Likewise.
54185         * misc/munlock.c: Likewise.
54186         * misc/munlockall.c: Likewise.
54187         * misc/munmap.c: Likewise.
54188         * misc/preadv.c: Likewise.
54189         * misc/preadv64.c: Likewise.
54190         * misc/ptrace.c: Likewise.
54191         * misc/pwritev.c: Likewise.
54192         * misc/pwritev64.c: Likewise.
54193         * misc/readv.c: Likewise.
54194         * misc/reboot.c: Likewise.
54195         * misc/remap_file_pages.c: Likewise.
54196         * misc/removexattr.c: Likewise.
54197         * misc/revoke.c: Likewise.
54198         * misc/select.c: Likewise.
54199         * misc/setdomain.c: Likewise.
54200         * misc/setegid.c: Likewise.
54201         * misc/seteuid.c: Likewise.
54202         * misc/sethostid.c: Likewise.
54203         * misc/sethostname.c: Likewise.
54204         * misc/setregid.c: Likewise.
54205         * misc/setreuid.c: Likewise.
54206         * misc/setxattr.c: Likewise.
54207         * misc/sstk.c: Likewise.
54208         * misc/stty.c: Likewise.
54209         * misc/swapoff.c: Likewise.
54210         * misc/swapon.c: Likewise.
54211         * misc/sync.c: Likewise.
54212         * misc/syncfs.c: Likewise.
54213         * misc/syscall.c: Likewise.
54214         * misc/truncate.c: Likewise.
54215         * misc/ualarm.c: Likewise.
54216         * misc/usleep.c: Likewise.
54217         * misc/ustat.c: Likewise.
54218         * misc/utimes.c: Likewise.
54219         * misc/vhangup.c: Likewise.
54220         * misc/writev.c: Likewise.
54221         * posix/_exit.c: Likewise.
54222         * posix/alarm.c: Likewise.
54223         * posix/execve.c: Likewise.
54224         * posix/fexecve.c: Likewise.
54225         * posix/fork.c: Likewise.
54226         * posix/fpathconf.c: Likewise.
54227         * posix/getaddrinfo.c: Likewise.
54228         * posix/getegid.c: Likewise.
54229         * posix/geteuid.c: Likewise.
54230         * posix/getgid.c: Likewise.
54231         * posix/getgroups.c: Likewise.
54232         * posix/getlogin.c: Likewise.
54233         * posix/getlogin_r.c: Likewise.
54234         * posix/getpgid.c: Likewise.
54235         * posix/getpid.c: Likewise.
54236         * posix/getppid.c: Likewise.
54237         * posix/getresgid.c: Likewise.
54238         * posix/getresuid.c: Likewise.
54239         * posix/getsid.c: Likewise.
54240         * posix/getuid.c: Likewise.
54241         * posix/glob64.c: Likewise.
54242         * posix/nanosleep.c: Likewise.
54243         * posix/pathconf.c: Likewise.
54244         * posix/pause.c: Likewise.
54245         * posix/posix_madvise.c: Likewise.
54246         * posix/pread.c: Likewise.
54247         * posix/pread64.c: Likewise.
54248         * posix/pwrite.c: Likewise.
54249         * posix/pwrite64.c: Likewise.
54250         * posix/sched_getaffinity.c: Likewise.
54251         * posix/sched_getp.c: Likewise.
54252         * posix/sched_gets.c: Likewise.
54253         * posix/sched_primax.c: Likewise.
54254         * posix/sched_primin.c: Likewise.
54255         * posix/sched_rr_gi.c: Likewise.
54256         * posix/sched_setaffinity.c: Likewise.
54257         * posix/sched_setp.c: Likewise.
54258         * posix/sched_sets.c: Likewise.
54259         * posix/sched_yield.c: Likewise.
54260         * posix/setgid.c: Likewise.
54261         * posix/setlogin.c: Likewise.
54262         * posix/setpgid.c: Likewise.
54263         * posix/setresgid.c: Likewise.
54264         * posix/setresuid.c: Likewise.
54265         * posix/setsid.c: Likewise.
54266         * posix/setuid.c: Likewise.
54267         * posix/sleep.c: Likewise.
54268         * posix/spawni.c: Likewise.
54269         * posix/sysconf.c: Likewise.
54270         * posix/times.c: Likewise.
54271         * posix/wait.c: Likewise.
54272         * posix/wait3.c: Likewise.
54273         * posix/wait4.c: Likewise.
54274         * posix/waitpid.c: Likewise.
54275         * resolv/gai_sigqueue.c: Likewise.
54276         * resource/getpriority.c: Likewise.
54277         * resource/getrlimit.c: Likewise.
54278         * resource/getrusage.c: Likewise.
54279         * resource/nice.c: Likewise.
54280         * resource/setpriority.c: Likewise.
54281         * resource/setrlimit.c: Likewise.
54282         * resource/ulimit.c: Likewise.
54283         * rt/aio_cancel.c: Likewise.
54284         * rt/aio_fsync.c: Likewise.
54285         * rt/aio_read.c: Likewise.
54286         * rt/aio_sigqueue.c: Likewise.
54287         * rt/aio_suspend.c: Likewise.
54288         * rt/aio_write.c: Likewise.
54289         * rt/clock_getres.c: Likewise.
54290         * rt/clock_gettime.c: Likewise.
54291         * rt/clock_nanosleep.c: Likewise.
54292         * rt/clock_settime.c: Likewise.
54293         * rt/lio_listio.c: Likewise.
54294         * rt/mq_close.c: Likewise.
54295         * rt/mq_getattr.c: Likewise.
54296         * rt/mq_notify.c: Likewise.
54297         * rt/mq_open.c: Likewise.
54298         * rt/mq_receive.c: Likewise.
54299         * rt/mq_send.c: Likewise.
54300         * rt/mq_setattr.c: Likewise.
54301         * rt/mq_timedreceive.c: Likewise.
54302         * rt/mq_timedsend.c: Likewise.
54303         * rt/mq_unlink.c: Likewise.
54304         * rt/shm_open.c: Likewise.
54305         * rt/shm_unlink.c: Likewise.
54306         * rt/timer_create.c: Likewise.
54307         * rt/timer_delete.c: Likewise.
54308         * rt/timer_getoverr.c: Likewise.
54309         * rt/timer_gettime.c: Likewise.
54310         * rt/timer_settime.c: Likewise.
54311         * setjmp/__longjmp.c: Likewise.
54312         * setjmp/setjmp.c: Likewise.
54313         * signal/kill.c: Likewise.
54314         * signal/killpg.c: Likewise.
54315         * signal/raise.c: Likewise.
54316         * signal/sigaction.c: Likewise.
54317         * signal/sigaltstack.c: Likewise.
54318         * signal/sigblock.c: Likewise.
54319         * signal/sigignore.c: Likewise.
54320         * signal/sigintr.c: Likewise.
54321         * signal/signal.c: Likewise.
54322         * signal/sigpause.c: Likewise.
54323         * signal/sigpending.c: Likewise.
54324         * signal/sigqueue.c: Likewise.
54325         * signal/sigreturn.c: Likewise.
54326         * signal/sigset.c: Likewise.
54327         * signal/sigsetmask.c: Likewise.
54328         * signal/sigstack.c: Likewise.
54329         * signal/sigsuspend.c: Likewise.
54330         * signal/sigtimedwait.c: Likewise.
54331         * signal/sigvec.c: Likewise.
54332         * signal/sigwait.c: Likewise.
54333         * signal/sigwaitinfo.c: Likewise.
54334         * signal/sysv_signal.c: Likewise.
54335         * socket/accept.c: Likewise.
54336         * socket/accept4.c: Likewise.
54337         * socket/bind.c: Likewise.
54338         * socket/connect.c: Likewise.
54339         * socket/getpeername.c: Likewise.
54340         * socket/getsockname.c: Likewise.
54341         * socket/getsockopt.c: Likewise.
54342         * socket/isfdtype.c: Likewise.
54343         * socket/listen.c: Likewise.
54344         * socket/recv.c: Likewise.
54345         * socket/recvfrom.c: Likewise.
54346         * socket/recvmsg.c: Likewise.
54347         * socket/send.c: Likewise.
54348         * socket/sendmsg.c: Likewise.
54349         * socket/sendto.c: Likewise.
54350         * socket/setsockopt.c: Likewise.
54351         * socket/shutdown.c: Likewise.
54352         * socket/sockatmark.c: Likewise.
54353         * socket/socket.c: Likewise.
54354         * socket/socketpair.c: Likewise.
54355         * stdio-common/ctermid.c: Likewise.
54356         * stdio-common/cuserid.c: Likewise.
54357         * stdio-common/remove.c: Likewise.
54358         * stdio-common/rename.c: Likewise.
54359         * stdio-common/renameat.c: Likewise.
54360         * stdio-common/tempname.c: Likewise.
54361         * stdlib/getcontext.c: Likewise.
54362         * stdlib/makecontext.c: Likewise.
54363         * stdlib/setcontext.c: Likewise.
54364         * stdlib/swapcontext.c: Likewise.
54365         * stdlib/system.c: Likewise.
54366         * streams/fattach.c: Likewise.
54367         * streams/fdetach.c: Likewise.
54368         * streams/getmsg.c: Likewise.
54369         * streams/getpmsg.c: Likewise.
54370         * streams/putmsg.c: Likewise.
54371         * streams/putpmsg.c: Likewise.
54372         * sysdeps/unix/bsd/getpt.c: Likewise.
54373         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54374         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54375         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54377         Likewise.
54378         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54379         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54380         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54381         * sysvipc/msgctl.c: Likewise.
54382         * sysvipc/msgget.c: Likewise.
54383         * sysvipc/msgrcv.c: Likewise.
54384         * sysvipc/msgsnd.c: Likewise.
54385         * sysvipc/semctl.c: Likewise.
54386         * sysvipc/semget.c: Likewise.
54387         * sysvipc/semop.c: Likewise.
54388         * sysvipc/semtimedop.c: Likewise.
54389         * sysvipc/shmat.c: Likewise.
54390         * sysvipc/shmctl.c: Likewise.
54391         * sysvipc/shmdt.c: Likewise.
54392         * sysvipc/shmget.c: Likewise.
54393         * termios/tcdrain.c: Likewise.
54394         * termios/tcflow.c: Likewise.
54395         * termios/tcflush.c: Likewise.
54396         * termios/tcgetattr.c: Likewise.
54397         * termios/tcgetpgrp.c: Likewise.
54398         * termios/tcsendbrk.c: Likewise.
54399         * termios/tcsetattr.c: Likewise.
54400         * termios/tcsetpgrp.c: Likewise.
54401         * time/adjtime.c: Likewise.
54402         * time/clock.c: Likewise.
54403         * time/getitimer.c: Likewise.
54404         * time/gettimeofday.c: Likewise.
54405         * time/setitimer.c: Likewise.
54406         * time/settimeofday.c: Likewise.
54407         * time/stime.c: Likewise.
54408         * time/time.c: Likewise.
54410 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54412         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54413         /usr/old/bin.
54415         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54416         instead of spaces.
54417         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54419 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54421         [BZ #14796]
54422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54423         FE_TONEAREST before applying Dekker multiplication and Knuth
54424         addition.  Clear inexact exceptions and check for exact zero
54425         results afterwards.
54426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54427         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54429         * math/libm-test.inc (fma_test): Add more tests.
54430         (fma_test_towardzero): Likewise.
54431         (fma_test_downward): Likewise.
54432         (fma_test_upward): Likewise.
54433         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54434         function.
54435         (libc_fesetround): New macro.
54436         (libc_fesetroundf): Likewise.
54437         (libc_fesetroundl): Likewise.
54438         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54439         function.
54440         (libc_fesetround_387): Likewise.
54441         (libc_fesetroundf): New macro.
54442         (libc_fesetround): Likewise.
54443         (libc_fesetroundl): Likewise.
54444         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54445         function.
54446         (libc_fesetroundf): New macro.
54447         (libc_fesetround): Likewise.
54448         (libc_fesetroundl): Likewise.
54449         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54450         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54451         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54452         libm_hidden_ver.
54453         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54454         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54455         libm_hidden_def.
54456         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54457         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54458         libm_hidden_ver.
54459         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54460         libm_hidden_def.
54462         [BZ #3439]
54463         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54464         integer constant usable in #if and use that to give value to enum
54465         constant.
54466         (FE_DIVBYZERO): Likewise.
54467         (FE_UNDERFLOW): Likewise.
54468         (FE_OVERFLOW): Likewise.
54469         (FE_INVALID): Likewise.
54470         (FE_INVALID_SNAN): Likewise.
54471         (FE_INVALID_ISI): Likewise.
54472         (FE_INVALID_IDI): Likewise.
54473         (FE_INVALID_ZDZ): Likewise.
54474         (FE_INVALID_IMZ): Likewise.
54475         (FE_INVALID_COMPARE): Likewise.
54476         (FE_INVALID_SOFTWARE): Likewise.
54477         (FE_INVALID_SQRT): Likewise.
54478         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54479         (FE_TONEAREST): Likewise.
54480         (FE_TOWARDZERO): Likewise.
54481         (FE_UPWARD): Likewise.
54482         (FE_DOWNWARD): Likewise.
54483         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54484         (FE_DIVBYZERO): Likewise.
54485         (FE_OVERFLOW): Likewise.
54486         (FE_UNDERFLOW): Likewise.
54487         (FE_INEXACT): Likewise.
54488         (FE_TONEAREST): Likewise.
54489         (FE_DOWNWARD): Likewise.
54490         (FE_UPWARD): Likewise.
54491         (FE_TOWARDZERO): Likewise.
54492         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54493         (FE_UNDERFLOW): Likewise.
54494         (FE_OVERFLOW): Likewise.
54495         (FE_DIVBYZERO): Likewise.
54496         (FE_INVALID): Likewise.
54497         (FE_TONEAREST): Likewise.
54498         (FE_TOWARDZERO): Likewise.
54499         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54500         (FE_OVERFLOW): Likewise.
54501         (FE_UNDERFLOW): Likewise.
54502         (FE_DIVBYZERO): Likewise.
54503         (FE_INEXACT): Likewise.
54504         (FE_TONEAREST): Likewise.
54505         (FE_TOWARDZERO): Likewise.
54506         (FE_UPWARD): Likewise.
54507         (FE_DOWNWARD): Likewise.
54508         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54509         (FE_DIVBYZERO): Likewise.
54510         (FE_OVERFLOW): Likewise.
54511         (FE_UNDERFLOW): Likewise.
54512         (FE_INEXACT): Likewise.
54513         (FE_TONEAREST): Likewise.
54514         (FE_DOWNWARD): Likewise.
54515         (FE_UPWARD): Likewise.
54516         (FE_TOWARDZERO): Likewise.
54518 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54520         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54522 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54524         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54525         commands.  Quote $PWD.
54526         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54527         -x" by "export".
54528         (remove_newlines): Remove.
54530 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54532         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54533         * stdlib/stdlib.h (atof): Moved to ...
54534         * include/bits/stdlib-float.h: Here.  New file.
54535         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54536         * stdlib/bits/stdlib-float.h: New file.
54537         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54538         -mno-sse -mno-mmx.
54539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54540         <xmmintrin.h>.
54542 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54544         * conform/conformtest.pl (@headers): Add fenv.h.
54545         * conform/data/fenv.h-data: New file.
54546         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54547         include of <math/fenv.h>.
54549         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54550         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54551         && !UNIX98].  Enables tests for XOPEN2K8.
54552         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54553         POSIX2008]: Likewise.
54555         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54556         (struct rusage): Do not expect type or its members.
54558         [BZ #3439]
54559         * math/math.h (FP_NAN): Define macro to integer constant usable in
54560         #if and use that to give value to enum constant.
54561         (FP_INFINITE): Likewise.
54562         (FP_ZERO): Likewise.
54563         (FP_SUBNORMAL): Likewise.
54564         (FP_NORMAL): Likewise.
54566 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54568         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54569         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54570         arguments.
54572 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54575         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54576         autoconf-time if not.
54577         * configure.in: Remove AC_PREREQ.
54579 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54581         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54582         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54583         of the internal implementation.
54585 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54587         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54588         except include of <misc/sys/syslog.h>.
54590 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54593         function returns with a NULL context exit with zero.
54595 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54597         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54599 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54601         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54602         (run_program_cmd): This.
54603         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54604         (tst_langinfo): New variable.  Use it.
54606 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54608         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54609         floating point opcodes.
54611 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54613         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54614         variable.
54616         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54618         * sysdeps/mach/hurd/powerpc: Remove directory.
54619         * sysdeps/mach/powerpc: Likewise.
54621 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54623         * scripts/check-local-headers.sh: Ignore c++ headers.
54625 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54627         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54628         __libc_cleanup_region_start argument.
54630 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54632         [BZ #14784]
54633         [BZ #14785]
54634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54635         x * y using scaling, not as x * y + z.
54636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54638         * math/libm-test.inc (fma_test): Add more tests.
54639         (fma_test_towardzero): Likewise.
54640         (fma_test_downward): Likewise.
54641         (fma_test_upward): Likewise.
54643 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54645         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54647 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54649         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54650         New variable.
54652 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54654         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54656 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54659         Fix sort order.
54660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54661         Likewise.
54663 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54666         Fix the order of the list for glibc 2.17.
54667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54668         Likewise.
54670 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54674 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54676         [BZ #14610]
54677         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54678         for low part of x being zero before using __atanl (y).
54679         * math/libm-test.inc (atan2_test): Add another test.
54681         * manual/install.texi (Configuring and compiling): Document
54682         general use of test-wrapper and test-wrapper-env.
54683         * INSTALL: Regenerated.
54685         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54686         (__fma): Do not extract and scale down low bits on after-rounding
54687         systems when result rounded to normal precision would have normal
54688         exponent.
54689         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54690         (__fmal): Do not extract and scale down low bits on after-rounding
54691         systems when result rounded to normal precision would have normal
54692         exponent.
54693         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54694         (__fmal): Do not extract and scale down low bits on after-rounding
54695         systems when result rounded to normal precision would have normal
54696         exponent.
54697         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54698         macro.
54699         (fma_test): Add more tests.
54700         (fma_test_towardzero): Likewise.
54701         (fma_test_downward): Likewise.
54702         (fma_test_upward): Likewise.
54704 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54706         * sysdeps/i386/tininess.h: Renamed to ...
54707         * sysdeps/x86/tininess.h: This.
54708         * sysdeps/x86_64/tininess.h: Removed.
54710 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54712         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54713         input.  Use $(build-program-cmd).
54714         ($(objpfx)tst-array1-static.out): Likewise.
54715         ($(objpfx)tst-array2.out): Likewise.
54716         ($(objpfx)tst-array3.out): Likewise.
54717         ($(objpfx)tst-array4.out): Likewise.
54718         ($(objpfx)tst-array5.out): Likewise.
54719         ($(objpfx)tst-array5-static.out): Likewise.
54721 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54723         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54724         if defined.
54726         * nss/nsswitch.h (nss_interface_function): Provide new
54727         macro for use with NSS functions.
54728         * grp/initgroups.c: Use new macro.
54729         * nss/getXXbyYY.c: Likewise.
54730         * nss/getXXbyYY_r.c: Likewise.
54731         * nss/getXXent.c: Likewise.
54732         * nss/getXXent_r.c: Likewise.
54733         * sysdeps/posix/getaddrinfo.c: Likewise.
54735 2012-10-30  Andreas Jaeger  <aj@suse.de>
54737         * po/ru.po: Update Russion translation from translation project.
54739 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54741         [BZ #14152]
54742         [BZ #14783]
54743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54744         result and shift together with sticky bit instead of replicating
54745         round-to-nearest rounding.
54746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54748         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54749         missing underflow exceptions.
54750         (fma_test_towardzero): Add more tests.
54751         (fma_test_downward): Likewise.
54752         (fma_test_upward): Likewise.
54754         [BZ #14047]
54755         * sysdeps/generic/tininess.h: New file.
54756         * sysdeps/i386/tininess.h: Likewise.
54757         * sysdeps/sh/tininess.h: Likewise.
54758         * sysdeps/x86_64/tininess.h: Likewise.
54759         * stdlib/tst-strtod-underflow.c: Likewise.
54760         * stdlib/tst-tininess.c: Likewise.
54761         * stdlib/strtod_l.c: Include <tininess.h>.
54762         (round_and_return): Do not set errno for exact underflow cases.
54763         Force an underflow exception when setting errno for underflow.
54764         Determine underflow based on rounding to normal precision if
54765         TININESS_AFTER_ROUNDING.
54766         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54767         ERANGE for exact underflow cases.
54768         * stdlib/Makefile (tests): Add tst-tininess and
54769         tst-strtod-underflow.
54770         ($(objpfx)tst-tininess): Use $(link-libm).
54771         ($(objpfx)tst-strtod-underflow): Likewise.
54773 2012-10-30  Andreas Jaeger  <aj@suse.de>
54775         [BZ#14767]
54776         * elf/Makefile (tests): Remove conditional for have-initfini-array
54777         since this is now always required and the variable does not exist
54778         anymore.
54779         (tests-static): Likewise.
54780         (modules-names): Likewise.
54782         * po/eo.po: Add Esperanto translation from translation project.
54784         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54785         merged with constructor/destructor.
54786         (init_array): Likewise.
54787         * elf/tst-array2dep.c (fini_array): Likewise.
54788         (init_array): Likewise.
54790 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54792         * manual/message.texi: Delete @cartouche tags.
54794 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54796         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54797         EOPNOTSUPP.
54798         * sysdeps/mach/hurd/fsync.c: Likewise.
54800         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54801         [_POSIX_REALTIME_SIGNALS]: Change condition to
54802         [_POSIX_REALTIME_SIGNALS > 0].
54804 2012-10-27  Andreas Jaeger  <aj@suse.de>
54806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54807         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54809         [__WORDSIZE != 64]: Likewise.
54811 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54813         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54814         *  iconvdata/tst-tables.sh: Likewise.
54816 2012-10-25  David S. Miller  <davem@davemloft.net>
54818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54819         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54820         of strtoull.
54822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54823         ifunc-impl-list.c
54824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54825         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54826         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54827         file.
54829 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54832         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54833         __getdirentries.
54835 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54836             Jim Blandy  <jimb@codesourcery.com>
54838         * scripts/cross-test-ssh.sh: New file.
54839         * manual/install.texi (Configuring and compiling): Document use of
54840         cross-test-ssh.sh.
54841         * INSTALL: Regenerated.
54843 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54845         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54846         EOPNOTSUPP.
54848 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54850         * Makeconfig (run-program-prefix): Fix comment.
54852 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54853             Jim Blandy  <jimb@codesourcery.com>
54855         * Makeconfig (test-wrapper): New variable,
54856         (test-wrapper-env): Likewise.
54857         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54858         (run-built-tests): Define to yes.
54859         (run-program-prefix): Use $(test-wrapper).
54860         (built-program-cmd): Likewise.
54861         * Rules (make-test-out): Use $(test-wrapper-env) and
54862         $(host-built-program-cmd).
54863         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54864         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54865         tst-pathopt.sh.
54866         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54867         $(test-wrapper-env) to tst-rtld-load-self.sh.
54868         ($(objpfx)order2.out): Use $(test-wrapper).
54869         ($(objpfx)tst-initorder.out): Likewise.
54870         ($(objpfx)tst-initorder2.out): Likewise.
54871         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54872         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54873         (test_wrapper_env): New variable.  Use it to run ld.so.
54874         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54875         Use it to run ld.so.
54876         (test_wrapper_env): Likewise.
54877         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54878         $(test-wrapper) to run-iconv-test.sh.
54879         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54880         (ICONV): Use $test_wrapper.
54881         * posix/Makefile ($(objpfx)globtest.out): Pass
54882         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54883         globtest.sh, not $(run-program-prefix).
54884         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54885         (test_wrapper): Likewise.
54886         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54887         set together with run_via_rtld_prefix.
54888         (run_program_prefix): Define in terms of test_wrapper and
54889         run_via_rtld_prefix.
54891 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54893         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54894         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54895         Targets removed.
54897         [BZ #14743]
54898         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54899         Declare __clock_getres, __clock_gettime, __clock_settime,
54900         __clock_nanosleep, and __clock_getcpuclockid.
54901         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54902         Remove librt_hidden_def (clock_gettime).
54903         * sysdeps/unix/clock_gettime.c: Likewise.
54904         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54906         * rt/clock_getres.c: Define __clock_getres as an alias.
54907         * sysdeps/posix/clock_getres.c: Likewise.
54908         * rt/clock_settime.c: Define __clock_settime as an alias.
54909         * sysdeps/unix/clock_settime.c: Likewise.
54910         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54911         * sysdeps/unix/clock_nanosleep.c: Likewise.
54912         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54913         * rt/clock-compat.c: New file.
54914         * rt/Makefile (librt-routines): Add clock-compat and move
54915         $(clock-routines) to ...
54916         (routines): ... here, new variable.
54917         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54918         Don't add get_clockfreq here.
54919         * rt/Versions (libc: GLIBC_2.17): New version set.
54920         Add clock_* symbols here.
54921         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54923         (GLIBC_2.17): Add clock_* symbols.
54924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54928         Likewise.
54929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54930         Likewise.
54931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54935         * NEWS: Mention the move.
54937         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54938         Use __open, __read, __close rather than their public counterparts.
54939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54940         (__get_clockfreq_via_cpuinfo): Likewise.
54941         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54942         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54944         * config.h.in (HAVE_IFUNC): New #undef.
54945         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54946         was successful.
54947         * configure: Regenerated.
54949 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54951         * configure.in: Move READELF check to start of file.
54952         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54953         libc_cv_asm_gnu_indirect_function in the process.
54954         * configure: Regenerated.
54956 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54958         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54959         send the output to /dev/null.
54960         (libc_cv_cc_with_libunwind): Likewise.
54961         (libc_cv_as_noexecstack): Likewise.
54962         * configure: Regenerate.
54964 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54966         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54968         * posix/globtest.sh (TMPDIR): Do not set.
54969         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54970         (testout): Likewise.
54972 2012-10-24  Andreas Jaeger  <aj@suse.de>
54974         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54975         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54976         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54977         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54978         posix_fadvise64, posix_fallocate64.
54980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54981         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54982         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54983         Likewise.
54984         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54985         Likewise.
54986         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54989         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54990         <bits/fcntl-linux.h>.
54991         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54994         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54995         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54996         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54997         [__WORDSIZE != 64]: Likewise.
54999 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55001         * Makeconfig (run-built-tests): New variable.
55002         * Rules [$(cross-compiling) = yes]: Change condition to
55003         [$(run-built-tests) = no].
55004         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55005         to [$(run-built-tests) = yes].
55006         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55007         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55008         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55009         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55010         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55011         * io/Makefile [$(cross-compiling) = no]: Likewise.
55012         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55013         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55014         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55015         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55016         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55017         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55018         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55019         * string/Makefile [$(cross-compiling) = no]: Likewise.
55021         * posix/Makefile ($(objpfx)globtest.out): Pass
55022         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55023         $(rtld-installed-name).
55024         * posix/globtest.sh (elf_objpfx): Remove variable.
55025         (rtld_installed_name): Likewise.
55026         (library_path): Likewise.
55027         (run_program_prefix): New variable.  Use for running globtest
55028         binary.
55030 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55031             Joseph Myers  <joseph@codesourcery.com>
55033         * Makeconfig (host-built-program-cmd): New variable.
55034         * elf/Makefile (tst-stackguard1-ARGS): Use
55035         $(host-built-program-cmd).
55036         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55037         (tst-spawn-ARGS): Likewise.
55038         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55040 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55041             Jim Blandy  <jimb@codesourcery.com>
55043         * Makeconfig (run-via-rtld-prefix): New variable.
55044         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55045         (built-program-cmd): Likewise.
55047 2012-10-22  Andreas Jaeger  <aj@suse.de>
55049         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55050         __O_RSYNC if it exists, otherwise to O_SYNC.
55052 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55053             Joseph Myers  <joseph@codesourcery.com>
55055         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55056         /dev/null.
55057         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55058         from /dev/null
55059         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55060         /dev/null.
55062 2012-10-22  Andreas Jaeger  <aj@suse.de>
55064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55065         Define always.
55066         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55069         bits/fcntl-linux.h.
55071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55072         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55075         to __O_LARGEFILE.
55076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55077         to __O_LARGEFILE.
55079 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55080             Joseph Myers  <joseph@codesourcery.com>
55082         * config.make.in (NM): New variable.
55084 2012-10-21  Andreas Jaeger  <aj@suse.de>
55086         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55087         definitions and declarations that are provided by
55088         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55090 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55092         [BZ #14683]
55093         * elf/Makefile (tests-static): Add tst-leaks1-static.
55094         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55095         ($(objpfx)tst-leaks1-static): New rule.
55096         ($(objpfx)tst-leaks1-static-mem): Likewise.
55097         (tst-leaks1-static-ENV): New macro.
55098         * elf/dl-open.c (dl_open_worker): Check the main application
55099         only if SHARED is defined.
55100         * elf/tst-leaks1-static.c: New file.
55102 2012-10-20  Andreas Jaeger  <aj@suse.de>
55104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55105         generic values for Linux.
55106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55107         and declarations that are provided by <bits/fcntl-linux.h> and
55108         include <bits/fcntl-linux.h>.
55109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55112 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55114         * io/fcntl.h: Move include of <bits/types.h> to the top and
55115         include it unconditionally.
55117 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55119         * wcsmbs/Makefile (tests-ifunc): New variable.
55120         (tests): Add $(tests-ifunc).
55121         * wcsmbs/test-wcschr-ifunc.c: New file.
55122         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55123         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55124         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55125         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55126         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55128         * string/Makefile (tests-ifunc): New variable.
55129         (tests): Add $(tests-ifunc).
55130         * string/test-memccpy.c (TEST_NAME): New macro.
55131         * string/test-memchr.c (TEST_NAME): Likewise.
55132         * string/test-memcmp.c (TEST_NAME): Likewise.
55133         * string/test-memcpy.c (TEST_NAME): Likewise.
55134         * string/test-memmem.c (TEST_NAME): Likewise.
55135         * string/test-memmove.c (TEST_NAME): Likewise.
55136         * string/test-memset.c (TEST_NAME): Likewise.
55137         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55138         * string/test-stpcpy.c (TEST_NAME): Likewise.
55139         * string/test-stpncpy.c (TEST_NAME): Likewise.
55140         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55141         * string/test-strcasestr.c (TEST_NAME): Likewise.
55142         * string/test-strcat.c (TEST_NAME): Likewise.
55143         * string/test-strchr.c (TEST_NAME): Likewise.
55144         * string/test-strcmp.c(TEST_NAME): Likewise.
55145         * string/test-strcpy.c (TEST_NAME): Likewise.
55146         * string/test-strcspn.c (TEST_NAME): Likewise.
55147         * string/test-strlen.c (TEST_NAME): Likewise.
55148         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55149         * string/test-strncmp.c (TEST_NAME): Likewise.
55150         * string/test-strncpy.c (TEST_NAME): Likewise.
55151         * string/test-strnlen.c (TEST_NAME): Likewise.
55152         * string/test-strpbrk.c (TEST_NAME): Likewise.
55153         * string/test-strrchr.c (TEST_NAME): Likewise.
55154         * string/test-strspn.c (TEST_NAME): Likewise.
55155         * string/test-strstr.c (TEST_NAME): Likewise.
55156         * string/test-bcopy-ifunc.c: New file.
55157         * string/test-bzero-ifunc.c: Likewise.
55158         * string/test-memccpy-ifunc.c: Likewise.
55159         * string/test-memchr-ifunc.c: Likewise.
55160         * string/test-memcmp-ifunc.c: Likewise.
55161         * string/test-memcpy-ifunc.c: Likewise.
55162         * string/test-memmem-ifunc.c: Likewise.
55163         * string/test-memmove-ifunc.c: Likewise.
55164         * string/test-mempcpy-ifunc.c: Likewise.
55165         * string/test-memset-ifunc.c: Likewise.
55166         * string/test-rawmemchr-ifunc.c: Likewise.
55167         * string/test-stpcpy-ifunc.c: Likewise.
55168         * string/test-stpncpy-ifunc.c: Likewise.
55169         * string/test-strcasecmp-ifunc.c: Likewise.
55170         * string/test-strcasestr-ifunc.c: Likewise.
55171         * string/test-strcat-ifunc.c: Likewise.
55172         * string/test-strchr-ifunc.c: Likewise.
55173         * string/test-strchrnul-ifunc.c: Likewise.
55174         * string/test-strcmp-ifunc.c: Likewise.
55175         * string/test-strcpy-ifunc.c: Likewise.
55176         * string/test-strcspn-ifunc.c: Likewise.
55177         * string/test-strlen-ifunc.c: Likewise.
55178         * string/test-strncasecmp-ifunc.c: Likewise.
55179         * string/test-strncat-ifunc.c: Likewise.
55180         * string/test-strncmp-ifunc.c: Likewise.
55181         * string/test-strncpy-ifunc.c: Likewise.
55182         * string/test-strnlen-ifunc.c: Likewise.
55183         * string/test-strpbrk-ifunc.c: Likewise.
55184         * string/test-strrchr-ifunc.c: Likewise.
55185         * string/test-strspn-ifunc.c: Likewise.
55186         * string/test-strstr-ifunc.c: Likewise.
55188         * debug/Makefile (tests-ifunc): New variable.
55189         (tests): Add $(tests-ifunc).
55190         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55191         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55192         * debug/test-stpcpy_chk-ifunc.c: New file.
55193         * debug/test-strcpy_chk-ifunc.c: Likewise.
55195 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55197         [BZ #13601]
55198         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55199         header is not read in.
55201 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55203         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55204         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55205         directly.  Pass built executable to script as
55206         $(built-program-cmd).
55207         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55208         $testprogram without using LD_LIBRARY_PATH and $ldso.
55210         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55211         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55212         $(rtld-installed-name).
55213         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55214         (rtld_installed_name): Likewise.
55215         (library_path): Likewise.
55216         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55217         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55218         $(run-program-prefix) to tst-tables.sh.
55219         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55220         it to run tst-table-from and tst-table-to.
55221         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55222         Pass it to tst-table.sh.
55223         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55224         $(run-program-prefix) to tst-gettext.sh.
55225         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55226         tst-translit.sh.
55227         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55228         tst-gettext2.sh.
55229         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55230         to run tst-gettext.
55231         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55232         to run tst-gettext2.
55233         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55234         to run tst-translit.
55235         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55236         $(run-program-prefix) to tst-mtrace.sh.
55237         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55238         to run tst-mtrace.
55239         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55240         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55241         $(rtld-installed-name).
55242         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55243         (rtld_installed_name): Likewise.
55244         (run_program_prefix): New variable.  Use it to run wordexp-test.
55246         * Makeconfig (ARCH): Remove all definitions.
55247         (machine): Likewise.
55248         [ARCH]: Remove conditional code.
55249         [!objdir]: Give error.
55250         [!objdir] (objpfx): Remove.
55251         [!objdir] (common-objpfx): Likewise.
55252         [!objdir] (common-objdir): Likewise.
55253         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55254         AC_CONFIG_FILES call.
55255         * configure: Regenerated.
55257         [BZ #13888]
55258         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55259         or TMPDIR.
55260         (testout): Likewise.
55262         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55263         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55264         $(rtld-installed-name).
55265         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55266         (rtld_installed_name): Likwise.
55267         (runit): Remove function.
55268         (run_getconf): New variable,  Use it for running getconf binary.
55270 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55272         [BZ #14716]
55273         * string/test-memmem.c (check_result): New function.
55274         (do_one_test): Use it.
55275         (check1): New function.
55276         (test_main): Use it.
55278 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55280         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55282 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55284         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55285         (_G_LSEEK64): Likewise.
55286         (_G_MMAP64): Likewise.
55287         (_G_FSTAT64): Likewise.
55288         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55289         (_G_LSEEK64): Likewise.
55290         (_G_MMAP64): Likewise.
55291         (_G_FSTAT64): Likewise.
55292         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55293         unconditional.  Call __mmap64 directly.
55294         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55295         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55296         __lseek64 directly.
55297         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55298         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55299         __mmap64 directly.
55300         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55301         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55302         __lseek64 directly.
55303         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55304         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55305         __lseek64 directly.
55306         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55307         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55308         __lseek64 directly.
55309         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55310         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55311         __fxstat64 directly.
55312         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55313         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55314         unconditional.
55315         (freopen64) [!_G_OPEN64]: Remove conditional code.
55316         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55317         unconditional.
55318         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55319         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55320         unconditional.
55321         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55322         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55323         unconditional.
55324         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55325         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55326         unconditional.
55327         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55328         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55329         unconditional.
55330         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55331         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55332         unconditional.
55333         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55334         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55335         unconditional.
55336         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55338 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55340         [BZ #12140]
55341         * manual/memory.texi (Malloc Tunable Parameters): Add note
55342         about free list pointers overwriting some perturb bytes.
55343         Wording suggested by Roland McGrath.
55345 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55347         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55348         (lgamma_test): Likewise.
55349         (tgamma_test): Likewise.
55351 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55353         [BZ #14700]
55354         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55355         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55357 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55359         * NEWS: Mention BZ #14716.
55360         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55361         when removing AVAILABLE1_USES_J macro.
55363 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55365         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55366         (__bswap_64): __uint64_t for unsigned 64-bit int.
55368 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55370         * include/string.h (memmem): Declare libc hidden alias.
55371         * string/memmem.c (memmem): Define libc hidden alias.
55372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55373         __read, __close instead of open, read, close.
55375 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55378         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55379         global and hidden.
55380         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55381         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55382         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55383         Likewise.
55384         (__rawmemchr_sse2): Likewise.
55385         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55386         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55387         (__strchr_sse2): Likewise.
55388         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55389         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55390         (__strcasecmp_sse2): Likewise.
55391         (__strncasecmp_sse2): Likewise.
55392         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55393         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55394         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55395         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55396         (__strrchr_sse2): Likewise.
55397         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55398         ifunc-impl-list.c.
55399         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55401         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55403         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55404         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55405         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55407         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55408         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55409         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55410         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55411         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55412         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55413         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55414         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55415         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55416         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55417         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55418         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55419         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55420         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55421         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55422         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55423         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55425         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55426         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55427         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55428         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55430         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55431         global and hidden.
55432         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55433         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55434         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55435         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55436         Likewise.
55437         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55438         Likewise.
55439         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55440         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55441         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55442         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55443         ifunc-impl-list.c.
55444         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55445         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55446         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55447         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55448         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55449         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55450         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55451         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55453         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55454         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55455         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55456         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55457         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55458         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55460         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55461         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55462         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55463         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55464         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55465         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55466         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55467         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55468         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55469         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55470         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55471         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55472         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55473         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55474         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55475         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55476         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55477         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55478         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55479         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55480         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55481         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55482         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55483         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55484         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55486         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55487         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55488         * include/ifunc-impl-list.h: New file.
55489         * misc/ifunc-impl-list.c: Likewise.
55490         * misc/Makefile (routines): Add ifunc-impl-list.
55491         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55492         * string/test-string.h: Include <ifunc-impl-list.h>.
55493         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55494         TEST_NAME]: New variables.
55495         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55496         are defined.
55497         (test_init): Call __libc_ifunc_impl_list to initialize
55498         func_list if TEST_IFUNC and TEST_NAME are defined.
55500         * string/Makefile (strop-tests): Add bcopy and bzero.
55501         * string/test-bcopy.c: New file.
55502         * string/test-bzero.c: Likewise.
55503         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55504         defined.
55505         * string/test-memset.c: Support bzero test if TEST_BZERO is
55506         defined.
55507         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55508         __libc_memmove.
55509         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55510         __libc_memset.
55511         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55512         of memset.
55514 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55516         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55517         * configure: Regenerated.
55519         * Makeconfig (+link-static-before-libc): Don't include
55520         $(link-static-libc).
55522         * libio/libio.h (_IO_pos_t): Remove.
55524 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55526         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55527         McGrath.
55529 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55531         * crypt/crypt-entry.c: Include fips-private.h.
55532         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55533         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55534         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55535         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55539         * crypt/crypt-private.h: Include stdbool.h.
55540         (_ufc_setup_salt_r): Return bool.
55541         * crypt/crypt-entry.c: Include errno.h.
55542         (__crypt_r): Return NULL with EINVAL for bad salt.
55543         * crypt/crypt_util.c (bad_for_salt): New.
55544         (_ufc_setup_salt_r): Check that salt is long enough and within
55545         the specified alphabet.
55546         * crypt/badsalttest.c: New file.
55547         * crypt/Makefile (tests): Add it.
55548         ($(objpfx)badsalttest): New.
55550 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55552         * NEWS: Add entry for BZ #14602.
55554 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55556         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55557         type-generic.
55558         * math/libm-test.inc: Update comment listing what functions and
55559         macros are tested.
55560         (isgreater_test): New function.
55561         (isgreaterequal_test): Likewise.
55562         (isless_test): Likewise.
55563         (islessequal_test): Likewise.
55564         (islessgreater_test): Likewise.
55565         (isunordered_test): Likewise.
55566         (main): Call the new functions.
55568 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55570         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55571         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55572         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55573         * sysdeps/i386/configure: Regenerated.
55574         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55575         * sysdeps/mach/configure: Regenerated.
55576         * sysdeps/mach/hurd/configure: Regenerated.
55577         * sysdeps/powerpc/configure: Regenerated.
55578         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55579         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55580         * sysdeps/s390/s390-32/configure: Regenerated.
55581         * sysdeps/s390/s390-64/configure: Regenerated.
55582         * sysdeps/sh/configure: Regenerated.
55583         * sysdeps/sparc/configure: Regenerated.
55584         * sysdeps/unix/sysv/linux/configure: Regenerated.
55585         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55586         * sysdeps/x86_64/configure: Regenerated.
55588         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55589         defined.  Don't check if MAP is NULL.
55591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55593         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55594         (_G_stat64): Likewise.
55595         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55596         (_G_stat64): Likewise.
55597         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55598         instead of struct _G_stat64.
55599         * libio/fileops.c (mmap_remap_check): Likewise.
55600         (decide_maybe_mmap): Likewise.
55601         (_IO_new_file_seekoff): Likewise.
55602         (_IO_file_stat): Likewise.
55603         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55604         _G_off64_t.
55605         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55606         instead of struct _G_stat64.
55607         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55609 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55611         [BZ #14602]
55612         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55613         Replace with ...
55614         (CHECK_EOL): New macro.
55615         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55616         CHECK_EOL.
55617         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55618         Replace with CHECK_EOL.
55619         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55620         Replace with CHECK_EOL.
55622 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55624         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55625         type-generic.
55626         * math/libm-test.inc: Update comment listing what functions and
55627         macros are tested.
55628         (finite_test): New function.
55629         (isinf_test): Likewise.
55630         (isnan_test): Likewise.
55631         (fpclassify_test): Test subnormal input.
55632         (isfinite_test): Likewise.
55633         (isnormal_test): Likewise.
55634         (main): Call the new functions.
55636 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55638         [BZ #14660]
55639         * Makerules (%.dynsym): Force C locale when running
55640         $(OBJDUMP) --dynamic-syms.
55642 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55644         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55645         <stdint.h>.
55647 2012-10-06  David S. Miller  <davem@davemloft.net>
55649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55650         upper 32-bits of the length value in %o2 since we use branch-on-register
55651         tests which consider the entire 64-bit register.
55653 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55655         * string/test-strstr.c (check2): Add a test for page boundary.
55657 2012-10-05  David S. Miller  <davem@davemloft.net>
55659         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55660         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55661         file.
55662         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55663         sysdep_routines.
55664         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55665         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55666         and bzero when HWCAP_SPARC_CRYPTO is present.
55668 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55670         [BZ #14602]
55671         * string/test-strstr.c (check2): New function.
55672         (test_main): Call check2.
55674         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55675         and bug-strchr1.
55676         * string/bug-strcasestr1.c (do_test): Moved to ...
55677         * string/test-strcasestr.c (check1): Here.  New function.
55678         (do_one_test): Break out result checking code into ...
55679         (check_result): This.  New function.
55680         (do_one_test): Call check_result.
55681         (test_main): Call check1.
55682         * string/bug-strchr1.c (do_test): Moved to ...
55683         * string/test-strchr.c (check1): Here.  New function.
55684         (do_one_test): Break out result checking code into ...
55685         (check_result): This.  New function.
55686         (do_one_test): Call check_result.
55687         (test_main): Call check1.
55688         * string/bug-strstr1.c (main): Moved to ...
55689         * string/test-strstr.c (check1): Here.  New function.
55690         (do_one_test): Break out result checking code into ...
55691         (check_result): This.  New function.
55692         (do_one_test): Call check_result.
55693         (test_main): Call check1.
55694         * string/bug-strcasestr1.c: Removed.
55695         * string/bug-strchr1.c: Likewise.
55696         * string/bug-strstr1.c: Likewise.
55698         * elf/Makefile (dl-routines): Add hwcaps.
55699         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55700         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55701         (_dl_important_hwcaps): Moved to ...
55702         * elf/dl-hwcaps.c: Here.  New file.
55703         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55705         [BZ #14557]
55706         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55707         if IS_IN_rtld isn't defined.
55709         * elf/dl-support.c (_dl_sysinfo_map): New.
55710         Include "get-dynamic-info.h" and "setup-vdso.h".
55711         (_dl_non_dynamic_init): Call setup_vdso.
55712         * elf/dynamic-link.h: Don't include <assert.h>.
55713         (elf_get_dynamic_info): Moved to ...
55714         * elf/get-dynamic-info.h: Here.  New file.
55715         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55716         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55717         * elf/setup-vdso.h: Here.  New file.
55718         * elf/rtld.c: Include "setup-vdso.h".
55719         (dl_main): Call setup_vdso.
55721 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55723         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55724         creal in comment listing functions tested.  List finite, isinf,
55725         isnan, isless, islessequal, isgreater, isgreaterequal,
55726         islessgreater, isunordered, lgamma_r and pow10 as functions and
55727         macros not tested.  Mention which functions not tested are aliases
55728         for other functions.  Fix typo.  Note that signs of NaNs are not
55729         tested.
55731         * scripts/config.guess: Update from config.git.
55732         * scripts/config.sub: Likewise.
55734 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55736         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55737         * misc/madvise.c (madvise): Renamed to __madvise.
55738         Make madvise a weak alias.
55739         * include/sys/mman.h: Declare __madvise.
55740         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55741         * sysdeps/unix/syscalls.list
55742         (madvise): Make __madvise the strong name, and madvise a weak alias.
55743         * sysdeps/unix/sysv/linux/syscalls.list
55744         (madvise, mmap): Remove redundant entries.
55745         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55746         * malloc/malloc.c (mtrim): Likewise.
55747         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55749 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55751         * sysdeps/mach/hurd/dl-cache.c: File removed.
55752         * config.h.in (USE_LDCONFIG): New #undef.
55753         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55754         * configure: Regenerated.
55755         * elf/Makefile (dl-routines): Add dl-cache only under
55756         [$(use-ldconfig) = yes].
55757         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55758         cache on [USE_LDCONFIG].
55759         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55760         [USE_LDCONFIG].
55761         * elf/rtld.c (dl_main): Likewise.
55763 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55765         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55766         _SC_LEVEL4_CACHE_LINESIZE.
55768 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55770         * sysdeps/unix/bsd/confstr.h: File removed.
55772 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55774         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55775         sys/sdt-config.h.
55777 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55779         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55780         Make 'mapoff' field ElfW(Off) rather than off_t.
55782 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55784         * nscd/Makefile: Remove nscd-cflags and all its users.
55785         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55786         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55788         [BZ #10631]
55789         * malloc.c (malloc_printerr): Clarify error message.
55791 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55793         [BZ #14648]
55794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55795         Set bit_FMA_Usable if FMA is supported.
55796         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55797         macro.
55798         (bit_FMA4_Usable): Updated.
55799         (index_FMA_Usable): New macro.
55800         (CPUID_FMA): Likewise.
55801         (HAS_FMA): Defined with bit_FMA_Usable.
55803 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55805         * bits/types.h (__swblk_t): Type removed.
55806         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55807         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55809         (__SWBLK_T_TYPE): Likewise.
55810         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55811         (__SWBLK_T_TYPE): Likewise.
55812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55813         (__SWBLK_T_TYPE): Likewise.
55814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55815         (__SWBLK_T_TYPE): Likewise.
55817 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55818             Honza Horak <hhorak@redhat.com>
55820         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55821         (xdr_mapname): Use YPMAXMAP as maxsize.
55822         (xdr_peername): Use YPMAXPEER as maxsize.
55823         (xdr_keydat): Use YPAXRECORD as maxsize.
55824         (xdr_valdat): Use YPMAXRECORD as maxsize.
55826 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55828         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55830         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55831         * csu/init-first.c: ... here.
55832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55833         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55834         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55835         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55836         * sysdeps/i386/init-first.c: File removed.
55837         * sysdeps/sh/init-first.c: File removed.
55839 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55841         [BZ #14645]
55842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55843         if x * y might underflow to zero and z is zero.
55844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55846         * math/libm-test.inc (min_subnorm_value): New variable.
55847         (fma_test): Add more tests.
55848         (fma_test_towardzero): Likewise.
55849         (fma_test_downward): Likewise.
55850         (fma_test_upward): Likewise.
55851         (initialize): Set min_subnorm_value.
55853 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55855         [BZ #14638]
55856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55857         0 + 0.
55858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55859         mode for addition resulting in exact zero.
55860         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55862         exact 0 + 0.
55863         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55865         * math/libm-test.inc (fma_test): Add more tests.
55866         (fma_test_towardzero): New function.
55867         (fma_test_downward): Likewise.
55868         (fma_test_upward): Likewise.
55869         (main): Call the new functions.
55871 2012-09-28  David S. Miller  <davem@davemloft.net>
55873         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55875 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55877         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55878         instead of SIGALRM.
55880         * sysdeps/gnu/_G_config.h: Moved to ...
55881         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55882         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55883         * sysdeps/generic/_G_config.h: ... here.
55885         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55887         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55889         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55890         Conditionalize target on [libnss_test1.so-version].
55892         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55894         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55895         (elfobjdir): Move out of conditionals.
55897         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55898         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55899         (__nss_lookup_function): Conditionalize label remove_from_tree on
55900         [!DO_STATIC_NSS || SHARED], matching its only use.
55902 2012-09-28  David S. Miller  <davem@davemloft.net>
55904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55905         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55906         file.
55907         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55908         sysdep_routines.
55909         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55911         when HWCAP_SPARC_CRYPTO is present.
55913 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55915         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55917 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55919         [BZ #6530]
55920         * stdio-common/vfprintf.c (process_string_arg): Revert
55921         2000-07-22 change.
55923 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55925         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55926         for testcase.
55927         * stdio-common/tst-sprintf.c: Include <locale.h>
55928         (main): Test sprintf's handling of incomplete multibyte
55929         characters.
55931 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55933         * elf/dl-runtime.c (VERSYMIDX): Removed.
55934         * elf/dl-version.c (VERSYMIDX): Likewise.
55935         * elf/do-rel.h (VERSYMIDX): Likewise.
55936         (VALIDX): Likewise.
55937         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55938         * elf/rtld.c (VALIDX): Likewise.
55939         (ADDRIDX): Likewise.
55940         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55941         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55942         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55943         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55944         (VALIDX): Likewise.
55945         (ADDRIDX): Likewise.
55947 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55949         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55951 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55953         [BZ #11438]
55954         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55955         to global scope.
55956         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55957         addresses are in the same scope as 192.0.2/24.
55958         * posix/gai.conf: Document new scope table defaults.
55960 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55962         [BZ #5298]
55963         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55964         for ftell.  Compute offsets from write pointers instead.
55965         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55967 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55969         [BZ #14543]
55970         * libio/Makefile (tests): New test case tst-fseek.
55971         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55972         combination works in wide mode.
55973         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55974         state when the external buffer state changes.
55976 2012-09-27  David S. Miller  <davem@davemloft.net>
55978         [BZ #14376]
55979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55980         pass reloc->r_addend in as the 'high' argument to
55981         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55987         * rt/tst-aio2.c: Include <pthread.h>.
55988         * rt/tst-aio3.c: Likewise.
55990 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55992         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55994 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55996         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55997         contents on [SHARED].
55999 2012-09-26  Marek Polacek  <polacek@redhat.com>
56001         [BZ #14530]
56002         [BZ #13741]
56003         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56004         for C++ and GCC <4.3 as well as for non GCC compilers.
56006 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56010 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56012         * Makefile.in (all, install): Declare with .PHONY.
56013         Reported by Michael Hope <michael.hope@linaro.org>.
56015 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56017         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56018         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56019         system header.
56020         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56021         Likewise.
56022         (sydep_routines): Add the new and the internal functions.
56023         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56024         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56026         (GLIBC_2.17): Add the new function.
56027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56028         (GLIBC_2.17): Likewise.
56029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56030         (GLIBC_2.17): Likewise.
56031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56032         (GLIBC_2.17): Likewise.
56033         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56035 2012-09-25  Alan Modra  <amodra@gmail.com>
56037         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56038         Add release barrier before setting once_control to say
56039         initialisation is done.  Add hints on lwarx.  Use macro in
56040         place of isync.
56041         (clear_once_control): Add release barrier.
56043 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56045         [BZ #13629]
56046         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56047         specially.
56048         * math/s_clog10.c (__clog10): Likewise.
56049         * math/s_clog10f.c (__clog10f): Likewise.
56050         * math/s_clog10l.c (__clog10l): Likewise.
56051         * math/s_clogf.c (__clogf): Likewise.
56052         * math/s_clogl.c (__clogl): Likewise.
56053         * math/Makefile (libm-calls): Add x2y2m1.
56054         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56055         (__x2y2m1): Likewise.
56056         (__x2y2m1l): Likewise.
56057         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56058         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56061         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56062         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56063         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56064         * sysdeps/i386/fpu/libm-test-ulps: Update.
56065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56067         [BZ #14621]
56068         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56069         int as type of variable DEPTH.
56070         (glob): Use size_t instead of int as type of variables NEWCOUNT
56071         and OLD_PATHC.
56073 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56075         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56076         Add s_sincosf-sse2.
56077         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56078         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56079         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56080         macros for using routine as __sincosf_ia32.
56081         Use macro for function declaration and weak_alias.
56082         * sysdeps/i386/fpu/libm-test-ulps: Update.
56084         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56087         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56088         subnormal argument.
56089         * math/s_cexpf.c (__cexpf): Likewise.
56090         * math/s_csinf.c (__csinf): Likewise.
56091         * math/s_csinhf.c (__csinhf): Likewise.
56092         * math/s_ctanf.c (__ctanf): Likewise.
56093         * math/s_ctanhf.c (__ctanhf): Likewise.
56094         * math/s_ccosh.c (__ccoshf): Likewise.
56095         * math/s_cexp.c (__cexpl): Likewise.
56096         * math/s_csin.c (__csin): Likewise.
56097         * math/s_csinh.c (__csinh): Likewise.
56098         * math/s_ctan.c (__ctan): Likewise.
56099         * math/s_ctanh.c (ctanh): Likewise.
56100         * math/s_ccoshl.c (__ccoshl): Likewise.
56101         * math/s_cexpl.c (__cexpl): Likewise.
56102         * math/s_csinl.c (__csinl): Likewise.
56103         * math/s_csinhl.c (__csinhl): Likewise.
56104         * math/s_ctanl.c (__ctanl): Likewise.
56105         * math/s_ctanhl.c (__ctanhl): Likewise.
56107 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56109         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56110         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56111         (_IO_off_t): Define to __off_t, not _G_off_t.
56112         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56113         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56114         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56115         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56116         type of __dummy and __dummy2 fields.
56117         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56118         (_G_ssize_t): Likewise.
56119         (_G_off_t): Likewise.
56120         (_G_pid_t): Likewise.
56121         (_G_uid_t): Likewise.
56122         (_G_wchar_t): Likewise.
56123         (_G_wint_t): Likewise.
56124         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56125         (_G_ssize_t): Likewise.
56126         (_G_off_t): Likewise.
56127         (_G_pid_t): Likewise.
56128         (_G_uid_t): Likewise.
56129         (_G_wchar_t): Likewise.
56130         (_G_wint_t): Likewise.
56131         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56132         (_G_ssize_t): Likewise.
56133         (_G_off_t): Likewise.
56134         (_G_pid_t): Likewise.
56135         (_G_uid_t): Likewise.
56136         (_G_wchar_t): Likewise.
56137         (_G_wint_t): Likewise.
56139 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56141         * malloc/arena.c: Include malloc-sysdep.h.
56142         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56143         is sufficient to shrink the heap or an unmap is needed.
56144         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56145         new function check_may_shrink_heap.
56146         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56147         new function check_may_shrink_heap.
56149 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56151         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56152         comments.
56154 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56156         * catgets/test-gencat.sh: Add "set -e".
56157         * elf/tst-pathopt.sh: Likewise.
56158         * grp/tst_fgetgrent.sh: Likewise.
56159         * iconvdata/run-iconv-test.sh: Likewise.
56160         * intl/tst-gettext.sh: Likewise.
56161         * intl/tst-gettext2.sh: Likewise.
56162         * intl/tst-gettext4.sh: Likewise.
56163         * intl/tst-gettext6.sh: Likewise.
56164         * intl/tst-translit.sh: Likewise.
56165         * io/ftwtest-sh: Likewise.
56166         * libio/test-freopen.sh: Likewise.
56167         * malloc/tst-mtrace.sh: Likewise.
56168         * posix/globtest.sh: Likewise.
56169         * posix/tst-getconf.sh: Likewise.
56170         * posix/wordexp-tst.sh: Likewise.
56171         * stdio-common/tst-printf.sh: Likewise.
56172         * stdio-common/tst-unbputc.sh: Likewise.
56173         * stdlib/tst-fmtmsg.sh: Likewise.
56174         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56175         * catgets/Makefile: Do not specify -e option when running
56176         testsuite shell scripts.
56177         * elf/Makefile: Likewise.
56178         * grp/Makefile: Likewise.
56179         * iconvdata/Makefile: Likewise.
56180         * intl/Makefile: Likewise.
56181         * io/Makefile: Likewise.
56182         * libio/Makefile: Likewise.
56183         * malloc/Makefile: Likewise.
56184         * posix/Makefile: Likewise.
56185         * stdio-common/Makefile: Likewise.
56186         * stdlib/Makefile: Likewise.
56187         * sysdeps/x86_64/Makefile: Likewise.
56189         * io/ftwtest-sh: Add copyright header.
56190         * posix/globtest.sh: Likewise.
56191         * posix/tst-getconf.sh: Likewise.
56192         * posix/wordexp-tst.sh: Likewise.
56193         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56195 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56197         [BZ #13679]
56198         * Makeconfig (+link): Defined as $(+link-static) if
56199         $(build-shared) isn't yes.
56200         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56201         isn't yes.
56202         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56204         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56206         [BZ #14562]
56207         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56208         new chunk size with MALLOC_ALIGN_MASK.
56210 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56212         [BZ #5044]
56213         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56214         <rounding-mode.h>.
56215         (__printf_fphex): Determine rounding using get_rounding_mode and
56216         round_away.
56217         * stdio-common/tst-printf-round.c (struct hex_test): New
56218         structure.
56219         (hex_tests): New variable.
56220         (test_hex_in_one_mode): New function.
56221         (do_test): Also run tests for hex float output.
56223 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56225         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56226         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56227         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56228         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56229         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56230         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56231         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56232         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56234 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56236         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56237         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56238         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56239         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56241 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56243         [BZ #14579]
56244         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56245         mode only.
56246         * elf/tst-rtld-load-self.sh: New test.
56247         * elf/Makefile: Run it.
56249 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56251         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56252         (tst-writev-ENV): Remove.
56253         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56255 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56257         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56259 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56261         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56262         unconditional.
56263         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56264         Likewise.
56265         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56266         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56267         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56268         Likewise.
56270 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56272         [BZ #14587]
56273         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56274         * config.make.in (have-cpp-asm-debuginfo): Removed.
56275         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56276         * configure: Regenerated.
56278 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #5044]
56281         * stdio-common/printf_fp.c: Include <stdbool.h> and
56282         <rounding-mode.h>.
56283         (___printf_fp): Determine rounding using get_rounding_mode and
56284         round_away.
56285         * stdio-common/tst-printf-round.c: New file.
56286         * stdio-common/Makefile (tests): Add tst-printf-round.
56287         (link-libm): New variable.
56288         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56290 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56292         [BZ #14576]
56293         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56294         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56295         Likewise.
56296         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56297         Likewise.
56299 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56301         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56302         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56303         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56306 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56308         [BZ #14518]
56309         * include/rounding-mode.h: New file.
56310         * sysdeps/generic/get-rounding-mode.h: Likewise.
56311         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56312         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56313         (MAX_VALUE): New macro.
56314         (MIN_VALUE): Likewise.
56315         (overflow_value): New function.
56316         (underflow_value): Likewise.
56317         (round_and_return): Use overflow_value and underflow_value to
56318         determine return values in overflow and underflow cases.  Use
56319         round_away to determine rounding depending on rounding mode.
56320         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56321         determine return values in overflow and underflow cases.
56322         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56323         (struct test_results): New structure.
56324         (struct test): Use struct test_results to store expected results
56325         for all rounding modes.
56326         (TEST): Include expected results for all rounding modes.
56327         (test_in_one_mode): New function.
56328         (do_test): Use test_in_one_mode to compute and check results.
56329         Check results for all rounding modes.
56330         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56331         $(link-libm).
56333 2012-12-09  Allan McRae  <allan@archlinux.org>
56335         * sysdeps/i386/fpu/libm-test-ulps: Update
56337 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56339         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56340         (_G_int32_t): Likewise.
56341         (_G_uint16_t): Likewise.
56342         (_G_uint32_t): Likewise.
56343         (_G_HAVE_BOOL): Likewise.
56344         (_G_HAVE_ATEXIT): Likewise.
56345         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56346         (_G_HAVE_IO_FILE_OPEN): Likewise.
56347         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56348         (_G_int32_t): Likewise.
56349         (_G_uint16_t): Likewise.
56350         (_G_uint32_t): Likewise.
56351         (_G_HAVE_BOOL): Likewise.
56352         (_G_HAVE_ATEXIT): Likewise.
56353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56354         (_G_HAVE_IO_FILE_OPEN): Likewise.
56355         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56356         (_G_int32_t): Likewise.
56357         (_G_uint16_t): Likewise.
56358         (_G_uint32_t): Likewise.
56359         (_G_HAVE_BOOL): Likewise.
56360         (_G_HAVE_ATEXIT): Likewise.
56361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56362         (_G_HAVE_IO_FILE_OPEN): Likewise.
56364 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56366         * csu/libc-tls.c: Update copyright years.
56368 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56370         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56371         [!_G_USING_THUNKS]: Remove conditional code.
56372         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56373         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56375         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56376         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56377         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56378         (_G_VTABLE_LABEL_PREFIX): Likewise.
56379         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56380         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56381         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56382         (_G_VTABLE_LABEL_PREFIX): Likewise.
56383         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56384         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56385         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56386         (_G_VTABLE_LABEL_PREFIX): Likewise.
56387         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56389 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56391         * libio/Makefile: Include ../Makeconfig before tests.
56392         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56393         only if $(build-shared) is yes.
56395         * iconv/gconv_db.c: Update copyright years.
56397 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56399         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56400         unwind info if defined PIC. Fix special cases description.
56401         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56403         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56404         DP_HI_MASK entry.
56405         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56407 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56409         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56411         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56412         is NULL.
56414         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56415         (LDLIBS-tst-chk4): This.
56416         (LDFLAGS-tst-chk5): Renamed to ...
56417         (LDLIBS-tst-chk5): This.
56418         (LDFLAGS-tst-chk6): Renamed to ...
56419         (LDLIBS-tst-chk6): This.
56420         (LDFLAGS-tst-lfschk4): Renamed to ...
56421         (LDLIBS-tst-lfschk4): This.
56422         (LDFLAGS-tst-lfschk5): Renamed to ...
56423         (LDLIBS-tst-lfschk5): This.
56424         (LDFLAGS-tst-lfschk6): Renamed to ...
56425         (LDLIBS-tst-lfschk6): This.
56427         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56428         on $(common-objpfx)soversions.mk.
56430 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56432         [BZ #10014]
56433         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56434         example host name.
56436 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56438         * malloc/arena.c (arena_get_retry): New function that gets
56439         another arena for the caller to try its request on.
56440         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56441         current arena cannot fulfill the request.
56442         (__libc_memalign): Likewise.
56443         (__libc_memalign): Likewise.
56444         (__libc_pvalloc): Likewise.
56445         (__libc_calloc): Likewise.
56447 2012-09-05  John Tobey  <john.tobey@gmail.com>
56449         [BZ #13542]
56450         * manual/arith.texi (Operations on Complex): Fix description
56451         of carg branch cut.
56453 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56455         [BZ #10014]
56456         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56457         host name.
56459         [BZ #10038]
56460         * manual/memory.texi (Memory): Make order of menu items match
56461         order of sections.
56463 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56465         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56466         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56467         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56469 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56471         * csu/libc-tls.c (static_dtv): Renamed to ...
56472         (_dl_static_dtv): This.  Make it global.
56473         (_dl_initial_dtv): Removed.
56474         (__libc_setup_tls): Updated.
56475         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56476         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56477         DL_INITIAL_DTV.
56479 2012-09-06  Petr Machata  <pmachata@redhat.com>
56481         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56482         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56483         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56484         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56488         [BZ #14545]
56489         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56490         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56491         freeing dtv[-1].
56493 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56495         [BZ #14544]
56496         * Makeconfig (link-static-before-libc): Replace $(+prector)
56497         with $(+prectorT).
56498         (link-static-after-libc): Replace $(+postctor) with
56499         $(+postctorT).
56500         (link-bounded): Replace $(+prector)/$(+postctor) with
56501         $(+prectorT)/$(+postctorT).
56502         (+prectorT): New macro.
56503         (+postctorT): Likewise.
56505 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56507         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56508         (round_str): Handle values above the maximum for IBM long double
56509         as inexact.
56510         * stdlib/tst-strtod-round.c (tests): Regenerated.
56512 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56514         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56515         assembler flag.
56516         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56517         zarch_nohighgprs around the zarch optimized routines.
56518         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56519         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56521         for zarch.
56523 2012-09-05  David S. Miller  <davem@davemloft.net>
56525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56527         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56528         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56529         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56530         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56531         entries.
56533 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56535         * malloc/arena.c: Fold copyright years.
56536         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56538 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56540         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56544         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56549         change internal state upon failure.
56551 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56553         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56554         * malloc/memusage.c (mmap): Likewise.
56555         (mmap64, mremap): Likewise.  Adjust name in comment.
56557 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56559         * libio/fileops.c: Fix typos in comments.
56560         * libio/oldfileops.c: Likewise.
56561         * libio/wfileops.c: Likewise.
56563 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56565         [BZ #1349]
56566         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56567         (tst-malloc-usable-ENV): Set environment for test case.
56568         * malloc/hooks.c (malloc_check_get_size): New function to get
56569         requested size.
56570         * malloc/malloc.c (musable): Use malloc_check_get_size.
56571         * malloc/tst-malloc-usable.c: New test case.
56573 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56575         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56577 2012-09-05  Allan McRae  <allan@archlinux.org>
56579         [BZ #13966]
56580         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56581         determine header location.
56582         * configure: Regenerated.
56584 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56586         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56587         float format.
56588         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56589         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56590         format.
56591         (test): Regenerate.
56593 2012-09-04  David S. Miller  <davem@davemloft.net>
56595         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56596         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56597         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56599 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56601         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56602         failures.
56604         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56606 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56608         [BZ #9914]
56609         * libio/iogetdelim.c: Include <limits.h>.
56610         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56611         + len + 1 would overflow.
56613 2012-09-03  Andreas Jaeger  <aj@suse.de>
56615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56616         * sysdeps/i386/fpu/libm-test-ulps: Update.
56618 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56620         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56621         Add s_sinf-sse2, s_conf-sse2.
56623         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56624         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56625         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56626         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56628         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56629         for using routine as __sinf_ia32.
56630         Use macro for function declaration and weak_alias.
56631         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56632         for using routine as __cosf_ia32.
56633         Use macro for function declaration and weak_alias.
56635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56636         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56638         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56639         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56642         * math/libm-test.inc (cos_test): Add more test cases.
56643         (sin_test): Likewise.
56644         (sincos_test): Likewise.
56646 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56649         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56650         hidden.
56651         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56653 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56655         [BZ #14538]
56656         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56657         first element of the GOT.
56658         (elf_machine_load_address): Return the difference between
56659         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56661 2012-09-01  Allan McRae  <allan@archlinux.org>
56663         [BZ #13412]
56664         * configure.in (AWK): Require gawk version 3.0 or later.
56665         * configure: Regenerated.
56667 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56669         * sysdeps/unix/sysv/linux/kernel-features.h
56670         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56672         [__NR_clock_getres]: Make code unconditional.
56673         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56674         (clock_getcpuclockid): Remove code left unreachable by removal of
56675         conditionals.
56676         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56677         code unconditional.
56678         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56679         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56680         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56681         Make code unconditional.
56682         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56683         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56684         * sysdeps/unix/sysv/linux/clock_settime.c
56685         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56686         conditional code.
56687         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56688         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56690 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56692         [BZ #14476]
56693         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56694         scripts/test-installation.pl.
56696         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56697         and $ld_so_version if it is set.
56699 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701         [BZ #14516]
56702         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56703         failure if reading from procfs failed.
56704         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56706 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56708         * sysdeps/unix/sysv/linux/kernel-features.h
56709         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56710         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56711         Remove conditional code.
56712         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56713         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56714         Remove conditional code.
56715         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56716         * sysdeps/unix/sysv/linux/i386/fxstat.c
56717         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56718         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56719         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56720         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56722         * sysdeps/unix/sysv/linux/i386/lxstat.c
56723         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56725         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56726         Remove conditional code.
56727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56728         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56729         Remove conditional code.
56730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56731         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56732         <kernel-features.h>.
56733         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56734         Remove.
56735         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56736         Remove conditional code.
56737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56738         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56739         Remove conditional.
56741 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56743         [BZ #5400]
56744         * NEWS: Add fixed bug number.
56746 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56748         [BZ #14519]
56749         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56750         underflowing exponent in case of negative sign.
56751         * stdlib/tst-strtod-round-data: Add more tests.
56752         * stdlib/tst-strtod-round.c (tests): Regenerated.
56754         [BZ #3479]
56755         * stdlib/strtod_l.c (NDIG): Remove.
56756         (HEXNDIG): Likewise.
56757         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56758         smallest representable value.
56759         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56760         lie within an exact representation of 1/2 ulp of the result.
56761         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56762         unconditionally.
56763         (TENS_P9_IDX): Define unconditionally.
56764         (TENS_P9_SIZE): Likewise.
56765         (TENS_P10_IDX): Likewise.
56766         (TENS_P10_SIZE): Likewise.
56767         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56768         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56769         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56770         entries for 10^2^13 and 10^2^14.
56771         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56772         (TENS_P13_IDX): Define.
56773         (TENS_P13_SIZE): Likewise.
56774         (TENS_P14_IDX): Likewise.
56775         (TENS_P14_SIZE): Likewise.
56776         (_fpioconst_pow10): Change array size to
56777         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56778         unconditional.
56779         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56780         1024]: Add entries for 10^2^13 and 10^2^14.
56781         [LAST_POW10 > _LAST_POW10]: Remove #error.
56782         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56783         (_fpioconst_pow10): Change array size to
56784         FPIOCONST_POW10_ARRAY_SIZE.
56785         * stdlib/gen-fpioconst.c: New file.
56786         * stdlib/gen-tst-strtod-round.c: Likewise.
56787         * stdlib/tst-strtod-round-data: Likewise.
56788         * stdlib/tst-strtod-round.c: Likewise.
56789         * stdlib/Makefile (tests): Add tst-strtod-round.
56791         [BZ #14459]
56792         * stdlib/strtod_l.c: Include <stdint.h>.
56793         (NDEBUG): Do not define.
56794         (round_and_return): Change EXPONENT parameter to type intmax_t.
56795         Rearrange calculations to avoid internal overflow possibilities.
56796         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56797         Rearrange calculations to avoid internal overflow possibilities.
56798         Assert that number fits inside MPNSIZE limbs.
56799         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56800         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56801         calculations and add assertions to avoid internal overflow
56802         possibilities.  Add casts to avoid signed/unsigned operations.
56803         * stdlib/tst-strtod-overflow.c: New file.
56804         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56806 2012-08-25  Marek Polacek  <polacek@redhat.com>
56808         * time/time.h: Fix some typos in comments.
56810 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56812         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56813         * posix/tst-rfc3484-2.c: Likewise.
56814         * posix/tst-rfc3484-3.c: Likewise.
56816 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56818         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56819         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56821 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56823         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56824         #include of fxstatat64.c.
56826 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56828         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56829         * shadow/getspent_r.c: Likewise.
56830         * shadow/getspnam.c: Likewise.
56831         * shadow/getspnam_r.c: Likewise.
56832         * gshadow/getsgent.c: Likewise.
56833         * gshadow/getsgent_r.c: Likewise.
56834         * gshadow/getsgnam.c: Likewise.
56835         * gshadow/getsgnam_r.c: Likewise.
56836         * inet/getnetbyad.c: Likewise.
56837         * inet/getnetbyad_r.c: Likewise.
56838         * inet/getnetbynm.c: Likewise.
56839         * inet/getnetbynm_r.c: Likewise.
56840         * inet/getnetent.c: Likewise.
56841         * inet/getnetent_r.c: Likewise.
56842         * inet/getproto.c: Likewise.
56843         * inet/getproto_r.c: Likewise.
56844         * inet/getprtent.c: Likewise.
56845         * inet/getprtent_r.c: Likewise.
56846         * inet/getprtname.c: Likewise.
56847         * inet/getprtname_r.c: Likewise.
56848         * inet/getrpcbyname.c: Likewise.
56849         * inet/getrpcbyname_r.c: Likewise.
56850         * inet/getrpcbynumber.c: Likewise.
56851         * inet/getrpcbynumber_r.c: Likewise.
56852         * inet/getrpcent.c: Likewise.
56853         * inet/getrpcent_r.c: Likewise.
56854         * inet/getaliasent.c: Likewise.
56855         * inet/getaliasent_r.c: Likewise.
56856         * inet/getaliasname.c: Likewise.
56857         * inet/getaliasname_r.c: Likewise.
56858         * nscd/getgrgid_r.c: Likewise.
56859         * nscd/getgrnam_r.c: Likewise.
56860         * nscd/gethstbyad_r.c: Likewise.
56861         * nscd/gethstbynm3_r.c: Likewise.
56862         * nscd/getpwnam_r.c: Likewise.
56863         * nscd/getpwuid_r.c: Likewise.
56864         * nscd/getsrvbynm_r.c: Likewise.
56865         * nscd/getsrvbypt_r.c: Likewise.
56866         * nscd/gai.c: Likewise.
56868         * configure.in (build_nscd): New substituted variable, set
56869         by --disable-build-nscd and defaults to $use_nscd.
56870         * configure: Regenerated.
56871         * config.make.in (build-nscd): New substituted variable.
56872         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56873         Change conditional to require [$(build-nscd) = yes] as well.
56874         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56876         [BZ# 13696]
56877         * configure.in (use_nscd): New substituted variable, set by
56878         --disable-nscd.  If enabled, define USE_NSCD.
56879         * configure: Regenerated.
56880         * config.h.in: Add USE_NSCD.
56881         * config.make.in (use-nscd): New substituted variable.
56882         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56883         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56884         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56885         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56886         (CFLAGS-getgrnam_r.c): Likewise.
56887         (CFLAGS-initgroups.c): Likewise.
56888         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56889         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56890         Variables removed.
56891         * inet/getnetgrent_r.c
56892         (nscd_setnetgrent): New function, broken out of ...
56893         (setnetgrent): ... here.  Call it.
56894         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56895         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56896         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56897         * nscd/Makefile (routines, aux): Move definitions after include of
56898         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56899         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56900         Conditionalize on [USE_NSCD].
56901         (is_nscd, nscd_init_cb): Likewise.
56902         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56903         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56904         * nss/nss_db/db-init.c: Likewise.
56905         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56906         [USE_NSCD].
56907         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56908         (make_request): Use it.
56909         (cache_valid_p): New function.
56910         (__check_pf): Use it.
56911         * NEWS: Add item for --disable-nscd.
56913 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56915         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56916         to support sed >= 4.2.1-20-ga9bf076.
56917         * configure: Regenerated.
56919 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56921         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56922         Conditionalize whole body on [IREL].
56924 2012-08-22  Jeff Law <law@redhat.com>
56926         [BZ #14505]
56927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56928         if the family is PF_UNSPEC.
56930 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56932         * Makerules (lib-version): Rename from V.
56933         (install-lib-nosubdir): Change V to lib-version.
56935 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56937         [BZ #14252]
56938         * powerpc32/power6/wcschr.c: New file.
56939         * powerpc32/power6/wcscpy.c: New file.
56940         * powerpc32/power6/wcsrchr.c: New file.
56941         * powerpc64/power6/wcschr.c: New file.
56942         * powerpc64/power6/wcscpy.c: New file.
56943         * powerpc64/power6/wcsrchr.c: New file.
56945 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56947         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56948         (two_way_short_needle): Use it.
56949         * string/strstr.c (AVAILABLE1_USES_J): Define.
56950         * string/strcasestr.c: Likewise.
56952         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56953         array references.
56954         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56956         [BZ #11607]
56957         * NEWS: Add an entry.
56958         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56959         define their defaults.
56960         (two_way_short_needle): Detect end-of-string on-the-fly.
56961         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56962         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56963         * string/bug-strcasestr1.c: New test.
56964         * string/Makefile: Run it.
56966 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56968         [BZ #11607]
56969         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56970         the first character.
56972 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56974         * csu/elf-init.c (__libc_csu_irel): Function removed.
56975         * csu/libc-start.c (apply_irel): New function.
56976         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56978 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56980         * sysdeps/unix/sysv/linux/kernel-features.h
56981         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56983         <kernel-features.h>.
56984         [__NR_fadvise64_64]: Make code unconditional.
56985         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56986         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56987         !__NR_fadvise64_64)]: Likewise.
56988         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56989         !__NR_fadvise64_64))]: Likewise.
56990         [__NR_fadvise64]: Make code unconditional.
56991         [!__NR_fadvise64]: Remove conditional code.
56992         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56993         <kernel-features.h>.
56994         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56995         unconditional.
56996         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56997         conditional code.
56998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56999         not include <kernel-features.h>.
57000         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57001         unconditional.
57002         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57003         conditional code.
57004         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57005         include <kernel-features.h>.
57006         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57007         unconditional.
57008         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57009         conditional code.
57011 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57014         slight instruction rearrangements per scrollpipe analysis.
57015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57017 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57019         * manual/syslog.texi (syslog; vsyslog, closelog):
57020         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57021         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57023         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57024         DSOCAPS to match condition on defining it.
57026 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57028         * sysdeps/unix/sysv/linux/kernel-features.h
57029         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57031         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57032         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57034         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57035         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57037         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57038         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57041         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57043         * sysdeps/unix/sysv/linux/kernel-features.h
57044         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57045         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57046         unconditional.
57047         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57048         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57049         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57050         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57051         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57052         Make code unconditional.
57053         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57054         (__mmap64) [!__NR_mmap2]: Likewise.
57055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57056         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57057         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57058         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57059         [__NR_mmap2]: Make code unconditional.
57060         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57061         (__mmap64) [!__NR_mmap2]: Likewise.
57063 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57065         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57067 2012-08-18  Andreas Jaeger  <aj@suse.de>
57069         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57071 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57073         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57074         * include/unistd.h (__have_sock_cloexec): Likewise.
57075         (__have_pipe2): Likewise.
57076         (__have_dup3): Likewise.
57078 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57080         [BZ #9685]
57081         * include/unistd.h (__have_pipe2): Change define into an extern int.
57082         (__have_dup3): Likewise.
57083         * socket/have_sock_cloexec.c: Include fcntl.h.
57084         (__have_pipe2): New variable.
57085         (__have_dup3): Likewise.
57087 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57089         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57091 2012-08-17  Marek Polacek  <polacek@redhat.com>
57093         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57094         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57096 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57098         * configure.in: Add AC_SUBST for sysheaders.
57099         * configure: Regenerated.
57100         * config.make.in (sysheaders): New substituted variable.
57102         * sysdeps/unix/mkfifo.c: Moved ...
57103         * sysdeps/posix/mkfifo.c: ... here.
57104         * sysdeps/unix/mkfifoat.c: Moved ...
57105         * sysdeps/posix/mkfifoat.c: ... here.
57107         * sysdeps/unix/utime.c: Moved ...
57108         * sysdeps/posix/utime.c: ... here.
57110         * sysdeps/unix/time.c: Moved ...
57111         * sysdeps/posix/time.c: ... here.
57112         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57113         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57115         * sysdeps/unix/nice.c: Moved ...
57116         * sysdeps/posix/nice.c: ... here.
57118         * sysdeps/unix/alarm.c: Moved ...
57119         * sysdeps/posix/alarm.c: ... here.
57121         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57123 2012-08-17  Jeff Law <law@redhat.com>
57125         * intl/Makefile (codeset_mo): New variable.
57126         ($(codeset_mo)): New target.
57127         (tst-codeset.out): Depend on that.  Remove explicit rule.
57128         (tst-gettext3.out, tst-gettext5.out): Likewise.
57129         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57130         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57131         * intl/tst-codeset.sh: Remove.
57132         * intl/tst-gettext3.sh: Likewise.
57133         * intl/tst-gettext5.sh: Likewise.
57135 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57137         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57138         * sysdeps/unix/syscalls.list: ... here.
57140         * sysdeps/posix/getaddrinfo.c
57141         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57142         (gaiconf_init, gaiconf_reload): Use them.
57143         [!_STATBUF_ST_NSEC]
57144         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57145         Define using time_t rather than struct timespec.
57147         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57148         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57149         Macros removed.
57150         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57151         [!NO_THREADS].
57152         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57153         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57154         Likewise.
57156         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57157         __libc_cleanup_push argument.
57159         * bits/param.h: New file.
57160         * misc/sys/param.h: New file.
57161         * include/sys/param.h: New file.
57162         * misc/Makefile (headers): Add bits/param.h.
57163         * sysdeps/generic/sys/param.h: File removed.
57164         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57165         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57166         * sysdeps/mach/hurd/bits/param.h: New file.
57167         * sysdeps/mach/hurd/sys/param.h: File removed.
57169         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57170         last change.
57172         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57173         [_IO_MTSAFE_IO].
57174         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57175         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57176         New macros.
57178         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57179         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57180         rather than -D_IO_MTSAFE_IO conditionally.
57181         * stdio-common/Makefile (CPPFLAGS): Likewise.
57182         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57183         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57184         Use $(libio-mtsafe).
57185         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57186         of -D_IO_MTSAFE_IO.
57187         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57188         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57189         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57190         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57191         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57192         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57193         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57194         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57195         (CFLAGS-fread_u_chk.c): Likewise.
57196         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57197         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57198         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57199         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57200         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57201         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57202         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57203         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57204         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57206         * libio/Makefile: Test [$(libc-reentrant) = yes]
57207         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57209         * Makeconfig
57210         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57211         * sysdeps/pthread/configure: File removed.
57212         * sysdeps/pthread/Makeconfig: New file.
57213         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57214         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57216 2012-08-16  Gary Benson  <gbenson@redhat.com>
57218         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57219         unmapping the first object in a namespace.
57221 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57223         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57224         (__internal_setnetgrent): ... this.  Add internal_function to
57225         definition.  Add libc_hidden_def.
57226         (setnetgrent): Update caller.
57227         (internal_endnetgrent): Renamed to ...
57228         (__internal_endnetgrent): ... this.  Add internal_function to
57229         definition.  Add libc_hidden_def.
57230         (endnetgrent): Update caller.
57231         (internal_getnetgrent_r): Renamed to ...
57232         (__internal_getnetgrent_r): ... this.  Add internal_function to
57233         definition.  Add libc_hidden_def.
57234         (__getnetgrent_r): Update caller.
57235         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57237 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57239         * stdlib/longlong.h: Update from GCC.
57241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57243         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57244         on _QL, which is set by umul_ppmm but never used.
57245         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57246         variables, which are set by GMP macros but never used.
57247         * stdio-common/_itowa.c (_itowa): Likewise.
57248         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57249         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57251 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57253         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57254         struct La_sh_regs is not constant.
57255         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57256         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57257         and struct La_sparc64_regs are not constant.
57259 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57261         * sysdeps/unix/sysv/linux/kernel-features.h
57262         (__ASSUME_POSIX_TIMERS): Remove.
57263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57264         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57265         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57266         Make code unconditional.
57267         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57268         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57269         Make code unconditional.
57270         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57271         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57272         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57273         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57274         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57275         Make code unconditional.
57276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57277         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57278         (__libc_missing_posix_timers): Remove.
57280 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57282         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57283         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57285         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57287         * elf/dl-sym.c: Include <stdlib.h>.
57289         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57290         constants, which avoids warnings in 32-bit builds.
57292         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57293         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57295         * misc/lseek.c: File moved to ...
57296         * io/lseek.c: ... here.
57298         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57300         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57301         shifting LEN more than 31 bits at once.
57303 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57305         [BZ #14195]
57306         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57307         segmentation fault for a case of two empty input strings.
57308         * string/test-strncasecmp.c (check1): Renamed to...
57309         (bz12205): ...this.
57310         (bz14195): Add new testcase for two empty input strings and N > 0.
57311         (test_main): Call new testcase, adapt for renamed function.
57313 2012-08-15  Andreas Jaeger  <aj@suse.de>
57315         [BZ #14090]
57316         * crypt/md5test2.c: New test, based on test supplied by Serge
57317         Belyshev <belyshev@depni.sinp.msu.ru>.
57318         * crypt/Makefile (xtests): Add md5test-giant..
57319         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57321 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57323         [BZ #14090]
57324         * crypt/md5.c (md5_process_block): Don't assume the buffer
57325         length is less than 2**32.
57326         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57327         length is less than 2**64.
57329 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57331         * string/str-two-way.h: Include <sys/param.h>.
57332         (MAX): Macro removed.
57334         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57335         Move #define and #undef of memmove to just before and after
57336         including <string.h>.
57338         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57339         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57340         and after including <string.h>.  Move declarations of
57341         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57342         to before #include "string/memmove.c".
57344         * include/dirent.h: Declare __getdirentries.
57346         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57347         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57349 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57351         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57352         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57353         * sysdeps/i386/configure: Regenerated.
57354         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57355         STABS_CURRENT_FILE, and STABS_FUN.
57356         (END): Remove call to STABS_FUN_END.
57357         (STABS_CURRENT_FILE1): Delete.
57358         (STABS_CURRENT_FILE): Likewise.
57359         (STABS_FUN): Likewise.
57360         (STABS_FUN_END): Likewise.
57361         (STABS_FUN2): Likewise.
57362         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57363         * sysdeps/x86_64/configure: Regenerated.
57365 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57367         * elf/dl-open.c: Include <atomic.h>.
57368         * elf/dl-lookup.c: Likewise.
57370 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57372         * sysdeps/unix/sysv/linux/kernel-features.h
57373         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57374         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57375         unconditionally.
57376         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57377         unconditionally.
57378         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57379         condition on __ASSUME_CLONE_THREAD_FLAGS.
57381 2012-08-14  Andreas Jaeger  <aj@suse.de>
57383         * sysdeps/i386/fpu/libm-test-ulps: Update.
57385 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57387         * include/atomic.h (atomic_exchange_and_add): Split into ...
57388         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57389         New atomic macros.
57391 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57395 2012-08-13  Jeff Law <law@redhat.com>
57397         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57398         null byte in the output string.
57400 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57402         * sysdeps/unix/sysv/linux/kernel-features.h
57403         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57404         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57405         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57406         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57407         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57408         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57409         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57411 2012-08-09  Jeff Law <law@redhat.com>
57413         [BZ #13939]
57414         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57415         When avoid_arena is set, don't retry in the that arena.  Pick the
57416         next one, whatever it might be.
57417         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57418         (arena_lock): Pass in new parameter to arena_get2.
57419         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57420         arena_get2.
57421         (__libc_malloc): Unify retrying after main arena failure with
57422         __libc_memalign version.
57423         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57425 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57427         [BZ #14166]
57428         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57429         to __redirect_strstr.
57430         (__strstr_sse42): Use typeof __redirect_strstr.
57431         (__strstr_ia32): Likewise.
57432         (__libc_strstr): New prototype.
57433         (strstr): Renamed to ...
57434         (__libc_strstr): This.
57435         (strstr): New strong alias of __libc_strstr.
57436         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57437         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57438         __redirect_time.
57439         Include <time.h>.
57440         (__libc_time): New prototype.
57441         (time_ifunc): Replace time with __libc_time.
57442         (time): New strong alias and hidden definition of __libc_time.
57443         (__GI_time): Remove strong alias.
57444         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57445         Include <stddef.h>.
57446         (memmove): Redefined to __redirect_memmove.
57447         (__memmove_sse2): Use typeof __redirect_memmove.
57448         (__memmove_ssse3): Likewise.
57449         (__memmove_ssse3_back): Likewise.
57450         (__libc_memmove): New prototype.
57451         (memmove): Renamed to ...
57452         (__libc_memmove): This.
57453         (memmove): New strong alias of __libc_memmove.
57455 2012-08-08  Mark Salter  <msalter@redhat.com>
57457         * elf/elf.h
57458         (R_MN10300_TLS_GD): Define.
57459         (R_MN10300_TLS_LD): Likewise.
57460         (R_MN10300_TLS_LDO): Likewise.
57461         (R_MN10300_TLS_GOTIE): Likewise.
57462         (R_MN10300_TLS_IE): Likewise.
57463         (R_MN10300_TLS_LE): Likewise.
57464         (R_MN10300_TLS_DTPMOD): Likewise.
57465         (R_MN10300_TLS_DTPOFF): Likewise.
57466         (R_MN10300_TLS_TPOFF): Likewise.
57467         (R_MN10300_SYM_DIFF): Likewise.
57468         (R_MN10300_ALIGN): Likewise.
57469         (R_MN10300_NUM): Update.
57471 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57474         Remove.
57476 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57478         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57480         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57481         sysdeps/unix -> sysdeps/posix move.
57482         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57484 2012-08-07      Allan McRae     <allan@archlinux.org>
57486         [BZ #14303]
57487         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57488         (SUNOS_CPP): Likewise.
57489         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57490         not found.
57491         (open_input): Call CPP using execvp.
57493 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57495         * sysdeps/unix/sysv/linux/kernel-features.h
57496         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57497         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57498         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57499         (__ASSUME_WAITID_SYSCALL): Likewise.
57500         * sysdeps/unix/sysv/linux/dl-execstack.c
57501         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57502         code unconditional.
57503         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57504         conditional code.
57505         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57506         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57507         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57508         code.
57509         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57510         unconditional.
57511         [__ASSUME_WAITID_SYSCALL]: Likewise.
57512         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57514 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57516         * sysdeps/unix/closedir.c: Renamed to ...
57517         * sysdeps/posix/closedir.c: ... here.
57518         * sysdeps/unix/dirfd.c: Renamed to ...
57519         * sysdeps/posix/dirfd.c: ... here.
57520         * sysdeps/unix/dirstream.h: Renamed to ...
57521         * sysdeps/posix/dirstream.h: ... here.
57522         * sysdeps/unix/fdopendir.c: Renamed to ...
57523         * sysdeps/posix/fdopendir.c: ... here.
57524         * sysdeps/unix/opendir.c: Renamed to ...
57525         * sysdeps/posix/opendir.c: ... here.
57526         * sysdeps/unix/readdir.c: Renamed to ...
57527         * sysdeps/posix/readdir.c: ... here.
57528         * sysdeps/unix/readdir_r.c: Renamed to ...
57529         * sysdeps/posix/readdir_r.c: ... here.
57530         * sysdeps/unix/rewinddir.c: Renamed to ...
57531         * sysdeps/posix/rewinddir.c: ... here.
57532         * sysdeps/unix/seekdir.c: Renamed to ...
57533         * sysdeps/posix/seekdir.c: ... here.
57534         * sysdeps/unix/telldir.c: Renamed to ...
57535         * sysdeps/posix/telldir.c: ... here.
57536         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57537         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57538         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57539         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57541         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57542         * bits/fcntl.h: ... here.
57544         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57545         not 0.
57546         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57547         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57548         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57549         (struct flock): Move l_start, l_len to the beginning.
57550         Use __pid_t for l_pid.
57551         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57552         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57553         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57554         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57555         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57556         [__USE_LARGEFILE64] (struct flock64): New type.
57557         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57559         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57560         * bits/dirent.h: ... here.
57562         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57563         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57565 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57568         Change from 2.6.0 to 2.6.16.
57569         * sysdeps/unix/sysv/linux/configure: Regenerated.
57570         * sysdeps/unix/sysv/linux/kernel-features.h
57571         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57572         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57573         version.
57574         (__ASSUME_UTIMES): Likewise.
57575         (__ASSUME_CLONE_STOPPED): Remove.
57576         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57577         architectures, not kernel version.
57578         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57579         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57580         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57581         (__ASSUME_WAITID_SYSCALL): Likewise.
57582         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57583         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57584         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57585         refer to older versions.
57587 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57589         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57590         Define alphasort64 as an alias.
57591         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57592         Define versionsort64 as an alias.
57593         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57594         Define scandir64 as an alias.
57595         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57596         Define scandirat64 as an alias.
57597         * dirent/alphasort64.c (alphasort64):
57598         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57599         * dirent/versionsort64.c: Likewise.
57600         * dirent/scandir64.c: Likewise.
57601         * dirent/scandirat64.c: Likewise.
57602         * sysdeps/wordsize-64/alphasort.c: File removed.
57603         * sysdeps/wordsize-64/alphasort64.c: File removed.
57604         * sysdeps/wordsize-64/scandir.c: File removed.
57605         * sysdeps/wordsize-64/scandir64.c: File removed.
57606         * sysdeps/wordsize-64/scandirat.c: File removed.
57607         * sysdeps/wordsize-64/scandirat64.c: File removed.
57608         * sysdeps/wordsize-64/versionsort.c: File removed.
57609         * sysdeps/wordsize-64/versionsort64.c: File removed.
57610         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57612         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57613         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57614         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57615         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57616         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57617         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57619         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57621         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57623         [defined __arch64__ || defined __sparcv9]
57624         (__INO_T_MATCHES_INO64_T): New macro.
57625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57626         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57627         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57628         * sysdeps/unix/sysv/linux/bits/dirent.h
57629         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57630         (_DIRENT_MATCHES_DIRENT64): New macro.
57632         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57633         Define lockf64 as an alias.
57634         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57635         Define fseeko64 as an alias.
57636         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57637         Define ftello64 as an alias.
57638         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57639         Define _IO_fgetpos64 and fgetpos64 as aliases.
57640         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57641         Define _IO_fsetpos64 and fsetpos64 as aliases.
57642         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57643         Conditionalize body on this.
57644         * libio/fseeko64.c: Likewise.
57645         * libio/ftello64.c: Likewise.
57646         * libio/iofgetpos64.c: Likewise.
57647         * libio/iofsetpos64.c: Likewise.
57648         * sysdeps/wordsize-64/lockf.c: File removed.
57649         * sysdeps/wordsize-64/lockf64.c: File removed.
57650         * sysdeps/wordsize-64/fseeko.c: File removed.
57651         * sysdeps/wordsize-64/fseeko64.c: File removed.
57652         * sysdeps/wordsize-64/ftello.c: File removed.
57653         * sysdeps/wordsize-64/ftello64.c: File removed.
57654         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57655         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57656         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57657         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57658         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57659         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57660         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57661         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57662         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57663         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57664         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57669         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57671         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57673         [defined __arch64__ || defined __sparcv9]
57674         (__OFF_T_MATCHES_OFF64_T): New macro.
57675         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57676         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57678         (__OFF_T_MATCHES_OFF64_T): New macro.
57680 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57682         * stdlib/secure-getenv.c (__secure_getenv): Replace
57683         GLIBC_2_16 with GLIBC_2_17.
57685 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57687         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57688         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57690 2012-08-03  David S. Miller  <davem@davemloft.net>
57692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57694 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57697         Remove.
57698         (__ASSUME_CORRECT_SI_PID): Likewise.
57699         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57700         (__ASSUME_TMPFS_NAME): Likewise.
57701         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57702         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57703         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57704         (HAVE_AUX_SECURE): Make definition unconditional.
57705         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57706         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57708 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57710         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57711         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57712         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57713         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57714         __eloop_threshold instead of SYMLOOP_MAX.
57716         * sysdeps/generic/eloop-threshold.h: New file.
57717         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57718         of MAXSYMLINKS.
57719         * elf/chroot_canon.c (chroot_canon): Likewise.
57721 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57723         [BZ #13717]
57724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57725         Change to 2.6.0 everywhere.
57726         * sysdeps/unix/sysv/linux/configure: Regenerated.
57727         * sysdeps/unix/sysv/linux/kernel-features.h
57728         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57729         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57730         kernel versions.
57731         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57732         (__ASSUME_FUTEX_REQUEUE): Remove.
57733         (__ASSUME_STATFS64): Define unconditionally.
57734         (__ASSUME_AT_SECURE): Likewise.
57735         (__ASSUME_CORRECT_SI_PID): Likewise.
57736         (__ASSUME_TGKILL): Define without depending on kernel version for
57737         i386.
57738         (__ASSUME_UTIMES): Likewise.
57739         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57740         kernel version.
57741         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57742         (__ASSUME_TMPFS_NAME): Likewise.
57743         * README: Update reference to Linux kernel versions.
57745 2012-08-02  Marek Polacek  <polacek@redhat.com>
57747         [BZ# 14150]
57748         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57749         libc_cv_asm_type_prefix with %.
57750         * configure: Regenerated.
57751         * include/libc-symbols.h: Remove comment about
57752         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57753         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57754         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57755         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57756         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57757         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57758         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57759         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57760         * elf/tst-unique2mod1.c: Likewise.
57761         * elf/tst-unique1mod2.c: Likewise.
57762         * elf/tst-unique1mod1.c: Likewise.
57763         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57764         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57765         Replace ASM_TYPE_DIRECTIVE with .type.
57766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57767         * sysdeps/i386/sysdep.h: Likewise.
57768         * sysdeps/x86_64/sysdep.h: Likewise.
57769         * sysdeps/sh/sysdep.h: Likewise.
57770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57771         Do not define ASM_TYPE_DIRECTIVE.
57772         * sysdeps/powerpc/sysdep.h: Likewise.
57773         * sysdeps/powerpc/powerpc32/sysdep.h:
57774         Replace ASM_TYPE_DIRECTIVE with .type.
57775         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57776         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57777         * sysdeps/i386/fpu/e_powf.S: Likewise.
57778         * sysdeps/i386/fpu/e_expl.S: Likewise.
57779         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57780         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57781         * sysdeps/i386/fpu/e_pow.S: Likewise.
57782         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57783         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57784         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57785         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57786         * sysdeps/i386/fpu/e_log2.S: Likewise.
57787         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57788         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57789         * sysdeps/i386/fpu/e_powl.S: Likewise.
57790         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57791         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57792         * sysdeps/i386/fpu/e_logl.S: Likewise.
57793         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57794         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57795         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57796         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57797         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57798         * sysdeps/i386/fpu/e_log.S: Likewise.
57799         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57800         * sysdeps/i386/fpu/e_logf.S: Likewise.
57801         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57802         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57803         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57804         * sysdeps/i386/fpu/e_log10.S: Likewise.
57805         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57806         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57807         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57808         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57809         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57810         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57811         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57812         * sysdeps/i386/i686/strtok.S: Likewise.
57813         * sysdeps/i386/i386-mcount.S: Likewise.
57814         * sysdeps/i386/strtok.S: Likewise.
57815         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57816         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57817         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57818         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57819         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57820         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57821         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57822         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57823         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57824         * sysdeps/x86_64/_mcount.S: Likewise.
57825         * sysdeps/x86_64/strtok.S: Likewise.
57826         * sysdeps/sh/_mcount.S: Likewise.
57828 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57830         * libio/iofopen.c: Include <fcntl.h>.
57831         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57832         (_IO_fopen64, fopen64): Define as aliases.
57833         * libio/iofopen64.c: Include <fcntl.h>.
57834         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57835         Conditionalize body on this.
57836         * sysdeps/wordsize-64/iofopen.c: File removed.
57837         * sysdeps/wordsize-64/iofopen64.c: File removed.
57839 2012-08-01  Marek Polacek  <polacek@redhat.com>
57841         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57842         Use dlfcn directly instead of a variable.
57843         (binfmt-subdir): Do not define.
57844         (dlfcn): Likewise.
57846 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57848         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57849         Remove all definitions.
57850         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57851         <kernel-features.h>.
57852         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57853         (miss_F_GETOWN_EX): Remove all definitions.
57854         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57855         macro definition.
57856         [!__ASSUME_FCNTL64]: Remove conditional code.
57857         [__ASSUME_FCNTL64]: Make code unconditional.
57858         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57859         <kernel-features.h>.
57860         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57861         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57862         (lockf64) [__NR_fcntl64]: Make code unconditional.
57863         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57865         * sysdeps/unix/sysv/linux/kernel-features.h
57866         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57867         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57868         Make code unconditional.
57869         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57870         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57872         [__NR_vfork]: Make code unconditional.
57873         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57874         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57876         [__NR_vfork]: Make code unconditional.
57877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57880 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57882         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57883         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57885         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57886         Define mkstemp64 as an alias.
57887         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57888         Define mkstemps64 as an alias.
57889         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57890         Define mkostemp64 as an alias.
57891         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57892         Define mkostemps64 as an alias.
57893         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57894         Conditionalize body on this.
57895         * misc/mkostemp64.c: Likewise.
57896         * misc/mkostemps64.c: Likewise.
57897         * misc/mkstemps64.c: Likewise.
57898         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57899         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57900         * sysdeps/wordsize-64/mkostemp.c: File removed.
57901         * sysdeps/wordsize-64/mkstemp.c: File removed.
57902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57907         [BZ #14138]
57908         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57909         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57910         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57911         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57913         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57914         compat_symbol macros from <shlib-compat.h> rather than the underlying
57915         default_symbol_version and symbol_version macros, so that DEFAULT
57916         lines in shlib-versions are respected.
57917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57919 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57921         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57922         Declare with warn_unused_result.
57923         (setgid, setregid, setegid, setresgid): Likewise.
57924         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57925         Likewise.
57926         * WUR-REPORT: Remove set*id functions.
57928 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57930         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57932 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57934         [BZ #10191]
57935         * include/sys/socket.h (__libc_accept, __libc_accept4):
57936         Add attribute_hidden.
57937         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57940         use of PTR_MANGLE.
57941         * inet/getnetgrent_r.c (setup): Likewise.
57943         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57945 2012-07-31  David S. Miller  <davem@davemloft.net>
57947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57949 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57951         [BZ #13629]
57952         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57953         value between 1.0 and 2.0 and smaller part has absolute value less
57954         than 1.0.
57955         * math/s_clog10.c (__clog10): Likewise.
57956         * math/s_clog10f.c (__clog10f): Likewise.
57957         * math/s_clog10l.c (__clog10l): Likewise.
57958         * math/s_clogf.c (__clogf): Likewise.
57959         * math/s_clogl.c (__clogl): Likewise.
57960         * math/libm-test.inc (clog_test): Add more tests.
57961         (clog10_test): Likewise.
57962         * sysdeps/i386/fpu/libm-test-ulps: Update.
57963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57965 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57967         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57968         Exit with zero in case no suitable GID is found, and write a
57969         message to standard error.
57971 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57973         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57974         rather than to 1.
57975         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57976         (MAXPATHLEN): Removed.
57977         (NOGROUP, NODEV): New macros.
57978         (setbit, clrbit, isset, isclr): New macros.
57979         (howmany, roundup, powerof2): New macros.
57980         (DEV_BSIZE): New macro.
57982         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57983         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57985         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57986         definition on [!__NO_LONG_DOUBLE_MATH].
57988         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57989         PTR_MANGLE and PTR_DEMANGLE.
57991         * socket/accept4.c (accept4): Rename to __libc_accept4.
57992         Define accept4 as a weak alias.
57994         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57995         on [_DIRENT_HAVE_D_TYPE].
57996         * io/ftw.c (ftw_dir): Likewise.
57998         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58000         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58002         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58003         Use the BSD numbers rather than the arbitrary ones we had.
58004         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58005         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58006         (SIGXCPU, SIGXFSZ): New macros.
58007         (_NSIG): Now 32.
58009         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58010         initializer on [_LIBC_REENTRANT].
58012         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58013         definitions inside [_POSIX_MAPPED_FILES].
58015         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58017         * dirent/opendir.c: Include <fcntl.h>.
58019         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58020         (__libc_getspecific): Likewise.
58021         (__libc_key_create): Likewise.
58023         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58024         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58025         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58026         (tmpfile64): Define as alias.
58027         * sysdeps/wordsize-64/tmpfile.c: File removed.
58028         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58029         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58032         * stdio-common/vfscanf.c: Include <stdbool.h>.
58033         * nss/makedb.c: Likewise.
58034         * stdio-common/_i18n_number.h: Likewise.
58035         * argp/argp-help.c: Likewise.
58036         * posix/wordexp.c: Likewise.
58037         * sysdeps/posix/spawni.c: Likewise.
58038         * nss/nss_files/files-initgroups.c: Likewise.
58039         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58040         * nss/nss_files/files-initgroups.c: Likewise.
58041         * nss/nss_db/db-netgrp.c: Likewise.
58042         * nss/nss_db/db-initgroups.c: Likewise.
58043         * io/fchmodat.c: Include <sys/stat.h>.
58045         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58046         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58048         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58049         [HAVE_MMAP].
58051         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58052         Add multiple inclusion protection.
58054 2012-07-27  David S. Miller  <davem@davemloft.net>
58056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58058 2012-07-27  Gary Benson  <gbenson@redhat.com>
58060         [BZ #14298]
58061         * elf/rtld.c: Include <stap-probe.h>.
58062         (dl_main): Added static probes "init_start" and "init_complete".
58063         * elf/dl-load.c: Include <stap-probe.h>.
58064         (lose): Take new parameter "nsid".
58065         Added static probe "map_failed".
58066         (_dl_map_object_from_fd): Pass namespace id to lose.
58067         Added static probe "map_start".
58068         (open_verify): Pass namespace id to lose.
58069         * elf/dl-open.c: Include <stap-probe.h>.
58070         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58071         and "reloc_complete".
58072         * elf/dl-close.c: Include <stap-probe.h>.
58073         (_dl_close_worker): Added static probes "unmap_start" and
58074         "unmap_complete".
58075         * elf/rtld-debugger-interface.txt: New file documenting the above.
58077 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58079         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58080         rather than a string variable.
58081         * sunrpc/rpc_main.c (h_output): Likewise.
58082         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58084 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58086         * inet/check_native.c: New file.
58088 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58090         [BZ #13629]
58091         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58092         if larger part has absolute value 1.0.
58093         * math/s_clog10.c (__clog10): Likewise.
58094         * math/s_clog10f.c (__clog10f): Likewise.
58095         * math/s_clog10l.c (__clog10l): Likewise.
58096         * math/s_clogf.c (__clogf): Likewise.
58097         * math/s_clogl.c (__clogl): Likewise.
58098         * math/libm-test.inc (clog_test): Add more tests.
58099         (clog10_test): Likewise.
58100         * sysdeps/i386/fpu/libm-test-ulps: Update.
58101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58103         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58104         (pltexit): Likewise.
58105         (La_regs): Likewise.
58106         (La_retval): Likewise.
58107         (int_retval): Likewise.
58108         Update #error for removed macros to refer only to definitions in
58109         tst-audit.h.
58110         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58111         macro.
58112         (pltexit): Likewise.
58113         (La_regs): Likewise.
58114         (La_retval): Likewise.
58115         (int_retval): Likewise.
58116         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58117         macro.
58118         (pltexit): Likewise.
58119         (La_regs): Likewise.
58120         (La_retval): Likewise.
58121         (int_retval): Likewise.
58122         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58123         macro.
58124         (pltexit): Likewise.
58125         (La_regs): Likewise.
58126         (La_retval): Likewise.
58127         (int_retval): Likewise.
58128         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58129         macro.
58130         (pltexit): Likewise.
58131         (La_regs): Likewise.
58132         (La_retval): Likewise.
58133         (int_retval): Likewise.
58134         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58135         macro.
58136         (pltexit): Likewise.
58137         (La_regs): Likewise.
58138         (La_retval): Likewise.
58139         (int_retval): Likewise.
58140         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58141         macro.
58142         (pltexit): Likewise.
58143         (La_regs): Likewise.
58144         (La_retval): Likewise.
58145         (int_retval): Likewise.
58146         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58147         macro definitions in tst-audit.h.
58148         * sysdeps/i386/tst-audit.h: New file.
58149         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58150         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58151         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58152         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58153         * sysdeps/sh/tst-audit.h: Likewise.
58154         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58155         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58156         * sysdeps/x86_64/tst-audit.h: Likewise.
58158 2012-07-26  Andreas Jaeger  <aj@suse.de>
58160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58161         ptrace.
58163         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58164         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58165         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58166         PTRACE_O_MASK.
58167         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58168         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58169         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58171         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58172         value.
58174         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58175         _sigsys.
58176         (si_call_addr, si_syscall, si_arch): Define new macro.
58177         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58178         _sigsys.
58179         (si_call_addr, si_syscall, si_arch): Define new marcro.
58180         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58181         _sigsys.
58182         (si_call_addr, si_syscall, si_arch): Define new macro.
58183         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58184         _sigsys.
58185         (si_call_addr, si_syscall, si_arch): Define new macro.
58187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58189         [BZ #13717]
58190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58191         Change to 2.4.21 where previously 2.4.1.
58192         * sysdeps/unix/sysv/linux/configure: Regenerated.
58193         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58194         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58195         Linux kernel version.
58196         (__ASSUME_STD_AUXV): Remove.
58197         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58198         kernel version.
58199         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58200         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58201         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58202         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58203         (__ASSUME_NETLINK_SUPPORT): Likewise.
58204         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58205         (__no_netlink_support): Remove conditional definition.
58206         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58207         Remove.
58208         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58209         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58210         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58211         (if_nameindex_ioctl): Remove.
58212         (if_nameindex_netlink): Do not handle __no_netlink_support.
58213         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58214         code.
58215         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58216         Remove conditional code.
58217         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58218         code.
58219         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58220         unconditional.
58221         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58222         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58223         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58224         Remove.
58225         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58226         [!__ASSUME_STD_AUXV]: Remove conditional code.
58227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58228         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58229         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58231         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58232         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58233         code.
58234         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58236         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58237         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58238         conditional code.
58239         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58241         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58242         code.
58243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58244         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58245         conditional code.
58246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58247         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58248         code unconditional.
58249         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58250         conditional code.
58251         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58252         unconditional.
58253         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58254         conditional code.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58256         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58257         unconditional.
58258         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58259         conditional code.
58260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58261         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58262         code unconditional.
58263         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58264         conditional code.
58265         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58266         unconditional.
58267         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58268         conditional code.
58269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58270         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58271         code unconditional.
58272         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58273         conditional code.
58274         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58275         unconditional.
58276         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58277         conditional code.
58279 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58281         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58282         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58283         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58284         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58285         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58286         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58287         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58288         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58289         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58290         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58291         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58292         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58293         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58294         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58295         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58296         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58297         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58299         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58301         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58302         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58305 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58307         * Versions.def: Add GLIBC_2.17.
58308         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58309         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58310         Introduce __libc_secure_getenv.
58311         * stdlib/Versions (2.17): Add secure_getenv
58312         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58313         * stdlib/secure-getenv.c: Rename __secure_getenv to
58314         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58315         symbol __secure_getenv for GLIBC_2.0.
58316         * stdlib/tst-secure-getenv.c: New.
58317         * stdlib/Makefile (tests): Add testcase.
58318         * manual/startup.texi (Environment Access): Document
58319         secure_getenv.
58320         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58321         __libc_secure_getenv.
58322         * inet/ruserpass.c (ruserpass): Likewise.
58323         * malloc/mtrace.c (mtrace): Likewise.
58324         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58325         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58326         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58327         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58328         HAVE_SECURE_GETENV.
58329         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58330         __secure_getenv to __libc_secure_getenv.
58331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58333         Likewise.
58334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58335         Likewise.
58336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58344 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58346         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58347         (struct La_i86_retval): Likewise.
58348         (struct La_x86_64_regs): Likewise.
58349         (struct La_x86_64_retval): Likewise.
58350         (struct La_x32_regs): Likewise.
58351         (struct La_x32_retval): Likewise.
58352         (struct La_ppc32_regs): Likewise.
58353         (struct La_ppc32_retval): Likewise.
58354         (struct La_ppc64_regs): Likewise.
58355         (struct La_ppc64_retval): Likewise.
58356         (struct La_sh_regs): Likewise.
58357         (struct La_sh_retval): Likewise.
58358         (struct La_s390_32_regs): Likewise.
58359         (struct La_s390_32_retval): Likewise.
58360         (struct La_s390_64_regs): Likewise.
58361         (struct La_s390_64_retval): Likewise.
58362         (struct La_sparc32_regs): Likewise.
58363         (struct La_sparc32_retval): Likewise.
58364         (struct La_sparc64_regs): Likewise.
58365         (struct La_sparc64_retval): Likewise.
58366         (struct audit_ifaces): Remove architecture-specific pltenter and
58367         pltexit members.
58368         * sysdeps/i386/ldsodefs.h: New file.
58369         * sysdeps/powerpc/ldsodefs.h: Likewise.
58370         * sysdeps/s390/ldsodefs.h: Likewise.
58371         * sysdeps/sh/ldsodefs.h: Likewise.
58372         * sysdeps/sparc/ldsodefs.h: Likewise.
58373         * sysdeps/x86_64/ldsodefs.h: Likewise.
58375 2012-07-25  Marek Polacek  <polacek@redhat.com>
58377         [BZ #6808]
58378         * math/libm-test.inc (yn_test): Add another test.
58379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58380         to ERANGE when the result is +-Inf.
58381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58382         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58383         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58386 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58388         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58389         equal to 0.
58390         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58391         clock_t.
58392         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58394 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58396         * configure.in <sysdeps resolving>: Correct printing
58397         Implies_before.
58398         * configure: Regenerate.
58400 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58402         * math/w_ilogb.c: Include <limits.h>.
58403         * math/w_ilogbl.c: Likewise.
58405 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58407         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58408         va_copy.  Document allowing for unavailable va_copy only as
58409         pre-C99 compatibility.
58410         * manual/string.texi (Copying and Concatenation): Use va_copy
58411         instead of __va_copy in concat example.
58413 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58415         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58416         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58417         it if not null.
58419         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58420         with O_NOLINK passed to __file_name_lookup.
58422         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58423         with O_NOLINK passed to __file_name_lookup.
58425         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58426         negative N or less than NGIDS.
58428         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58429         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58430         enough.  Use memcpy instead of strncpy.
58432 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58434         * elf/Makefile (check-data): Remove.
58435         (localplt.data): New vpath directive.
58436         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58437         instead of $(check-data).
58438         * scripts/data/localplt-generic.data: Move to ...
58439         * sysdeps/generic/localplt.data: ... here.
58440         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58441         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58442         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58444         ... here.
58445         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58447         ... here.
58448         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58450         ... here.
58451         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58453         ... here.
58454         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58456         ... here.
58457         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58459         ... here.
58461 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58463         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58464         PPC32 and PPC64 files.
58465         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58466         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58468 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58470         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58471         __makecontext_ret to ...
58472         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58473         ... here and call exit if uc_link is NULL.  New file.
58474         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58475         __makecontext_ret.S.
58476         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58477         __makecontext_ret to ...
58478         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58479         ... here and call exit if uc_link is NULL.  New file.
58480         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58481         __makecontext_ret.S.
58483 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58485         * elf/elf.h (R_390_IRELATIVE): New definition.
58486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58487         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58488         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58489         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58490         (elf_machine_lazy_rel): Likewise.
58491         * sysdeps/s390/dl-irel.h: New file.
58492         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58493         * sysdeps/s390/s390-64/memset.S: New asm code.
58494         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58495         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58496         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58497         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58498         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58499         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58500         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58501         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58502         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58503         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58504         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58505         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58506         * sysdeps/s390/s390-32/memset.S: New asm code.
58507         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58509 2012-07-17  Marek Polacek  <polacek@redhat.com>
58511         [BZ #14349]
58512         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58513         * sysdeps/s390/s390-64/configure.in: Likewise.
58514         * sysdeps/sparc/configure.in: Likewise.
58515         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58516         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58517         * sysdeps/i386/configure.in: Likewise.
58518         * sysdeps/x86_64/configure.in: Likewise.
58519         * sysdeps/sh/configure.in: Likewise.
58520         * sysdeps/s390/s390-32/configure: Regenerated.
58521         * sysdeps/s390/s390-64/configure: Likewise.
58522         * sysdeps/x86_64/configure: Likewise.
58523         * sysdeps/sh/configure: Likewise.
58524         * sysdeps/powerpc/powerpc64/configure: Likewise.
58525         * sysdeps/powerpc/powerpc32/configure: Likewise.
58526         * sysdeps/sparc/configure: Likwise.
58527         * sysdeps/i386/configure: Likewise.
58529         * elf/dl-open.c: Comment fixes.
58531 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58533         * Makefile [CXX] (check-data): Remove.
58534         [CXX] (c++-types.data): New vpath directive.
58535         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58536         vpath.  Do not allow for C++ type data being missing.
58537         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58538         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58539         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58540         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58541         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58542         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58543         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58545         ... here.
58546         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58548         ... here.
58549         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58551         ... here.
58552         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58554         ... here.
58555         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58557         ... here.
58558         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58560         ... here.
58561         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58563         ... here.
58564         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58567         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58568         definitions to architecture-specific files.
58569         (TLS_IE): Likewise.
58570         (TLS_LD): Likewise.
58571         (TLS_GD): Likewise.
58572         * sysdeps/i386/tls-macros.h: New file.
58573         * sysdeps/powerpc/tls-macros.h: Likewise.
58574         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58575         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58576         * sysdeps/sh/tls-macros.h: Likewise.
58577         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58578         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58579         * sysdeps/x86_64/tls-macros.h: Likewise.
58581 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58584         zero value for regular exit case.
58586         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58587         (__start_context): Preserve zero value for regular exit case.
58589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58590             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58592         * manual/setjmp.texi (setcontext): Clarify normal process
58593         termination when uc_link is the null pointer.
58594         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58595         exit call.
58597 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58599         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58600         preprocessor.  Test for each exception mask separately.
58602 2012-07-16  Andreas Jaeger  <aj@suse.de>
58604         * po/ru.po: Update from translation team.
58606 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58608         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58609         equal to 0.
58610         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58611         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58612         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58613         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58616 2012-07-13  Andreas Jaeger  <aj@suse.de>
58618         * po/fr.po: Update from translation team.
58620 2012-07-12  Marek Polacek  <polacek@redhat.com>
58622         [BZ #14173]
58623         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58625         loop condition.
58627 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58629         [BZ #13717]
58630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58631         Change to 2.4.1 where previously 2.4.0.
58632         * sysdeps/unix/sysv/linux/configure: Regenerated.
58633         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58634         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58635         version.
58636         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58637         (__ASSUME_AT_CLKTCK): Remove.
58638         (__ASSUME_AT_PAGESIZE): Likewise.
58639         (__ASSUME_AT_XID): Likewise.
58640         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58641         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58642         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58643         unconditionally.
58644         (HAVE_AUX_PAGESIZE): Likewise.
58645         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58646         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58647         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58649 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58651         [BZ #14307]
58652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58653         the temporary buffer used to invoke __gethostbyname2_r,
58654         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58655         host_data / struct gaih_addrtuple.
58656         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58657         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58658         header file nss/nsswitch.h.
58659         * nss/nsswitch.h (global scope): Add definition of implementation
58660         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58661         resolv/nss_dns/dns-host.c).
58663 2012-07-11  Andreas Jaeger  <aj@suse.de>
58665         * po/fr.po: Update from translation team.
58667         * po/sv.po: Update from translation team
58668         * po/fr.po: Another update from translation team.
58670 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58673         for subnormals or multiply small sinh result by itself.
58674         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58677 2012-07-11  David S. Miller  <davem@davemloft.net>
58679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58681 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58683         [BZ #14347]
58684         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58685         (INTERNAL_MARK): Shift it here.
58687 2012-07-10  Marek Polacek  <polacek@redhat.com>
58689         [BZ #14151]
58690         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58691         libc_cv_asm_global_directive with .globl.
58692         * configure: Regenerated.
58693         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58694         with .globl.
58695         * sysdeps/i386/configure: Regenerated.
58696         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58697         with .globl.
58698         * sysdeps/x86_64/configure: Regenerated.
58699         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58700         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58701         * elf/tst-unique2mod2.c: Likewise.
58702         * elf/tst-unique2mod1.c: Likewise.
58703         * elf/tst-unique1mod2.c: Likewise.
58704         * elf/tst-unique1mod1.c: Likewise.
58705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58706         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58708         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58709         * sysdeps/mach/sysdep.h: Likewise.
58710         * sysdeps/i386/sysdep.h: Likewise.
58711         * sysdeps/i386/i386-mcount.S: Likewise.
58712         * sysdeps/x86_64/_mcount.S: Likewise.
58713         * sysdeps/x86_64/sysdep.h: Likewise.
58714         * sysdeps/sh/_mcount.S: Likewise.
58715         * sysdeps/sh/sysdep.h: Likewise.
58716         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58717         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58718         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58719         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58720         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58721         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58722         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58723         * locale/localeinfo.h: Likewise.
58724         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58725         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58727 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58729         [BZ #14336]
58730         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58731         system".
58732         * manual/message.texi (The Uniforum approach): Likewise.
58733         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58734         (glibc iconv Implementation): Likewise.
58736 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58738         [BZ #14337]
58739         * math/s_clog.c (__clog): Avoid scaling a value down where that
58740         could result in underflow.
58741         * math/s_clog10.c (__clog10): Likewise.
58742         * math/s_clog10f.c (__clog10f): Likewise.
58743         * math/s_clog10l.c (__clog10l): Likewise.
58744         * math/s_clogf.c (__clogf): Likewise.
58745         * math/s_clogl.c (__clogl): Likewise.
58746         * math/libm-test.inc (clog_test): Add more tests.
58747         (clog10_test): Likewise.
58748         * sysdeps/i386/fpu/libm-test-ulps: Update.
58749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58751 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58753         [BZ #14283]
58754         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58755         by 7 not 8 to examine high bit of fractional part.
58757         [BZ #14042]
58758         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58759         for call to __mcount_internal.
58760         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58761         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58762         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58764 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58766         [BZ #14154]
58767         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58768         approximation for values within 0x1p-13f of an odd multiple of
58769         pi/4.
58770         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58771         exception.  Add more tests.
58772         * sysdeps/i386/fpu/libm-test-ulps: Update.
58774         [BZ #6778]
58775         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58776         inputs and return -1 for them.  Do not check for +Inf in case not
58777         reachable for +Inf.
58778         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58779         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58781         and return -1 for them.  Do not check for +Inf in case not
58782         reachable for +Inf.
58783         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58784         define.
58785         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58786         and return -1 for them.  Do not check for +Inf in case not
58787         reachable for +Inf.
58788         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58789         spurious underflow.
58790         * sysdeps/i386/fpu/libm-test-ulps: Update.
58791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58793 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58795         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58797 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58799         [BZ #14157]
58800         [BZ #14331]
58801         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58802         could result in spurious underflow.  Scale down values above
58803         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58804         * math/s_csqrtf.c (__csqrtf): Likewise.
58805         * math/s_csqrtl.c (__csqrtl): Likewise.
58806         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58807         spurious underflow.
58808         * sysdeps/i386/fpu/libm-test-ulps: Update.
58809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58811 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58813         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58814         xopen-msg.sed.
58815         * catgets/xopen-msg.awk: New file.
58816         * catgets/xopen-msg.sed: Removed.
58818         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58819         po2text.sed.
58820         * intl/po2test.awk: New file.
58821         * intl/po2test.sed: Removed.
58823 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58825         [BZ #14328]
58826         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58827         or multiply small sinh result by itself.
58828         * math/s_ctanf.c (__ctanf): Likewise.
58829         * math/s_ctanh.c (__ctanh): Likewise.
58830         * math/s_ctanhf.c (__ctanhf): Likewise.
58831         * math/s_ctanhl.c (__ctanhl): Likewise.
58832         * math/s_ctanl.c (__ctanl): Likewise.
58833         * math/libm-test.inc (ctan_test_tonearest): New function.
58834         (ctan_test_towardzero): Likewise.
58835         (ctan_test_downward): Likewise.
58836         (ctan_test_upward): Likewise.
58837         (ctanh_test_tonearest): Likewise.
58838         (ctanh_test_towardzero): Likewise.
58839         (ctanh_test_downward): Likewise.
58840         (ctanh_test_upward): Likewise.
58841         (main): Call these new functions.
58842         * sysdeps/i386/fpu/libm-test-ulps: Update.
58843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58845 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58847         * .gitignore: Delete /ports entry.
58849 2012-07-03  Andreas Jaeger  <aj@suse.de>
58851         * po/bg.po: Update from translation team.
58852         * po/cs.po: Likewise.
58853         * po/de.po: Likewise.
58854         * po/hr.po: Likewise.
58855         * po/nl.pl: Likewise.
58856         * po/pl.po: Likewise.
58857         * po/vi.po: Likewise.
58859 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58861         * Makeconfig [!+link] (+link-before-libc): New variable.
58862         [!+link] (+link-after-libc): Likewise.
58863         [!+link] (+link-tests): Likewise.
58864         [!+link] (+link): Define in terms of $(+link-before-libc) and
58865         $(+link-after-libc).
58866         [!+link-static] (+link-static-before-libc): New variable.
58867         [!+link-static] (+link-static-after-libc): Likewise.
58868         [!+link-static] (+link-static-tests): Likewise.
58869         [!+link-static] (+link-static): Define in terms of
58870         $(+link-static-before-libc) and $(+link-static-after-libc).
58871         [build-shared] (link-libc-before-gnulib): New variable.
58872         [build-shared] (link-libc-tests): Likewise.
58873         [build-shared] (link-libc): Define in terms of
58874         $(link-libc-before-gnulib).
58875         [!build-shared] (link-libc-tests): New variable.
58876         (link-libc-static-tests): New variable.
58877         [!gnulib] (gnulib-arch): New variable.
58878         [!gnulib] (gnulib-tests): Likewise.
58879         [!gnulib] (static-gnulib-arch): Likewise.
58880         [!gnulib] (static-gnulib-tests): Likewise.
58881         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58882         Define with "=" instead of ":=".
58883         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58884         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58885         * Rules (binaries-all-notests): New variable.
58886         (binaries-all-tests): Likewise.
58887         (binaries-static-notests): Likewise.
58888         (binaries-static-tests): Likewise.
58889         (binaries-all): Define using $(binaries-all-notests) and
58890         $(binaries-all-tests).
58891         (binaries-static): Define using $(binaries-static-notests) and
58892         $(binaries-static-tests).
58893         (binaries-shared-tests): New variable.
58894         (binaries-shared-notests): Likewise.
58895         (binaries-shared): Remove variable.
58896         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58897         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58898         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58899         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58900         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58901         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58902         * elf/Makefile (sln-modules): New variable.
58903         (extra-objs): Add $(sln-modules:=.o).
58904         (ldconfig-modules): Add static-stubs.
58905         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58906         * elf/static-stubs.c: New file.
58908         [BZ #14283]
58909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58910         by 7 not 8 to examine high bit of fractional part.  Use volatile
58911         variables when splitting into final array of floats if
58912         __FLT_EVAL_METHOD__ != 0.
58913         * math/libm-test.inc (cos_test): Add another test.
58914         (sin_test): Likewise.
58915         * sysdeps/i386/fpu/libm-test-ulps: Update.
58917         [BZ #14273]
58918         * math/libm-test.inc (cosh_test): Add more tests.
58920         * version.h (RELEASE): Set to "development".
58921         (VERSION): Set to "2.16.90".
58923 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58925         * NEWS: Update copyright. Remove last-updated date.
58926         Mention math library bug fixes and timezone data changes.
58927         * README: Mention GNU/Hurd, x32, and HPPA support status.
58929 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58931         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58933 2012-06-27  Andreas Jaeger  <aj@suse.de>
58935         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58937 2012-06-25  Andreas Jaeger  <aj@suse.de>
58939         * sysdeps/s390/fpu/libm-test-ulps: Update.
58941 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58942             Thomas Schwinge  <thomas@codesourcery.com>
58944         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58945         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58947         fanotify_mark.
58949 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58951         * sysdeps/mach/start.c: Remove file.
58952         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58953         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58954         * sysdeps/sh/init-first.c: Likewise.
58956         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58957         registers for frame unwinding purposes, add CFI directives.
58958         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58959         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58960         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58961         Likewise.
58963         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58964         __fortify_fail returning.
58965         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58967         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58968         sysdeps/sh/____longjmp_chk.S.
58969         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58970         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58971         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58972         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58974         * sysdeps/sh/abort-instr.h: New file.
58975         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58976         process in case exit returns.
58978         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58979         initialize the GOT register before use.
58981         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58982         calculation of ARGC > 4.
58984         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58985         meaningful names to some local labels.
58987 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58988             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58991         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58992         (__arch_compare_and_exchange_val_16_acq): Likewise.
58993         (__arch_compare_and_exchange_val_32_acq): Likewise.
58994         (atomic_exchange_and_add): Fix gUSA sequence.
58995         (atomic_add): Likewise.
58996         (atomic_add_negative): Likewise.
58997         (atomic_add_zero): Likewise.
58998         (atomic_bit_test_set): Likewise.
59000 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59002         [BZ #13579]
59003         * include/link.h (struct link_map): Add l_free_initfini.
59004         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59005         l_initfini.
59006         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59007         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59008         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59009         set.
59011 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59013         * configure.in: Use AC_LANG_SOURCE.
59014         * configure: Regenerate.
59016 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59018         * configure.in (libc_cv_localstatedir): New substituted variable.
59019         * configure: Regenerated.
59020         * config.make.in (localstatedir): New variable, substituted from
59021         libc_cv_localstatedir.
59022         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59023         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59024         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59025         * sysdeps/gnu/configure: Regenerated.
59027 2012-06-21  Jeff Law  <law@redhat.com>
59029         [BZ #14277]
59030         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59031         free.  Simplify list management for _LIBC case.
59033 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59035         [BZ #14273]
59036         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59037         Clear sign bit of 64-bit integer value before comparing against
59038         overflow value.
59040         * sysdeps/mach/configure: Regenerated.
59042 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59044         [BZ #14278]
59045         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59047 2012-06-21  Jeff Law  <law@redhat.com>
59049         [BZ #13882]
59050         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59051         uint16_t for elements in the "seen" array to avoid char overflows.
59052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59053         * elf/dl-open.c (dl_open_worker): Likewise.
59055 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59057         * scripts/list-sources.sh: Scan PORTS for translations.
59058         * po/libc.pot: Regenerated.
59060 2012-06-21  Andreas Jaeger  <aj@suse.de>
59062         [BZ #12194]
59063         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59064         warning.
59065         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59066         * bits/byteswap-16.h (__bswap_16): Likewise.
59067         * bits/byteswap.h (__bswap_constant_16): Likewise.
59069 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59071         [BZ #14117]
59072         * sysdeps/i386/fpu_control.h: Removed.
59073         * sysdeps/x86_64/fpu_control.h: Moved to ...
59074         * sysdeps/x86/fpu_control.h: Here.
59076         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59077         (_FPU_SETCW): Likewise.
59079 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59081         [BZ #14117]
59082         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59083         * sysdeps/x86/fpu/bits/mathinline.h: This.
59084         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59086         [BZ #14050]
59087         [BZ #14117]
59088         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59089         functions if __x86_64__ is defined.
59091 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59093         * string/endian.h: Add !__ASSEMBLER__ condition for including
59094         conversion interfaces.
59096 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59098         [BZ #14241]
59099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59100         of ABS(x) in calculating zero to negative powers other than odd
59101         integers.
59102         * math/libm-test.inc (pow_test): Add more tests.
59104 2012-06-15  Andreas Jaeger  <aj@suse.de>
59106         * manual/contrib.texi (Contributors): Update entry of Liubov
59107         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59108         Machado Filho.
59110 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59112         * string/string.h: Add __wur to GNU version of strerror_r.
59114 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59116         [BZ #14229]
59117         * string/Makefile (tests): Add tst-strtok_r.
59118         * string/tst-strtok_r.c: New file.
59119         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59120         RAX_LP/RDX_LP on SAVE_PTR.
59122 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59124         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59126 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59128         * libm_test.inc (csqrt_test): Allow more spurious underflow
59129         exceptions.
59130         (j0_test): Likewise.
59131         (j1_test): Likewise.
59132         (y0_test): Likewise.
59133         (y1_test): Likewise.
59135 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59137         * po/Makefile (libc.pot): Use UTF-8 charset.
59139 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59141         [BZ #14210]
59142         Suppress sign-conversion warning from FD_SET.
59143         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59144         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59145         not unsigned long int.
59146         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59148 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59150         [BZ #14050]
59151         [BZ #14117]
59152         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59153         __extern_always_inline instead of __extern_inline.
59154         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59155         (__signbit): Likewise.
59156         (__signbitl): Support C++ namespace.
59157         (lrintf): New inline function.
59158         (lrint): Likewise.
59159         (llrintf): Likewise.
59160         (llrint): Likewise.
59161         (fmaxf): Likewise.
59162         (fmax): Likewise.
59163         (fminf): Likewise.
59164         (fmin): Likewise.
59165         (rint): Likewise.
59166         (rintf): Likewise.
59167         (ceil): Likewise.
59168         (ceilf): Likewise.
59169         (floor): Likewise.
59170         (floorf): Likewise.
59171         (nearbyint): Likewise.
59172         (nearbyintf): Likewise.
59174 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59176         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59177         non-default versions.
59179 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59181         [BZ #14218]
59182         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59184 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59186         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59187         (FE_UPWARD, FE_DOWNWARD): Don't define.
59188         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59191         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59192         reading it.
59193         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59194         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59196 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59198         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59201         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59203 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59205         [BZ #14117]
59206         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59207         * sysdeps/i386/fpu/Implies: New file.
59208         * sysdeps/x86_64/fpu/Implies: Likewise.
59209         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59210         * sysdeps/x86/fpu/bits/fenv.h: This.
59212         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59213         __SSE_MATH__.
59215 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59217         [BZ #14134]
59218         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59219         character 0xffff that matches the last element of the
59220         conversion table.
59222 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59225         fmodl commit.
59227 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59230         values higher than 25.6283.
59232 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59235         subnormal exponent extraction and add some __builtin_expect.
59236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59237         Fix for subnormal mantissa calculation.
59239 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59241         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59242         cpu2 is -1 and errno is not ENOSYS.
59244 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59246         [BZ #14117]
59247         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59248         * sysdeps/x86/bits/string.h: This.
59249         * sysdeps/x86_64/bits/string.h: Removed.
59251         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59252         if not compiling for x86-64, but compiling for >= i486.
59254         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59255         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59257         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59258         New macro from Linux kernel 3.4.0.
59259         (FP_XSTATE_MAGIC2): Likewise.
59260         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59261         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59262         (struct _fpx_sw_bytes): New struct.
59263         (struct _xsave_hdr): Likewise.
59264         (struct _ymmh_state): Likewise.
59265         (struct _xstate): Likewise.
59267         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59268         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59269         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59270         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59271         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59272         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59274         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59275         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59276         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59277         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59278         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59279         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59281 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59283         [BZ #13743]
59284         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59285         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59286         (sysdep_headers): Include sys/platform/ppc.h.
59287         * sysdeps/powerpc/test-gettimebase.c: Test for
59288         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59289         * manual/Makefile (appendices): Include platform.texi.
59290         * manual/contrib.texi (Contributors): Update @node pointers.
59291         * manual/maint.texi (Maintenance): Likewise.
59292         (Platform): New node.
59293         * manual/platform.texi: New file.  Document the new features.
59295 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59296             Jakub Jelinek  <jakub@redhat.com>
59298         [BZ #14188]
59299         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59300         where __builtin_expect is unavailable.
59302 2012-06-03  David S. Miller  <davem@davemloft.net>
59304         * stdlib/longlong.h: Updated from GCC.
59306 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59308         [BZ #14042]
59309         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59310         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59311         __mcount_internal.
59312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59313         (GLIBC_2.16): Likewise.
59315 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59317         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59319 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59322         (default-abi): New variable.
59323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59324         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59325         variable.
59326         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59327         Likewise.
59328         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59329         Likewise.
59330         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59331         Likewise.
59333         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59334         definition.  Document in comment.
59336 2012-06-01  David S. Miller  <davem@davemloft.net>
59338         * stdlib/longlong.h: Updated from GCC.
59340 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59342         [BZ #14117]
59343         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59344         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59345         sys/debugreg.h sys/io.h here.
59346         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59347         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59348         sys/io.h.
59349         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59350         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59352         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59354         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59356         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59357         Define only if __x86_64__ is defined.
59359 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59361         [BZ #14048]
59362         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59363         Use int64_t for variable i.
59364         * math/libm-test.inc (fmod_test): Add more tests.
59366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59367         z computation is not scheduled after fetestexcept.
59368         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59369         Use math_force_eval instead of asm to ensure calculation scheduled
59370         before exception test.
59371         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59372         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59374 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59377         computation is not scheduled after fetestexcept.
59379 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59381         [BZ #14117]
59382         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59383         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59385 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59387         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59388         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59390 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59392         [BZ #14117]
59393         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59394         <bits/wordsize.h>.
59395         (__WCHAR_MIN): Support __WORDSIZE == 64.
59396         (__WCHAR_MAX): Likewise.
59398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59401         [BZ #14183]
59402         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59403         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59405         [BZ #14117]
59406         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59409         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59410         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59412         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59413         Defined to 1 if __x86_64__ isn't defined.
59414         (_STAT_VER_LINUX_OLD): New.
59415         (st_atime): Remove duplicate.
59416         (st_mtime): Likewise.
59417         (st_ctime): Likewise.
59419 2012-05-31  David S. Miller  <davem@davemloft.net>
59421         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59422         entries.
59424 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59426         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59427         gen-libm-test.pl.
59429         [BZ #14132]
59430         * elf/dl-reloc.c: Include <_itoa.h>.
59431         (_dl_reloc_bad_type): Remove use of INTUSE.
59432         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59433         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59434         * stdio-common/psiginfo.c (psiginfo): Likewise.
59435         * stdio-common/psignal.c (psignal): Likewise.
59436         * string/strsignal.c (strsignal): Likewise.
59437         * include/signal.h (_sys_siglist): Declare hidden proto.
59438         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59439         INTVARDEF with libc_hidden_data_def.
59440         * stdio-common/itoa-udigits.c: Likewise.
59441         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59442         (_itoa_lower_digits_internal): Remove declaration.
59443         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59444         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59445         (_sys_sigabbrev_internal): Remove aliases.
59446         (_sys_siglist): Define hidden alias.
59448 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59451         bits/sysctl.h.
59453 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59455         [BZ #14117]
59456         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59457         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59459         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59460         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59461         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59462         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59464         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59466         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59467         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59468         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59470         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59471         with __addr.
59472         (insw): Likewise.
59473         (insl): Likewise.
59474         (outsb): Likewise.
59475         (outsw): Likewise.
59476         (outsl): Likewise.
59478         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59479         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59482         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59483         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59484         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59485         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59486         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59487         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59489         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59490         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59493         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59495         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59496         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59497         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59499         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59500         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59501         to ...
59502         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59504         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59505         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59506         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59508         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59509         for x86-64.
59510         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59512 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59514         * math/math.h (M_El): Use two more decimal places.
59515         (M_LOG2El): Likewise.
59516         (M_LOG10El): Likewise.
59517         (M_LN2l): Likewise.
59518         (M_LN10l): Likewise.
59519         (M_PIl): Likewise.
59520         (M_PI_2l): Likewise.
59521         (M_PI_4l): Likewise.
59522         (M_1_PIl): Likewise.
59523         (M_2_PIl): Likewise.
59524         (M_2_SQRTPIl): Likewise.
59525         (M_SQRT2l): Likewise.
59526         (M_SQRT1_2l): Likewise.
59528 2012-05-31  David S. Miller  <davem@davemloft.net>
59530         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59531         values between float registers.
59532         * sysdeps/sparc/sparc64/memset.S: Likewise.
59533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59535 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59537         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59538         -D_FORTIFY_SOURCE=1.
59539         (CPPFLAGS-tst-longjmp_chk.c): Define.
59540         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59541         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59542         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59543         CFLAGS-tst-wchar-h.c.
59545 2012-05-31  Marek Polacek  <polacek@redhat.com>
59547         [BZ #14132]
59548         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59549         __endmntent_internal): Remove declaration.
59550         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59551         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59552         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59554 2012-05-30  David S. Miller  <davem@davemloft.net>
59556         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59557         (___Q_simulate_exceptions): Use real FP ops rather than writing
59558         into the %fsr.
59559         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59560         Likewise.
59562 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59564         [BZ #14117]
59565         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59566         * sysdeps/x86/bits/xtitypes.h: This.
59568         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59569         * sysdeps/x86/bits/wordsize.h: This.
59571         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59572         * sysdeps/x86/bits/huge_vall.h: This.
59574         * sysdeps/i386/bits/select.h: Removed.
59575         * sysdeps/x86_64/bits/select.h: Renamed to ...
59576         * sysdeps/x86/bits/select.h: This.
59578         * sysdeps/i386/bits/setjmp.h: Removed.
59579         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59580         * sysdeps/x86/bits/setjmp.h: This.
59582         * sysdeps/i386/bits/mathdef.h: Removed.
59583         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59584         * sysdeps/x86/bits/mathdef.h: This.
59586 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59588         [BZ #14132]
59589         * include/sys/socket.h (__connect_internal)
59590         (__libc_sa_len_internal): Remove declaration.
59591         (__connect, __libc_sa_len): Declare hidden_proto.
59592         (SA_LEN): Remove use of INTUSE.
59593         * socket/connect.c: Add libc_hidden_def.
59594         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59595         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59596         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59597         alias.
59598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59600         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59601         of adding _internal alias.
59603 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59605         [BZ #14117]
59606         * sysdeps/i386/bits/link.h: Removed.
59607         * sysdeps/i386/bits/linkmap.h: Likewise.
59608         * sysdeps/x86_64/bits/link.h: Renamed to ...
59609         * sysdeps/x86/bits/link.h: This.
59610         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59611         * sysdeps/x86/bits/linkmap.h: This.
59613         * sysdeps/i386/bits/endian.h: Removed.
59614         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59615         * sysdeps/x86/bits/endian.h: This.
59617         * sysdeps/i386/bits/byteswap.h: Removed.
59618         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59619         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59620         * sysdeps/x86/bits/byteswap.h: This.
59621         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59622         * sysdeps/x86/bits/byteswap-16.h: This.
59623         * sysdeps/i386/Implies: Add x86.
59624         * sysdeps/x86_64/Implies: Likewise.
59626 2012-05-30  David S. Miller  <davem@davemloft.net>
59628         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59629         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59630         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59631         (FP_TRAPPING_EXCEPTIONS): Define.
59632         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59633         (FP_TRAPPING_EXCEPTIONS): Define.
59634         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59635         subnormals only when inexact has been signalled or underflow
59636         exceptions are enabled.
59637         (_FP_PACK_CANONICAL): Likewise.
59639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59641         [BZ #14183]
59642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59643         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59645 2012-05-30  Richard Henderson  <rth@twiddle.net>
59647         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59648         with #ifndef NOT_IN_libc.
59650         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59651         marked to avoid plt entry.
59653 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59655         [BZ #14112]
59656         * Makeconfig (default-abi): New macro.
59657         (abi-includes): Likewise.
59658         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59659         $(abi-$(default-abi)-lib-soname) for soname if defined.
59660         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59661         abi-variants.
59662         * Makefile (installed-stubs): Likewise.
59663         * include/stubs-biarch.h: Removed.
59664         * scripts/lib-names.awk: Only handle one library at a time.
59665         * scripts/soversions.awk: Remove WORDSIZE support.
59666         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59667         entries.
59668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59669         Removed.
59670         (syscall-list-default-condition): Likewise.
59671         (syscall-list-default-condition): Likewise.
59672         (syscall-list-includes): Likewise.
59673         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59674         syscall-list-* with abi-*.  Handle undefined abi-variants.
59675         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59676         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59677         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59678         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59679         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59680         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59681         Removed.
59682         (syscall-list-32-options): Likewise.
59683         (syscall-list-32-condition): Likewise.
59684         (syscall-list-64-options): Likewise.
59685         (syscall-list-64-condition): Likewise.
59686         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59687         macro.
59688         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59689         Renamed to ...
59690         (abi-*): This.
59691         (abi-64-ld-soname): New macro.
59692         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59693         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59694         Renamed to ...
59695         (abi-*): This.
59696         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59697         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59699 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59701         * sysdeps/unix/sysv/linux/kernel-features.h
59702         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59703         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59704         include <kernel-features.h>.
59705         [!__NR_ftruncate64]: Remove conditional code.
59706         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59707         [__NR_ftruncate64]: Make code unconditional.
59708         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59709         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59710         include <kernel-features.h>.
59711         [!__NR_ftruncate64]: Remove conditional code.
59712         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59713         [__NR_ftruncate64]: Make code unconditional.
59714         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59716         include <kernel-features.h>.
59717         [!__NR_ftruncate64]: Remove conditional code.
59718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59719         [__NR_ftruncate64]: Make code unconditional.
59720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59722         include <kernel-features.h>.
59723         [!__NR_ftruncate64]: Remove conditional code.
59724         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59725         [__NR_ftruncate64]: Make code unconditional.
59726         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59728         * configure.in (libc_cv_fpie): Weaken to a compile test using
59729         LIBC_TRY_CC_OPTION.
59730         * configure: Regenerated.
59732 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59738         Refreshed.
59739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59745         Refreshed.
59747 2012-05-27  David S. Miller  <davem@davemloft.net>
59749         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59750         (___Q_zero): New.
59751         (__Q_simulate_exceptions): Return void.  Change to simulate
59752         exceptions by writing into the %fsr.
59753         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59754         (__Qp_handle_exceptions): Likewise.
59755         (numbers): Delete.
59756         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59757         __Qp_handle_exceptions.
59758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59759         __Qp_handle_exceptions.
59760         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59761         as unused and give dummy FP_RND_NEAREST initializer.
59762         (FP_INHIBIT_RESULTS): Define.
59763         (___Q_simulate_exceptions): Update declaration.
59764         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59765         formatting.
59766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59767         as unused and give dummy FP_RND_NEAREST initializer.
59768         (__Qp_handle_exceptions): Update declaration.
59769         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59770         formatting.
59772 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59774         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59775         the temporary FPU control word.
59776         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59777         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59778         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59779         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59780         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59781         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59782         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59784         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59785         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59786         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59788 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59790         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59791         fields.
59793 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59795         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59796         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59797         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59798         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59799         Likewise.
59800         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59801         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59802         Likewise.
59804 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59806         * po/h.po: Update from translation team.
59808 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59810         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59812         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59813         handling of denormals.
59814         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59815         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59816         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59817         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59818         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59821         Likewise.
59823 2012-05-26  Marek Polacek  <polacek@redhat.com>
59825         [BZ #14152]
59826         * math/libm-test.inc (fma_test): Don't always expect underflow
59827         exception.
59829 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59831         [BZ #12416]
59832         * elf/tst-execstack.c: Include stackinfo.h.
59833         (do_test): Adjust test case to ensure that pthread_getattr_np
59834         behaviour remains the same after marking stack executable.
59836 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59838         * sysdeps/unix/sysv/linux/kernel-features.h
59839         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59840         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59841         kernel-features.h.
59842         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59843         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59844         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59845         kernel-features.h.
59846         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59847         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59849 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59851         * configure.in: Define the default includes to being none.
59852         * configure: Regenerated.
59854 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59856         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59857         * sysdeps/x86_64/setjmp.S: Likewise.
59858         * sysdeps/i386/bsd-setjmp.S: Likewise.
59859         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59860         * sysdeps/i386/setjmp.S: Likewise.
59861         * sysdeps/i386/__longjmp.S: Likewise.
59862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59863         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59865         * include/stap-probe.h: New file.
59866         * configure.in: Handle --enable-systemtap.
59867         * configure: Regenerated.
59868         * config.h.in (USE_STAP_PROBE): New #undef.
59869         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59870         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59871         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59873 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59875         [BZ #13717]
59876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59877         to 2.4.0 where earlier.
59878         * sysdeps/unix/sysv/linux/configure: Regenerated.
59879         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59880         <kernel-features.h>.
59881         [__ASSUME_32BITUIDS]: Make code unconditional.
59882         [!__ASSUME_32BITUIDS]: Remove conditional code.
59883         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59884         <kernel-features.h>.
59885         [__ASSUME_32BITUIDS]: Make code unconditional.
59886         [!__ASSUME_32BITUIDS]: Remove conditional code.
59887         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59888         [__ASSUME_32BITUIDS]: Make code unconditional.
59889         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59890         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59891         <kernel-features.h>.
59892         [__ASSUME_32BITUIDS]: Make code unconditional.
59893         [!__ASSUME_32BITUIDS]: Remove conditional code.
59894         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59895         <kernel-features.h>.
59896         [__ASSUME_32BITUIDS]: Make code unconditional.
59897         [!__ASSUME_32BITUIDS]: Remove conditional code.
59898         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59899         <kernel-features.h>.
59900         [__ASSUME_32BITUIDS]: Make code unconditional.
59901         [!__ASSUME_32BITUIDS]: Remove conditional code.
59902         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59903         <kernel-features.h>.
59904         [__ASSUME_32BITUIDS]: Make code unconditional.
59905         [!__ASSUME_32BITUIDS]: Remove conditional code.
59906         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59907         <kernel-features.h>.
59908         [__ASSUME_32BITUIDS]: Make code unconditional.
59909         [!__ASSUME_32BITUIDS]: Remove conditional code.
59910         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59911         <kernel-features.h>.
59912         [__ASSUME_32BITUIDS]: Make code unconditional.
59913         [!__ASSUME_32BITUIDS]: Remove conditional code.
59914         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59915         <kernel-features.h>.
59916         [__ASSUME_32BITUIDS]: Make code unconditional.
59917         [!__ASSUME_32BITUIDS]: Remove conditional code.
59918         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59919         <kernel-features.h>.
59920         [__ASSUME_32BITUIDS]: Make code unconditional.
59921         [!__ASSUME_32BITUIDS]: Remove conditional code.
59922         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59923         <kernel-features.h>.
59924         [__ASSUME_32BITUIDS]: Make code unconditional.
59925         [!__ASSUME_32BITUIDS]: Remove conditional code.
59926         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
59931         <kernel-features.h>.
59932         [__NR_setresgid] (__setresgid): Do not declare.
59933         [__ASSUME_32BITUIDS]: Make code unconditional.
59934         [!__ASSUME_32BITUIDS]: Remove conditional code.
59935         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59936         <kernel-features.h>.
59937         [__NR_setresuid] (__setresuid): Do not declare.
59938         [__ASSUME_32BITUIDS]: Make code unconditional.
59939         [!__ASSUME_32BITUIDS]: Remove conditional code.
59940         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59941         <kernel-features.h>.
59942         [__ASSUME_32BITUIDS]: Make code unconditional.
59943         [!__ASSUME_32BITUIDS]: Remove conditional code.
59944         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59945         <kernel-features.h>.
59946         [__ASSUME_32BITUIDS]: Make code unconditional.
59947         [!__ASSUME_32BITUIDS]: Remove conditional code.
59948         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59949         <kernel-features.h>.
59950         [__ASSUME_32BITUIDS]: Make code unconditional.
59951         [!__ASSUME_32BITUIDS]: Remove conditional code.
59952         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59953         <kernel-features.h>.
59954         [__ASSUME_32BITUIDS]: Make code unconditional.
59955         [!__ASSUME_32BITUIDS]: Remove conditional code.
59956         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59957         <kernel-features.h>.
59958         [__ASSUME_32BITUIDS]: Make code unconditional.
59959         [!__ASSUME_32BITUIDS]: Remove conditional code.
59960         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59961         <kernel-features.h>.
59962         [__ASSUME_32BITUIDS]: Make code unconditional.
59963         [!__ASSUME_32BITUIDS]: Remove conditional code.
59964         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59965         <kernel-features.h>.
59966         [__ASSUME_32BITUIDS]: Make code unconditional.
59967         [!__ASSUME_32BITUIDS]: Remove conditional code.
59968         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59969         <kernel-features.h>.
59970         [__ASSUME_32BITUIDS]: Make code unconditional.
59971         [!__ASSUME_32BITUIDS]: Remove conditional code.
59972         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59973         <kernel-features.h>.
59974         [__ASSUME_32BITUIDS]: Make code unconditional.
59975         [!__ASSUME_32BITUIDS]: Remove conditional code.
59976         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
59981         (__ASSUME_SETRESUID_SYSCALL): Remove.
59982         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59983         (__ASSUME_32BITUIDS): Likewise.
59984         (__ASSUME_LDT_WORKS): Likewise.
59985         (__ASSUME_O_DIRECTORY): Likewise.
59986         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59987         architecture but not kernel version.
59988         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59989         (__ASSUME_MMAP2_SYSCALL): Likewise.
59990         (__ASSUME_STAT64_SYSCALL): Likewise.
59991         (__ASSUME_IPC64): Likewise.
59992         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59993         <kernel-features.h>.
59994         [__ASSUME_32BITUIDS]: Make code unconditional.
59995         [!__ASSUME_32BITUIDS]: Remove conditional code.
59996         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59997         <kernel-features.h>.
59998         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59999         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60000         132096]: Remove conditional code.
60001         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60002         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60003         <kernel-features.h>.
60004         [__ASSUME_32BITUIDS]: Make code unconditional.
60005         [!__ASSUME_32BITUIDS]: Remove conditional code.
60006         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60007         <kernel-features.h>.
60008         [__ASSUME_32BITUIDS]: Make code unconditional.
60009         [!__ASSUME_32BITUIDS]: Remove conditional code.
60010         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60011         <kernel-features.h>.
60012         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60013         unconditional.
60014         (__setresgid): Do not declare.
60015         [__ASSUME_32BITUIDS]: Make code unconditional.
60016         [!__ASSUME_32BITUIDS]: Remove conditional code.
60017         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60018         <kernel-features.h>.
60019         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60020         unconditional.
60021         (__setresuid): Do not declare.
60022         [__ASSUME_32BITUIDS]: Make code unconditional.
60023         [!__ASSUME_32BITUIDS]: Remove conditional code.
60024         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60025         <kernel-features.h>.
60026         [__ASSUME_32BITUIDS]: Make code unconditional.
60027         [!__ASSUME_32BITUIDS]: Remove conditional code.
60028         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60029         <kernel-features.h>.
60030         [__ASSUME_32BITUIDS]: Make code unconditional.
60031         [!__ASSUME_32BITUIDS]: Remove conditional code.
60033 2012-05-25  Richard Henderson  <rth@twiddle.net>
60035         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60036         dl_hwcap to ifunc resolver.
60037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60038         elf_ifunc_invoke.
60039         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60040         dl_hwcap to ifunc resolver.
60041         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60043 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60045         [BZ #14153]
60046         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60047         for |x| <= 2**-26, not 2**-57.
60048         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60049         exception.
60051 2012-05-24  Jeff Law  <law@redhat.com>
60053         * stdio-common/Makefile (tests): Add bug25.
60054         * stdio-common/bug25.c: New test.
60056 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60058         [BZ #13576]
60059         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60060         multiple of MALLOC_ALIGNMENT in size.
60061         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60065         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60066         Require >= 256.
60067         (FILENAME_MAX): Use macro-int-constant.
60068         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60069         (_IOFBF): Use macro-int-constant.
60070         (_IOLBF): Likewise.
60071         (_IONBF): Likewise.
60072         (SEEK_CUR): Likewise.
60073         (SEEK_END): Likewise.
60074         (SEEK_SET): Likewise.
60075         (TMP_MAX): Likewise.
60076         (EOF): Use macro-int-constant.  Require < 0.
60077         (NULL): Use macro-constant.  Require == 0.
60078         (stdin): Require type to be FILE *.
60079         (stdout): Likewise.
60080         (stderr): Likewise.
60081         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60082         macro-int-constant.
60083         (EXIT_SUCCESS): Likewise.
60084         (NULL): Use macro-constant.  Require == 0.
60085         (RAND_MAX): Use macro-int-constant.
60086         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60087         [C99-based standards] (strtof): Require function.
60088         [C99-based standards] (strtold): Likewise.
60089         [C99-based standards] (strtoll): Likewise.
60090         [C99-based standards] (strtoull): Likewise.
60091         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60092         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60093         [ISO || ISO99 || ISO11] (math.h): Likewise.
60094         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60095         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60098 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60100         [BZ #14132]
60101         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60102         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60103         * intl/dgettext.c (DCGETTEXT): Likewise.
60104         * intl/gettext.c (DCGETTEXT): Likewise.
60105         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60106         * posix/regex_internal.h (gettext): Likewise.
60107         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60108         Remove declaration.
60109         * include/argz.h (__argz_count_internal)
60110         (__argz_stringify_internal): Remove declaration.
60111         (__argz_count, __argz_stringify): Declare hidden proto.
60112         * intl/dcgettext.c: Remove use of INTDEF.
60113         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60114         * string/argz-stringify.c: Likewise.
60115         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60116         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60117         Declare hidden proto.
60118         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60119         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60120         Declare hidden proto.
60121         * include/stdio.h (__asprintf_internal): Don't declare.
60122         (__asprintf): Don't define as macro.  Declare hidden proto.
60123         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60124         (__fsetlocking): Declare hidden proto.
60125         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60126         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60127         hidden proto.
60128         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60129         (_IO_setlinebuf): Remove use of INTUSE.
60130         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60131         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60132         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60133         Remove declaration.
60134         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60135         (_IO_do_flush): Remove use of INTUSE.
60136         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60137         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60138         (_IO_adjust_column, _IO_least_wmarker)
60139         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60140         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60141         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60142         (_IO_default_doallocate, _IO_wdefault_doallocate)
60143         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60144         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60145         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60146         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60147         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60148         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60149         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60150         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60151         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60152         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60153         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60154         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60155         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60156         proto.
60157         (_IO_flush_all_internal, _IO_adjust_column_internal)
60158         (_IO_default_uflow_internal, _IO_default_finish_internal)
60159         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60160         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60161         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60162         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60163         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60164         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60165         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60166         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60167         (_IO_file_close_internal, _IO_file_close_it_internal)
60168         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60169         (_IO_file_init_internal, _IO_file_attach_internal)
60170         (_IO_file_fopen_internal, _IO_file_read_internal)
60171         (_IO_file_sync_internal, _IO_file_seek_internal)
60172         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60173         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60174         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60175         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60176         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60177         (_IO_list_all_internal, _IO_link_in_internal)
60178         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60179         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60180         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60181         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60182         (_IO_do_write_internal, _IO_padn_internal)
60183         (_IO_getline_info_internal, _IO_getline_internal)
60184         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60185         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60186         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60187         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60188         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60189         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60190         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60191         with libc_hidden_ver, remove use of INTUSE.
60192         * libio/genops.c: Likewise.
60193         * libio/freopen.c: Likewise.
60194         * libio/freopen64.c: Likewise.
60195         * libio/iofclose.c: Likewise.
60196         * libio/iofdopen.c: Likewise.
60197         * libio/iofflush.c: Likewise.
60198         * libio/iofflush_u.c: Likewise.
60199         * libio/iofgets.c: Likewise.
60200         * libio/iofgets_u.c: Likewise.
60201         * libio/iofopen.c: Likewise.
60202         * libio/iofopncook.c: Likewise.
60203         * libio/iofread.c: Likewise.
60204         * libio/iofread_u.c: Likewise.
60205         * libio/ioftell.c: Likewise.
60206         * libio/iofwrite.c: Likewise.
60207         * libio/iogetline.c: Likewise.
60208         * libio/iogets.c: Likewise.
60209         * libio/iogetwline.c: Likewise.
60210         * libio/iopadn.c: Likewise.
60211         * libio/iopopen.c: Likewise.
60212         * libio/ioseekoff.c: Likewise.
60213         * libio/ioseekpos.c: Likewise.
60214         * libio/iosetbuffer.c: Likewise.
60215         * libio/iosetvbuf.c: Likewise.
60216         * libio/ioungetc.c: Likewise.
60217         * libio/ioungetwc.c: Likewise.
60218         * libio/iovdprintf.c: Likewise.
60219         * libio/iovsprintf.c: Likewise.
60220         * libio/iovsscanf.c: Likewise.
60221         * libio/memstream.c: Likewise.
60222         * libio/obprintf.c: Likewise.
60223         * libio/oldfileops.c: Likewise.
60224         * libio/oldiofclose.c: Likewise.
60225         * libio/oldiofdopen.c: Likewise.
60226         * libio/oldiofopen.c: Likewise.
60227         * libio/oldiopopen.c: Likewise.
60228         * libio/oldstdfiles.c: Likewise.
60229         * libio/putc.c: Likewise.
60230         * libio/setbuf.c: Likewise.
60231         * libio/setlinebuf.c: Likewise.
60232         * libio/stdfiles.c: Likewise.
60233         * libio/strops.c: Likewise.
60234         * libio/vasprintf.c: Likewise.
60235         * libio/vscanf.c: Likewise.
60236         * libio/vsnprintf.c: Likewise.
60237         * libio/vswprintf.c: Likewise.
60238         * libio/wfiledoalloc.c: Likewise.
60239         * libio/wfileops.c: Likewise.
60240         * libio/wgenops.c: Likewise.
60241         * libio/wmemstream.c: Likewise.
60242         * libio/wstrops.c: Likewise.
60243         * libio/__fpurge.c: Likewise.
60244         * libio/__fsetlocking.c: Likewise.
60245         * assert/assert.c: Likewise.
60246         * debug/fgets_chk.c: Likewise.
60247         * debug/fgets_u_chk.c: Likewise.
60248         * debug/fread_chk.c: Likewise.
60249         * debug/fread_u_chk.c: Likewise.
60250         * debug/gets_chk.c: Likewise.
60251         * debug/obprintf_chk.c: Likewise.
60252         * debug/vasprintf_chk.c: Likewise.
60253         * debug/vdprintf_chk.c: Likewise.
60254         * debug/vsnprintf_chk.c: Likewise.
60255         * debug/vsprintf_chk.c: Likewise.
60256         * malloc/mtrace.c: Likewise.
60257         * misc/error.c: Likewise.
60258         * misc/syslog.c: Likewise.
60259         * stdio-common/asprintf.c: Likewise.
60260         * stdio-common/fxprintf.c: Likewise.
60261         * stdio-common/getw.c: Likewise.
60262         * stdio-common/isoc99_fscanf.c: Likewise.
60263         * stdio-common/isoc99_scanf.c: Likewise.
60264         * stdio-common/isoc99_vfscanf.c: Likewise.
60265         * stdio-common/isoc99_vscanf.c: Likewise.
60266         * stdio-common/isoc99_vsscanf.c: Likewise.
60267         * stdio-common/printf-prs.c: Likewise.
60268         * stdio-common/printf_fp.c: Likewise.
60269         * stdio-common/printf_fphex.c: Likewise.
60270         * stdio-common/printf_size.c: Likewise.
60271         * stdio-common/putw.c: Likewise.
60272         * stdio-common/scanf.c: Likewise.
60273         * stdio-common/sprintf.c: Likewise.
60274         * stdio-common/tmpfile.c: Likewise.
60275         * stdio-common/vfprintf.c: Likewise.
60276         * stdio-common/vfscanf.c: Likewise.
60277         * stdlib/strfmon_l.c: Likewise.
60278         * sunrpc/openchild.c: Likewise.
60279         * sunrpc/xdr_stdio.c: Likewise.
60280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60281         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60283 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60285         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60287         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60288         in the third column, to generate for the shared library an IFUNC
60289         that uses _dl_vdso_vsym.
60290         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60291         * Makeconfig (object-suffixes-noshared): New variable.
60293         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60294         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60295         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60296         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60298         [BZ #14132]
60299         * include/sys/time.h (__gettimeofday): Remove macro.
60300         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60301         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60302         Remove INTDEF.
60303         (__gettimeofday): Add libc_hidden_def.
60304         (gettimeofday): Add libc_hidden_weak.
60305         * sysdeps/mach/gettimeofday.c: Likewise.
60306         * sysdeps/posix/gettimeofday.c: Likewise.
60307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60308         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60310         (__gettimeofday_internal): Remove strong_alias.
60311         (__gettimeofday): Add libc_hidden_def.
60312         (gettimeofday): Add libc_hidden_weak.
60313         * sysdeps/unix/syscalls.list (gettimeofday):
60314         Remove __gettimeofday_internal alias.
60316 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60317             H.J. Lu  <hongjiu.lu@intel.com>
60319         [BZ #12495]
60320         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60321         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60322         (largebin_index_32_big): New.
60323         (largebin_index): Use it for 16-byte alignment.
60324         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60325         correction with front_misalign.
60327 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60331         Likewise.
60332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60333         Likewise.
60334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60335         Likewise.
60336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60337         Likewise.
60338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60339         Likewise.
60340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60341         Likewise.
60342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60343         Likewise.
60344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60345         Likewise.
60346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60347         Likewise.
60348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60349         Likewise.
60350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60351         Likewise.
60352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60353         Likewise.
60355         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60356         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60358 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60360         [BZ #10846]
60361         [BZ #14036]
60362         * math/libm-test.inc (exp_test): Add test from bug 14036.
60363         (pow_test): Add test from bug 10846.
60365         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60366         and other flags.
60367         (special_function): Do not include flags in test name.
60368         (parse_args): Likewise.
60369         * sysdeps/i386/fpu/libm-test-ulps: Update.
60370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60372         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60375         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60376         exceptions.
60377         * math/libm-test.inc ("Philosophy"): Update comment about
60378         exception testing.
60379         (UNDERFLOW_EXCEPTION): New macro.
60380         (UNDERFLOW_EXCEPTION_OK): Likewise.
60381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60384         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60385         (INVALID_EXCEPTION_OK): Update value.
60386         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60387         (OVERFLOW_EXCEPTION_OK): Likewise.
60388         (IGNORE_ZERO_INF_SIGN): Likewise.
60389         (test_exceptions): Handle underflow exceptions.
60390         (acos_test): Update for underflow exception expectations.
60391         (cexp_test): Likewise.
60392         (clog_test): Likewise.
60393         (clog10_test): Likewise.
60394         (csqrt_test): Likewise.
60395         (ctan_test): Likewise.
60396         (ctanh_test): Likewise.
60397         (exp_test): Likewise.
60398         (exp10_test): Likewise.
60399         (exp2_test): Likewise.
60400         (expm1_test): Likewise.
60401         (fma_test): Likewise.
60402         (j0_test): Likewise.
60403         (jn_test): Likewise.
60404         (nexttoward_test): Likewise.
60405         (pow_test): Likewise.
60406         (scalbn_test): Likewise.
60407         (scalbln_test): Likewise.
60408         (tan_test): Likewise.
60409         (y1_test): Likewise.
60410         * sysdeps/i386/fpu/libm-test-ulps: Update.
60411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60413 2012-05-23  David S. Miller  <davem@davemloft.net>
60415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60416         (__libc_sigaction): Remove unused local variables.
60418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60420         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60422 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60424         mktime: avoid signed integer overflow
60425         * time/mktime.c (__mktime_internal): Do not mishandle the case
60426         where diff == INT_MIN.
60428         mktime: simplify computation of average
60429         * time/mktime.c (ranged_convert): Use new time_t_avg function
60430         instead of rolling our own (probably-slower) code.
60432         mktime: do not assume signed right shift propagates sign bit
60433         * time/mktime.c (isdst_differ): New static function.
60434         (__mktime_internal): No need to normalize tm_isdst now.
60435         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60436         tm_isdst values.
60438         mktime: merge another wrapv change from gnulib
60439         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60440         from some compilers.
60442         mktime: remove incorrect attempt at unusual arithmetics
60443         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60444         The code didn't really work on such machines anyway.
60445         (TYPE_MINIMUM): Assume two's complement.
60446         (twos_complement_arithmetic): Verify that long_int and time_t
60447         are two's complement (or unsigned, in the latter case).
60449         mktime: check signed shifts on long_int and time_t, too
60450         * time/mktime.c (SHR): Check that shifts work as desired
60451         on the types long_int and time_t too, as SHR is used on
60452         such types.
60454         mktime: do not assume 'long' is wide enough
60455         * time/mktime.c (verify): Move decl up.
60456         (long_int): New type.
60457         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60458         to remove assumption in the code that 'long' is wide enough to
60459         store year values.  This assumption is not true on x32 and on
60460         some non-glibc platforms.
60462         mktime: merge wrapv change from gnulib
60463         * time/mktime.c (WRAPV): New macro.
60464         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60465         (guess_time_tm, __mktime_internal): Do not assume that signed
60466         integer overflow wraps around; modern compilers generate code
60467         where this assumption is no longer valid.
60469 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60471         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60472         Replace "jmp L(pseudo_end)" with "ret".
60473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60474         Likewise.
60476 2012-05-23  Andreas Jaeger  <aj@suse.de>
60478         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60479         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60481 2012-05-23  Andreas Jaeger  <aj@suse.de>
60482             Maximilian Attems  <max@stro.at>
60484         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60485         New macros.
60487 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60489         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60490         code so that pseudo_end is just ret and the stack pointer is
60491         correct also for static library in error case.
60493 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60495         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60496         move to syscalls.list.
60497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60502         * manual/install.texi (Running make install): Do not mention Linux
60503         kernel version for which pt_chown is not needed.
60504         (Linux): Do not mention problems with nscd with 2.0 kernels.
60505         * INSTALL: Regenerated.
60507 2012-05-23  Andreas Jaeger  <aj@suse.de>
60509         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60510         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60511         macro.
60512         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60514         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60516         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60519         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60520         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60522         * sysdeps/unix/sysv/linux/bits/in.h
60523         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60525 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60527         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60528         (PREPARE_VERSION): Just use assert instead, it will be elided
60529         under [NDEBUG] anyway.
60531 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60533         * sysdeps/unix/sysv/linux/Makefile: Include
60534         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60535         (sysdep_routines): Remove sysctl.
60536         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60537         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60538         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60539         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60540         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60542 2012-05-22  Andreas Jaeger  <aj@suse.de>
60544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60545         that pseudo_end is just ret and the stack pointer is correct also
60546         for static library in error case.
60548 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60550         [BZ #14122]
60551         * nss/nsswitch.c (defconfig_entries): New variable.
60552         (__nss_database_lookup): Don't leak defconfig entries.
60553         (nss_parse_service_list): Don't leak on error paths.
60554         (free_database_entries): New function.
60555         (free_defconfig): New function.
60556         (free_mem): Move common code to free_database_entries.
60558 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60560         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60561         Add arch_prctl.
60562         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60564         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60565         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60567         New macro.
60568         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60569         (INTERNAL_SYSCALL_TYPES): Likewise.
60570         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60571         (LOAD_REGS_TYPES_[1-6]): Likewise.
60572         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60573         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60575 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60577         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60578         copysignl for GLIBC_2_0.
60579         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60580         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60582         logbl for GLIBC_2_0.
60583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60584         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60586 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60589         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60591         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60592         Use "neg %eax".
60594         * time/mktime.c: Update copyright years.
60596 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60598         mktime: merge comment-quoting-style change from gnulib
60599         * time/mktime.c: Quote 'like this' in comments.
60600         The GNU coding standards suggest that we no longer quote `like this',
60601         as "`" and "'" are typically rendered asymmetrically nowadays.
60602         The typical gnulib style is to quote 'like this' when quoting
60603         code, and "like this" when quoting English.
60605         * time/mktime.c (compile-command): Add "-I.".
60607         mktime: merge mktime-internal.h change from gnulib
60608         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60610         mktime: merge time_r change from gnulib
60611         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60613         mktime: merge DEBUG change from gnulib
60614         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60615         case system <time.h> has a #define.
60617         mktime: merge <sys/types.h> change from gnulib
60618         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60619         since <time.t> is now guaranteed to define time_t.
60621         mktime: merge HAVE_CONFIG_H change from gnulib
60622         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60624 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60627         Use "neg %eax".
60629         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60630         __rlim_t cast.
60631         (struct rusage): Use anonymous union to pad each field to
60632         __syscall_slong_t.
60634 2012-05-21  David S. Miller  <davem@davemloft.net>
60636         * Makefules (o-iterator): Remove .s cases.
60637         (compile-command.s): Delete.
60638         (COMPILE.s): Delete.
60639         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60641 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60643         * configure.in (libc_cv_predef_stack_protector): Only consider
60644         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60645         * configure: Regenerated.
60647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60650         New macro.  Use R*LP on int and pointer.
60651         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60652         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60653         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60654         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60656         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60657         [__WORDSIZE_TIME64_COMPAT32] instead of
60658         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60659         (struct utmp): Likewise.
60660         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60661         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60662         Renamed to ...
60663         (__WORDSIZE_TIME64_COMPAT32): This.
60664         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60665         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60666         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60667         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60668         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60669         (__WORDSIZE_TIME64_COMPAT32): New macro.
60671 2012-05-21  Andreas Jaeger  <aj@suse.de>
60673         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60674         only if [SHARED]. Add prototype for __wcschr_ia32.
60676 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60678         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60679         of %rbp unmolested in the jmp_buf while mangling the low bits.
60680         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60681         unmolested high bits of %rbp while demangling the low bits.
60682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60684 2012-05-21  Andreas Jaeger  <aj@suse.de>
60686         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60687         * sunrpc/svc_simple.c: Use it for registerrpc.
60688         * sunrpc/xcrypt.c: Use it for passwd2des.
60690         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60692 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60694         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60695         Don't define if [__SYSCALL_WORDSIZE != 32].
60696         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60697         New macro.
60699 2012-05-21  Bruno Haible  <bruno@clisp.org>
60700             Andreas Jaeger  <aj@suse.de>
60702         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60703         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60704         inptr and inend for must_buffer_ch.
60705         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60706         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60707         * stdio-common/Makefile (tests): Remove bug15.
60708         (bug15-ENV): Remove macro.
60709         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60710         anymore.
60712 2012-05-19  Andreas Jaeger  <aj@suse.de>
60713             Roland McGrath  <roland@hack.frob.com>
60715         * manual/contrib.texi: Completely rewritten. It contains now an
60716         alphabetical list of contributors and their contributions.
60718 2012-05-21  Richard Henderson  <rth@twiddle.net>
60720         * misc/getauxval.c (__getauxval): Use unsigned long int.
60721         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60722         (getauxval): Use unsigned long int.
60724 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60726         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60728 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60730         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60731         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60732         __alignof__ (long double).
60734 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60738 2012-05-20  Richard Henderson  <rth@twiddle.net>
60740         * misc/getauxval.c: New file.
60741         * misc/sys/auxv.h: New file.
60742         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60743         (routines): Add getauxval.
60744         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60746         * elf/dl-sysdep.c (_dl_auxv): Remove.
60747         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60748         * elf/dl-support.c (_dl_auxv): New variable.
60749         (_dl_aux_init): Initialize it.
60750         * manual/startup.texi (Auxiliary Vector): New node.
60751         * sysdeps/generic/bits/hwcap.h: New file.
60752         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60753         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60754         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60755         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60756         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60757         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60759         Update.
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60769 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60773 2012-05-19  David S. Miller  <davem@davemloft.net>
60775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60777 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60779         [BZ #14123]
60780         * math/s_ccosh.c: Include <float.h>
60781         (__ccosh): Avoid internal overflow calculating sinh and cosh
60782         values before multiplying by sin and cos values.
60783         * math/s_ccoshf.c: Likewise.
60784         * math/s_ccoshl.c: Likewise.
60785         * math/s_csin.c: Likewise.
60786         * math/s_csinf.c: Likewise.
60787         * math/s_csinl.c: Likewise.
60788         * math/s_csinh.c: Likewise.
60789         * math/s_csinhf.c: Likewise.
60790         * math/s_csinhl.c: Likewise.
60791         * math/libm-test.inc (ccos_test): Add more tests.
60792         (ccosh_test): Likewise.
60793         (csin_test): Likewise.
60794         (csinh_test): Likewise.
60795         * sysdeps/i386/fpu/libm-test-ulps: Update.
60796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60798 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60800         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60801         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60803         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60805 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60807         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60808         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60809         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60810         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60811         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60812         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60813         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60814         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60815         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60816         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60817         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60818         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60819         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60820         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60821         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60822         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60823         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60824         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60825         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60826         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60827         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60828         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60829         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60830         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60831         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60832         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60833         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60834         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60835         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60836         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60837         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60839 2012-05-18  Andreas Jaeger  <aj@suse.de>
60841         * csu/.gitignore: Delete.
60843 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60845         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60846         (timex): Use __syscall_slong_t.
60848 2012-05-18  Andreas Jaeger  <aj@suse.de>
60849             Carlos O'Donell  <carlos_odonell@mentor.com>
60851         * manual/install.texi (Configuring and compiling): Update
60852         description about files modified in the source directory.
60853         * INSTALL: Regenerated.
60855 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60857         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60858         value.  Use "or" to set return value to -1.
60859         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60860         negate return value.
60862 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60864         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60865         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60866         failure if the compiler has Graphite support disabled.
60867         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60868         Likewise.
60869         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60870         (CFLAGS-memmove.c): Likewise.
60871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60872         Likewise.
60874 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60876         * sysdeps/x86_64/x32/_itoa.h: New file.
60878         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60879         getdents system call only if kernel and user dirents have the
60880         same d_ino and d_off.
60882         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60883         LLONG_MAX != LONG_MAX.
60884         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60885         (_fitoa_word): Likewise.
60887         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60888         years.
60889         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60890         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60891         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60893         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60894         include <bits/wordsize.h>.  Check __x86_64__ instead of
60895         __WORDSIZE.
60896         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60897         if __x86_64__ is defined.  Use anonymous union on fpstate.
60899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60900         anonymous union.
60902 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60904         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60905         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60906         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60907         Refer to _rtld_local_ro instead of _rtld_global_ro.
60908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60909         Likewise.
60910         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60911         Likewise.
60912         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60913         Likewise.
60914         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60915         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60916         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60918         [BZ #10882]
60919         * sysdeps/powerpc/powerpc32/dl-machine.c
60920         (__elf_machine_runtime_setup) [PROF]: Don't reference
60921         _dl_prof_resolve.
60923 2012-05-18  Andreas Jaeger  <aj@suse.de>
60925         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60926         function only available for GCCs before 3.4 since GCC 3.4
60927         introduced a builtin.
60928         (lrint): Likewise.
60929         (llrintf): Likewise.
60930         (llrint): Likewise.
60931         (fmaxf): Likewise.
60932         (fmax): Likewise.
60933         (fminf): Likewise.
60934         (fmin): Likewise.
60935         (rint): Likewise.
60936         (rintf): Likewise.
60937         (nearbyint): Likewise.
60938         (nearbyintf): Likewise.
60939         (ceil): Likewise.
60940         (ceilf): Likewise.
60941         (floor): Likewise.
60942         (floorf): Likewise.
60944 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60946         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60947         on both fields and cast pointer to __syscall_ulong_t.
60949         * bits/types.h (__fsword_t): New type.
60950         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60951         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60953         (__FSWORD_T_TYPE): Likewise.
60954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60955         (__FSWORD_T_TYPE): Likewise.
60956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60957         (__FSWORD_T_TYPE): Likewise.
60958         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60959         (__FSWORD_T_TYPE): Likewise.
60960         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60961         __SWORD_TYPE with __fsword_t.
60962         (statfs64): Likewise.
60964 2012-05-17  David S. Miller  <davem@davemloft.net>
60966         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60968 2012-05-17  Andreas Jaeger  <aj@suse.de>
60970         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60971         warning.
60973 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60975         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60977 2012-05-17  Andreas Jaeger  <aj@suse.de>
60979         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60980         when it is used.
60982 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60984         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60986 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60988         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60989         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60991 2012-05-17  Andreas Jaeger  <aj@suse.de>
60992             Carlos O'Donell  <carlos_odonell@mentor.com>
60994         [BZ #14059]
60995         * sysdeps/x86_64/multiarch/init-arch.h
60996         (bit_YMM_Usable): Rename to...
60997         (bit_AVX_Usable): ... this.
60998         (bit_FMA4_Usable): New macro.
60999         (bit_XMM_state): New macro.
61000         (bit_YMM_state): New macro.
61001         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61002         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61003         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61004         (CPUID_OSXSAVE): New macro.
61005         (CPUID_AVX): New macro.
61006         (CPUID_FMA4): New macro.
61007         (index_YMM_Usable): Rename to...
61008         (index_AVX_Usable): ... this.
61009         (HAS_AVX): Use HAS_ARCH_FEATURE.
61010         (HAS_FMA4): Likewise.
61011         (HAS_YMM_USABLE): Remove.
61012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61013         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61014         are present.
61015         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61016         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61017         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61018         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61019         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61021 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61023         * math/libm-test.c: Support platforms without multiple rounding modes.
61024         * math/bug-nextafter.c: Support platforms without FP exceptions.
61025         * math/bug-nexttoward.c: Likewise.
61026         * math/test-fenv.c: Likewise.
61027         * math/test-misc.c: Likewise.
61028         * stdlib/bug-getcontext.c: Likewise.
61030 2012-05-17  Andreas Jaeger  <aj@suse.de>
61032         * manual/examples/search.c (critter_cmp): Change signature to
61033         avoid warnings.
61034         * manual/string.texi (Collation Functions): Likewise.
61036 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61038         * bits/types.h: Fold copyright years.
61039         * bits/typesizes.h: Likewise.
61040         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61044         * time/time.h: Likewise.
61046 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61048         [BZ #208]
61049         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61050         in instead of returning them.  Return void.
61051         (__libc_mallinfo): Accumulate over all arenas.
61052         (__malloc_stats): Adjust for change in int_mallinfo interface.
61054 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61056         [BZ #10375]
61057         * configure.in (NM): Add AC_CHECK_TOOL for it.
61058         (libc_extra_cflags): New substituted variable.
61059         Check for -fstack-protector being used implicitly.
61060         * configure: Regenerated.
61061         * config.make.in (config-extra-cflags): New variable,
61062         gets @libc_extra_cflags@.
61063         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61065         [BZ #10375]
61066         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61067         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61068         * configure: Regenerated.
61069         * config.make.in (CPPUNDEFS): New substituted variable.
61070         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61071         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61072         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61076         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61077         (mq_attr): Use __syscall_slong_t.
61079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61081         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61082         Check __x86_64__ instead of __WORDSIZE.
61083         (_STAT_VER_LINUX): Likewise.
61084         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61085         __syscall_ulong_t and __syscall_slong_t.
61086         (stat64): Likewise.
61088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61090         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61094         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61098         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61099         __syscall_ulong_t.
61101         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61102         include <bits/wordsize.h>.  Check __x86_64__ instead of
61103         __WORDSIZE.
61104         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61105         defined.
61106         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61108         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61109         include <bits/wordsize.h>.  Check __x86_64__ instead of
61110         __WORDSIZE.
61111         (user_regs_struct): Use "__extension__ unsigned long long"
61112         instead of "unsigned long" if __x86_64__ is defined.
61113         (user): Likewise.  Pad after pointer field if __ILP32__ is
61114         defined.
61116 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61118         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61119         versions 5 to 9.
61120         * configure: Regenerated.
61121         * manual/install.texi (texinfo): Increase version requirement to
61122         4.5 or later.
61123         * INSTALL: Regenerated.
61125         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61129         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61131         * sysdeps/x86_64/x32/ffs.c: New file.
61133         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61134         __syscall_ulong_t.
61135         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61136         defined.  Use __syscall_ulong_t.
61137         (shminfo): Use __syscall_ulong_t.
61138         (shm_info): Likewise.
61140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61141         __syscall_ulong_t.
61143         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61144         <bits/wordsize.h>.
61145         (msgqnum_t): Use __syscall_ulong_t.
61146         (msglen_t): Likewise.
61147         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61148         __syscall_ulong_t.
61150         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61151         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61153         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61155         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61156         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61158         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61159         __syscall_slong_t.
61161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61162         include <bits/wordsize.h>.  Check __x86_64__ instead of
61163         __WORDSIZE.
61165         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61166         "unsigned long long int" if __x86_64__ is defined.
61167         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61169         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61170         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61171         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61173         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61174         <stdint.h>.
61175         (GET_PC): Cast to uintptr_t first.
61176         (GET_FRAME): Likewise.
61177         (GET_STACK): Likewise.
61179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61182         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61184         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61185         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61186         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61187         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61189         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61191         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61193         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61194         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61195         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61196         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61197         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61199         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61200         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61201         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61202         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61203         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61204         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61205         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61209 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61211         * Makerules (+depfiles): Also collect depfiles from .oS in
61212         $(extra-objs).
61213         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61214         .oS, $(libnldbl-routines)).
61216         * Makerules (native-compile-mkdep-flags): Define.
61217         * sunrpc/Makefile (extra-objs): Add $(addprefix
61218         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61219         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61220         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61221         calling $(make-target-directory).
61223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61225         * bits/types.h (__snseconds_t): Removed.
61226         * time/time.h (struct timespec): Replace __snseconds_t with
61227         __syscall_slong_t.
61228         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61229         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61230         Likewise.
61231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61232         (__SNSECONDS_T_TYPE): Likewise.
61233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61234         (__SNSECONDS_T_TYPE): Likewise.
61235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61236         (__SNSECONDS_T_TYPE): Likewise.
61238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61240         * sysdeps/mach/hurd/bits/typesizes.h
61241         (__SYSCALL_SLONG_TYPE): New macro.
61242         (__SYSCALL_ULONG_TYPE): Likewise.
61244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61246         * bits/types.h (__syscall_slong_t): New type.
61247         (__syscall_ulong_t): Likewise.
61249         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61250         (__SYSCALL_ULONG_TYPE): Likewise.
61251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61252         (__SYSCALL_SLONG_TYPE): Likewise.
61253         (__SYSCALL_ULONG_TYPE): Likewise.
61254         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61255         (__SYSCALL_SLONG_TYPE): Likewise.
61256         (__SYSCALL_ULONG_TYPE): Likewise.
61257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61258         (__SYSCALL_SLONG_TYPE): Likewise.
61259         (__SYSCALL_ULONG_TYPE): Likewise.
61261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61263         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61264         Add sigaltstack-offsets.sym.
61265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61266         <sigaltstack-offsets.h>.
61267         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61268         longjmp_msg pointer.
61269         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61270         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61271         signal stack.
61272         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61274 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61276         * elf/stackguard-macros.h: Remove file.
61277         * sysdeps/generic/stackguard-macros.h: New file.
61278         * sysdeps/i386/stackguard-macros.h: Likewise.
61279         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61280         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61281         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61282         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61283         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61284         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61285         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61286         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61287         <elf/stackguard-macros.h>.
61289         [BZ #14109]
61290         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61291         __aligned__ in attribute.
61292         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61293         (gregset_t): Likewise.
61295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61297         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61298         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61299         * sysdeps/x86_64/x32/Implies-after: New file.
61301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61303         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61304         and access return value for _dl_profile_fixup.  Use R10_LP to
61305         load frame size.
61307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61313         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61314         * sysdeps/x86_64/x32/sysdep.h: New file.
61316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61318         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61319         * sysdeps/x86_64/setjmp.S: Likewise.
61321 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61324         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61325         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61327         remove unused global constant.
61329 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61331         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61332         include of <not-cancel.h>.
61334 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61336         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61338 2012-05-15  Jeff Law  <law@redhat.com>
61339             Andreas Jaeger  <aj@suse.de>
61341         [BZ #13594]
61342         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61343         out from...
61344         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61345         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61346         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61347         code changing __hst_map_handle.map.
61349 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61351         * configure.in (sysnames): Look for Implies-before and Implies-after
61352         files.
61353         * configure: Regenerated.
61355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61357         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61358         8-byte data alignment with LP_SIZE alignment.
61360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61362         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61363         into R10_LP.
61365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61367         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61372         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61373         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61374         Likewise.
61375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61379         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61380         (stackinfo_sub_sp): Likewise.
61382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61384         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61385         RAX_LP.
61387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61390         into R*_LP.
61392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61395         sizes into R*_LP.
61397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61399         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61403         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61404         into R11_LP and load __x86_64_shared_cache_size_half into
61405         R8_LP.
61407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61410         R8_LP.
61412 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61415         logb for POWER7.
61416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61417         logbf for POWER7.
61418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61419         logbl for POWER7.
61420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61421         powerpc32/power7/fpu/s_logb.c via #include.
61422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61423         powerpc32/power7/fpu/s_logbf.c via #include.
61424         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61425         powerpc32/power7/fpu/s_logbl.c via #include.
61427 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61429         * README.libm: Remove file.
61431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61433         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61434         count for x32.  Use R*_LP and omit operand-size suffix.
61436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61438         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61439         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61440         * sysdeps/x86_64/x32/shlib-versions: New file.
61442 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61444         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61445         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61446         Use _dl_fatal_printf instead.
61448 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61450         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61451         set if not set by the user.  Do not allow for being unset.
61452         * sysdeps/unix/sysv/linux/configure: Regenerated.
61454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61456         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61457         the `q' suffix from lea and replace .quad with ASM_ADDR.
61459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61462         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61463         instead of $17.
61464         (PTR_DEMANGLE): Likewise.
61466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61468         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61469         (LP_OP): Likewise.
61470         (ASM_ADDR): Likewise.
61471         (RAX_LP): Likewise.
61472         (RBP_LP): Likewise.
61473         (RBX_LP): Likewise.
61474         (RCX_LP): Likewise.
61475         (RDI_LP): Likewise.
61476         (RSI_LP): Likewise.
61477         (RSP_LP): Likewise.
61478         (R8_LP): Likewise.
61479         (R9_LP): Likewise.
61480         (R10_LP): Likewise.
61481         (R10_LP): Likewise.
61482         (R11_LP): Likewise.
61483         (R12_LP): Likewise.
61484         (R13_LP): Likewise.
61485         (R14_LP): Likewise.
61486         (R15_LP): Likewise.
61488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61490         * sysdeps/x86_64/x32/dl-machine.h: New file.
61492 2012-05-14  Andreas Jaeger  <aj@suse.de>
61494         * manual/Makefile (subdir): Remove export of subdir.
61495         (all): Remove target.
61496         (.PHONY): Remove all from list.
61497         (mkinstalldirs): Remove.
61498         (.PHONY): Remove installdirs from list.
61499         ($(inst_infodir)/libc.info): Use make-target-directory.
61500         (installdirs): Remove.
61501         (subdir_%): Remove.
61502         (glibc-targets): Remove.
61503         (lib): Remove.
61504         (stubs): Remove.
61505         ($(objpfx)stubs ../po/manual.pot): Remove.
61506         ($(objpfx)stamp%): Remove.
61507         (make-target-directory): Remove.
61508         (subdir_install): Remove.
61509         (routines): Remove.
61510         (aux): Remove.
61511         (sources): Remove.
61512         (objects): Remove.
61513         (headers): Remove.
61515         [BZ #13750]
61516         * manual/.gitignore: Remove, it's not needed anymore.
61517         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61518         all files in it.
61519         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61520         directory.
61521         (texis): Renamed to $(objpfx)texis.
61522         (texis-path): New, contains path to generated files.
61523         (chapters.%): Use texis-path for complete path, add extra argument
61524         libc-texinfo.sh.
61525         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61526         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61527         (summary,texi, stamp-summary): Use complete path of
61528         files. Generate files in build dir.
61529         (dir-add.texi): Build in build dir.
61530         (libm-err.texi,stamp-libm-err): Likewise.
61531         (version.texi, stamp-version): Likewise.
61532         (.%c.texi): Likewise.
61533         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61534         (mostlyclean): Remove target.
61535         (realclean): Remove target.
61536         (generated): Add new variable with contents from mostlyclean and
61537         realclean, remove entries duplicated in common-mostlyclean, add
61538         stamp-libm-err and stamp-version.
61539         (generated-dirs): Add libc directory.
61540         ($(inst_infodir)/libc.info): Install files from build dir.
61542         * manual/install.texi (Configuring and compiling): Adjust since
61543         the info files are not part of the tar ball anymore.
61545 2012-05-14  Andreas Jaeger  <aj@suse.de>
61547         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61548         variable.
61550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61552         [BZ #13717]
61553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61554         to 2.2.0 where earlier.
61555         * sysdeps/unix/sysv/linux/configure: Regenerated.
61556         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61557         Remove conditional code.
61558         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61559         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61560         Remove conditional code.
61561         [!__NR_lchown]: Likewise.
61562         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61563         [__NR_lchown]: Likewise.
61564         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61565         comment referencing __ASSUME_LCHOWN_SYSCALL.
61566         * sysdeps/unix/sysv/linux/i386/sigaction.c
61567         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61568         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61569         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61570         Remove conditional code.
61571         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61572         (__protocol_available): Remove #if 0 code.
61573         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61574         conditional code.
61575         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61576         * sysdeps/unix/sysv/linux/kernel-features.h
61577         (__ASSUME_GETCWD_SYSCALL): Don't define.
61578         (__ASSUME_REALTIME_SIGNALS): Likewise.
61579         (__ASSUME_PREAD_SYSCALL): Likewise.
61580         (__ASSUME_PWRITE_SYSCALL): Likewise.
61581         (__ASSUME_POLL_SYSCALL): Likewise.
61582         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61583         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61584         non-SPARC.
61585         (__ASSUME_SIOCGIFNAME): Don't define.
61586         (__ASSUME_MSG_NOSIGNAL): Likewise.
61587         (__ASSUME_SENDFILE): Define unconditionally.
61588         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61589         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61590         conditional code.
61591         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61592         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61593         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61594         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61595         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61596         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61597         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61599         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61600         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61602         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61603         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61605         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61606         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61608         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61609         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61614         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61615         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61620         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61621         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61622         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61623         Remove conditional code.
61624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61625         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61626         Remove conditional code.
61627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61628         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61629         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61630         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61631         Remove conditional code.
61632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61633         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61634         Remove conditional code.
61635         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61636         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61637         Remove conditional code.
61638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61639         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61640         Remove conditional code.
61641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61642         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61643         Remove conditional code.
61644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61645         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61646         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61647         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61648         * sysdeps/unix/sysv/linux/sigaction.c
61649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61651         * sysdeps/unix/sysv/linux/sigpending.c
61652         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61653         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61654         * sysdeps/unix/sysv/linux/sigprocmask.c
61655         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61656         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61657         * sysdeps/unix/sysv/linux/sigsuspend.c
61658         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61659         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61660         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61661         (__libc_missing_rt_sigs): Remove.
61662         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61663         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61664         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61665         Remove conditional code.
61666         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61667         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61668         return 1.
61669         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61670         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61671         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61672         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61674 2012-05-14  Andreas Jaeger  <aj@suse.de>
61676         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61677         it's not used in glibc.
61678         (__coshm1): Likewise.
61679         (__acosh1p): Likewise.
61680         (__sgn): Likewise.
61682         * manual/string.texi (Copying and Concatenation): Add missing
61683         variable in concat example.
61684         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61686 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61688         [BZ #14103]
61689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61690         __builtin_clzl with __builtin_clzll.
61692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61694         [BZ #14104]
61695         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61696         libc_freeres_ptr.
61698 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61700         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61701         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61702         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61703         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61705 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61707         * NEWS: Update ia64 info.
61709 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61711         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61712         used as bcopy.
61714 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61716         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61717         * sysdeps/unix/syscalls.list (dup3): Likewise.
61718         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61719         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61721 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61723         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61724         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61726 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61728         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61729         thread pointer.
61730         (TLS_IE): Use mov/add instead of movq/addq to load thread
61731         pointer.
61732         (TLS_GD_PREFIX): New.
61733         (TLS_GD): Use it.
61735 2012-05-11  David S. Miller  <davem@davemloft.net>
61737         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61738         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61739         (_FPU_SETCW): Likewise.
61741 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61743         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61744         is 32-byte aligned.
61746 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61748         [BZ #11837]
61749         * iconvdata/gb18030.c: Update tables.
61750         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61751         characters specially.
61752         (BODY for TO_LOOP): Add encoding of missing ranges.
61754 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61756         [BZ #13673]
61757         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61758         * sysdeps/mach/hurd/dup3.c: Likewise.
61759         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61760         * sysdeps/powerpc/memmove.c:: Likewise.
61762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61764         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61765         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61769         * elf/elf.h (R_X86_64_RELATIVE64): New.
61770         (R_X86_64_NUM): Updated.
61771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61772         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61773         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61774         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61775         tst-quad1pie tst-quad2pie
61776         (modules-names): Add tst-quadmod1 tst-quadmod2.
61777         ($(objpfx)tst-quad1): New dependency.
61778         ($(objpfx)tst-quad2): Likewise.
61779         ($(objpfx)tst-quad1pie): Likewise.
61780         ($(objpfx)tst-quad2pie): Likewise.
61781         * sysdeps/x86_64/tst-quad1.c: New file.
61782         * sysdeps/x86_64/tst-quad1pie.c: New file.
61783         * sysdeps/x86_64/tst-quad2.c: Likewise.
61784         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61785         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61786         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61787         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61788         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61792         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61793         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61794         * streams/stropts.h (t_scalar_t): Define type.
61796         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61797         (_PATH_PRESERVE): Set to "/var/lib".
61798         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61800         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61801         instead of int.
61803         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61804         if __dir_mkfile succeeded.
61806         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61807         checking for _hurd_dtablesize.  Unlock it right after having
61808         finished _hurd_dtable allocation.
61810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61812         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61813         * sysdeps/mach/hurd/configure: Regenerated.
61814         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61815         special-casing to...
61816         * sysdeps/gnu/configure.in: ... this new file.
61817         * sysdeps/unix/sysv/linux/configure: Regenerated.
61818         * sysdeps/gnu/configure: New generated file.
61820         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61821         for Linux: use nsec instead of usec, as well as:
61822         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61823         members of type struct timespec.
61824         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61825         New macros.
61826         (struct stat64): Likewise.
61827         (_STATBUF_ST_NSEC): New macro.
61828         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61830         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61831         __strtoul_internal rather than strtoul.
61833 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61835         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61836         and reject them.
61838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61840         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61841         which preserves existing values.
61842         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61844 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61846         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61847         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61848         greater than FD_SETSIZE.
61850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61852         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61853         allocated, call __vm_protect to finish enabling the existing space, and
61854         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61855         allocate the remainder.
61857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61859         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61860         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61864         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61865         sysdeps/mach/hurd/readlink.c.
61867         * posix/tst-sysconf.c (posix_options): Only use
61868         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61869         _POSIX_SYNCHRONIZED_IO when they are defined
61870         * sysdeps/mach/hurd/bits/posix_opt.h:
61871         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61872         (_XOPEN_REALTIME): Undefine macro.
61873         (_XOPEN_REALTIME_THREADS): Undefine macro.
61874         (_XOPEN_SHM): Undefine macro.
61875         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61876         macro to -1.
61877         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61878         macro to -1.
61879         (_POSIX_ASYNC_IO): Undefine macro.
61880         (_POSIX_PRIORITIZED_IO): Undefine macro.
61881         (_POSIX_SPIN_LOCKS): Define macro to -1.
61883         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61884         SA_NODEFER, SA_RESETHAND.
61885         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61886         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61887         F_DUPFD_CLOEXEC.
61889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61891         * elf/Makefile (pldd-modules): Define unconditionally.
61893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61895         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61899         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61900         Return ENOENT when name is empty.
61901         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61905         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61907         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61911         Fix mlock in all cases except non-readable pages.
61912         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61913         instead of VM_PROT_ALL as parameter to __vm_wire function.
61915         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61916         (__mkdir): When path is `/', just fail with EEXIST.
61917         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61921         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61922         <sys/uio.h> (for writev).
61923         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61924         and <sys/param.h> (for MIN).
61926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61928         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61929         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61930         if interrupted.
61932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61934         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61935         Depend on against $(link-rpcuserlibs).
61937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61939         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61940         (__libc_stack_end): Do not use attribute_relro.
61941         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61942         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61943         to libthread-provided value.
61944         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61945         attribute_relro.
61947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61949         [BZ #3748]
61950         * bits/libc-lock.h (__libc_once_get): New macro.
61951         * sysdeps/mach/bits/libc-lock.h: Likewise.
61952         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61954         instead of using implementation details.
61956         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61957         * libio/freopen.c: Likewise.
61958         * libio/freopen64.c: Likewise.
61959         * misc/syslog.c: Likewise.
61960         * nscd/connections.c: Likewise.
61961         * nscd/netgroupcache.c: Likewise.
61962         * sysdeps/posix/getcwd.c: Likewise.
61964 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61966         * math/w_ilogbf.c: Add #include <limits.h>.
61968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61970         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61971         path instead of returning without unlocking.
61973         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61974         immediate-write ioctls.
61975         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61979         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61980         __builtin_frame_address instead of making assumptions about the
61981         location of the return address relative to DATA.  Force early load of
61982         the return address.
61983         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61984         __builtin_frame_address.
61986         dup3 for GNU Hurd.
61987         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61988         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61989         implement dup3 and do some further code clean-ups.
61990         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61991         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61995         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61997         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61998         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61999         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62000         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62001         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62002         d->port.lock.
62004         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62005         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62006         when handler == SIG_ERR, not when handler != SIG_ERR.
62008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62010         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62011         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62012         definitions.
62014         accept4 for GNU Hurd.
62015         * include/sys/socket.h (__libc_accept4): New prototype.
62016         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62017         to implement __libc_accept4.
62018         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62019         __libc_accept4.
62020         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62022         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62023         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62024         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62025         signal-defines.sym.
62027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62029         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62033         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62034         assertion on O_CLOEXEC flag.
62035         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62036         * hurd/intern-fd.c: Likewise.
62037         * hurd/port2fd.c: Likewise.
62039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62041         [BZ #3906]
62042         * bits/in.h (IPV6_PKTINFO): Define new macro.
62043         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62045 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62047         [BZ #13954]
62048         [BZ #13955]
62049         [BZ #13956]
62050         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62052         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62053         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62055         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62056         * math/libm-test.inc (logb_test) : Additional logb tests.
62058 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62059             Andreas Jaeger  <aj@suse.de>
62061         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62062         * configure: Regenerated.
62063         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62064         * config.make.in (link-obsolete-rpc): New substituted variable.
62065         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62066         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62067         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62068         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62069         so that libc.a contains the symbols.
62070         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62071         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62072         * sunrpc/auth_none.c: Likewise.
62073         * sunrpc/auth_unix.c: Likewise.
62074         * sunrpc/authdes_prot.c: Likewise.
62075         * sunrpc/authuxprot.c: Likewise.
62076         * sunrpc/clnt_gen.c: Likewise.
62077         * sunrpc/clnt_perr.c: Likewise.
62078         * sunrpc/clnt_raw.c: Likewise.
62079         * sunrpc/clnt_simp.c: Likewise.
62080         * sunrpc/clnt_tcp.c: Likewise.
62081         * sunrpc/clnt_udp.c: Likewise.
62082         * sunrpc/clnt_unix.c: Likewise.
62083         * sunrpc/des_crypt.c: Likewise.
62084         * sunrpc/des_soft.c: Likewise.
62085         * sunrpc/get_myaddr.c: Likewise.
62086         * sunrpc/key_call.c: Likewise.
62087         * sunrpc/key_prot.c: Likewise.
62088         * sunrpc/netname.c: Likewise.
62089         * sunrpc/pm_getmaps.c: Likewise.
62090         * sunrpc/pm_getport.c: Likewise.
62091         * sunrpc/pmap_clnt.c: Likewise.
62092         * sunrpc/pmap_prot.c: Likewise.
62093         * sunrpc/pmap_prot2.c: Likewise.
62094         * sunrpc/pmap_rmt.c: Likewise.
62095         * sunrpc/publickey.c: Likewise.
62096         * sunrpc/rpc_cmsg.c: Likewise.
62097         * sunrpc/rpc_common.c: Likewise.
62098         * sunrpc/rpc_dtable.c: Likewise.
62099         * sunrpc/rpc_prot.c: Likewise.
62100         * sunrpc/rpc_thread.c: Likewise.
62101         * sunrpc/rtime.c: Likewise.
62102         * sunrpc/svc.c: Likewise.
62103         * sunrpc/svc_auth.c: Likewise.
62104         * sunrpc/svc_raw.c: Likewise.
62105         * sunrpc/svc_run.c: Likewise.
62106         * sunrpc/svc_tcp.c: Likewise.
62107         * sunrpc/svc_udp.c: Likewise.
62108         * sunrpc/svc_unix.c: Likewise.
62109         * sunrpc/svcauth_des.c: Likewise.
62110         * sunrpc/xcrypt.c: Likewise.
62111         * sunrpc/xdr.c: Likewise.
62112         * sunrpc/xdr_array.c: Likewise.
62113         * sunrpc/xdr_float.c: Likewise.
62114         * sunrpc/xdr_intXX_t.c: Likewise.
62115         * sunrpc/xdr_mem.c: Likewise.
62116         * sunrpc/xdr_rec.c: Likewise.
62117         * sunrpc/xdr_ref.c: Likewise.
62118         * sunrpc/xdr_sizeof.c: Likewise.
62119         * sunrpc/xdr_stdio.c: Likewise.
62121 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62124         change.  Update copyright years.
62126 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62128         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62130 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62131             Joseph Myers  <joseph@codesourcery.com>
62132             Paul Pluzhnikov  <ppluzhnikov@google.com>
62134         [BZ #14012]
62135         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62136         requiring rpcgen.
62137         [cross-compiling] (extra-libs): Likewise.
62138         [cross-compiling] (extra-libs-others): Likewise.
62139         [cross-compiling] (librpcsvc-routines): Likewise.
62140         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62141         [cross-compiling] (omit-deps): Likewise.
62142         (sunrpc-CPPFLAGS): New variable.
62143         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62144         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62145         (cross-rpcgen-objs): New variable.
62146         (extra-objs): Append $(cross-rpcgen-objs).
62147         ($(cross-rpcgen-objs)): New rule.
62148         ($(objpfx)cross-rpcgen): Likewise.
62149         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62150         comment.
62151         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62152         ($(objpfx)x%.stmp): Likewise.
62153         * sunrpc/proto.h [IS_IN_build] (_): Define.
62154         [IS_IN_build] (_libc_intl_domainname): Likewise.
62156 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62159         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62160         and R_X86_64_TPOFF64.
62162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62164         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62165         sysdeps/unix/sysv/syscalls.list.
62166         (stime): Likewise.
62167         (utime): Likewise.
62168         * sysdeps/unix/sysv/syscalls.list: Remove file.
62170 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62172         [BZ #3440]
62173         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62174         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62175         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62176         (__LC_IDENTIFICATION): Make these macros useful in #if
62177         expressions, as required by C99.
62179 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62181         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62182         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62183         after this.
62185 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62187         * stdlib/longlong.h: Updated from GCC.
62189 2012-05-09  Andreas Jaeger  <aj@suse.de>
62191         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62192         default is first entry.
62193         (run_mode): Set type.
62194         (main): Remove informal message about syslog.
62195         (options): Fix typo.
62197         [BZ #14053]
62198         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62199         to asm.
62200         (lrint): Likewise.
62201         (llrintf): Likewise.
62202         (llrint): Likewise.
62203         (rint): Likewise.
62204         (rintf): Likewise.
62205         (nearbyint): Likewise.
62206         (nearbyintf): Likewise.
62208 2012-05-09  Andreas Jaeger  <aj@suse.de>
62209             Pedro Alves  <palves@redhat.com>
62211         * nscd/nscd.c (run_mode): Use enum.
62212         (main): Cleanup coding style issue.
62214 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62215             Andreas Jaeger  <aj@suse.de>
62217         * nscd/nscd.c (go_background): Replaced with...
62218         (run_mode): ... this.
62219         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62220         (options): Add -F --foreground.
62221         (main): Implement it.
62222         (parse_opt): Parse it.
62224 2012-05-09  Andreas Jaeger  <aj@suse.de>
62226         [BZ #14083]
62227         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62228         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62229         -Wconversion warning.
62230         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62231         Likewise.
62233 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62235         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62236         == 0.
62237         (LC_ALL): Use macro-int-constant.
62238         (LC_COLLATE): Likewise.
62239         (LC_CTYPE): Likewise.
62240         (LC_MESSAGES): Likewise.
62241         (LC_MONETARY): Likewise.
62242         (LC_NUMERIC): Likewise.
62243         (LC_TIME): Likewise.
62244         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62245         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62247         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62248         Specify type.
62249         [C99-based standards] (float_t): Expect type.
62250         [C99-based standards] (double_t): Expect type.
62251         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62252         type.
62253         [C99-based standards] (HUGE_VALL): Likewise.
62254         [C99-based standards] (INFINITY): Likewise.
62255         [C99-based standards] (NAN): Likewise.
62256         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62257         [C99-based standards] (FP_NAN): Likewise.
62258         [C99-based standards] (FP_NORMAL): Likewise.
62259         [C99-based standards] (FP_SUBNORMAL): Likewise.
62260         [C99-based standards] (FP_ZERO): Likewise.
62261         [C99-based standards] (FP_FAST_FMA): Use
62262         optional-macro-int-constant.  Specify type.  Require == 1.
62263         [C99-based standards] (FP_FAST_FMAF): Likewise.
62264         [C99-based standards] (FP_FAST_FMAL): Likewise.
62265         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62266         [C99-based standards] (FP_ILOGBNAN): Likewise.
62267         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62268         Specify type.
62269         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62270         [C99-based standards] (math_errhandling): Specify type.
62271         [ISO99 || ISO11] (signgam): Do not allow.
62272         [non-C99-based standards] (copysignf): Do not allow.
62273         [non-C99-based standards] (exp2f): Likewise.
62274         [non-C99-based standards] (log2f): Likewise.
62275         [non-C99-based standards] (modff): Allow.
62276         [non-C99-based standards] (erff): Do not allow.
62277         [non-C99-based standards] (erfcf): Likewise.
62278         [non-C99-based standards] (gammaf): Likewise.
62279         [non-C99-based standards] (hypotf): Likewise.
62280         [non-C99-based standards] (j0f): Likewise.
62281         [non-C99-based standards] (j1f): Likewise.
62282         [non-C99-based standards] (jnf): Likewise.
62283         [non-C99-based standards] (lgammaf): Likewise.
62284         [non-C99-based standards] (tgammaf): Likewise.
62285         [non-C99-based standards] (y0f): Likewise.
62286         [non-C99-based standards] (y1f): Likewise.
62287         [non-C99-based standards] (ynf): Likewise.
62288         [non-C99-based standards] (isnanf): Likewise.
62289         [non-C99-based standards] (acoshf): Likewise.
62290         [non-C99-based standards] (asinhf): Likewise.
62291         [non-C99-based standards] (atanhf): Likewise.
62292         [non-C99-based standards] (cbrtf): Likewise.
62293         [non-C99-based standards] (expm1f): Likewise.
62294         [non-C99-based standards] (ilogbf): Likewise.
62295         [non-C99-based standards] (log1pf): Likewise.
62296         [non-C99-based standards] (logbf): Likewise.
62297         [non-C99-based standards] (nextafterf): Likewise.
62298         [non-C99-based standards] (remainderf): Likewise.
62299         [non-C99-based standards] (rintf): Likewise.
62300         [non-C99-based standards] (scalbf): Likewise.
62301         [non-C99-based standards] (copysignl): Likewise.
62302         [non-C99-based standards] (exp2l): Likewise.
62303         [non-C99-based standards] (log2l): Likewise.
62304         [non-C99-based standards] (modfl): Allow.
62305         [non-C99-based standards] (erfl): Do not allow.
62306         [non-C99-based standards] (erfcl): Likewise.
62307         [non-C99-based standards] (gammal): Likewise.
62308         [non-C99-based standards] (hypotl): Likewise.
62309         [non-C99-based standards] (j0l): Likewise.
62310         [non-C99-based standards] (j1l): Likewise.
62311         [non-C99-based standards] (jnl): Likewise.
62312         [non-C99-based standards] (lgammal): Likewise.
62313         [non-C99-based standards] (tgammal): Likewise.
62314         [non-C99-based standards] (y0l): Likewise.
62315         [non-C99-based standards] (y1l): Likewise.
62316         [non-C99-based standards] (ynl): Likewise.
62317         [non-C99-based standards] (isnanl): Likewise.
62318         [non-C99-based standards] (acoshl): Likewise.
62319         [non-C99-based standards] (asinhl): Likewise.
62320         [non-C99-based standards] (atanhl): Likewise.
62321         [non-C99-based standards] (cbrtl): Likewise.
62322         [non-C99-based standards] (expm1l): Likewise.
62323         [non-C99-based standards] (ilogbl): Likewise.
62324         [non-C99-based standards] (log1pl): Likewise.
62325         [non-C99-based standards] (logbl): Likewise.
62326         [non-C99-based standards] (nextafterl): Likewise.
62327         [non-C99-based standards] (remainderl): Likewise.
62328         [non-C99-based standards] (rintl): Likewise.
62329         [non-C99-based standards] (scalbl): Likewise.
62330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62331         [non-C99-based standards] (FP_*): Do not allow.
62332         [C99-based standards] (FP_*): Change to
62333         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62334         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62335         allow.
62336         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62337         (SIG_ERR): Likewise.
62338         [X/Open-based standards] (SIG_HOLD): Likewise.
62339         (SIG_IGN): Likewise.
62340         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62341         positive value.
62342         (SIGFPE): Likewise.
62343         (SIGILL): Likewise.
62344         (SIGINT): Likewise.
62345         (SIGSEGV): Likewise.
62346         (SIGTER): Likewise.
62347         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62348         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62349         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62350         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62351         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62352         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62353         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62354         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62355         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62356         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62357         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62358         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62359         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62360         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62361         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62362         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62363         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62364         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62365         [X/Open-based standards] (SIGTRAP): Likewise.
62366         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62367         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62368         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62369         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62370         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62371         allow.
62373 2012-05-08  Ian Wienand  <ianw@vmware.com>
62375         [BZ #14080]
62376         * time/tzset.c (__tzset_parse_tz): Update default rules for
62377         daylight time changes in the Energy Policy Act of 2005.
62379 2012-05-09  Andreas Jaeger  <aj@suse.de>
62381         [BZ #13983]
62382         * elf/ldconfig.c (parse_conf): Change string to make clear that
62383         ldconfig only issued a warning if ld.so.conf does not exist.
62385 2012-05-08  David S. Miller  <davem@davemloft.net>
62387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62388         movxtod instead of popping the value on the stack.
62390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62392 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62394         * config.h.in: Add HAVE_ARM_PCS_VFP.
62396 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62398         [BZ #13979]
62399         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62400         checking but the checks are disabled for any reason.
62402 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62404         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62405         and ELF64_R_TYPE with ELFW(R_TYPE).
62407 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62409         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62410         (ulimit): Likewise.
62412         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62413         (settimeofday): Likewise.
62415 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62417         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62418         a struct th_u2 inside the union, and move tu_block/tu_code into
62419         a new th_u3 union of tu_block/tu_code inside of that.  Move
62420         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62421         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62422         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62423         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62424         (th_stuff): Change to th_u1.tu_stuff.
62425         (th_data): Define.
62426         (th_msg): Change to th_u1.th_u2.tu_data.
62428 2012-05-07  David S. Miller  <davem@davemloft.net>
62430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62432         [BZ #14074]
62433         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62434         (SETUP_PIC_REG): Use it.
62435         (SETUP_PIC_REG_LEAF): Use it.
62437 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62439         [BZ #13885]
62440         [BZ #13923]
62441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62442         USE_AS_EXPM1L.
62443         (EXPL_FINITE): Likewise.
62444         (FLDLOG): Likewise.
62445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62446         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62447         e_expl.S.
62448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62449         USE_AS_EXPM1L.
62450         (EXPL_FINITE): Likewise.
62451         (FLDLOG): Likewise.
62452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62453         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62454         e_expl.S.
62455         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62456         test of -max_value argument for long double.
62457         * sysdeps/i386/fpu/libm-test-ulps: Update.
62458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62460 2012-05-06  David S. Miller  <davem@davemloft.net>
62462         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62463         quad soft-float symbols whose references which are compiler
62464         generated.
62465         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62467 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62469         [BZ #13884]
62470         [BZ #13914]
62471         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62472         USE_AS_EXP10L.
62473         (EXPL_FINITE): Likewise.
62474         (FLDLOG): Likewise.
62475         (c0): Likewise.
62476         (c1): Likewise.
62477         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62478         Adjust comments for base varying.
62479         (__expl_finite): Change alias to EXPL_FINITE.
62480         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62481         e_expl.S.
62482         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62483         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62484         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62485         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62486         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62487         USE_AS_EXP10L.
62488         (EXPL_FINITE): Likewise.
62489         (FLDLOG): Likewise.
62490         (c0): Likewise.
62491         (c1): Likewise.
62492         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62493         Adjust comments for base varying.
62494         (__expl_finite): Change alias to EXPL_FINITE.
62495         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62496         tests for bugs.
62497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62499         [BZ #14064]
62500         * math/libm-test.inc (check_float_internal): Correct ulp
62501         calculation for subnormal expected results.
62503 2012-05-06  Andreas Jaeger  <aj@suse.de>
62505         * Makeconfig (+math-flags): New, set to -frounding-math.
62506         (+cflags): Add +math-flags so that all of glibc gets compiled with
62507         it.
62509         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62511 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62513         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62514         Disable one test.
62516         [BZ #13787]
62517         [BZ #13922]
62518         [BZ #14036]
62519         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62520         (__ieee754_expl): Allow for and saturate large arguments.
62521         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62522         (u_threshold): Likewise.
62523         (__exp): Call __ieee754_exp before checking for overflow and
62524         underflow.
62525         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62526         (u_threshold): Likewise.
62527         (__expf): Call __ieee754_expf before checking for overflow and
62528         underflow.
62529         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62530         (u_threshold): Likewise.
62531         (__expl): Call __ieee754_expl before checking for overflow and
62532         underflow.
62533         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62534         (__ieee754_expl): Allow for and saturate large arguments.
62535         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62536         missing overflow exception on overflow.
62537         (expm1_test): Do not allow missing overflow exception on overflow.
62539         * sysdeps/i386/fpu/e_expl.c: Move to ...
62540         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62541         rather than using inline asm.
62542         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62543         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62544         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62546         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62547         (nice): Likewise.
62548         (poll): Likewise.
62549         (signal): Likewise.
62550         (time): Likewise.
62551         (times): Likewise.
62553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62555         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62556         sysdeps/unix/common/syscalls.list.
62557         (fchmod): Likewise.
62558         (fchown): Likewise.
62559         (ftruncate): Likewise.
62560         (getrusage): Likewise.
62561         (gettimeofday): Likewise.
62562         (setpgid): Likewise.
62563         (setregid): Likewise.
62564         (setreuid): Likewise.
62565         (sigaction): Likewise.
62566         (truncate): Likewise.
62567         (vhangup): Likewise.
62568         * sysdeps/unix/common/syscalls.list: Remove file.
62569         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62570         * sysdeps/unix/sysv/linux/Implies: Likewise.
62572 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62574         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62576         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62577         Moved to ...
62578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62579         Here.
62580         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62581         to ...
62582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62583         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62584         to ...
62585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62586         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62587         to ...
62588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62589         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62590         to ...
62591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62592         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62593         to ...
62594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62596         to ...
62597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62598         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62599         to ...
62600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62601         Here.
62602         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62603         to ...
62604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62605         Here.
62606         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62607         to ...
62608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62609         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62610         Moved to ...
62611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62612         Here.
62613         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62614         to ...
62615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62617 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62619         * sysdeps/unix/common/bits/dirent.h: Remove file.
62620         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62622         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62623         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62624         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62625         * sysdeps/unix/bsd/isatty.c: Likewise.
62626         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62627         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62628         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62630 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62632         [BZ #13563]
62633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62634         long double comparison inaccuracies.
62635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62638 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62640         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62643 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62645         [BZ #14049]
62646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62647         nonzero digits before rounding a hex value.
62648         * stdlib/tst-strtod.c (tests): Add another test.
62650 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62652         * sysdeps/s390/fpu/libm-test-ulps: Update.
62654 2012-05-03  Andreas Jaeger  <aj@suse.de>
62656         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62657         does not get optimized out.
62658         (malloc_opt_barrier): New.
62660 2012-05-03  Andreas Jaeger  <aj@suse.de>
62661             Roland McGrath  <roland@hack.frob.com>
62663         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62664         intermediate file deletion.
62665         (generated): Add .symlist files.
62667 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62669         [BZ #13775]
62670         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62671         Redirect under this condition.
62672         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62673         [__USE_GNU] (__dprintf_chk): Not under this condition.
62674         [__USE_GNU] (__vdprintf_chk): Likewise.
62675         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62676         under this condition.
62677         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62678         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62679         [__USE_XOPEN2K8] (vdprintf): Likewise.
62680         [__USE_GNU] (__dprintf_chk): Not under this condition.
62681         [__USE_GNU] (__vdprintf_chk): Likewise.
62682         [__USE_GNU] (dprintf): Likewise.
62683         [__USE_GNU] (vdprintf): Likewise.
62685 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62687         * elf/Makefile (common-generated): Set this instead of generated for
62688         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62689         $(all-built-dso)-derived lists.
62691 2012-05-03  Andreas Jaeger  <aj@suse.de>
62693         * sysdeps/i386/fpu/libm-test-ulps: Update.
62695         * FAQ: Removed.
62696         * FAQ.in: Likewise.
62697         * scripts/gen-FAQ.pl: Likewise.
62698         * manual/install.texi (Installation): Point to online location of
62699         FAQ.
62700         * Makefile (files-for-dist): Remove FAQ.
62701         (FAQ): Remove.
62703 2012-05-02  Allan McRae  <allan@archlinux.org>
62705         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62706         (LDFLAGS-reldepmod5.so): Likewise.
62707         (LDFLAGS-reldep6mod1.so): Likewise.
62708         (LDFLAGS-reldep6mod4.so): Likewise.
62709         (LDFLAGS-reldep8mod3.so): Likewise.
62710         (LDFLAGS-unload4mod1.so): Likewise.
62711         (LDFLAGS-unload4mod2.so): Likewise.
62712         (LDFLAGS-tst-initorder): Likewise.
62713         (LDFLAGS-tst-initordera2.so): Likewise.
62714         (LDFLAGS-tst-initordera3.so): Likewise.
62715         (LDFLAGS-tst-initordera4.so): Likewise.
62716         (LDFLAGS-tst-initorderb2.so): Likewise.
62717         (LDFLAGS-noload): Likewise.
62718         (LDFLAGS-next): Likewise.
62719         (LDFLAGS-order2mod1.so): Likewise.
62720         (LDFLAGS-order2mod2.so): Likewise.
62721         (LDFLAGS-tst-initorder2): Likewise.
62722         (LDFLAGS-tst-initorder2a.so): Likewise.
62723         (LDFLAGS-tst-initorder2b.so): Likewise.
62724         (LDFLAGS-tst-initorder2c.so): Likewise.
62725         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62727 2012-05-02  David S. Miller  <davem@davemloft.net>
62729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62731 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62733         [BZ #14055]
62734         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62736 2012-05-02  Andreas Jaeger  <aj@suse.de>
62738         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62739         since we manipulate rounding mode.
62740         (CPPFLAGS-test-idouble.c): Likewise.
62741         (CPPFLAGS-test-ifloat.c): Likewise.
62742         (CFLAGS-test-ldouble.c): Likewise.
62743         (CFLAGS-test-double.c): Likewise.
62744         (CFLAGS-test-float.c): Likewise.
62745         (CFLAGS-test-misc.c): Likewise.
62746         (CFLAGS-test-test-fenv.c): Likewise.
62748 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62750         [BZ #2550]
62751         [BZ #2570]
62752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62753         comparisons to determine direction to adjust input.
62755 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62757         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62758         output to the target.
62760         * scripts/localplt.awk: New file.
62761         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62762         (check-localplt-CFLAGS): Variable removed.
62763         ($(all-built-dso:=.jmprel)): New static pattern rule.
62764         (generated): Add those targets.
62765         (localplt-built-dso): New variable.
62766         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62768         * elf/check-localplt.c: File removed.
62770         * scripts/check-execstack.awk: New file.
62771         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62772         (check-execstack-CFLAGS): Variable removed.
62773         ($(objpfx)check-execstack.h): Target removed.
62774         ($(objpfx)execstack-default): New target.
62775         (generated): Add that instead of check-execstack.h.
62776         ($(all-built-dso:=.phdr)): New static pattern rule.
62777         (generated): Add those targets.
62778         * elf/check-execstack.c: File removed.
62780         * scripts/check-textrel.awk: New file.
62781         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62782         (check-textrel-CFLAGS): Variable removed.
62783         (all-built-dso): Use := to define.o
62784         ($(all-built-dso:=.dyn)): New static pattern rule.
62785         (generated): Add those targets.
62786         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62787         * config.make.in (READELF): New substituted variable.
62788         * elf/check-textrel.c: File removed.
62790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62792         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62793         allow.
62794         * conform/data/ctype.h-data [C99-based standards] (isblank):
62795         Expect function.
62796         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62797         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62799         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62800         Specify type.  Require positive value.
62801         (EILSEQ): Likewise.
62802         (ERANGE): Likewise.
62803         [ISO || POSIX] (EILSEQ): Do not expect.
62804         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62805         Specify type.  Require positive value.
62806         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62807         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62808         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62809         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62810         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62811         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62812         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62813         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62814         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62815         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62816         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62817         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62818         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62819         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62820         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62821         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62822         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62823         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62824         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62825         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62826         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62827         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62828         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62829         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62830         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62831         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62832         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62833         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62834         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62835         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62836         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62837         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62838         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62839         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62840         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62841         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62842         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62843         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62844         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62845         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62846         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62847         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62848         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62849         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62850         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62851         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62852         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62853         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62854         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62855         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62856         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62857         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62858         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62859         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62860         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62861         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62862         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62863         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62864         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62865         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62866         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62867         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62868         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62869         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62870         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62871         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62872         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62873         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62874         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62875         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62876         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62877         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62878         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62879         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62880         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62881         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62882         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62883         Require >= 2.
62884         (FLT_ROUNDS): Expect as macro, not constant.
62885         (FLT_MANT_DIG): Use macro-int-constant.
62886         (DBL_MANT_DIG): Likewise.
62887         (LDBL_MANT_DIG): Likewise.
62888         (FLT_DIG): Likewise.
62889         (DBL_DIG): Likewise.
62890         (LDBL_DIG): Likewise.
62891         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62892         (DBL_MIN_EXP): Likewise.
62893         (LDBL_MIN_EXP): Likewise.
62894         (FLT_MAX_EXP): Use macro-int-constant.
62895         (DBL_MAX_EXP): Likewise.
62896         (LDBL_MAX_EXP): Likewise.
62897         (FLT_MAX_10_EXP): Likewise.
62898         (DBL_MAX_10_EXP): Likewise.
62899         (LDBL_MAX_10_EXP): Likewise.
62900         (FLT_MAX): Use macro-constant.
62901         (DBL_MAX): Likewise.
62902         (LDBL_MAX): Likewise.
62903         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62904         (DBL_EPSILON): Likewise.
62905         (LDBL_EPSILON): Likewise.
62906         (FLT_MIN): Likewise.
62907         (DBL_MIN): Likewise.
62908         (LDBL_MIN): Likewise.
62909         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62910         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62911         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62912         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62913         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62914         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62915         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62916         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62917         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62918         [ISO11] (FLT_TRUE_MIN): Likewise.
62919         [ISO11] (LDBL_TRUE_MIN): Likewise.
62920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62921         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62922         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62923         (SCHAR_MAX): Likewise.
62924         (UCHAR_MAX): Likewise.
62925         (CHAR_MIN): Likewise.
62926         (CHAR_MAX): Likewise.
62927         (MB_LEN_MAX): Use macro-int-constant.
62928         (SHRT_MIN): Use macro-int-constant.  Specify type.
62929         (SHRT_MAX): Likewise.
62930         (USHRT_MAX): Likewise.
62931         (INT_MAX): Likewise.
62932         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62933         bound negative.
62934         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62935         bound with "U".
62936         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62937         bound with "L".
62938         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62939         bound negative.  Suffix upper bound with "L".
62940         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62941         bound with "UL".
62942         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62943         Specify type.
62944         [C99-based standards] (LLONG_MAX): Likewise.
62945         [C99-based standards] (ULLONG_MAX): Likewise.
62946         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62947         == 0.
62948         [ISO11] (max_align_t): Require type.
62949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62951         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62952         from $CFLAGS, without defining away __attribute__ calls.
62953         (checknamespace): Use $CFLAGS_namespace.
62955         * conform/conformtest.pl (@keywords): Only include C99 keywords
62956         for standards based on C99 or C11.
62958         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62959         Disable tests.
62960         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62961         UNIX98]: Likewise.
62963         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62964         usability of symbols in #if.
62966         * conform/conformtest.pl: If macro or constant types start
62967         "promoted:", expect the symbol to be of the following type
62968         promoted by the integer promotions.
62970         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62971         in one place.  Also handle "macro-constant".
62973         * conform/conformtest.pl: Only accept expected macro values with
62974         "==".  Parse all "macro" lines in one place.
62975         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62977         * conform/conformtest.pl: Handle braced types on "constant" lines
62978         instead of handling "typed-constant".
62979         * conform/data/signal.h-data: Use "constant" instead of
62980         "typed-constant".
62982         * conform/conformtest.pl: Handle "optional-" at start of lines in
62983         one place rather than duplicating several cases.  Handle each
62984         format of "macro" line with initial "optional-".
62986         * conform/conformtest.pl: Only accept expected constant or
62987         optional-constant values with "==".  Parse all "constant" lines in
62988         one place.  Parse all "optional-constant" lines in one place.
62989         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62990         * conform/data/fmtmsg.h-data: Likewise.
62991         * conform/data/netinet/in.h-data: Likewise.
62992         * conform/data/tar.h-data: Likewise.
62993         * conform/data/limits.h-data: Use "==" form on "constant" and
62994         "optional-constant" lines.
62996         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62997         Use -std=c99 for XOPEN2K.
62998         (@knownproblems): Remove.
62999         (newtoken): Don't check %isknown.
63001         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63002         Do not expect macro.
63003         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63004         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63005         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63006         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63007         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63008         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63009         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63010         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63011         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63012         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63013         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63014         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63015         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63016         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63017         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63018         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63019         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63020         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63021         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63022         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63023         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63024         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63025         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63026         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63027         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63028         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63029         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63030         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63031         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63032         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63033         [XPG3] (acosh): Likewise.
63034         [XPG3] (asinh): Likewise.
63035         [XPG3] (atanh): Likewise.
63036         [XPG3] (cbrt): Likewise.
63037         [XPG3] (expm1): Likewise.
63038         [XPG3] (ilogb): Likewise.
63039         [XPG3] (log1p): Likewise.
63040         [XPG3] (logb): Likewise.
63041         [XPG3] (nextafter): Likewise.
63042         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63043         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63044         [XPG3] (remainder): Likewise.
63045         [XPG3] (rint): Likewise.
63046         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63047         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63048         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63049         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63050         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63051         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63052         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63053         [UNIX98 || XOPEN2K] (scalb): Expect.
63054         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63055         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63056         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63057         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63058         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63059         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63060         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63061         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63062         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63063         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63064         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63065         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63066         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63067         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63068         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63069         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63070         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63071         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63072         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63073         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63074         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63075         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63076         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63077         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63080         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63081         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63089         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63090         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63091         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63098         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63099         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63100         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63101         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63102         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63103         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63104         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63105         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63106         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63109         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63110         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63118         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63119         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63120         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63154         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63155         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63156         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63157         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63158         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63159         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63160         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63161         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63163         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63164         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63165         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63166         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63167         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63168         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63169         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63170         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63171         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63172         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63173         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63174         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63175         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63176         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63177         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63178         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63179         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63180         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63181         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63182         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63183         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63184         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63185         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63186         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63187         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63188         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63189         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63190         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63192         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63193         _XOPEN_SOURCE_EXTENDED for XPG4.
63195         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63197         * Makeconfig (localtime): Remove variable.
63198         (inst_localtime-file): Likewise.
63200 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63203         Update.
63204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63205         Update.
63206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63207         Update.
63208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63209         Update.
63210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63211         Update.
63212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63213         Update.
63214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63215         Update.
63216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63217         Update.
63218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63219         Update.
63221 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63223         [BZ #2550]
63224         [BZ #2570]
63225         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63226         comparisons to determine direction to adjust input.
63227         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63228         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63230         Likewise.
63231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63232         Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63234         Likewise.
63235         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63236         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63237         Likewise.
63238         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63239         Likewise.
63240         * math/libm-test.inc (nexttoward_test): Add more tests.
63242 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63244         [BZ #14040]
63245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63246         in version GLIBC_2.1, not GLIBC_2.0.
63247         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63248         Likewise.
63250 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63252         [BZ #13942]
63253         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63254         (1 - x) * (1 + x).
63255         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63256         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63257         * math/libm-test.inc (acos_test): Add more tests.
63258         (asin_test): Likewise.
63259         * sysdeps/i386/fpu/libm-test-ulps: Update.
63260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63262         [BZ #14034]
63263         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63264         of square root.
63265         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63266         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63267         * math/libm-test.inc (acos_test_tonearest): New function.
63268         (acos_test_towardzero): Likewise.
63269         (acos_test_downward): Likewise.
63270         (acos_test_upward): Likewise.
63271         (asin_test_tonearest): Likewise.
63272         (asin_test_towardzero): Likewise.
63273         (asin_test_downward): Likewise.
63274         (asin_test_upward): Likewise.
63275         (main): Call the new functions.
63276         * sysdeps/i386/fpu/libm-test-ulps: Update.
63277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63279         [BZ #13884]
63280         [BZ #13924]
63281         * math/e_exp10.c: Include <float.h>.
63282         (__ieee754_exp10): Handle underflow here rather than multiplying
63283         large negative argument by M_LN10.
63284         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63285         of __ieee754_expf.
63286         * math/e_exp10l.c: Include <float.h>.
63287         (__ieee754_exp10l): Handle underflow here rather than multiplying
63288         large negative argument by M_LN10l.
63289         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63290         spurious overflow exception on underflow.
63292 2012-04-29  Marek Polacek  <polacek@redhat.com>
63294         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63295         (__fortify_function): New macro.
63296         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63297         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63298         __extern_always_inline.
63299         * libio/bits/stdio2.h: Likewise.
63300         * libio/bits/stdio.h: Likewise.
63301         * string/string.h: Likewise.
63302         * string/bits/string3.h: Likewise.
63303         * include/stdio.h: Likewise.
63304         * stdlib/bits/stdlib.h: Likewise.
63305         * stdlib/stdlib.h: Likewise.
63306         * rt/bits/mqueue2.h: Likewise.
63307         * rt/mqueue.h: Likewise.
63308         * posix/bits/unistd.h: Likewise.
63309         * posix/unistd.h: Likewise.
63310         * io/bits/poll2.h: Likewise.
63311         * io/bits/fcntl2.h: Likewise.
63312         * io/fcntl.h: Likewise.
63313         * io/sys/poll.h: Likewise.
63314         * misc/bits/syslog.h: Likewise.
63315         * misc/bits/syslog-ldbl.h: Likewise.
63316         * misc/sys/syslog.h: Likewise.
63317         * socket/bits/socket2.h: Likewise.
63318         * socket/sys/socket.h: Likewise.
63319         * debug/tst-chk1.c: Likewise.
63320         * wcsmbs/bits/wchar2.h: Likewise.
63321         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63322         * wcsmbs/wchar.h: Likewise.
63324 2012-04-29  Andreas Jaeger  <aj@suse.de>
63326         * Makerules (tests): Remove enable-check-abi protection.
63327         (check-abi-warn): Remove.
63328         (check-abi-%): Remove check-abi-warn usage.
63330         * configure.in: Remove check-abi configure option.
63331         * configure: Regenerated.
63332         * config.make.in (enable-check-abi): Remove.
63334 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63336         [BZ #14033]
63337         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63338         double functions to double *_finite functions.
63340         [BZ #13941]
63341         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63342         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63343         LDBL_MIN_EXP.
63344         * stdio-common/Makefile (tests): Add tst-sprintf3.
63345         * stdio-common/tst-sprintf3.c: New file.
63347         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63348         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63350 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63352         * conform/conformtest.pl: Remove duplicate typed-constant
63353         handling.
63355 2012-04-28  David S. Miller  <davem@davemloft.net>
63357         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63358         (check-abi-%): Remove AWK script prerequisite and explicit
63359         abilist directory.
63360         (check-abi): Rewrite to just diff the symlist with the abilist.
63361         (config-tls, config-abi-config): Delete, no longer used.
63362         (update-abi-%): Remove AWK script and explicit abilist directory.
63363         (update-abi): Rewrite to simply compare and conditionally copy the
63364         symlist and the sysdep abilist file.  Remove update-abi-config
63365         checks.
63366         * abilist/ld.abilist: Remove.
63367         * abilist/libBrokenLocale.abilist: Remove.
63368         * abilist/libanl.abilist: Remove.
63369         * abilist/libcrypt.abilist: Remove.
63370         * abilist/libdl.abilist: Remove.
63371         * abilist/librt.abilist: Remove.
63372         * abilist/libthread_db.abilist: Remove.
63373         * abilist/libutil.abilist: Remove.
63374         * scripts/extract-abilist.awk: Remove.
63375         * scripts/merge-abilist.awk: Remove.
63376         * sysdeps/generic/libcidn.abilist: New file.
63377         * sysdeps/generic/libnss_compat.abilist: New file.
63378         * sysdeps/generic/libnss_db.abilist: New file.
63379         * sysdeps/generic/libnss_dns.abilist: New file.
63380         * sysdeps/generic/libnss_files.abilist: New file.
63381         * sysdeps/generic/libnss_hesiod.abilist: New file.
63382         * sysdeps/generic/libnss_nis.abilist: New file.
63383         * sysdeps/generic/libnss_nisplus.abilist: New file.
63384         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63385         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63386         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63387         file.
63388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63389         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63390         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63391         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63392         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63394         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63395         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63396         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63397         file.
63398         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63399         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63400         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63401         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63402         file.
63403         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63404         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63405         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63406         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63407         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63408         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63409         file.
63410         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63411         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63412         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63413         file.
63414         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63416         New file.
63417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63418         New file.
63419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63420         New file.
63421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63422         New file.
63423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63424         New file.
63425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63426         New file.
63427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63428         New file.
63429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63430         New file.
63431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63432         New file.
63433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63434         New file.
63435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63436         New file.
63437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63438         New file.
63439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63440         New file.
63441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63442         file.
63443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63444         New file.
63445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63446         New file.
63447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63448         file.
63449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63450         New file.
63451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63452         New file.
63453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63454         file.
63455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63456         New file.
63457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63458         New file.
63459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63460         New file.
63461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63462         New file.
63463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63464         New file.
63465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63466         New file.
63467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63469         file.
63470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63471         New file.
63472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63473         file.
63474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63475         file.
63476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63477         file.
63478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63479         file.
63480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63481         file.
63482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63483         New file.
63484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63485         file.
63486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63487         file.
63488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63489         New file.
63490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63491         file.
63492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63494         file.
63495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63496         New file.
63497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63498         file.
63499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63500         file.
63501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63502         file.
63503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63504         file.
63505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63506         file.
63507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63508         New file.
63509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63510         file.
63511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63512         file.
63513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63514         New file.
63515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63516         file.
63517         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63518         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63519         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63520         file.
63521         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63522         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63523         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63524         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63525         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63526         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63527         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63528         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63529         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63530         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63533         file.
63534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63535         New file.
63536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63537         file.
63538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63539         file.
63540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63541         file.
63542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63543         file.
63544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63545         file.
63546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63547         New file.
63548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63549         New file.
63550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63551         file.
63552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63553         New file.
63554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63555         file.
63556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63558         file.
63559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63560         New file.
63561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63562         file.
63563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63564         file.
63565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63566         file.
63567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63568         file.
63569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63570         file.
63571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63572         New file.
63573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63574         New file.
63575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63576         file.
63577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63578         New file.
63579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63580         file.
63582 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63584         * conform/conformtest.pl: Fix typo in handling typed-constant from
63585         allow-header.
63587 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63589         * README: Cut down references to pre-2.6 Linux kernels and
63590         Linuxthreads.  Update lists of configurations in libc and ports
63591         and sort alphabetically.  Say "or newer" with Linux kernel version
63592         requirements.
63594         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63596 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63598         [BZ #887]
63599         * math/libm-test.inc (logb_test_downward): New test to expose
63600         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63601         rounding mode.
63603 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63605         [BZ #14027]
63606         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63607         to be done.
63608         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63609         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63611 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63613         * sysdeps/unix/i386/brk.S: Remove file.
63614         * sysdeps/unix/i386/dl-brk.S: Likewise.
63615         * sysdeps/unix/i386/pipe.S: Likewise.
63616         * sysdeps/unix/i386/sigreturn.S: Likewise.
63617         * sysdeps/unix/i386/syscall.S: Likewise.
63618         * sysdeps/unix/i386/vfork.S: Likewise.
63619         * sysdeps/unix/i386/wait.S: Likewise.
63621         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63622         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63624         * configure.in (arm*-none*): Do not allow without
63625         --enable-hacker-mode.
63626         (netbsd*): Remove case setting base_os.
63627         (386bsd*): Likewise.
63628         (freebsd*): Likewise.
63629         (bsdi*): Likewise.
63630         (osf*): Likewise.
63631         (sunos*): Likewise.
63632         (ultrix*): Likewise.
63633         (newsos*): Likewise.
63634         (dynix*): Likewise.
63635         (*bsd*): Likewise.
63636         (sysv*): Likewise.
63637         (isc*): Likewise.
63638         (esix*): Likewise.
63639         (sco*): Likewise.
63640         (minix*): Likewise.
63641         (irix4*): Likewise.
63642         (irix6*): Likewise.
63643         (solaris[2-9]*): Likewise.
63644         (none): Likewise.
63645         * configure: Regenerated.
63647 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63649         [BZ #11521]
63650         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63651         overflow or cancellation in calculating denominator.
63652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63654         down expression to avoid unexpected rounding in newer GCCs.
63655         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63657 2012-04-26  David S. Miller  <davem@davemloft.net>
63659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63660         long-double compat symbols.
63661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63675 2012-04-25  David S. Miller  <davem@davemloft.net>
63677         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63678         HWCAP_* values only after the memory barriers have been defined.
63679         (atomic_full_barrier): Define.
63680         (atomic_read_barrier): Define.
63681         (atomic_write_barrier): Define.
63683 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63685         * shlib-versions: Add libgcc_s version information.
63686         * sysdeps/generic/libgcc_s.h: Remove.
63687         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63688         libgcc_s.h.
63689         * sysdeps/gnu/unwind-resume.c: Likewise.
63690         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63692 2012-04-25  David S. Miller  <davem@davemloft.net>
63694         * sysdeps/unix/sparc/brk.S: Delete.
63695         * sysdeps/unix/sparc/dl-brk.S: Delete.
63696         * sysdeps/unix/sparc/pipe.S: Delete.
63697         * sysdeps/unix/sparc/sysdep.S: Delete.
63698         * sysdeps/unix/sparc/sysdep.h: Delete.
63699         * sysdeps/unix/sparc/vfork.S: Delete.
63700         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63701         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63702         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63703         (ret_ERRVAL, r0, r1, MOVE): Define.
63704         (JUMPTARGET): Remove.
63705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63706         sysdeps/unix/sparc/sysdep.h
63707         (ENTRY, END): Remove.
63708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63710 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63712         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63713         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63714         -DIS_IN_build.
63716         * timezone/README: Update upstream location and email address for
63717         tzcode and tzdata.
63718         * timezone/zdump.c: Update from tzcode 2012b.
63719         * timezone/zic.c: Likewise.
63721         * configure.in (libc_cv_as_needed): Remove test.
63722         * configure: Regenerated.
63723         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63724         conditional definition.
63725         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63726         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63727         * config.make.in (have-as-needed): Remove variable.
63729 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63730             Paul Pluzhnikov  <ppluzhnikov@google.com>
63732         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63733         strings correctly.
63735 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63737         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63738         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63739         * sysdeps/sh/strlen.S: Likewise.
63741 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63743         * sysdeps/unix/fork.S: Remove file.
63744         * sysdeps/unix/i386/fork.S: Likewise.
63745         * sysdeps/unix/sparc/fork.S: Likewise.
63747         * sysdeps/unix/system.c: Remove file.
63748         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63750         * sysdeps/unix/getegid.S: Remove file.
63751         * sysdeps/unix/geteuid.S: Likewise.
63753 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63755         * scripts/check-localplt.awk: New file.
63756         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63757         of diff.
63758         * scripts/data/localplt-generic.data: Add a comment.
63760         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63761         NODE when __dir_mkfile failed.
63762         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63763         Reported by Ludovic Courtès <ludo@gnu.org>.
63765 2012-04-24  Andreas Jaeger  <aj@suse.de>
63767         * Makerules (common-clean): Also remove gen-as-const-headers
63768         files.
63770 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63772         * Makerules (native-compile): Do not change working directory for
63773         build.  Use $(OUTPUT_OPTION) in command.
63774         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63776 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63778         [BZ #13886]
63779         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63780         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63781         * math/libm-test.inc (floor_test): Add more tests.
63782         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63784 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63786         * sysdeps/unix/getdents.c: Remove file.
63787         * sysdeps/unix/sysv/getdents.c: Likewise.
63788         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63790         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63791         sysdeps/unix/mman/syscalls.list.
63792         (mmap): Likewise.
63793         (mprotect): Likewise.
63794         (msync): Likewise.
63795         (munmap): Likewise.
63796         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63797         * sysdeps/unix/mman/syscalls.list: Remove.
63798         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63800         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63801         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63802         * configure: Regenerated.
63803         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63804         $(libgcc_s_suffix).
63805         * config.make.in (libgcc_s_suffix): Remove variable.
63807 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63809         * sysdeps/unix/sysv/gethostname.c: Move to ...
63810         * sysdeps/posix/gethostname.c: ... here.
63812         * sysdeps/unix/execve.S: Remove file.
63814         * sysdeps/unix/_exit.S: Remove file.
63816 2012-04-23  Andreas Jaeger  <aj@suse.de>
63818         [BZ #13739]
63819         * manual/Makefile: Remove make dist support, there's no
63820         need for a stand-alone documentation tar ball.
63821         (TEXI2DVI): Define always, it's not in Makeconfig.
63822         (dist): Removed.
63823         (tar-it): Removed.
63824         (edition): Removed.
63825         (glibc-doc-$(edition).tar): Removed
63826         (%.Z): Removed.
63827         (%.gz): Removed.
63828         (%.uu): Removed.
63829         (ETAGS): Remove, it's in Makeconfig.
63830         (move-if-change): Remove, it's in Makeconfig.
63832 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63834         [BZ #13970]
63835         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63836         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63837         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63838         (strtod_l, strtof_l, strtold_l): Remove __wur.
63839         It is not necessarily an error to ignore strtol's return value.
63840         One can reliably look at the stored endptr to decide whether
63841         the number had valid syntax.
63843 2012-04-21  Andreas Jaeger  <aj@suse.de>
63845         [BZ #13739]
63846         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63848 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63850         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63851         * sysdeps/unix/sysv/Versions: Remove file.
63853 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63855         [BZ #13927]
63856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63858 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63860         [BZ #7064]
63861         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63862         version from __vm86.
63864 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63866         * sysdeps/unix/common/lxstat.c: Remove file.
63867         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63869         * sysdeps/unix/sysv/Makefile: Remove file.
63871         * sysdeps/unix/sysv/direct.h: Remove file.
63873         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63874         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63875         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63876         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63877         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63878         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63879         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63881         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63883         * sysdeps/unix/xmknod.c: Remove file.
63884         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63886         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63888         * sysdeps/unix/sysv/i386/time.S: Remove file.
63890         * sysdeps/unix/fxstat.c: Remove file.
63891         * sysdeps/unix/xstat.c: Likewise.
63892         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63894         * sysdeps/unix/sysv/sigaction.c: Remove file.
63896         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63897         (sysdep_headers): Remove variable.
63898         [termio.h not in sysdep_headers] (generated): Likewise.
63899         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63900         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63901         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63902         * sysdeps/unix/sysv/tcflow.c: Likewise.
63903         * sysdeps/unix/sysv/tcflush.c: Likewise.
63904         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63905         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63906         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63907         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63908         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63910         * sysdeps/unix/siglist.c: Remove file.
63912         * sysdeps/unix/getppid.S: Remove file.
63914         * sysdeps/unix/mkdir.c: Remove file.
63915         * sysdeps/unix/rmdir.c: Likewise.
63917 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63919         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63920         ERR_MAX value.
63921         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63922         errlist-compat value.
63924 2012-04-18  David S. Miller  <davem@davemloft.net>
63926         * sysdeps/generic/memcopy.h (reg_char): Delete.
63927         * debug/strcat_chk.c: Use char, not reg_char.
63928         * debug/strcpy_chk.c: Likewise.
63929         * debug/strncat_chk.c: Likewise.
63930         * debug/strncpy_chk.c: Likewise.
63931         * string/memchr.c: Likewise.
63932         * string/memrchr.c: Likewise.
63933         * string/rawmemchr.c: Likewise.
63934         * string/strcat.c: Likewise.
63935         * string/strchr.c: Likewise.
63936         * string/strchrnul.c: Likewise.
63937         * string/strcmp.c: Likewise.
63938         * string/strcpy.c: Likewise.
63939         * string/strncat.c: Likewise.
63940         * string/strncmp.c: Likewise.
63941         * string/strncpy.c: Likewise.
63943 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63945         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63946         __builtin_memcopy is called when src and dest ranges are known to not
63947         overlap.
63949 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63952         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63953         fwd_align_merge macro call.
63954         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63955         bwd_align_merge macro call.
63956         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63958 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63961         bwd_align_merge macros.
63962         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63963         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63964         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63966 2012-04-18  David S. Miller  <davem@davemloft.net>
63968         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63970 2012-04-18  Andreas Jaeger  <aj@suse.de>
63972         [BZ# 6794]
63973         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63974         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63975         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63977         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63978         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63979         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63981         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63982         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63983         Adjust for changed ldbl-128 files.
63985         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63986         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63989 2012-04-17  David S. Miller  <davem@davemloft.net>
63991         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63993 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63995         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63996         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63997         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63998         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63999         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64000         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64002 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64004         [BZ #6794]
64005         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64006         * math/libm-test.inc: Add ilogb errno and exception tests.
64007         * math/w_ilogb.c: New file: ilogb wrapper.
64008         * math/w_ilogbf.c: New file: ilogbf wrapper.
64009         * math/w_ilogbl.c: New file: ilogbl wrapper.
64010         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64011         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64012         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64013         exception being thrown with 0.0 as argument.
64014         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64015         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64016         exception being thrown with 0.0 as argument.
64017         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64018         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64019         exception being thrown with 0.0 as argument.
64020         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64021         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64022         exception being thrown with 0.0 as argument.
64023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64024         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64025         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64026         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64028         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64029         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64030         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64031         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64033 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64035         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64036         with altivec.
64038 2012-04-16  Marek Polacek  <polacek@redhat.com>
64040         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64042 2012-04-16  Marek Polacek  <polacek@redhat.com>
64044         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64045         operands of fdivp instruction.
64047 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64049         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64050         * elf/tst-auditmod3b.c: Likewise.
64051         * elf/tst-auditmod4b.c: Likewise.
64052         * elf/tst-auditmod5b.c: Likewise.
64053         * elf/tst-auditmod6b.c: Likewise.
64054         * elf/tst-auditmod6c.c: Likewise.
64055         * elf/tst-auditmod7b.c: Likewise.
64056         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64057         * sysdeps/x86_64/preconfigure.in: Likewise.
64058         * sysdeps/x86_64/preconfigure: Regenerated.
64060 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64062         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64063         __ILP32__.
64065 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64068         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64070 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64072         [BZ #13973]
64073         * locale/iso-639.def: Fix gl language name. Spotted by
64074         Yaron Shahrabani.
64076 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64078         [BZ #2074]
64079         * libio/libio.h (__io_write_fn): Update comment.
64081 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64083         [BZ #2074]
64084         * stdio.texi (Hook Functions): The user provided writer function
64085         is not allowed to return -1.
64087 2012-04-11  David S. Miller  <davem@davemloft.net>
64089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64091 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64093         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64094         Add a leading slash to rtkaio.
64096 2012-04-11  Jim Meyering  <meyering@redhat.com>
64098         [BZ #11959]
64099         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64100         It is not necessarily an error to ignore fwrite's return
64101         value.  One can reliably use ferror to test for errors after
64102         the fact.
64104 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64106         * bits/types.h (__snseconds_t): New type.
64107         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64109         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64111         (__SNSECONDS_T_TYPE): Likewise.
64112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64113         (__SNSECONDS_T_TYPE): Likewise.
64114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64115         (__SNSECONDS_T_TYPE): Likewise.
64117 2012-04-10  Andreas Jaeger  <aj@suse.de>
64119         [BZ #2636]
64120         * manual/time.texi (Processor Time): Return type of times is
64121         elapsed real time since an arbitrary point in the past.
64122         (CPU Time): Move CLK_TCK from here...
64123         (Processor Time): ...to here.  Correct description.
64124         * manual/conf.texi (Constants for Sysconf): Correct description of
64125         _SC_CLK_TCK.
64127 2012-04-10  David S. Miller  <davem@davemloft.net>
64129         [BZ #13967]
64130         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64131         where the is a gap between DT_REL(A) and DT_JMPREL.
64133 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64135         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64136         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64137         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64139 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64141         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64142         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64143         (dl_main): Handle --inhibit-cache.
64144         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64145         _dl_inhibit_cache.
64146         * elf/dl-load.c (_dl_map_object): Use it.
64147         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64149 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64151         [BZ #13872]
64152         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64153         (__ieee754_powl): Saturate large exponents rather than testing for
64154         overflow of y*log2(x).
64155         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64156         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64157         exceptions.
64159         [BZ #11521]
64160         * math/s_ctan.c: Include <float.h>.
64161         (__ctan): Avoid internal overflow or cancellation in calculating
64162         denominator.
64163         * math/s_ctanf.c: Likewise.
64164         * math/s_ctanl.c: Likewise.
64165         * math/s_ctanh.c: Likewise.
64166         * math/s_ctanhf.c: Likewise.
64167         * math/s_ctanhl.c: Likewise.
64168         * math/libm-test.inc (ctan_test): Add more tests.
64169         (ctanh_test): Likewise.
64170         * sysdeps/i386/fpu/libm-test-ulps: Update.
64171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64173 2012-04-09  Andreas Jaeger  <aj@suse.de>
64175         [BZ #6894]
64176         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64177         is an optional BSD extension.
64179         [BZ #10254]
64180         * manual/stdio.texi (Opening Streams): Document additional fopen
64181         parameters.
64183 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64185         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64186         %eax without telling the compiler.
64188 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64190         [BZ # 13963]
64191         * manual/install.texi: Use sourceware.org.
64193 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64195         [BZ #13873]
64196         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64197         (__ieee754_pow): Generate overflow and underflow using huge*huge
64198         and tiny*tiny rather than just returning constant infinity or zero
64199         for large exponents.
64200         * math/libm-test.inc (pow_test): Require overflow exceptions for
64201         applicable cases of large exponents.
64203         [BZ #706]
64204         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64205         (__ieee754_pow): Use iterative multiplication algorithm only for
64206         integer exponents with absolute value below 1024.  Check for odd
64207         integer exponents when using algorithm for real exponents.
64208         * math/libm-test.inc (pow_test): Add more tests.
64209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64211 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64213         [BZ #13705]
64214         * math/libm-test.inc (exp_test): Do not allow overflow exception
64215         on underflow test.
64217 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64219         [BZ #13705]
64220         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64221         instead of __kernel_standard_f.
64223 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64225         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64226         * sysdeps/x86_64/memset_chk.S: Likewise.
64228 2012-04-08  Andreas Jaeger  <aj@suse.de>
64230         [BZ #10153]
64231         * manual/startup.texi (Environment Access): Describe return value
64232         for putenv and setenv.
64234         [BZ #6895]
64235         * manual/filesys.texi (Directory Entries): Add description for
64236         DT_LNK.
64238         [BZ #6890]
64239         * manual/filesys.texi (Directory Entries): Clarify that it's file
64240         system not operating system in the description of DT_UNKNOWN.
64242         [BZ #6578]
64243         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64245 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64247         [BZ #6649]
64248         * manual/llio.texi (Opening and Closing Files): Add cross
64249         reference to explain mode argument.
64251 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64253         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64254         * sysdeps/x86_64/memset_chk.S: Likewise.
64256 2012-04-07  David S. Miller  <davem@davemloft.net>
64258         * elf/elf.h (R_SPARC_WDISP10): Define.
64259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64260         R_SPARC_SIZE32.
64261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64262         R_SPARC_SIZE64 and R_SPARC_H34.
64264 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64267         conditions and remove no longer applicable assertion.
64269 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64271         * bits/byteswap.h: Include <features.h>.
64272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64275 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64277         * bits/byteswap.h (__bswap_16): Removed.
64278         Include <bits/byteswap-16.h> to get __bswap_16.
64279         * sysdeps/i386/bits/byteswap.h: Likewise.
64280         * sysdeps/s390/bits/byteswap.h: Likewise.
64281         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64282         * bits/byteswap-16.h: New file.
64283         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64284         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64285         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64286         * string/Makefile (headers): Add bits/byteswap-16.h.
64288 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64290         [BZ #13895]
64291         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64292         extra indirection.
64293         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64294         * nss/tst-nss-static.c: New.
64296 2012-04-06  Robert Millan  <rmh@gnu.org>
64298         [BZ #6486]
64299         * manual/llio.texi (File Position Primitive): lseek
64300         refers to WHENCE when it really means OFFSET.
64302 2012-04-06  Andreas Jaeger  <aj@suse.de>
64304         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64305         strncmp declarations.
64307         * abilist/libc.abilist: Add __poll and __ppoll.
64309 2012-04-05  David S. Miller  <davem@davemloft.net>
64311         * scripts/check-local-headers.sh: Accept a host triplet in the
64312         path matched by the exclude regexp.
64314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64315         definition.
64316         * sysdeps/powerpc/powerpc32/dl-machine.h
64317         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64318         * sysdeps/s390/s390-32/dl-machine.h
64319         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64320         * sysdeps/sparc/sparc32/dl-machine.h
64321         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64322         * sysdeps/sparc/sparc64/dl-machine.h
64323         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64325         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64326         lazy binding.
64327         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64328         undefined symbol errors.
64330         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64331         DT_NEEDED entries.
64333 2012-04-05  Michael Matz  <matz@suse.de>
64335         [BZ #13592]
64336         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64338 2012-04-05  Andreas Jaeger  <aj@suse.de>
64340         [BZ #13908]
64341         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64342         comment.
64344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64347         which ROUND is no valid rounding mode.
64349 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64351         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64352         read again.
64353         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64355 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64357         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64358         an exception using FPU order intentionally.
64360 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64362         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64363         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64364         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64365         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64367 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64369         [BZ #12340]
64370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64371         EINVAL when BUFLEN is too smal.
64373 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64375         [BZ #13553]
64376         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64377         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64379 2012-04-03  Andreas Jaeger  <aj@suse.de>
64381         [BZ #13938]
64382         * manual/setjmp.texi (System V contexts): Fix sentence.
64384         [BZ #13926]
64385         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64386         New macro for this case.
64387         [!__GNUC__] (__bswap_64): New inline function for this case.
64388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64389         * bits/byteswap.h: Likewise.
64390         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64391         ull, guard with __GLIBC_HAVE_LONG_LONG.
64393         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64394         __GLIBC_HAVE_LONG_LONG.
64396         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64397         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64399 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64401         [BZ #13691]
64402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64403         inptr and inend, rather than using last_ch.
64405 2012-04-02  David S. Miller  <davem@davemloft.net>
64407         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64408         * stdio-common/printf-parse.h (read_int): Change return type to
64409         'int', return -1 on INT_MAX overflow.
64410         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64411         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64412         overflows INT_MAX.  Check for overflow of in-format-string precision
64413         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64414         SIZE_MAX not INT_MAX for integer overflow test.
64415         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64416         skip the construct in the format string but do not record anything.
64417         * stdio-common/bug22.c: Adjust to test both width/prevision
64418         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64419         explicitly for proper errno values.
64421 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64423         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64424         CHAR_MAX.
64425         * string/test-strcmp.c [! WIDE]: Likewise.
64426         * time/tst-mktime2.c: Likewise for INT_MAX.
64427         * string/test-string.h: #include <sys/param.h> for MIN.
64429         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64430         * sysdeps/i386/init-first.c (init): Likewise.
64431         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64432         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64433         * sysdeps/sh/init-first.c (init): Likewise.
64435 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64437         * po/ru.po: Update from translation team.
64438         * po/vi.po: Likewise.
64440 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64442         * resolv/nss_dns/dns-host.c: Merge copyright years.
64444 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64447         Optimize memcpy with prefetch if
64448         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64449         src, dst pointers have unequal 16 byte alignments.
64451 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64453         [BZ #13928]
64454         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64455         from a CNAME entry and return the minimum ttl for the query.
64456         (gaih_getanswer_slice): Likewise.
64458 2012-03-30  Jeff Law  <law@redhat.com>
64460         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64461         due to long keys.
64462         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64463         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64465         * resolv/nss_dns/dns-host.c: Update copyright year.
64467 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64469         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64470         requests to save a system call.  Fix check that all bytes are sent.
64472         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64473         comments for sendmmsg.
64475 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64477         [BZ #13691]
64478         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64479         with only 1 character between 0x0041 and 0x01b0.
64480         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64481         * wcsmbs/tst-mbsnrtowcs.c: New file.
64483 2012-03-29  David S. Miller  <davem@davemloft.net>
64485         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64486         small copies by hand.
64488 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64490         [BZ #13761]
64491         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64492         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64493         group memberships.
64495 2012-03-28  David S. Miller  <davem@davemloft.net>
64497         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64498         that branches into memcpy.
64499         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64502         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64504         bits.
64505         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64506         implementation too.
64507         * sysdeps/sparc/mempcpy.S: New file.
64509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64510         the IFUNC routine in the libc case.
64511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64513         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64514         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64515         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64516         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64517         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64518         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64519         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64520         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64522         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64523         loop to 256 bytes instead of 64 bytes and fix test signedness.
64525         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64526         * sysdeps/sparc/sparc32/Makefile: rather than here...
64527         * sysdeps/sparc/sparc64/Makefile: and here.
64529 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64531         * malloc/mallocbug.c: Avoid warnings about unused variables.
64533 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64535         [BZ #13760]
64536         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64537         in the right place. Discard and retry query if response is
64538         larger than input buffer size.
64540 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64542         [BZ #369]
64543         [BZ #2678]
64544         [BZ #3866]
64545         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64546         x for large integer exponent.
64547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64548         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64549         sign of result as needed afterwards.
64550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64551         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64552         result for underflowing pow the same as for overflow.
64553         (__kernel_standard_l): Handle powl overflow and underflow here
64554         rather than calling __kernel_standard.
64555         * math/libm-test.inc (pow_test): Add more tests.
64557         [BZ #3868]
64558         [BZ #13879]
64559         [BZ #13910]
64560         [BZ #13911]
64561         [BZ #13912]
64562         [BZ #13913]
64563         [BZ #13915]
64564         [BZ #13916]
64565         [BZ #13917]
64566         [BZ #13918]
64567         [BZ #13919]
64568         [BZ #13920]
64569         [BZ #13921]
64570         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64571         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64572         (__kernel_standard_l): New function.
64573         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64574         __kernel_standard.
64575         * math/w_acosl.c (__acosl): Likewise.
64576         * math/w_asinl.c (__asinl): Likewise.
64577         * math/w_atan2l.c (__atan2l): Likewise.
64578         * math/w_atanhl.c (__atanhl): Likewise.
64579         * math/w_coshl.c (__coshl): Likewise.
64580         * math/w_exp10l.c (__exp10l): Likewise.
64581         * math/w_exp2l.c (__exp2l): Likewise.
64582         * math/w_fmodl.c (__fmodl): Likewise.
64583         * math/w_hypotl.c (__hypotl): Likewise.
64584         * math/w_j0l.c (__j0l, __y0l): Likewise.
64585         * math/w_j1l.c (__j1l, __y1l): Likewise.
64586         * math/w_jnl.c (__jnl, __ynl): Likewise.
64587         * math/w_lgammal.c (__lgammal): Likewise.
64588         * math/w_log10l.c (__log10l): Likewise.
64589         * math/w_log2l.c (__log2l): Likewise.
64590         * math/w_logl.c (__logl): Likewise.
64591         * math/w_powl.c (__powl): Likewise.
64592         * math/w_remainderl.c (__remainderl): Likewise.
64593         * math/w_scalbl.c (sysv_scalbl): Likewise.
64594         * math/w_sinhl.c (__sinhl): Likewise.
64595         * math/w_sqrtl.c (__sqrtl): Likewise.
64596         * math/w_tgammal.c (__tgammal): Likewise.
64597         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64598         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64599         * math/libm-test.inc (acos_test): Add more tests.
64600         (acosh_test): Likewise.
64601         (asin_test): Likewise.
64602         (atanh_test): Likewise.
64603         (exp_test): Likewise.
64604         (exp10_test): Likewise.
64605         (exp2_test): Likewise.
64606         (expm1_test): Likewise.
64607         (lgamma_test): Likewise.
64608         (log_test): Likewise.
64609         (log10_test): Likewise.
64610         (log1p_test): Likewise.
64611         (log2_test): Likewise.
64612         (pow_test): Do not allow some spurious overflow exceptions.
64613         (sqrt_test): Add more tests.
64614         (tgamma_test): Likewise.
64615         (y0_test): Likewise.
64616         (y1_test): Likewise.
64617         (yn_test): Likewise.
64619 2012-03-27  Anton Blanchard  <anton@samba.org>
64621         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64622         MAP_HUGETLB.
64623         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64624         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64627 2012-03-27  David S. Miller  <davem@davemloft.net>
64629         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64631         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64632         have-as-vis3 check.
64634 2012-03-27  Andreas Jaeger  <aj@suse.de>
64636         * sysdeps/x86_64/elf/configure.in: Moved to ...
64637         * sysdeps/x86_64/configure.in: ... here.
64638         * sysdeps/x86_64/elf/start.S: Moved to ...
64639         * sysdeps/x86_64/start.S: ... here.
64640         * sysdeps/x86_64/elf/configure: Delete.
64642         * sysdeps/x86_64/configure.in: Merge contents from
64643         sysdeps/i386/configure.in (without i686 check).
64645         * sysdeps/i386/elf/Versions: Merge into ...
64646         * sysdeps/i386/Versions: ... this.
64647         * sysdeps/i386/elf/Versions: Delete file.
64648         * sysdeps/i386/elf/start.S: Moved to ...
64649         * sysdeps/i386/start.S: ...here.
64650         * sysdeps/i386/elf/configure.in: Merge into...
64651         * sysdeps/i386/configure.in: ...here.
64652         * sysdeps/i386/elf/configure.in: Delete file.
64653         * sysdeps/i386/elf/configure: Delete file.
64655         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64656         * debug/backtracesyms.c: ... here.
64657         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64658         * debug/backtracesymsfd.c: ... here.
64659         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64660         * sysdeps/generic/ifunc-sel.h: ... here.
64662         * sysdeps/unix/i386/start.c: Delete file.
64663         * sysdeps/unix/sparc/start.c: Delete file.
64664         * sysdeps/unix/start.c: Delete file.
64666         * sysdeps/sh/elf/configure.in: Moved to ...
64667         * sysdeps/sh/configure.in: ... here.
64668         * sysdeps/sh/elf/start.S: Moved to ...
64669         * sysdeps/sh/start.S: ... here.
64670         * sysdeps/sh/elf/configure: Delete file.
64672         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64673         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64674         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64675         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64676         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64677         * sysdeps/powerpc/powerpc64/start.S: here.
64678         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64679         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64680         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64681         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64682         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64684         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64685         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64686         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64687         * sysdeps/powerpc/powerpc32/start.S: ... here.
64688         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64689         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64690         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64692         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64693         * sysdeps/powerpc/ifunc-sel.h: ... here.
64694         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64695         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64697         * sysdeps/sparc/elf/configure.in: Moved to ...
64698         * sysdeps/sparc/configure.in: ... here.
64699         * sysdeps/sparc/elf/configure: Delete file.
64700         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64701         * sysdeps/sparc/sparc32/start.S: ... here.
64702         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64703         * sysdeps/sparc/sparc64/start.S: ... here.
64704         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64705         * sysdeps/sparc/sparc32/Makefile: ... this.
64706         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64707         * sysdeps/sparc/sparc64/Makefile: ... this.
64709         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64710         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64711         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64712         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64713         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64714         * sysdeps/s390/s390-32/setjmp.S: ... here.
64715         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64716         * sysdeps/s390/s390-32/configure.in: ... here.
64717         * sysdeps/s390/s390-32/elf/configure: Delete file.
64718         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64719         * sysdeps/s390/s390-32/start.S: ... here.
64721         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64722         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64723         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64724         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64725         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64726         * sysdeps/s390/s390-64/setjmp.S: ... here.
64727         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64728         * sysdeps/s390/s390-64/configure.in: ... here
64729         * sysdeps/s390/s390-64/elf/configure: Delete file.
64730         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64731         * sysdeps/s390/s390-64/start.S: ... here.
64732         * sysdeps/s390/s390-64/elf/configure: Delete.
64734         * configure.in: Remove support for elf directories in sysdeps.
64736         * configure: Regenerated.
64737         * sysdeps/i386/configure: Regenerated.
64738         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64739         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64740         * sysdeps/s390/s390-32/configure: Regenerated.
64741         * sysdeps/s390/s390-64/configure: Regenerated.
64742         * sysdeps/sh/configure: Regenerated.
64743         * sysdeps/sparc/configure: Regenerated.
64744         * sysdeps/x86_64/configure: Regenerated.
64746 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64751         denormal result into account.
64753 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64755         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64756         Reported by Allan McRae <allan@archlinux.org>.
64758 2012-03-23  Jeff Law  <law@redhat.com>
64760         * nss/getnssent.c (__nss_getent): Fix typo.
64762 2012-03-23  David S. Miller  <davem@davemloft.net>
64764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64766 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64768         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64769         to pad to uint64_t for each field.
64770         (dl_tls_index): Replace unsigned long with uint64_t.
64772 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64773         Paul Pluzhnikov  <ppluzhnikov@google.com>
64775         [BZ #6528]
64776         * grp/Makefile (otherlibs): Don't set it.
64777         * inet/Makefile (otherlibs): Likewise.
64778         * login/Makefile (otherlibs): Likewise.
64779         * nscd/Makefile (otherlibs): Likewise.
64780         * posix/Makefile (otherlibs): Likewise.
64781         * pwd/Makefile (otherlibs): Likewise.
64782         * rt/Makefile (otherlibs): Likewise.
64783         * sunrpc/Makefile (otherlibs): Likewise.
64784         * nss/Makefile (otherlibs): Likewise.
64785         Add libnss_files to routines and static-only-routines.
64786         ($(objpfx)getent): Remove rule.
64787         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64788         static-only-routines.
64790 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64792         [BZ #13892]
64793         * math/s_cexp.c: Include <float.h>.
64794         (__cexp): Handle exp result overflowing not necessarily
64795         overflowing both real and imaginary parts of result.
64796         * math/s_cexpf.c: Likewise.
64797         * math/s_cexpl.c: Likewise.
64798         * math/libm-test.inc (cexp_test): Add more tests.
64799         * sysdeps/i386/fpu/libm-test-ulps: Update.
64800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64802 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64804         * include/link.h (ELFW): New macro.
64805         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64806         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64808 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64810         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64811         with uint64_t.
64813 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64815         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64816         declaration.
64817         (struct La_x32_retval): Likewise.
64819 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64821         * sysdeps/x86_64/preconfigure.in: New file.
64822         * sysdeps/x86_64/preconfigure: New generated file.
64824 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64826         [BZ #13824]
64827         * math/e_exp2l.c: Include <float.h>.
64828         (__ieee754_exp2l): Handle overflow and underflow cases
64829         separately.  Only pass fractional part of argument to
64830         __ieee754_expl.
64831         * math/libm-test.inc (exp2_test): Add more tests.
64833         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64834         negating x to take absolute value.
64835         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64836         Likewise.
64837         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64839         Likewise.
64840         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64841         computing low part if x was negated.
64842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64844 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64846         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64847         la_x32_gnu_pltexit.
64848         (pltexit): Cast int_retval to ptrdiff_t.
64849         * elf/tst-auditmod3b.c: Likewise.
64850         * elf/tst-auditmod4b.c: Likewise.
64851         * elf/tst-auditmod5b.c: Likewise.
64852         * elf/tst-auditmod6b.c: Likewise.
64853         * elf/tst-auditmod6c.c: Likewise.
64854         * elf/tst-auditmod7b.c: Likewise.
64856         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64857         and x32_gnu_pltexit.
64859         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64860         __ELF_NATIVE_CLASS.
64861         (La_x32_regs): New macro.
64862         (La_x32_retval): Likewise.
64863         (la_x32_gnu_pltenter): New function prototype.
64864         (la_x32_gnu_pltexit): Likewise.
64866 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64868         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64869         exponent.
64871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64873         * configure.in (libc_cv_cc_nofma): Check for option to disable
64874         generation of FMA instructions.
64875         * configure: Regenerate.
64876         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64877         * sysdeps/ieee754/dbl-64/Makefile: New file.
64878         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64879         Remove brandred-fma4.
64880         (CFLAGS-brandred-fma4.c): Remove.
64881         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64882         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64883         define.
64884         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64885         define.
64887 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64889         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64890         LLONG_MAX != LONG_MAX.
64891         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64892         (_fitoa_word): Likewise.
64893         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64894         LLONG_MAX != LONG_MAX.
64895         * stdio-common/_itowa.h: Include <_itoa.h>.
64896         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64897         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64898         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64899         only if not defined.
64900         (_ITOA_WORD_TYPE): Likewise.
64901         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64902         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64904 2012-03-21  David S. Miller  <davem@davemloft.net>
64906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64908 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64910         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64911         of x86_64 when setting libc_cv_slibdir, libdir and
64912         libc_cv_localedir.
64913         * sysdeps/unix/sysv/linux/configure: Regenerated.
64915 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64917         * manual/lang.texi (Old Varargs): Remove section.
64918         (How Variadic): Update menu.
64919         (va_start): Do not mention varargs.h.
64921 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64922             Joseph Myers  <joseph@codesourcery.com>
64924         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64925         link test.
64926         * configure: Regenerated.
64928 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64930         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64931         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64932         conformtest.pl
64934 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64936         * NOTES: Remove.
64937         * Makefile (files-for-dist): Remove NOTES.
64938         (NOTES): Remove rule.
64939         * README: Don't refer to NOTES.
64940         * manual/creature.texi: Don't include macros.texi.
64941         * manual/intro.texi (creature.texi): Remove comment referring to
64942         NOTES.
64944         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64945         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64946         * configure: Regenerated.
64947         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64948         LIBC_TRY_CC_OPTION.
64949         (libc_cv_as_i686): Likewise.
64950         (libc_cv_cc_avx): Likewise.
64951         (libc_cv_cc_sse2avx): Likewise.
64952         (libc_cv_cc_fma4): Likewise.
64953         (libc_cv_cc_novzeroupper): Likewise.
64954         * sysdeps/i386/configure: Regenerated.
64956         [BZ #13883]
64957         * sysdeps/i386/fpu/s_cexp.S: Remove.
64958         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64959         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64960         * math/libm-test.inc (cexp_test): Add more tests.
64961         * sysdeps/i386/fpu/libm-test-ulps: Update.
64962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64964 2012-03-21  Allan McRae  <allan@archlinux.org>
64966         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64968 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64970         [BZ #13871]
64971         * math/w_exp2.c: Do not include <float.h>.
64972         (o_threshold, u_threshold): Remove.
64973         (__exp2): Calculate result before checking finiteness and calling
64974         __kernel_standard.
64975         * math/w_exp2f.c: Likewise.
64976         * math/w_exp2l.c: Likewise.
64977         * math/libm-test.inc (exp2_test): Require overflow exception for
64978         1e6 input.
64980         [BZ #3866]
64981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64982         range of signed 64-bit integers before using fistpll.  Remove
64983         checks for whether integers fit in mantissa bits.
64984         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64985         the range of signed 32-bit integers before using fistpl.  Remove
64986         checks for whether integers fit in mantissa bits.
64987         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64988         (__ieee754_powl): Test for y outside the range of signed 64-bit
64989         integers before using fistpll.  Reduce 64-bit values to 63-bit
64990         ones as needed.
64991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64992         divide-by-zero is raised for zero to large negative powers.
64993         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64994         (__ieee754_powl): Test for y outside the range of signed 64-bit
64995         integers before using fistpll.  Reduce 64-bit values to 63-bit
64996         ones as needed.
64997         * math/libm-test.inc (pow_test): Add more tests.
64999 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65001         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65002         <stdio-common/_itoa.h>.
65003         * debug/segfault.c: Likewise.
65004         * elf/dl-cache.c: Likewise.
65005         * elf/dl-minimal.c: Likewise.
65006         * elf/dl-misc.c: Likewise.
65007         * elf/dl-sysdep.c: Likewise.
65008         * elf/dl-version.c: Likewise.
65009         * elf/rtld.c: Likewise.
65010         * hurd/hurdsock.c: Likewise.
65011         * hurd/lookup-retry.c: Likewise.
65012         * malloc/malloc.c: Likewise.
65013         * malloc/mtrace.c: Likewise.
65014         * nscd/nscd_getgr_r.c: Likewise.
65015         * nscd/nscd_getpw_r.c: Likewise.
65016         * nscd/nscd_getserv_r.c: Likewise.
65017         * posix/getopt_init.c: Likewise.
65018         * posix/wordexp.c: Likewise.
65019         * stdio-common/_itoa.c: Likewise.
65020         * stdio-common/printf_fphex.c: Likewise.
65021         * stdio-common/vfprintf.c: Likewise.
65022         * string/_strerror.c: Likewise.
65023         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65024         * sysdeps/i386/i686/hp-timing.h: Likewise.
65025         * sysdeps/mach/_strerror.c: Likewise.
65026         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65027         * sysdeps/mach/hurd/sethostid.c: Likewise.
65028         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65029         * sysdeps/mach/xpg-strerror.c: Likewise.
65030         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65031         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65032         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65033         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65034         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65035         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65036         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65037         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65038         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65039         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65040         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65041         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65042         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65043         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65044         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65045         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65046         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65047         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65048         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65049         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65050         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65052         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65054         * stdio-common/_itoa.h: Moved to ...
65055         * sysdeps/generic/_itoa.h: Here.
65057         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65059         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65060         instead of "_itoa.h" and "_itowa.h".
65061         * stdio-common/vfprintf.: Likewise.
65063 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65065         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65066         <bits/wordsize.h>.
65067         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65068         (__signbit): Likwise.
65069         (llrintf): Likwise.
65070         (llrint): Likwise.
65072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65074         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65075         __WORDSIZE != 64.
65077 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65079         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65080         OVERFLOW_EXCEPTION_OK.
65081         * math/libm-test.inc ("Philosophy"): Update comment about
65082         exception testing.
65083         (OVERFLOW_EXCEPTION): Define.
65084         (OVERFLOW_EXCEPTION_OK): Likewise.
65085         (INVALID_EXCEPTION_OK): Renumber.
65086         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65087         (IGNORE_ZERO_INF_SIGN): Likewise.
65088         (test_exceptions): Handle FE_OVERFLOW.
65089         (exp10_test): Expect overflow exceptions.
65090         (exp2_test): Likewise.
65091         (expm1_test): Likewise.
65092         (nextafter_test): Likewise.
65093         (pow_test): Likewise.
65094         (scalbn_test): Likewise.
65095         (scalbln_test): Likewise.
65097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65099         * sysdeps/x86_64/bits/atomic.h
65100         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65101         64bit integer.
65102         (atomic_exchange_acq): Likewise.
65103         (__arch_exchange_and_add_body): Likewise.
65104         (__arch_add_body): Likewise.
65105         (atomic_add_negative): Likewise.
65106         (atomic_add_zero): Likewise.
65108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65110         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65111         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65115         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65116         Check __x86_64__ instead of __WORDSIZE.
65118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65120         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65122 2012-03-19  David S. Miller  <davem@davemloft.net>
65124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65126         * sysdeps/sparc/fpu/fenv_private.h: New file.
65127         * sysdeps/sparc/fpu/math_private.h: Use it.
65128         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65129         Remove.
65130         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65131         (libc_feholdexcept_setroundl): Remove.
65132         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65133         Remove.
65134         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65135         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65139         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65140         int64_t instead of long int.
65141         (INSERT_WORDS64): Likwise.
65143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65145         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65146         _Unwind_GetCFA return to _Unwind_Ptr first.
65148 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65150         [BZ #13629]
65151         * math/s_clog.c: Include <float.h>.
65152         (__clog): Scale large or subnormal inputs.
65153         * math/s_clogf.c: Likewise.
65154         * math/s_clogl.c: Likewise.
65155         * math/s_clog10.c: Include <float.h>.
65156         (M_LOG10_2): Define.
65157         (__clog10): Scale large or subnormal inputs.
65158         * math/s_clog10f.c: Likewise.
65159         * math/s_clog10l.c: Likewise.
65160         * math/libm-test.inc (clog_test): Add more tests.
65161         (clog10_test): Likewise.
65162         * sysdeps/i386/fpu/libm-test-ulps: Update.
65163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65165         [BZ #11451]
65166         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65167         x and y.
65168         * math/libm-test.inc (atan2_test): Add another test.
65170         * Makerules (common-objdir-compile): Remove.
65171         * sysdeps/unix/Makefile (config-generated): Do not add
65172         $(unix-generated) to variable.
65173         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65174         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65175         Remove rule.
65176         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65177         Likewise.
65178         [generic bits/local_lim.h] (before-compile): Do not append to
65179         variable.
65180         [generic bits/local_lim.h] (common-generated): Likewise.
65181         [generic sys/param.h] (before-compile): Do not append to variable.
65182         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65183         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65184         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65185         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65186         include.
65187         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65188         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65189         [generic sys/param.h] ($(addprefix
65190         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65191         [generic sys/param.h] (common-generated): Do not append to
65192         variable.
65193         [generic sys/param.h] (sysdep_headers): Likewise.
65194         [generic bits/errno.h] (before-compile): Do not append to
65195         variable.
65196         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65197         rule.
65198         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65199         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65200         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65201         [generic bits/errno.h] (common-generated): Do not append to
65202         variable.
65203         [generic bits/ioctls.h] (before-compile): Do not append to
65204         variable.
65205         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65206         rule.
65207         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65208         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65209         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65210         rule.
65211         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65212         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65213         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65214         [generic bits/ioctls.h] (common-generated): Do not append to
65215         variable.
65216         [generic sys/syscall.h] (syscall.h): Remove variable.
65217         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65218         rule.
65219         [generic sys/syscall.h] (before-compile): Do not append to
65220         variable.
65221         [generic sys/syscall.h] (common-generated): Likewise.
65222         * sysdeps/unix/errnos-tmpl.c: Remove file.
65223         * sysdeps/unix/errnos.awk: Likewise.
65224         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65225         * sysdeps/unix/ioctls.awk: Likewise.
65226         * sysdeps/unix/mk-local_lim.c: Likewise.
65227         * sysdeps/unix/snarf-ioctls: Likewise.
65229 2012-03-19  Richard Henderson  <rth@twiddle.net>
65231         * sysdeps/i386/fpu/fenv_private.h: New file.
65232         * sysdeps/i386/fpu/math_private.h: Use it.
65233         (math_opt_barrier, math_force_eval): Remove.
65234         (libc_feholdexcept_setround_53bit): Remove.
65235         (libc_feupdateenv_53bit): Remove.
65236         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65237         (math_opt_barrier, math_force_eval): Remove.
65238         (libc_feholdexcept): Remove.
65239         (libc_feholdexcept_setround): Remove.
65240         (libc_fetestexcept, libc_fesetenv): Remove.
65241         (libc_feupdateenv_test): Remove.
65242         (libc_feupdateenv, libc_feholdsetround): Remove.
65243         (libc_feresetround): Remove.
65245         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65246         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65248         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65249         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65250         (libc_feupdateenv_testl): New.
65251         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65252         (libc_feupdateenv_testf): New.
65253         (libc_feupdateenv): Use libc_feupdateenv_test.
65254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65257         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65258         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65259         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65260         (libc_feresetround_noex): New.
65261         (libc_feresetround_noexf): New.
65262         (libc_feresetround_noexl): New.
65263         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65264         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65265         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65267         SET_RESTORE_ROUND.
65268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65270         (__cos): Likewise.
65271         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65272         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65273         SET_RESTORE_ROUND_NOEX.
65274         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65275         SET_RESTORE_ROUND_NOEXF.
65276         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65277         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65278         (libc_feholdsetroundf): New.
65279         (libc_feresetround, libc_feresetroundf): New.
65281         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65282         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65283         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65285         * sysdeps/generic/math_private.h: Include <fenv.h>.
65286         (default_libc_feholdexcept): New.
65287         (default_libc_feholdexcept_setround): New.
65288         (default_libc_fesetenv, default_libc_feupdateenv): New.
65289         (libc_feholdexcept): Only define if undefined.
65290         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65291         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65292         (libc_feholdexcept_setroundl): Likewise.
65293         (libc_feholdexcept_setround_53bit): Likewise.
65294         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65295         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65296         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65297         (libc_feupdateenv_53bit): Likewise.
65298         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65299         (libc_feholdexcept): Convert from macro to inline function.
65300         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65301         (libc_fesetenv, libc_feupdateenv): Likewise.
65303         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65304         not previously defined.
65305         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65306         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65307         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65308         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65309         * sysdeps/ieee754/flt-32/math_private.h: New file.
65310         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65311         math_private.h below SET_FLOAT_WORD.
65312         (__isnan, __isinf_ns, __finite): Remove.
65313         (__isnanf, __isinf_nsf, __finitef): Remove.
65315 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65319 2012-03-17  David S. Miller  <davem@davemloft.net>
65321         [BZ #6471]
65322         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65323         for 2.16.
65325 2012-03-16  David S. Miller  <davem@davemloft.net>
65327         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65328         warnings.
65330         [BZ #6471]
65331         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65332         properly.
65333         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65334         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65335         sysdep_routines when subdir is sysvipc.
65336         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65337         __getshmlba helper.
65339         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65343         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65344         [__LP64__].
65346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65349         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65350         (__lround): Renamed to ...
65351         (__llround): This.  Replace long int with long long int.
65352         Define lround functions as aliases of llround functions.
65353         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65357         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65358         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65359         adresses to uintptr_t.  Replace "long int" and "unsigned long
65360         int" with "greg_t" on va_arg.
65362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65364         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65365         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65367         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65368         Move e_machine check before EI_CLASS check.  Handle x32
65369         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65370         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65371         SKIP_EM_IA_64 and include
65372         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65374         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65375         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65376         (add_system_dir): New macro.
65378         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65379         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65381 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65383         [BZ #2551]
65384         [BZ #2552]
65385         [BZ #2553]
65386         [BZ #2554]
65387         [BZ #2562]
65388         [BZ #2563]
65389         [BZ #2565]
65390         [BZ #2566]
65391         [BZ #2576]
65392         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65393         (y0): Likewise.
65394         * math/w_j0f.c (j0f): Likewise.
65395         (y0f): Likewise.
65396         * math/w_j0l.c (__j0l): Likewise.
65397         (__y0l): Likewise.
65398         * math/w_j1.c (j1): Likewise.
65399         (y1): Likewise.
65400         * math/w_j1f.c (j1f): Likewise.
65401         (y1f): Likewise.
65402         * math/w_j1l.c (__j1l): Likewise.
65403         (__y1l): Likewise.
65404         * math/w_jn.c (jn): Likewise.
65405         (yn): Likewise.
65406         * math/w_jnf.c (jnf): Likewise.
65407         (ynf): Likewise.
65408         * math/w_jnl.c (__jnl): Likewise.
65409         (__ynl): Likewise.
65410         * math/libm-test.inc (j0_test): Add more tests.
65411         (j1_test): Likewise.
65412         (jn_test): Likewise.  Add trailing semicolon to existing test.
65413         (y0_test): Likewise.
65414         (y1_test): Likewise.
65415         * sysdeps/i386/fpu/libm-test-ulps: Update.
65416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65418         [BZ #13851]
65419         [BZ #13854]
65420         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65421         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65422         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65423         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65424         (__tanl): Set errno for infinite argument.
65425         * sysdeps/i386/fpu/mptan.c: Remove.
65426         * sysdeps/i386/fpu/s_tan.S: Likewise.
65427         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65428         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65429         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65430         * math/libm-test.inc (tan_test): Add more tests and enable more
65431         tests for double and long double.
65432         * sysdeps/i386/fpu/libm-test-ulps: Update.
65433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65435 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65437         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65438         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65440 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65442         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65443         * configure.in: Use it for both main tree and add-ons.
65444         * configure: Regenerated.
65446 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65448         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65450 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65452         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65453         in comment.
65455         [BZ #13851]
65456         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65457         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65458         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65460         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65461         infinite argument.
65462         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65464         != 0 for prec == 2.
65465         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65466         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65467         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65468         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65469         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65470         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65471         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65472         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65473         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65474         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65475         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65476         * math/libm-test.inc (cos_test): Add more tests and enable more
65477         tests for long double.
65478         (sin_test): Likewise.
65479         (sincos_test): Likewise.
65480         * sysdeps/i386/fpu/libm-test-ulps: Update.
65481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65483 2012-03-16  David S. Miller  <davem@davemloft.net>
65485         * sysdeps/sparc/fpu/math_private.h: New file.
65487 2012-03-15  David S. Miller  <davem@davemloft.net>
65489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65490         file.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65493         file.
65494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65500         sysdep routines.
65501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65503         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65504         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65506         * sysdeps/sparc/sparc-ifunc.h: New file.
65507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65508         sparc-ifunc.h
65509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65511         Likewise.
65512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65513         Likewise.
65514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65518         Likewise.
65519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65524         Likewise.
65525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65526         Likewise.
65527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65534         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65546         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65552 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65554         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65555         scaling.
65556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65558 2012-03-15  Andreas Jaeger  <aj@suse.de>
65560         [BZ #13852]
65561         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65562         ieee754/flt-32 implementation for sin, cos and sincos.
65563         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65564         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65565         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65566         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65567         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65568         ieee754/flt-32 implementation for tan.
65570         * math/libm-test.inc (cos_test): Enable some large input tests for
65571         float as well
65572         (sin_test): Likewise.
65573         (sincos_test): Likewise.
65574         (tan_test): Add tests for large input.
65576         * sysdeps/i386/fpu/libm-test-ulps: Update.
65578 2012-03-15  Andreas Jaeger  <aj@suse.de>
65580         [BZ #13658]
65581         * math/libm-test.inc (cos_test): Add more test cases.
65582         (sin_test): Likewise.
65583         (sincos_test): Likewise.
65585 2012-03-15  Andreas Jaeger  <aj@suse.de>
65587         [BZ #13837]
65588         * math/libm-test.inc (cos_test): Add a test case for large input
65589         value.
65590         (sin_test): Likewise.
65591         (sincos_test): Likewise.
65593 2012-03-15  Andreas Jaeger  <aj@suse.de>
65594             Joseph Myers  <joseph@codesourcery.com>
65596         [BZ #13658]
65597         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65598         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65599         * sysdeps/i386/fpu/branred.c: Likewise.
65600         * sysdeps/i386/fpu/dosincos.c: Likewise.
65601         * sysdeps/i386/fpu/mpa.c: Likewise.
65602         * sysdeps/i386/fpu/s_cos.S: Likewise.
65603         * sysdeps/i386/fpu/s_sin.S: Likewise.
65604         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65605         * sysdeps/i386/fpu/sincos32.c: Likewise.
65607         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65608         Define.
65609         (libc_feupdateenv_53bit): Define.
65610         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65611         Define.
65612         (libc_feupdateenv_53bit): Define.
65614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65615         53 bit (without extend i386 double precision).
65617         * math/libm-test.inc (sincos_test): Add tests for large input.
65618         (sin): Likewise.
65619         (cos): Likewise.
65621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65623 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65627 2012-03-15  David S. Miller  <davem@davemloft.net>
65629         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65630         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65631         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65632         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65645         file.
65646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65648         file.
65649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65651         file.
65652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65654         file.
65655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65657         fmin/fmax sysdep routines.
65658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65660 2012-03-14  David S. Miller  <davem@davemloft.net>
65662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65667         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65668         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65683         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65688         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65689         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65691         routines.
65692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65693         file.
65694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65696         file.
65697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65699         file.
65700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65702         file.
65703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65705         file.
65706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65708         file.
65709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65710         file.
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65712         file.
65713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65714         file.
65715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65716         New file.
65717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65718         file.
65719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65720         file.
65721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65723         file.
65724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65726         file.
65727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65729         file.
65730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65732         VIS3 routines.
65734         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65735         New file.
65737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65739         * sysdeps/sparc/configure.in: New file.
65740         * sysdeps/sparc/configure: Generate.
65741         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65742         * configure: Regenerate.
65743         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65744         * config.make.in (have-as-vis3): New.
65745         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65746         available use -Av9d instead of -Av9a.
65747         * sysdeps/sparc/sparc64/Makefile: Likewise.
65748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65750         New file.
65751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65752         file.
65753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65754         New file.
65755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65756         file.
65757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65761         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65763         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65764         fzeros/fnegs to load 0x80000000 into a float register instead of
65765         using the stack.
65766         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65768 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65771         bits/syscall.h.
65772         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65773         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65774         ($(inst_includedir)/bits/syscall.h): Remove rule.
65775         ($(objpfx)bits/syscall.d): Include instead of
65776         $(objpfx)syscall-list.d.
65777         (generated): Change syscall-list.h and syscall-list.d to
65778         bits/syscall.h and bits/syscall.d.
65780 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65782         [BZ #13846]
65783         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65785 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65787         [BZ #13841]
65788         * math/s_csqrt.c: Include <float.h>.
65789         (__csqrt): Scale large or subnormal inputs.
65790         * math/s_csqrtf.c: Likewise.
65791         * math/s_csqrtl.c: Likewise.
65792         * math/libm-test.inc (csqrt_test): Add more tests.
65793         * sysdeps/i386/fpu/libm-test-ulps: Update.
65794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65796         [BZ #13840]
65797         * math/libm-test.inc (hypot_test): Add more tests.
65799 2012-03-13  David S. Miller  <davem@davemloft.net>
65801         [BZ #13840]
65802         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65803         double-precision for the calculation instead of scaling.
65805 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65808         manipulate bits before adding and subtracting TWO52[sx].
65809         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65810         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65811         Likewise.
65812         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65814 2012-03-13  David S. Miller  <davem@davemloft.net>
65816         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65817         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65819         rtld-global-offsets.h
65820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65822         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65823         large parameters.
65825         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65827         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65828         'err' in the ifdef scope in which it is actually used.
65830         * nss/nss_db/db-init.c: Include string.h
65832 2012-03-12  David S. Miller  <davem@davemloft.net>
65834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65835         masking out of the most significant byte of random value used.
65836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65837         Fix coding style in previous change.
65839         * sysdeps/unix/sysv/linux/kernel-features.h
65840         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65841         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65842         expression.
65843         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65844         later.
65846 2012-03-11  David S. Miller  <davem@davemloft.net>
65848         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65849         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65850         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65851         for 'resultvar' otherwise things get truncated on 64-bit.
65853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65854         Fix masking out of the most significant byte of random value used.
65856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65858 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65862 2012-03-09  David S. Miller  <davem@davemloft.net>
65864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65865         variables with appropriate CPP guards.
65866         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65867         from the frame pointer, not the stack pointer.  Correct layout
65868         comments.  Fix test on resulting framesize and the management of
65869         the outregs buffer for pltexit.  Preserve floating point return
65870         values across _dl_call_pltexit call.
65871         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65872         framesize and the management of the outregs buffer for pltexit.
65873         Preserve floating point return values across _dl_call_pltexit
65874         call.
65875         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65876         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65877         (la_sparc64_gnu_pltexit): New functions.
65878         (print_exit): Fix format string for return register value.
65880 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65882         * sunrpc/Makefile (others): Add rpcgen.
65883         ($(objpfx)rpcgen): Remove special build rule and dependency on
65884         libc.
65885         * sunrpc/rpcgen.c: New file.
65887 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65889         [BZ #13673]
65890         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65891         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65892         * sysdeps/i386/crti.S: Likewise.
65893         * sysdeps/i386/crtn.S: Likewise.
65894         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65895         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65896         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65897         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65898         * sysdeps/sh/crti.S: Likewise.
65899         * sysdeps/sh/crtn.S: Likewise.
65900         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65902         [BZ #13673]
65903         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65904         with URL.
65905         * locale/programs/locfile-kw.gperf: Likewise.
65906         * locale/programs/charmap-kw.h: Regenerated.
65907         * locale/programs/locfile-kw.h: Likewise.
65909         [BZ #13673]
65910         * intl/plural.y: Replace FSF snail mail address with URL.
65911         * intl/plural.c: Regenerated.
65913 2012-03-09  Richard Henderson  <rth@twiddle.net>
65915         * include/math_private.h: Remove file.
65916         * math/math_private.h: Move file ...
65917         * sysdeps/generic/math_private.h: ... here.
65919         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65920         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65921         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65923         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65924         and <math_private.h>.
65925         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65926         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65927         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65928         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65929         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65930         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65931         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65933         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65934         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65936         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65937         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65939         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65940         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65941         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65946         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65947         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65957         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65959         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65960         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65961         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65962         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65963         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65965         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65967         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65968         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65969         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65970         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65971         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65974         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65975         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65976         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65977         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65978         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65979         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65980         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65982         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65983         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65984         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65986         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65989         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65990         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65991         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65992         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65994         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66004         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66005         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66006         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66008         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66009         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66012         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66013         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66014         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66015         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66016         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66017         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66018         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66019         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66029         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66030         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66031         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66032         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66033         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66035         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66036         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66037         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66038         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66039         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66040         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66041         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66042         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66043         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66044         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66046         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66047         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66048         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66049         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66050         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66051         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66052         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66053         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66054         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66055         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66056         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66058         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66059         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66060         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66061         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66062         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66063         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66064         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66066         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66067         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66068         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66069         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66070         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66071         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66072         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66073         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66074         * sysdeps/ieee754/k_standard.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66079         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66082         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66088         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66089         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66094         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66096         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66098         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66099         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66100         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66101         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66102         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66103         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66104         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66105         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66106         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66107         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66110         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66131         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66132         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66134         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66139         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66178         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66188         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66190         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66206         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66207         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66214         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66215         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66221         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66222         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66223         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66224         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66225         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66226         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66229         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66230         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66231         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66234         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66235         * sysdeps/ieee754/s_lib_version.c: Likewise.
66236         * sysdeps/ieee754/s_matherr.c: Likewise.
66237         * sysdeps/ieee754/s_signgam.c: Likewise.
66238         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66239         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66240         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66241         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66242         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66243         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66244         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66245         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66246         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66247         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66248         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66249         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66250         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66252         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66253         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66254         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66255         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66256         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66260 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66262         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66263         * sunrpc/rpc_main.c: Likewise.
66264         * sunrpc/rpc_svcout.c: Likewise.
66266 2012-03-09  David S. Miller  <davem@davemloft.net>
66268         * include/math_private.h: New file.
66270 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66272         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66273         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66274         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66275         from <bits/socket_type.h>.
66276         (enum __socket_type): Don't define here.
66277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66279         bits/socket_type.h.
66281         [BZ #13566]
66282         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66283         checking __USE_GNU.
66285         * Makerules ($(inst_includedir)/%.h): New rule.
66286         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66287         (install-others): Remove variable setting.
66288         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66290 2012-03-08  Richard Henderson  <rth@twiddle.net>
66292         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66293         from macro to inline function; merge with the
66294         !__LIBC_INTERNAL_MATH_INLINES version.
66295         (__ieee754_sqrtf): Likewise.
66297         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66298         to inline function.
66299         (__rintf, __floor, __floorf): Likewise.
66301         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66302         macro to inline function.
66303         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66305         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66306         not <math/math_private.h>.
66308 2012-03-08  David S. Miller  <davem@davemloft.net>
66310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66311         copyright year.
66312         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66314 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66316         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66317         normalization.
66318         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66319         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66321 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66323         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66324         be defined individually, they must be defined as a block.  Define
66325         S for printing a string instead of hidint the different by using a
66326         macro for adding the 'l'.
66327         * stdio-common/tst-fphex-wide.c: Adjust.
66329 2012-03-07  Marek Polacek  <polacek@redhat.com>
66331         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66333 2012-03-08  Marek Polacek  <polacek@redhat.com>
66335         [BZ #13806]
66336         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66337         * stdio-common/tst-fphex.c: Define a few macros to make the
66338         test reusable.  Use them.
66339         * stdio-common/tst-fphex-wide.c: New file.
66341 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66343         [BZ #6911]
66344         * manual/macros.texi (gnusystems): New macro.
66345         (nongnusystems): Likewise.
66346         (gnulinuxhurdsystems): Likewise.
66347         (gnuhurdsystems): Likewise..
66348         (gnulinuxsystems): Likewise.
66349         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66350         variants of the GNU system, not "GNU system".
66351         * manual/conf.texi: Likewise.
66352         * manual/errno.texi: Likewise.  Update example of errno macro
66353         expansion.
66354         * manual/filesys.texi: Likewise.
66355         (getumask): Document as specific to GNU/Hurd.
66356         * manual/install.texi: Likewise.  Reword some references to
66357         GNU/Linux.
66358         * manual/intro.texi: Likewise.
66359         * manual/io.texi: Likewise.
66360         (File Name Portability): Detail which constraints are inapplicable
66361         to all GNU systems and which are only inapplicable to GNU/Hurd.
66362         * manual/job.texi: Likewise.
66363         * manual/llio.texi: Likewise.
66364         (O_NOCTTY): Document as present on GNU/Linux.
66365         * manual/maint.texi: Likewise.
66366         * manual/memory.texi: Likewise.
66367         * manual/pattern.texi: Likewise.
66368         * manual/pipe.texi: Likewise.
66369         * manual/process.texi: Likewise.
66370         * manual/resource.texi: Likewise.
66371         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66372         child on GNU/Hurd.
66373         * manual/setjmp.texi: Likewise.
66374         * manual/signal.texi: Likewise.
66375         * manual/startup.texi: Likewise.
66376         * manual/stdio.texi: Likewise.
66377         * manual/terminal.texi: Likewise.
66378         (ONLCR): Document as POSIX.
66379         (OXTABS): Document availability on GNU/Linux as XTABS.
66380         (ONOEOT): Document availability separately from other bits.
66381         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66382         * manual/time.texi: Likewise.
66383         * manual/users.texi: Likewise.
66384         * INSTALL: Regenerated.
66385         * sysdeps/gnu/errlist.c: Regenerated.
66387         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66388         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66389         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66390         puts.
66391         * configure: Regenerated.
66393 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66395         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66396         default includes instead of AC_HEADER_CHECK.
66397         * sysdeps/i386/configure: Regenerated.
66399         [BZ #10716]
66400         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66401         * math/s_cacoshf.c (__cacoshf): Likewise.
66402         * math/s_cacoshl.c (__cacoshl): Likewise.
66403         * math/s_casinh.c (__casinh): Set signs of result from argument.
66404         * math/s_casinhf.c (__casinhf): Likewise.
66405         * math/s_casinhl.c (__casinhl): Likewise.
66406         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66407         (casinh_test): Add more tests.
66408         * sysdeps/i386/fpu/libm-test-ulps: Update.
66409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66411 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66413         * po/zh_TW.po: Update from translation team.
66415         * login/Makefile (distribute): Remove variable.
66416         * catgets/Makefile: Likewise.
66417         * mach/Makefile: Likewise.
66418         * malloc/Makefile: Likewise.
66419         * misc/Makefile: Likewise.
66420         * iconv/Makefile: Likewise.
66421         * nscd/Makefile: Likewise.
66422         * hurd/Makefile: Likewise.
66423         * manual/Makefile: Likewise.
66424         * locale/Makefile: Likewise.
66425         * intl/Makefile: Likewise.
66426         * conform/Makefile: Likewise.
66427         * nss/Makefile: Likewise.
66428         * time/Makefile: Likewise.
66429         * soft-fp/Makefile: Likewise.
66430         * dirent/Makefile: Likewise.
66431         * gmon/Makefile: Likewise.
66432         * po/Makefile: Likewise.
66433         * rt/Makefile: Likewise.
66434         * socket/Makefile: Likewise.
66435         * math/Makefile: Likewise.
66436         * signal/Makefile: Likewise.
66437         * debug/Makefile: Likewise.
66438         * elf/Makefile: Likewise.
66439         * timezone/Makefile: Likewise.
66440         * stdlib/Makefile: Likewise.
66441         * iconvdata/Makefile: Likewise.
66442         * sunrpc/Makefile: Likewise.
66443         * io/Makefile: Likewise.
66444         * argp/Makefile: Likewise.
66445         * inet/Makefile: Likewise.
66446         * hesiod/Makefile: Likewise.
66447         * grp/Makefile: Likewise.
66448         * csu/Makefile: Likewise.
66449         * wctype/Makefile: Likewise.
66450         * crypt/Makefile: Likewise.
66451         * libio/Makefile: Likewise.
66452         * string/Makefile: Likewise.
66453         * nis/Makefile: Likewise.
66454         * resolv/Makefile: Likewise.
66455         * stdio-common/Makefile: Likewise.
66456         * wcsmbs/Makefile: Likewise.
66457         * dlfcn/Makefile: Likewise.
66458         * posix/Makefile: Likewise.
66460         [BZ #6959]
66461         * timezone/Makefile: Don't install timezone files, just the programs
66462         and scripts.
66464 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66466         * nss/databases.def: Add missing gshadow entry.
66468         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66470 2012-03-06  Marek Polacek  <polacek@redhat.com>
66472         [BZ #13726]
66473         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66474         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66475         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66476         * stdio-common/tst-long-dbl-fphex.c: New file.
66478 2012-03-06  David S. Miller  <davem@davemloft.net>
66480         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66481         (set_obp_int): New function.
66482         (get_obp_int): New function.
66483         (__get_clockfreq_via_dev_openprom): Likewise.
66484         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66485         Avoid unused variable warnings on 'val' and use builtin_expect.
66486         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66487         __builtin_expect.
66488         (INLINE_CLONE_SYSCALL): Likewise.
66490 2012-03-05  David S. Miller  <davem@davemloft.net>
66492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66494 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66499         only for |x| >= 40.
66500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66502 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66505         Replace gettimeofday with __vdso_gettimeofday.
66507         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66508         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66509         __vdso_clock_gettime and __vdso_getcpu.
66511         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66512         time with __vdso_time.
66514 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66516         * manual/lang.texi (size_t): Note types to which size_t may be
66517         equivalent with the GNU C Library, but do not describe when
66518         differences between them are significant.
66520 2012-03-05  Andreas Jaeger  <aj@suse.de>
66522         * sysdeps/i386/fpu/libm-test-ulps: Update.
66524 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66526         [BZ #3976]
66527         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66528         (__ieee754_pow): Save and restore rounding mode and use
66529         round-to-nearest for main computations.
66530         * math/libm-test.inc (pow_test_tonearest): New function.
66531         (pow_test_towardzero): Likewise.
66532         (pow_test_downward): Likewise.
66533         (pow_test_upward): Likewise.
66534         (main): Call the new functions.
66535         * sysdeps/i386/fpu/libm-test-ulps: Update.
66536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66538         [BZ #3976]
66539         * math/libm-test.inc (cosh_test_tonearest): New function.
66540         (cosh_test_towardzero): Likewise.
66541         (cosh_test_downward): Likewise.
66542         (cosh_test_upward): Likewise.
66543         (sinh_test_tonearest): Likewise.
66544         (sinh_test_towardzero): Likewise.
66545         (sinh_test_downward): Likewise.
66546         (sinh_test_upward): Likewise.
66547         (main): Call the new functions.
66548         * sysdeps/i386/fpu/libm-test-ulps: Update.
66549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66551 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66553         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66554         default stack guard is set in last bytes.
66555         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66557 2012-03-05  Kees Cook  <keescook@chromium.org>
66559         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66561         [BZ #13656]
66562         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66563         possibly allocate from heap instead of stack.
66564         * stdio-common/bug-vfprintf-nargs.c: New file.
66565         * stdio-common/Makefile (tests): Add nargs overflow test.
66567 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66571 2012-03-03  Marek Polacek  <polacek@redhat.com>
66573         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66574         * math/math_private.h: Likewise.
66575         * stdlib/tst-strtod.c: Likewise.
66576         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66577         * sysdeps/x86_64/bits/atomic.h: Likewise.
66579 2012-03-02  David S. Miller  <davem@davemloft.net>
66581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66585         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66586         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66587         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66588         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66590 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66592         [BZ #13792]
66593         * manual/examples/README: New file, says the example source files
66594         can be used under GPL>=2.
66595         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66596         line containing just "*/".
66597         * manual/examples/add.c: Add copyright header (GPL>=2).
66598         * manual/examples/argp-ex1.c: Likewise.
66599         * manual/examples/argp-ex2.c: Likewise.
66600         * manual/examples/argp-ex3.c: Likewise.
66601         * manual/examples/argp-ex4.c: Likewise.
66602         * manual/examples/atexit.c: Likewise.
66603         * manual/examples/db.c: Likewise.
66604         * manual/examples/dir.c: Likewise.
66605         * manual/examples/dir2.c: Likewise.
66606         * manual/examples/execinfo.c: Likewise.
66607         * manual/examples/filecli.c: Likewise.
66608         * manual/examples/filesrv.c: Likewise.
66609         * manual/examples/fmtmsgexpl.c: Likewise.
66610         * manual/examples/genpass.c: Likewise.
66611         * manual/examples/inetcli.c: Likewise.
66612         * manual/examples/inetsrv.c: Likewise.
66613         * manual/examples/isockad.c: Likewise.
66614         * manual/examples/longopt.c: Likewise.
66615         * manual/examples/memopen.c: Likewise.
66616         * manual/examples/memstrm.c: Likewise.
66617         * manual/examples/mkfsock.c: Likewise.
66618         * manual/examples/mkisock.c: Likewise.
66619         * manual/examples/mygetpass.c: Likewise.
66620         * manual/examples/pipe.c: Likewise.
66621         * manual/examples/popen.c: Likewise.
66622         * manual/examples/rprintf.c: Likewise.
66623         * manual/examples/search.c: Likewise.
66624         * manual/examples/select.c: Likewise.
66625         * manual/examples/setjmp.c: Likewise.
66626         * manual/examples/sigh1.c: Likewise.
66627         * manual/examples/sigusr.c: Likewise.
66628         * manual/examples/stpcpy.c: Likewise.
66629         * manual/examples/strdupa.c: Likewise.
66630         * manual/examples/strftim.c: Likewise.
66631         * manual/examples/strncat.c: Likewise.
66632         * manual/examples/subopt.c: Likewise.
66633         * manual/examples/swapcontext.c: Likewise.
66634         * manual/examples/termios.c: Likewise.
66635         * manual/examples/testopt.c: Likewise.
66636         * manual/examples/testpass.c: Likewise.
66637         * manual/examples/timeval_subtract.c: Likewise.
66639         [BZ #13792]
66640         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66641         function to ...
66642         * manual/timeval_subtract.c.texi: ... here, new file.
66644 2012-03-02  David S. Miller  <davem@davemloft.net>
66646         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66648 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66650         [BZ #3976]
66651         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66652         (__sin): Save and restore rounding mode and use round-to-nearest
66653         for all computations.
66654         (__cos): Save and restore rounding mode and use round-to-nearest
66655         for all computations.
66656         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66657         <fenv.h>.
66658         (tan): Save and restore rounding mode and use round-to-nearest for
66659         all computations.
66660         * math/libm-test.inc (cos_test_tonearest): New function.
66661         (cos_test_towardzero): Likewise.
66662         (cos_test_downward): Likewise.
66663         (cos_test_upward): Likewise.
66664         (sin_test_tonearest): Likewise.
66665         (sin_test_towardzero): Likewise.
66666         (sin_test_downward): Likewise.
66667         (sin_test_upward): Likewise.
66668         (tan_test_tonearest): Likewise.
66669         (tan_test_towardzero): Likewise.
66670         (tan_test_downward): Likewise.
66671         (tan_test_upward): Likewise.
66672         (main): Call the new functions.
66673         * sysdeps/i386/fpu/libm-test-ulps: Update.
66674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66676         [BZ #10135]
66677         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66678         small n, then large n, before computing and testing k+n.
66679         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66680         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66681         Likewise.
66682         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66683         Likewise.
66684         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66685         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66688         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66689         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66691         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66692         * math/libm-test.inc (scalbn_test): Add more tests.
66693         (scalbln_test): Likewise.
66695         * manual/filesys.texi (mode_t): Describe constraints on size and
66696         signedness, not exact equivalence to a particular type.
66697         (ino_t): Likewise.
66698         (ino64_t): Likewise.
66699         (dev_t): Likewise.
66700         (nlink_t): Likewise.
66701         (blkcnt_t): Likewise.
66702         (blkcnt64_t): Likewise.
66703         * manual/llio.texi (off_t): Likewise.
66705         [BZ #3976]
66706         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66707         (__ieee754_exp): Save and restore rounding mode and use
66708         round-to-nearest for all computations.
66709         * math/libm-test.inc (exp_test_tonearest): New function.
66710         (exp_test_towardzero): Likewise.
66711         (exp_test_downward): Likewise.
66712         (exp_test_upward): Likewise.
66713         (main): Call the new functions.
66714         * sysdeps/i386/fpu/libm-test-ulps: Update.
66715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66717 2012-03-01  Chris Demetriou  <cgd@google.com>
66719         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66720         have predictable order.
66722 2012-03-01  David S. Miller  <davem@davemloft.net>
66724         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66726         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66727         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66728         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66729         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66731         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66732         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66733         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66735         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66736         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66737         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66738         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66739         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66744         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66745         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66747         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66748         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66749         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66750         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66751         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66752         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66754         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66755         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66756         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66757         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66760         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66761         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66763         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66764         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66765         * sysdeps/sparc/elf/configure: Regenerated.
66767 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66769         * configure.in (AS, LD): Require binutils 2.20 or later.
66770         * configure: Regenerated.
66771         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66772         as required minimum version.
66773         * INSTALL: Regenerated.
66775         [BZ #2541]
66776         [BZ #4108]
66777         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66778         before squaring exponent.
66779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66780         bottom long double and 27 bits of top long double before squaring
66781         exponent.
66782         * math/libm-test.inc (erfc_test): Add more tests.
66783         * sysdeps/i386/fpu/libm-test-ulps: Update.
66784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66787 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66789         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66790         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66791         containing bit-fields.
66792         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66793         * soft-fp/single.h (_FP_UNION_S): Likewise.
66794         * soft-fp/double.h (_FP_UNION_D): Likewise.
66796 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66798         [BZ #13786]
66799         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66800         not include ../strcmp.S.
66801         [USE_AS_STRNCASECMP_L]: Likewise.
66802         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66803         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66804         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66805         (__strncasecmp_l_ia32): Define as alias to
66806         __strncasecmp_l_nonascii.
66808         [BZ #5794]
66809         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66810         * sysdeps/i386/fpu/libm-test-ulps: Update.
66811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66813         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66816 2012-02-29  Jeff Law  <law@redhat.com>
66818         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66819         out of bounds read.
66821 2012-02-29  Marek Polacek  <polacek@redhat.com>
66823         [BZ #13706]
66824         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66825         * elf/Makefile: Add rules to run tst-unused-dep.out.
66827 2012-02-28  David S. Miller  <davem@davemloft.net>
66829         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66830         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66831         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66832         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66833         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66834         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66836 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66838         * math/libm-test.inc (llround_test): Move one test from
66839         lround_test.  Use TEST_f_L in moved test.
66840         (lround_test): Move misplaced test to llround_test.  Add testcase
66841         from bug 2561.
66843 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66845         * sysdeps/x86_64/fpu/e_expf.S: New file.
66846         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66848 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66850         [BZ #13637]
66851         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66852         of remain_len that may cause incomplete multi-byte character and
66853         false match.
66854         * posix/bug-regex33.c: New file.
66855         * posix/Makefile (tests): Add bug-regex33.
66857 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66859         * manual/macros.texi: New file.
66860         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66861         * manual/libc.texinfo: Include macros.texi.
66862         * manual/creatute.texi: Likewise.
66863         * manual/install.texi: Likewise.
66864         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66865         @glibcadj{} in references to the GNU C Library.
66866         * manual/charset.texi: Likewise.
66867         * manual/conf.texi: Likewise.
66868         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66869         when not using those macros.
66870         * manual/creature.texi: Likewise.
66871         * manual/crypt.texi: Likewise.
66872         * manual/errno.texi: Likewise.
66873         * manual/filesys.texi: Likewise.
66874         * manual/header.texi: Likewise.
66875         * manual/install.texi: Likewise.
66876         * manual/intro.texi: Likewise.
66877         * manual/io.texi: Likewise.
66878         * manual/job.texi: Likewise.
66879         * manual/lang.texi: Likewise.
66880         * manual/libc.texiinfo: Likewise.
66881         * manual/llio.texi: Likewise.
66882         * manual/locale.texi: Likewise.
66883         * manual/maint.texi: Likewise.
66884         * manual/math.texi: Likewise.
66885         * manual/memory.texi: Likewise.
66886         * manual/message.texi: Likewise.
66887         * manual/nss.texi: Likewise.
66888         * manual/pattern.texi: Likewise.
66889         * manual/process.texi: Likewise.
66890         * manual/resource.texi: Likewise.
66891         * manual/search.texi: Likewise.
66892         * manual/setjmp.texi: Likewise.
66893         * manual/signal.texi: Likewise.
66894         * manual/socket.texi: Likewise.
66895         * manual/startup.texi: Likewise.
66896         * manual/stdio.texi: Likewise.
66897         * manual/string.texi: Likewise.
66898         * manual/sysinfo.texi: Likewise.
66899         * manual/syslog.texi: Likewise.
66900         * manual/terminal.texi: Likewise.
66901         * manual/time.texi: Likewise.
66902         * manual/users.texi: Likewise.
66903         * INSTALL: Regenerated.
66904         * NOTES: Regenerated.
66905         * sysdeps/gnu/errlist.c: Regenerated.
66907 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66909         * include/dirent.h: Include <dirstream.h> before
66910         <dirent/dirent.h>.
66912 2012-02-28  David S. Miller  <davem@davemloft.net>
66914         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66915         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66916         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66917         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66919 2012-02-27  David S. Miller  <davem@davemloft.net>
66921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66923         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66924         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66927         frame pointer instead of stack pointer relative arg slot.
66928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66932 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66934         [BZ #3992]
66935         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66937 2012-02-27  David S. Miller  <davem@davemloft.net>
66939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66943         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66944         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66945         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66946         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66948 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66950         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66951         later.  Allow versions 5-9.
66952         * configure: Regenerated.
66953         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66954         required minimum version and 4.6 as recommended version.  Do not
66955         mention bugs in GCC 2.7 and 2.8.
66956         * INSTALL: Regenerated.
66958 2012-02-27  David S. Miller  <davem@davemloft.net>
66960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66966         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66967         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66970         manipulate bits before adding and subtracting TWO112[sx].
66971         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66973 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66975         [BZ #13775]
66976         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66977         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66978         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66979         being in POSIX, because they are in 1003.1-2008.
66981         * rt/tst-aio.c: Include <fcntl.h>.
66982         * rt/tst-aio7.c: Likewise.
66983         * rt/tst-aio64.c: Likewise.
66985         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66987 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66989         * manual/install.texi (--with-headers): Describe headers as
66990         interface headers, not private headers.
66991         (Specific advice for GNU/Linux systems): Describe use of headers
66992         from "make headers_install", not private headers from older
66993         kernels.
66994         * INSTALL: Regenerated.
66995         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66996         Change to 2.6.19.
66997         * sysdeps/unix/sysv/linux/configure: Regenerated.
66999         * manual/llio.texi (fclean): Remove documentation.
67001         * manual/Makefile (libc-texi-generated): New variable.  Include
67002         version.texi.
67003         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67004         $(libc-texi-generated), not duplicated list of files.
67005         (version.texi, stamp-version): New rules.
67006         (realclean): Remove $(libc-texi-generated), not individual files
67007         from that list.  Do not remove dir-add.texinfo.
67008         * manual/libc.texinfo: Comment out uses of edition numbers and
67009         references to printed manual.  Remove last-updated dates.
67010         (EDITION): Comment out.
67011         (ISBN): Likewise.
67012         (VERSION, UPDATED): Remove.
67013         (version.texi): Include.
67015 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67017         * sysdeps/posix/spawni.c: Include <signal.h>.
67018         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67019         * sysdeps/pthread/aio_fsync.c: Likewise.
67021 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67023         * conform/Makefile (tests): Run only when not cross-compiling and
67024         when fast-check is not defined.
67026         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67027         * conform/data/limits.h-data: Fixes for POSIX2008.
67028         * conform/run-conformtest.sh: Run all tests.
67029         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67030         headers.
67031         * include/bits/dlfcn.h: Likewise.
67032         * include/langinfo.h: Likewise.
67033         * include/monetary.h: Likewise.
67034         * include/sys/poll.h: Likewise.
67036         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67037         for __USE_GNU.
67038         * posix/spawn.h: Define __need_sigset_t.
67039         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67040         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67041         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67042         to get sigevent_t only.
67043         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67044         only for __USE_GNU.
67045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67046         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67047         process_vm_writev only for __USE_GNU.
67048         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67050         * conform/Makefile: For now ignore errors from run-conformtest.
67051         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67052         POSIX to avoid namespace pollution.  Don't prepend headers.
67053         * conform/data/aio.h-data: Fixes for POSIX testing.
67054         * conform/data/fcntl.h-data: Likewise.
67055         * conform/data/glob.h-data: Likewise.
67056         * conform/data/grp.h-data: Likewise.
67057         * conform/data/pthread.h-data: Likewise.
67058         * conform/data/pwd.h-data: Likewise.
67059         * conform/data/signal.h-data: Likewise.
67060         * conform/data/spawn.h-data: Likewise.
67061         * conform/data/stdio.h-data: Likewise.
67062         * conform/data/stdlib.h-data: Likewise.
67063         * conform/data/stropts.h-data: Likewise.
67064         * conform/data/sys/mman.h-data: Likewise.
67065         * conform/data/sys/stat.h-data: Likewise.
67066         * conform/data/sys/types.h-data: Likewise.
67067         * conform/data/sys/wait.h-data: Likewise.
67068         * conform/data/time.h-data: Likewise.
67069         * conform/data/unistd.h-data: Likewise.
67070         * conform/data/utime.h-data: Likewise.
67072         * io/sys/stat.h: fchmod was always in POSIX.
67073         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67074         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67075         * rt/aio.h: Define __need_timespec before including <time.h>.
67076         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67077         struct.  Add forward declaration of pthread_attr_t and use it in
67078         sigevent.
67079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67081         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67082         always remove CLK_TCK definition.
67084 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67086         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67088 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67090         * conform/run-conformtest.sh: New file.
67091         * conform/Makefile: Run run-conformtest for tests.
67092         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67093         support.
67095         * conform/data/uchar.h-data: New file.
67096         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67097         * conform/data/arpa/inet.h-data: Likewise.
67098         * conform/data/assert.h-data: Likewise.
67099         * conform/data/complex.h-data: Likewise.
67100         * conform/data/cpio.h-data: Likewise.
67101         * conform/data/ctype.h-data: Likewise.
67102         * conform/data/dirent.h-data: Likewise.
67103         * conform/data/dlfcn.h-data: Likewise.
67104         * conform/data/errno.h-data: Likewise.
67105         * conform/data/fcntl.h-data: Likewise.
67106         * conform/data/float.h-data: Likewise.
67107         * conform/data/fmtmsg.h-data: Likewise.
67108         * conform/data/fnmatch.h-data: Likewise.
67109         * conform/data/ftw.h-data: Likewise.
67110         * conform/data/glob.h-data: Likewise.
67111         * conform/data/grp.h-data: Likewise.
67112         * conform/data/iconv.h-data: Likewise.
67113         * conform/data/inttypes.h-data: Likewise.
67114         * conform/data/langinfo.h-data: Likewise.
67115         * conform/data/libgen.h-data: Likewise.
67116         * conform/data/limits.h-data: Likewise.
67117         * conform/data/locale.h-data: Likewise.
67118         * conform/data/math.h-data: Likewise.
67119         * conform/data/monetary.h-data: Likewise.
67120         * conform/data/mqueue.h-data: Likewise.
67121         * conform/data/ndbm.h-data: Likewise.
67122         * conform/data/net/if.h-data: Likewise.
67123         * conform/data/netdb.h-data: Likewise.
67124         * conform/data/netinet/in.h-data: Likewise.
67125         * conform/data/nl_types.h-data: Likewise.
67126         * conform/data/poll.h-data: Likewise.
67127         * conform/data/pthread.h-data: Likewise.
67128         * conform/data/pwd.h-data: Likewise.
67129         * conform/data/regex.h-data: Likewise.
67130         * conform/data/sched.h-data: Likewise.
67131         * conform/data/search.h-data: Likewise.
67132         * conform/data/semaphore.h-data: Likewise.
67133         * conform/data/setjmp.h-data: Likewise.
67134         * conform/data/signal.h-data: Likewise.
67135         * conform/data/spawn.h-data: Likewise.
67136         * conform/data/stdarg.h-data: Likewise.
67137         * conform/data/stdio.h-data: Likewise.
67138         * conform/data/stdlib.h-data: Likewise.
67139         * conform/data/string.h-data: Likewise.
67140         * conform/data/strings.h-data: Likewise.
67141         * conform/data/stropts.h-data: Likewise.
67142         * conform/data/sys/ipc.h-data: Likewise.
67143         * conform/data/sys/mman.h-data: Likewise.
67144         * conform/data/sys/msg.h-data: Likewise.
67145         * conform/data/sys/resource.h-data: Likewise.
67146         * conform/data/sys/select.h-data: Likewise.
67147         * conform/data/sys/sem.h-data: Likewise.
67148         * conform/data/sys/shm.h-data: Likewise.
67149         * conform/data/sys/socket.h-data: Likewise.
67150         * conform/data/sys/stat.h-data: Likewise.
67151         * conform/data/sys/statvfs.h-data: Likewise.
67152         * conform/data/sys/time.h-data: Likewise.
67153         * conform/data/sys/timeb.h-data: Likewise.
67154         * conform/data/sys/times.h-data: Likewise.
67155         * conform/data/sys/types.h-data: Likewise.
67156         * conform/data/sys/uio.h-data: Likewise.
67157         * conform/data/sys/un.h-data: Likewise.
67158         * conform/data/sys/utsname.h-data: Likewise.
67159         * conform/data/sys/wait.h-data: Likewise.
67160         * conform/data/syslog.h-data: Likewise.
67161         * conform/data/tar.h-data: Likewise.
67162         * conform/data/termios.h-data: Likewise.
67163         * conform/data/utime.h-data: Likewise.
67164         * conform/data/utmpx.h-data: Likewise.
67165         * conform/data/varargs.h-data: Likewise.
67166         * conform/data/wchar.h-data: Likewise.
67167         * conform/data/wctype.h-data: Likewise.
67168         * conform/data/wordexp.h-data: Likewise.
67170         * include/stropts.h: New file.
67171         * include/uchar.h: New file.
67172         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67173         * include/assert.h: Likewise.
67174         * include/ctype.h: Likewise.
67175         * include/dirent.h: Likewise.
67176         * include/dlfcn.h: Likewise.
67177         * include/fcntl.h: Likewise.
67178         * include/fnmatch.h: Likewise.
67179         * include/glob.h: Likewise.
67180         * include/grp.h: Likewise.
67181         * include/libio.h: Likewise.
67182         * include/locale.h: Likewise.
67183         * include/math.h: Likewise.
67184         * include/net/if.h: Likewise.
67185         * include/netdb.h: Likewise.
67186         * include/netinet/in.h: Likewise.
67187         * include/pthread.h: Likewise.
67188         * include/pwd.h: Likewise.
67189         * include/regex.h: Likewise.
67190         * include/sched.h: Likewise.
67191         * include/search.h: Likewise.
67192         * include/setjmp.h: Likewise.
67193         * include/signal.h: Likewise.
67194         * include/stdio.h: Likewise.
67195         * include/stdlib.h: Likewise.
67196         * include/string.h: Likewise.
67197         * include/sys/cdefs.h: Likewise.
67198         * include/sys/mman.h: Likewise.
67199         * include/sys/msg.h: Likewise.
67200         * include/sys/resource.h: Likewise.
67201         * include/sys/select.h: Likewise.
67202         * include/sys/socket.h: Likewise.
67203         * include/sys/stat.h: Likewise.
67204         * include/sys/statvfs.h: Likewise.
67205         * include/sys/time.h: Likewise.
67206         * include/sys/times.h: Likewise.
67207         * include/sys/uio.h: Likewise.
67208         * include/sys/utsname.h: Likewise.
67209         * include/sys/wait.h: Likewise.
67210         * include/termios.h: Likewise.
67211         * include/time.h: Likewise.
67212         * include/ulimit.h: Likewise.
67213         * include/unistd.h: Likewise.
67214         * include/utime.h: Likewise.
67215         * include/wchar.h: Likewise.
67216         * include/wctype.h: Likewise.
67217         * include/wordexp.h: Likewise.
67219         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67221         * time/time.h: TIME_UTC must be a macro.
67222         Make timespec_get available for ISO C11 only as well.
67224 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67226         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67227         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67229 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67231         * configure.in: Use -o not -a in test for unsupported multi-arch.
67233 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67235         * manual/texinfo.tex: Update to version 2012-01-19.16.
67237 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67239         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67241 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67243         [BZ #13738]
67244         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67245         * manual/fdl-1.3.texi: New file.
67246         * manual/fdl-1.1.texi: File removed.
67248         [BZ #13738]
67249         * manual/libc.texinfo (FDL_VERSION): New @set.
67250         Use it for mention of FDL in cover text.
67251         (Documentation License): Use it in @include file name.
67253 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67254             Roland McGrath  <roland@hack.frob.com>
67256         [BZ #5461]
67257         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67258         (not LONG_LONG_MAX and LONG_LONG_MIN.
67259         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67260         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67261         name.
67262         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67264 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67266         [BZ #2547]
67267         [BZ #11365]
67268         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67269         manipulate bits before adding and subtracting TWO23[sx].
67270         * math/libm-test.inc (nearbyint_test): Add more tests.
67272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67274         [BZ #2548]
67275         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67276         bits before adding and subtracting TWO23[sx].
67277         * math/libm-test.inc (rint_test): Add more tests.
67278         (rint_test_tonearest): Likewise.
67279         (rint_test_towardzero): Likewise.
67280         (rint_test_downward): Likewise.
67281         (rint_test_upward: Likewise.
67283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67285         [BZ #10110]
67286         * include/stdc-predef.h: New file.  Extracted from features.h.
67287         * include/features.h: Include stdc-predef.h.
67288         * Makefile (headers): Add stdc-predef.h.
67289         * CONFORMANCE (Compiler limitations): Update.
67291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67293         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67295 2012-02-21  David S. Miller  <davem@davemloft.net>
67297         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67298         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67300 2012-02-20  David S. Miller  <davem@davemloft.net>
67302         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67303         using a normal save/restore sequence, rather than allocating a
67304         dummy stack frame just to store a frame pointer and restore.
67305         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67309         * manual/install.texi: Fix stray word in line-wrapped comment.
67311 2012-02-20  David S. Miller  <davem@davemloft.net>
67313         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67314         both binutils and gcc support GOTDATA.
67316         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67317         "rd %pc" in the PIC register setup sequences.
67319         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67320         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67321         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67322         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67323         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67327         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67328         (SYSCALL_ERROR_HANDLER): Likewise.
67329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67330         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67332         (SYSCALL_ERROR_HANDLER): Likewise.
67334         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67335         (HAVE_GCC_GOTDATA): New.
67336         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67337         relocation support in both binutils and gcc.
67338         * sysdeps/sparc/elf/configure: Regenerate.
67340         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67341         * sysdeps/sparc/sparc32/elf/configure: Delete.
67342         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67343         * sysdeps/sparc/sparc64/elf/configure: Delete.
67344         * sysdeps/sparc/elf/configure.in: New file.
67345         * sysdeps/sparc/elf/configure: Generate.
67347         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67348         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67349         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67350         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67351         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67353 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67355         * manual/install.texi: Do not mention specific glibc version
67356         numbers.
67357         * manual/libc.texinfo (VERSION, UPDATED): Update.
67358         (@copying): Use @copyright{} and range of years.
67360 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67362         [BZ #13695]
67363         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67364         [crti.S not in sysdirs] (generated): Do not append.
67365         [crti.S not in sysdirs] (omit-deps): Likewise.
67366         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67367         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67368         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67369         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67370         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67371         Likewise.
67372         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67373         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67374         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67375         * csu/defs.awk: Remove file.
67376         * sysdeps/generic/initfini.c: Likewise.
67377         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67378         variable.
67379         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67380         Likewise.
67382 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67384         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67385         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67386         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67388         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67389         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67390         <bits/epoll.h>.
67391         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67392         (__EPOLL_PACKED): Define to empty if not defined by
67393         <bits/epoll.h>.
67394         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67396         bits/epoll.h.
67398 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67400         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67401         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67402         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67403         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67404         <bits/timerfd.h>.
67405         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67407         bits/timerfd.h.
67409 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67411         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67412         in C locale.
67413         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67414         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67418 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67420         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67421         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67423 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67425         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67426         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67427         defined.
67428         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67429         Likewise.
67430         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67431         entry for 2.16.
67433 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67435         * math/w_acos.c: Use non-signaling floating-point comparisons.
67436         * math/w_acosf.c: Likewise.
67437         * math/w_acosh.c: Likewise.
67438         * math/w_acoshf.c: Likewise.
67439         * math/w_acoshl.c: Likewise.
67440         * math/w_acosl.c: Likewise.
67441         * math/w_asin.c: Likewise.
67442         * math/w_asinf.c: Likewise.
67443         * math/w_asinl.c: Likewise.
67444         * math/w_atanh.c: Likewise.
67445         * math/w_atanhf.c: Likewise.
67446         * math/w_atanhl.c: Likewise.
67447         * math/w_exp2.c: Likewise.
67448         * math/w_exp2f.c: Likewise.
67449         * math/w_exp2l.c: Likewise.
67450         * math/w_j0.c: Likewise.
67451         * math/w_j0f.c: Likewise.
67452         * math/w_j0l.c: Likewise.
67453         * math/w_j1.c: Likewise.
67454         * math/w_j1f.c: Likewise.
67455         * math/w_j1l.c: Likewise.
67456         * math/w_jn.c: Likewise.
67457         * math/w_jnf.c: Likewise.
67458         * math/w_log.c: Likewise.
67459         * math/w_log10.c: Likewise.
67460         * math/w_log10f.c: Likewise.
67461         * math/w_log10l.c: Likewise.
67462         * math/w_log2.c: Likewise.
67463         * math/w_log2f.c: Likewise.
67464         * math/w_log2l.c: Likewise.
67465         * math/w_logf.c: Likewise.
67466         * math/w_logl.c: Likewise.
67467         * math/w_sqrt.c: Likewise.
67468         * math/w_sqrtf.c: Likewise.
67469         * math/w_sqrtl.c: Likewise.
67470         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67471         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67472         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67476 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67478         [BZ #9739]
67479         * manual/string.texi (strnlen): Use correct parameter name in
67480         equivalent expression.
67482 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67484         [BZ #11174]
67485         * manual/users.texi (seteuid): Consistently use neweuid for
67486         argument name.
67488 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67490         [BZ #13704]
67491         * manual/nss.texi (Services in the NSS configuration): Correct
67492         list of services in example configuration file.
67494 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67496         [BZ #11322]
67497         * manual/arith.texi: Remove statements about negative zero
67498         behaving identically to zero.
67500 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67502         [BZ #5993]
67503         * manual/install.texi: Do not document upgrading from libc5.
67505 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67507         [BZ #4596]
67508         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67510 2012-02-18  David S. Miller  <davem@davemloft.net>
67512         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67513         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67514         %o7 across the call.
67515         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67516         instead.
67517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67518         SETUP_PIC_REG_LEAF.
67519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67520         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67521         * sysdeps/sparc/crtn.S: Likewise.
67523 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67525         * aout/Makefile: Remove.
67527 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67529         [BZ #13058]
67530         * manual/examples/argp-ex1.c (main): Format definition in GNU
67531         style.
67532         * manual/examples/argp-ex2.c (main): Likewise.
67533         * manual/examples/argp-ex3.c (main): Likewise.
67534         * manual/examples/argp-ex4.c (main): Likewise.
67535         * manual/examples/longopt.c (main): Use new-style prototype
67536         definition.
67537         * manual/examples/strncat.c (main): Specify return type and use
67538         (void) for arguments.
67539         * manual/examples/subopt.c (main): Use char **argv argument.
67541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67543         [BZ #5077]
67544         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67545         rounding modes.
67547 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67549         [BZ #6907]
67550         * manual/string.texi (strchr): Change when strchrnul is
67551         recommended.
67553 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67555         [BZ #174]
67556         * manual/locale.texi (setlocale): Document LOCPATH.
67558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67560         [BZ #10210]
67561         * manual/process.texi (execle): Move @dots{} before last argument.
67563 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67565         [BZ #12047]
67566         * manual/charset.texi (Generic Charset Conversion): Fix typo
67567         (LC_TYPE -> LC_CTYPE).
67569 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67571         [BZ #5805]
67572         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67573         (scalbnf): Likewise.
67574         (scalbnl): Likewise.
67575         (scalbln): Likewise.
67576         (scalblnf): Likewise.
67577         (scalblnl): Likewise.
67578         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67579         (vwarnx): Likewise.
67580         (verr): Likewise.
67581         (verrx): Likewise.
67582         * manual/filesys.texi (telldir): Use braces around return type.
67583         * manual/llio.texi (mmap): Add space after comma.
67584         (mmap64): Likewise.
67585         * manual/math.texi (jn): Use @var{} on parameter names.
67586         (jnf): Likewise.
67587         (jnl): Likewise.
67588         (yn): Likewise.
67589         (ynf): Likewise.
67590         (ynl): Likewise.
67591         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67592         line.
67593         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67594         "...".
67595         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67596         (sched_get_priority_max): Likewise.
67597         * manual/signal.texi (sigvec): Add space after comma.
67598         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67599         names.
67600         (if_indextoname): Likewise.
67601         (if_freenameindex): Likewise.
67602         (sendto): Use ',' instead of '.' in prototype.
67603         * manual/startup.texi (syscall): Use @dots{} instead of literal
67604         "...".
67605         * manual/stdio.texi (__fpending): Separate initial words of
67606         paragraph from @deftypefun line.
67607         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67608         "...".
67609         (vsyslog): Use @var{} on parameter names.
67610         * manual/terminal.texi (stty): Use @var{} on parameter names.
67611         * manual/users.texi (getutmp): Use @var{} on parameter names.
67612         (getutmpx): Likewise.
67614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67616         [BZ #6884]
67617         * manual/stdio.texi (fopen): Fix typos in description of
67618         ",ccs=STRING".
67620 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67622         [BZ #4026]
67623         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67624         get clock_id definition.
67626 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67628         [BZ #4822]
67629         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67630         (madvise): Cast every argument to void on its own.
67632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67634         [BZ #9902]
67635         * manual/startup.texi (Exit Status): Fix typo.
67637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67639         [BZ #10140]
67640         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67641         * manual/examples/argp-ex2.c: Likewise.
67642         * manual/examples/argp-ex3.c: Likewise.
67644 2012-02-16  Richard Henderson  <rth@redhat.com>
67646         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67647         * sysdeps/s390/s390-32/initfini.c: Remove.
67648         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67649         * sysdeps/s390/s390-64/initfini.c: Remove.
67651 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67653         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67654         compiler output for sysdeps/generic/initfini.c.
67655         * sysdeps/sh/elf/initfini.c: Remove file.
67657 2012-02-16  David S. Miller  <davem@davemloft.net>
67659         [BZ #11494]
67660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67662         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67663         * sysdeps/sparc/crti.S: New file.
67664         * sysdeps/sparc/crtn.S: New file.
67665         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67666         * sysdeps/sparc/sparc64/Makefile: Likewise.
67668 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67670         [BZ #3335]
67671         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67673 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67675         [BZ #4822]
67676         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67678         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67679         (write, read, close): Likewise.
67680         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67682 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67684         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67685         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67686         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67687         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67688         <bits/signalfd.h>.
67689         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67691         bits/signalfd.h.
67693 2012-02-14  Marek Polacek  <polacek@redhat.com>
67695         * sysdeps/x86_64/crti.S: New file.
67696         * sysdeps/x86_64/crtn.S: New file.
67697         * sysdeps/x86_64/elf/initfini.c: Remove file.
67699 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67701         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67702         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67703         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67704         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67705         <bits/inotify.h>.
67706         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67708         bits/inotify.h.
67710 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67712         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67713         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67714         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67715         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67716         <bits/eventfd.h>.
67717         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67719         bits/eventfd.h.
67721 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67723         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67724         __feraiseexcept instead of feraiseexcept.
67726         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67727         nanosleep invocations.
67728         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67729         strings, and add error checking for a nanosleep invocations.
67731 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67733         Replace FSF snail mail address with URLs, as per GNU coding standards.
67734         Most of the snail mail addresses were wrong anyway, and omitting
67735         them makes the source code easier to maintain.  Almost all of the
67736         changes are to license notices and to locale LC_IDENTIFICATION
67737         addresses, except for this one:
67738         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67739         not its snail mail address.
67741 2012-02-09  Richard Henderson  <rth@twiddle.net>
67743         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67744         of kernel-features.h.
67746         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67748 2012-02-08  Marek Polacek  <polacek@redhat.com>
67750         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67751         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67752         * sysdeps/gnu/_G_config.h: Likewise.
67753         * sysdeps/generic/_G_config.h: Likewise.
67755 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67757         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67758         tests.
67759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67761         * sysdeps/powerpc/powerpc32/crti.S: New file.
67762         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67763         * sysdeps/powerpc/powerpc64/crti.S: New file.
67764         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67766         * Makeconfig (have-initfini): Don't set.
67767         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67768         * configure.in (nopic_initfini): Don't substitute.
67769         * config.h.in (HAVE_INITFINI): Don't #undef.
67770         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67771         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67773 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67775         Support crti.S and crtn.S provided directly by architectures.
67776         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67777         [crti.S in sysdirs] (omit-deps): Likewise.
67778         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67779         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67780         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67781         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67782         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67783         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67784         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67785         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67786         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67787         compiler output for sysdeps/generic/initfini.c.
67788         * sysdeps/i386/elf/Makefile: Remove file.
67789         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67791 2012-02-07  Marek Polacek  <polacek@redhat.com>
67793         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67794         * sysdeps/gnu/_G_config.h: Likewise.
67795         * sysdeps/mach/hurd/_G_config.h: Likewise.
67797 2012-02-07  Marek Polacek  <polacek@redhat.com>
67799         * math/Makefile (tests): Add tst-CMPLX2.
67800         * math/tst-CMPLX2.c: New file.
67802 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67804         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67806         * math/libm-test.inc (jn_test): Add missing L suffix.
67808 2012-02-06  Marek Polacek  <polacek@redhat.com>
67810         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67811         * sysdeps/i386/fpu/e_powf.S: Likewise.
67812         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67813         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67814         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67815         * sysdeps/i386/fpu/e_pow.S: Likewise.
67816         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67817         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67818         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67819         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67820         * sysdeps/i386/fpu/e_log2.S: Likewise.
67821         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67823         * sysdeps/i386/fpu/e_powl.S: Likewise.
67824         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67825         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67826         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67827         * sysdeps/i386/fpu/e_logl.S: Likewise.
67828         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67829         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67830         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67831         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67832         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67833         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67834         * sysdeps/i386/fpu/e_log.S: Likewise.
67835         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67837         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67838         * sysdeps/i386/fpu/e_logf.S: Likewise.
67839         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67840         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67841         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67842         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67843         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67844         * sysdeps/i386/fpu/e_log10.S: Likewise.
67845         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67847         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67848         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67849         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67850         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67851         * sysdeps/i386/asm-syntax.h: Likewise.
67852         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67853         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67854         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67855         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67856         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67861         * sysdeps/powerpc/sysdep.h: Likewise.
67862         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67863         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67865 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67867         [BZ #411]
67868         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67870 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67872         * sysdeps/i386/sysdep.h: Include <features.h>.
67873         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67874         version.
67876 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67878         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67879         Define.
67880         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67881         LOAD_PIC_REG_STR.
67883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67885         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67886         (SETUP_PIC_REG): Use GET_PC_THUNK.
67887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67888         macro.
67890 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67892         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67893         for non-PIC compilation.
67894         (SETUP_PIC_REG): Add .p2align directive.
67895         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67896         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67897         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67898         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67899         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67900         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67901         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67902         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67910         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67911         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67912         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67913         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67914         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67917         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67923         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67924         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67925         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67927         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67928         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67929         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67930         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67931         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67932         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67933         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67934         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67935         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67939         * math/tst-CMPLX.c: Include <stdio.h>.
67941 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67943         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67944         float.
67945         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67946         * sysdeps/sparc/bits/mathdef.h: Likewise.
67948 2012-01-31  Marek Polacek  <polacek@redhat.com>
67950         * libio/libio.h: Don't define _PARAMS.
67951         * locale/programs/config.h: Don't define PARAMS.
67952         * stdlib/strtol_l.c: Likewise.
67953         (__strtol_l): Remove PARAMS from the prototype.
67955 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67957         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67958         names.  Just use the correct names.  Remove unnecessary wrapper
67959         functions.
67960         * malloc/arena.c: Likewise.
67961         * malloc/hooks.c: Likewise.
67963         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67964         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67965         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67967 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67969         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67970         into tail calls.
67971         (update_get_addr): New function.
67972         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67973         GET_ADDR_MODULE parameter.
67975 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67977         * crypt/cert.c: Remove __STDC__ conditionals.
67978         * crypt/crypt-entry.c: Likewise.
67979         * crypt/crypt_util.c: Likewise.
67980         * libio/filedoalloc.c: Likewise.
67981         * libio/fileops.c: Likewise.
67982         * libio/genops.c: Likewise.
67983         * libio/iofclose.c: Likewise.
67984         * libio/iofdopen.c: Likewise.
67985         * libio/iofopen.c: Likewise.
67986         * libio/iofopen64.c: Likewise.
67987         * libio/iogetdelim.c: Likewise.
67988         * libio/iopopen.c: Likewise.
67989         * libio/obprintf.c: Likewise.
67990         * libio/oldfileops.c: Likewise.
67991         * libio/oldiofclose.c: Likewise.
67992         * libio/oldiofdopen.c: Likewise.
67993         * libio/oldiofopen.c: Likewise.
67994         * libio/oldiopopen.c: Likewise.
67995         * libio/wfiledoalloc.c: Likewise.
67996         * libio/wgenops.c: Likewise.
67997         * locale/programs/xmalloc.c: Likewise.
67998         * misc/syslog.c: Likewise.
67999         * stdio-common/xbug.c: Likewise.
68000         * string/memchr.c: Likewise.
68001         * string/memcmp.c: Likewise.
68002         * string/memrchr.c: Likewise.
68003         * string/rawmemchr.c: Likewise.
68004         * sysdeps/posix/getcwd.c: Likewise.
68005         * time/strftime_l.c: Likewise.
68007 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68009         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68010         * config.make.in (config-cflags-sse2avx): Define.
68011         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68012         Fix typo.
68014 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68016         * scripts/config.guess: Update from upstream config git repository.
68017         * scripts/config.sub: Likewise.
68019 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68021         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68022         (EM_NUM): Update.
68023         (R_TILEPRO_*, R_TILEGX_*): New macros.
68025         * scripts/firstversions.awk: Fix bug in version range handling.
68027         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68029         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68031         * include/sys/epoll.h: New file.
68032         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68033         libc_hidden_def.
68035 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68037         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68038         Avoid unnecessary __WORDSIZE == 64 test.
68039         (fmaxf): Use VEX format if possible.
68040         (fmax): Likewise.
68041         (fminf): Likewise.
68042         (fmin): Likewise.
68044         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68045         * math/math_private.h: Remove libc_fegetround* and
68046         libc_fesetround*.
68047         * sysdeps/i386/configure.in: Check for -msse2avx.
68048         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68049         also if SSE2AVX is defined.
68050         Remove libc_fegetround* and libc_fesetround*.
68051         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68052         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68054         of HAS_YMM_USABLE.
68055         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68056         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68057         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68058         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68059         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68061         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68063 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68066         size is not set.
68067         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68069 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68071         [BZ #13618]
68072         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68073         relocation.
68074         * Makeconfig (libm): Define.
68075         * elf/Makefile: Add rules to build and run tst-relsort1.
68076         * elf/tst-relsort1.c: New file.
68077         * elf/tst-relsort1mod1.c: New file.
68078         * elf/tst-relsort1mod2.c: New file.
68080 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68082         * math/s_ldexp.c: Remove __STDC__ conditionals.
68083         * math/s_ldexpf.c: Likewise.
68084         * math/s_ldexpl.c: Likewise.
68085         * math/s_nextafter.c: Likewise.
68086         * math/s_nexttowardf.c: Likewise.
68087         * math/s_significand.c: Likewise.
68088         * math/s_significandf.c: Likewise.
68089         * math/s_significandl.c: Likewise.
68090         * math/w_jnl.c: Likewise.
68091         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68092         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68093         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68094         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68095         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68096         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68097         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68100         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68101         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68102         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68103         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68104         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68105         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68106         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68107         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68108         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68110         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68111         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68112         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68113         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68115         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68116         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68117         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68118         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68119         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68120         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68121         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68122         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68123         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68124         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68125         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68126         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68127         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68128         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68129         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68130         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68131         * sysdeps/ieee754/k_standard.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68154         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68161         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68164         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68168         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68174         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68175         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68177         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68181         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68182         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68186         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68187         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68188         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68189         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68190         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68191         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68192         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68193         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68194         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68196         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68197         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68198         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68200         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68201         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68202         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68207         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68208         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68209         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68210         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68211         * sysdeps/ieee754/s_matherr.c: Likewise.
68212         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68213         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68215         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68217 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68219         * crypt/md5.h: Remove __STDC__ conditionals.
68220         * libio/libioP.h: Likewise.
68221         * locale/programs/config.h: Likewise.
68222         * sysdeps/generic/sysdep.h: Likewise.
68223         * sysdeps/i386/asm-syntax.h: Likewise.
68224         * sysdeps/s390/asm-syntax.h: Likewise.
68225         * sysdeps/unix/sysdep.h: Likewise.
68226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68229 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68231         * libio/libio.h: Remove __STDC__ conditionals.
68232         * malloc/obstack.h: Likewise.
68233         * math/complex.h: Likewise.
68234         * math/math.h: Likewise.
68235         * sysdeps/generic/_G_config.h: Likewise.
68236         * sysdeps/gnu/_G_config.h: Likewise.
68237         * sysdeps/mach/hurd/_G_config.h: Likewise.
68238         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68239         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68240         * sysdeps/sparc/bits/mathdef.h: Likewise.
68242 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68244         [BZ #13583]
68245         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68246         Clean up HAS_* macros.
68247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68248         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68249         possible.
68250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68251         HAS_AVX.
68252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68253         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68255         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68256         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68258 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68260         * elf/tst-unique3.cc (gets): Remove declaration.
68261         * elf/tst-unique3lib.cc (gets): Likewise.
68262         * elf/tst-unique3lib2.cc (gets): Likewise.
68263         * elf/tst-unique4.cc (gets): Likewise.
68265 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68267         * include/stdio.h: Add C++ protection.  Add gets declarations and
68268         definitions.
68269         * debug/tst-chk1.c: Don't declare gets here.
68270         * stdio-common/tst-gets.c: Likewise.
68272 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68274         * posix/glob: Remove directory.
68276 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68278         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68280 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68282         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68283         of the non-standard EPFNOSUPPORT.
68285 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68287         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68288         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68289         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68291 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68293         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68295 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68297         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68298         transient errors.
68299         * nscd/grpcache.c (cache_addgr): Likewise.
68300         * nscd/hstcache.c (cache_addhst): Likewise.
68301         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68302         * nscd/pwdcache.c (cache_addpw): Likewise.
68303         * nscd/servicescache.c (cache_addserv): Likewise.
68305 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68307         * malloc/malloc.c: Various cleanups.
68308         * malloc/hooks.c: Likewise.
68310         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68311         * stdlib/bug-fmtmsg1.c: New file.
68313         * stdlib/fmtmsg.c (init): Add missing unlock.
68314         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68316 2012-01-12  Marek Polacek  <polacek@redhat.com>
68318         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68319         and _GNU_SOURCE.
68321 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68323         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68324         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68325         macro to ensure uniqueness of label name.
68326         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68327         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68329 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68331         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68334         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68336         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68338 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68340         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68342         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68343         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68344         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68346         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68348         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68349         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68350         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68351         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68353         * math/bits/math-finite.h: Add ldexp support.
68355 2012-01-10  Marek Polacek  <polacek@redhat.com>
68357         * locale/programs/localedef.h (show_archive_content): Add noreturn
68358         attribute.
68360 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68362         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68364 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68366         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68368         * io/Makefile (headers): Add bits/poll2.h.
68370 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68373         typo #include statement.
68375 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68377         * include/sys/cdefs.h: Define __attribute_alloc_size.
68378         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68379         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68380         * elf/pldd.c: Likewise.
68381         * iconv/iconv_charmap.c: Likewise.
68382         * iconv/iconvconfig.c: Likewise.
68383         * iconv/strtab.c: Likewise.
68384         * locale/programs/locale.c: Likewise.
68385         * locale/programs/localedef.h: Likewise.
68386         * locale/programs/simple-hash.c: Likewise.
68387         * nscd/nscd.h: Likewise.
68388         * nss/makedb.c: Likewise.
68389         * sysdeps/generic/ldconfig.h: Likewise.
68390         * locale/programs/localedef.c: Remove xmalloc prototype.
68391         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68393 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68396         appropriate.
68398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68400         * math/Makefile (tests): Add tst-CMPLX.
68401         * math/tst-CMPLX.c: New file.
68403         * math/complex.h (CMPLXL): Fix typo.
68405         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68406         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68407         GLIBC_2.16.
68408         * debug/tst-chk1.c: Add poll and ppoll tests.
68409         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68410         * include/sys/poll.h: Add hidden proto for ppoll.
68411         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68412         * sysdeps/mach/hurd/ppoll.c: Likewise.
68413         * io/ppoll.c: Likewise.
68414         * debug/poll_chk.c: New file.
68415         * debug/ppoll_chk.c: New file.
68416         * include/bits/poll2.h: New file.
68417         * io/bits/poll2.h: New file.
68419         [BZ #1350]
68420         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68422         * configure.in: static is always set to yes.  Remove.
68423         * config.make.in: Don't set build-static.
68424         * Makeconfig: Remove use of build-static.
68425         * dlfcn/Makefile: Likewise.
68426         * elf/Makefile: Likewise.
68427         * math/Makefile: Likewise.
68428         * misc/Makefile: Likewise.
68429         * nptl/Makefile: Likewise.
68430         * sysdeps/mach/hurd/Makefile: Likewise.
68432         * configure.in: PWD_P is not used anymore.
68433         * config.make.in: Remove PWD_P entry.
68435         * configure.in: Remove last remnants of RANLIB.
68436         No need to check for signed size_t anymore.
68437         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68438         and IA-64.
68439         Remove __builtin_expect test because we require at least gcc 3.4.
68440         * aclocal.m4: Likewise.
68442         * wcsmbs/mbrtoc16.c: Implement using towc function.
68443         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68444         * wcsmbs/wcsmbsload.c: Likewise.
68445         * iconv/gconv_simple.c: Likewise.
68446         * iconv/gconv_int.h: Likewise.
68447         * iconv/gconv_builtin.h: Likewise.
68448         * iconv/iconv_prog.c: Remove CHAR16 handling.
68450         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68452         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68454         * configure.in: Remove --with-elf and --enable-bounded options.
68455         Dont set base_machine for ia64.  More non-ELF conditions removed.
68456         Remove testing and setting of leading underscore information.
68457         * config.make.in (build-bounded): Set to no.
68458         * config.h.in: Remove NO_UNDERSCORES entry.
68459         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68460         them.
68461         * csu/start.c: Remove !NO_UNDERSCORE code.
68462         * locale/localeinfo.h: Likewise.
68463         * sysdeps/generic/machine-gmon.h: Likewise.
68464         * sysdeps/generic/sysdep.h: Likewise.
68465         * sysdeps/i386/sysdep.h: Likewise.
68466         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68467         * sysdeps/mach/sysdep.h: Likewise.
68468         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68469         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68470         * sysdeps/sh/sysdep.h: Likewise.
68471         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68472         * sysdeps/unix/i386/sysdep.S: Likewise.
68473         * sysdeps/unix/sparc/start.c: Likewise.
68474         * sysdeps/unix/sparc/sysdep.S: Likewise.
68475         * sysdeps/unix/sparc/sysdep.h: Likewise.
68476         * sysdeps/unix/start.c: Likewise.
68477         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68478         * sysdeps/x86_64/sysdep.h: Likewise.
68480 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68482         [BZ #13553]
68483         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68484         for non-gcc.
68485         * argp/argp-fmtstream.h: Use const instead __const.
68486         * argp/argp.h: Likewise.
68487         * assert/assert.h: Likewise.
68488         * bits/fenv.h: Likewise.
68489         * bits/sched.h: Likewise.
68490         * bits/sigset.h: Likewise.
68491         * bits/sigthread.h: Likewise.
68492         * catgets/nl_types.h: Likewise.
68493         * conform/data/pthread.h-data: Likewise.
68494         * crypt/crypt-private.h: Likewise.
68495         * crypt/crypt.h: Likewise.
68496         * crypt/crypt_util.c: Likewise.
68497         * ctype/ctype.h: Likewise.
68498         * debug/execinfo.h: Likewise.
68499         * debug/mbsnrtowcs_chk.c: Likewise.
68500         * debug/mbsrtowcs_chk.c: Likewise.
68501         * debug/wcsnrtombs_chk.c: Likewise.
68502         * debug/wcsrtombs_chk.c: Likewise.
68503         * debug/wcstombs_chk.c: Likewise.
68504         * dirent/dirent.h: Likewise.
68505         * dlfcn/dlfcn.h: Likewise.
68506         * elf/neededtest4.c: Likewise.
68507         * grp/grp.h: Likewise.
68508         * gshadow/gshadow.h: Likewise.
68509         * iconv/gconv.h: Likewise.
68510         * iconv/gconv_int.h: Likewise.
68511         * iconv/gconv_simple.c: Likewise.
68512         * iconv/iconv.h: Likewise.
68513         * iconv/loop.c: Likewise.
68514         * iconv/skeleton.c: Likewise.
68515         * include/aio.h: Likewise.
68516         * include/aliases.h: Likewise.
68517         * include/argz.h: Likewise.
68518         * include/arpa/inet.h: Likewise.
68519         * include/assert.h: Likewise.
68520         * include/dirent.h: Likewise.
68521         * include/dlfcn.h: Likewise.
68522         * include/execinfo.h: Likewise.
68523         * include/fcntl.h: Likewise.
68524         * include/fenv.h: Likewise.
68525         * include/glob.h: Likewise.
68526         * include/grp.h: Likewise.
68527         * include/libintl.h: Likewise.
68528         * include/mntent.h: Likewise.
68529         * include/netdb.h: Likewise.
68530         * include/pwd.h: Likewise.
68531         * include/rpc/netdb.h: Likewise.
68532         * include/sched.h: Likewise.
68533         * include/search.h: Likewise.
68534         * include/shadow.h: Likewise.
68535         * include/signal.h: Likewise.
68536         * include/stdio.h: Likewise.
68537         * include/stdlib.h: Likewise.
68538         * include/string.h: Likewise.
68539         * include/sys/socket.h: Likewise.
68540         * include/sys/stat.h: Likewise.
68541         * include/sys/statfs.h: Likewise.
68542         * include/sys/statvfs.h: Likewise.
68543         * include/sys/syslog.h: Likewise.
68544         * include/sys/time.h: Likewise.
68545         * include/sys/uio.h: Likewise.
68546         * include/time.h: Likewise.
68547         * include/unistd.h: Likewise.
68548         * include/utmp.h: Likewise.
68549         * include/wchar.h: Likewise.
68550         * include/wctype.h: Likewise.
68551         * inet/aliases.h: Likewise.
68552         * inet/arpa/inet.h: Likewise.
68553         * inet/netinet/ether.h: Likewise.
68554         * inet/netinet/in.h: Likewise.
68555         * intl/libintl.h: Likewise.
68556         * io/bits/fcntl2.h: Likewise.
68557         * io/fcntl.h: Likewise.
68558         * io/ftw.h: Likewise.
68559         * io/sys/poll.h: Likewise.
68560         * io/sys/stat.h: Likewise.
68561         * io/sys/statfs.h: Likewise.
68562         * io/sys/statvfs.h: Likewise.
68563         * io/utime.h: Likewise.
68564         * libio/bits/stdio.h: Likewise.
68565         * libio/bits/stdio2.h: Likewise.
68566         * libio/libio.h: Likewise.
68567         * libio/libioP.h: Likewise.
68568         * libio/stdio.h: Likewise.
68569         * locale/lc-ctype.c: Likewise.
68570         * locale/locale.h: Likewise.
68571         * login/utmp.h: Likewise.
68572         * malloc/arena.c: Likewise.
68573         * malloc/malloc.c: Likewise.
68574         * malloc/malloc.h: Likewise.
68575         * malloc/mcheck.c: Likewise.
68576         * malloc/mtrace.c: Likewise.
68577         * math/bits/mathcalls.h: Likewise.
68578         * math/fenv.h: Likewise.
68579         * math/math_private.h: Likewise.
68580         * misc/bits/error.h: Likewise.
68581         * misc/bits/syslog.h: Likewise.
68582         * misc/err.h: Likewise.
68583         * misc/error.h: Likewise.
68584         * misc/fstab.h: Likewise.
68585         * misc/mntent.h: Likewise.
68586         * misc/regexp.h: Likewise.
68587         * misc/search.h: Likewise.
68588         * misc/sgtty.h: Likewise.
68589         * misc/sys/mman.h: Likewise.
68590         * misc/sys/syslog.h: Likewise.
68591         * misc/sys/uio.h: Likewise.
68592         * misc/sys/xattr.h: Likewise.
68593         * misc/ttyent.h: Likewise.
68594         * nis/rpcsvc/ypclnt.h: Likewise.
68595         * nss/nss.h: Likewise.
68596         * posix/bits/unistd.h: Likewise.
68597         * posix/fnmatch.h: Likewise.
68598         * posix/glob.h: Likewise.
68599         * posix/sched.h: Likewise.
68600         * posix/spawn.h: Likewise.
68601         * posix/sys/wait.h: Likewise.
68602         * posix/unistd.h: Likewise.
68603         * posix/wordexp.h: Likewise.
68604         * pwd/pwd.h: Likewise.
68605         * resolv/netdb.h: Likewise.
68606         * resource/sys/resource.h: Likewise.
68607         * rt/aio.h: Likewise.
68608         * rt/bits/mqueue2.h: Likewise.
68609         * rt/mqueue.h: Likewise.
68610         * shadow/shadow.h: Likewise.
68611         * signal/signal.h: Likewise.
68612         * socket/send.c: Likewise.
68613         * socket/sendto.c: Likewise.
68614         * socket/sys/socket.h: Likewise.
68615         * stdio-common/printf.h: Likewise.
68616         * stdlib/bits/stdlib.h: Likewise.
68617         * stdlib/fmtmsg.h: Likewise.
68618         * stdlib/monetary.h: Likewise.
68619         * stdlib/stdlib.h: Likewise.
68620         * stdlib/ucontext.h: Likewise.
68621         * streams/stropts.h: Likewise.
68622         * string/argz.h: Likewise.
68623         * string/bits/string2.h: Likewise.
68624         * string/string.h: Likewise.
68625         * string/strings.h: Likewise.
68626         * sunrpc/rpc/auth.h: Likewise.
68627         * sunrpc/rpc/auth_des.h: Likewise.
68628         * sunrpc/rpc/clnt.h: Likewise.
68629         * sunrpc/rpc/netdb.h: Likewise.
68630         * sunrpc/rpc/pmap_clnt.h: Likewise.
68631         * sunrpc/rpc/xdr.h: Likewise.
68632         * sysdeps/generic/inttypes.h: Likewise.
68633         * sysdeps/generic/net/if.h: Likewise.
68634         * sysdeps/generic/sys/swap.h: Likewise.
68635         * sysdeps/gnu/net/if.h: Likewise.
68636         * sysdeps/gnu/utmpx.h: Likewise.
68637         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68638         * sysdeps/i386/i486/bits/string.h: Likewise.
68639         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68640         * sysdeps/s390/bits/string.h: Likewise.
68641         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68642         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68643         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68644         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68645         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68646         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68647         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68648         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68649         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68650         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68651         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68652         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68653         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68654         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68655         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68656         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68657         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68661         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68662         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68663         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68664         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68665         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68666         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68667         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68669         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68670         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68671         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68672         * sysvipc/sys/ipc.h: Likewise.
68673         * sysvipc/sys/msg.h: Likewise.
68674         * sysvipc/sys/sem.h: Likewise.
68675         * sysvipc/sys/shm.h: Likewise.
68676         * termios/termios.h: Likewise.
68677         * time/sys/time.h: Likewise.
68678         * time/time.h: Likewise.
68679         * wcsmbs/bits/wchar2.h: Likewise.
68680         * wcsmbs/uchar.h: Likewise.
68681         * wcsmbs/wchar.h: Likewise.
68682         * wctype/wctype.h: Likewise.
68684         [BZ #13551]
68685         * Makeconfig: Remove all but ELF support including AIX support.
68686         * Makerules: Likewise.
68687         * config.h.in: Likewise.
68688         * config.make.in: Likewise.
68689         * configure: Likewise.
68690         * configure.in: Likewise.
68691         * csu/Makefile: Likewise.
68692         * csu/version.c: Likewise.
68693         * debug/Makefile: Likewise.
68694         * dlfcn/Makefile: Likewise.
68695         * elf/Makefile: Likewise.
68696         * extra-lib.mk: Likewise.
68697         * iconv/Makefile: Likewise.
68698         * include/libc-symbols.h: Likewise.
68699         * include/shlib-compat.h: Likewise.
68700         * resolv/Makefile: Likewise.
68701         * resolv/res_libc.c: Likewise.
68702         * rt/Makefile: Likewise.
68703         * sysdeps/i386/asm-syntax.h: Likewise.
68704         * sysdeps/i386/sysdep.h: Likewise.
68705         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68706         * sysdeps/mach/sysdep.h: Likewise.
68707         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68708         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68709         * sysdeps/s390/asm-syntax.h: Likewise.
68710         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68711         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68712         * sysdeps/sh/sysdep.h: Likewise.
68713         * sysdeps/unix/sparc/sysdep.h: Likewise.
68714         * sysdeps/wordsize-32/divdi3.c: Likewise.
68715         * sysdeps/x86_64/sysdep.h: Likewise.
68717         * argp/Versions: Remove _argp_unlock_xxx.
68719         [BZ #13559]
68720         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68721         * abilist/libBrokenLocale.abilist: Likewise.
68722         * abilist/libanl.abilist: Likewise.
68723         * abilist/libc.abilist: Likewise.
68724         * abilist/libcrypt.abilist: Likewise.
68725         * abilist/libdl.abilist: Likewise.
68726         * abilist/libm.abilist: Likewise.
68727         * abilist/libnsl.abilist: Likewise.
68728         * abilist/libpthread.abilist: Likewise.
68729         * abilist/libresolv.abilist: Likewise.
68730         * abilist/librt.abilist: Likewise.
68731         * abilist/libthread_db.abilist: Likewise.
68732         * abilist/libutil.abilist: Likewise.
68733         * abilist/libnss_db.abilist: New file.
68735         * scripts/abilist.awk: Add support for indirect functions.
68737         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68739         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68741         * shlib-versions: Remove entries for ports architectures.
68743         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68744         files in ports.
68745         * elf/stackguard-macros.h: Remove support for IA-64.
68746         * elf/tst-auditmod1.c: Likewise.
68747         * sysdeps/generic/ldsodefs.h: Likewise.
68749         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68750         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68751         configure files.
68753         [BZ #13552]
68754         * configure.in: Remove --enable-omitfp support.
68755         * FAQ.in: Adjust.
68756         * config.make.in: Likewise.
68757         * Makeconfig: Likewise.
68758         * manual/install.texi: Likewise.
68760         In case anyone cares, the IA-64 architecture could move to ports.
68761         * sysdeps/ia64/*: Removed.
68762         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68763         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68765         [BZ #13555]
68766         * configure.in: Remove entries for unsupported architectures.
68768         [BZ #13533]
68769         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68770         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68771         routines.
68772         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68773         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68774         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68775         fall back to using wcrtomb.
68776         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68777         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68778         renaming.
68779         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68780         * wcsmbs/tst-c16c32-1.c: New file.
68782         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68783         local variable.
68785         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68787         * elf/tst-unique3.cc: Add explicit declaration of gets.
68788         * elf/tst-unique3lib.cc: Likewise.
68789         * elf/tst-unique3lib2.cc: Likewise.
68790         * elf/tst-unique4.cc: Likewise.
68792         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68794 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68796         [BZ #13566]
68797         * assert/assert.h (static_assert): Don't define for C++.
68798         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68799         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68801 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68803         * iconv/loop.c (single loop): Fix assertion in storing of
68804         remaining bytes.
68806         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68808 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68810         * posix/getconf.c: Update copyright year.
68811         * nss/getent.c: Likewise.
68812         * nss/makedb.c: Likewise.
68813         * iconv/iconvconfig.c: Likewise.
68814         * iconv/iconv_prog.c: Likewise.
68815         * elf/ldconfig.c: Likewise.
68816         * elf/pldd.c: Likewise.
68817         * elf/sotruss.ksh: Likewise.
68818         * catgets/gencat.c: Likewise.
68819         * csu/version.c: Likewise.
68820         * elf/ldd.bash.in: Likewise.
68821         * elf/sprof.c (print_version): Likewise.
68822         * locale/programs/locale.c: Likewise.
68823         * locale/programs/localedef.c: Likewise.
68824         * login/programs/pt_chown.c: Likewise.
68825         * nscd/nscd.c (print_version): Likewise.
68826         * debug/xtrace.sh: Likewise.
68827         * malloc/memusage.sh: Likewise.
68828         * malloc/mtrace.pl: Likewise.
68829         * debug/catchsegv.sh: Likewise.
68831 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68833         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68834         pure attribute.
68836 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68838         [BZ #13533]
68839         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68840         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68841         transformations.
68842         * iconv/gconv_int.h: Likewise.
68843         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68844         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68845         from libc for GLIBC_2.16.
68846         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68847         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68848         * wcsmbs/uchar.h: Really define mbstate_t.
68849         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68850         * wcsmbs/c16rtomb.c: New file.
68851         * wcsmbs/mbrtoc16.c: New file.
68852         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68853         for C/POSIX locale.
68854         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68855         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68857         * wcsmbs/wchar.h: Add missing __restrict.
68859 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68861         [BZ #13532]
68862         * time/Makefile (routines): Add timespec_get.
68863         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68864         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68865         timespec for ISO C11.
68866         * time/timespec_get.c: New file.
68867         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68868         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68870         [BZ #13531]
68871         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68872         * stdlib/stdlib.h: Declare aligned_alloc.
68873         * Versions.def: Add GLIBC_2.16 for libc.
68874         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68876         [BZ 13527]
68877         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68878         ISO C11.
68880         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68881         code.
68883         [BZ #13528]
68884         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68886         [BZ #13529]
68887         * assert/assert.h (static_assert): Define.
68889         * version.h: Update for 2.16 development version.
68891         [BZ #13526]
68892         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68893         _ISOC11_SOURCE.
68895         * version.h (RELEASE): Bump for 2.15 release.
68896         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68898         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68899         Patch by Marek Polacek <mpolacek@redhat.com>.
68901         * bits/byteswap.h: Protect long long constants with __extension__.
68902         * sysdeps/i386/bits/byteswap.h: Likewise.
68903         * sysdeps/ia64/bits/byteswap.h: Likewise.
68904         * sysdeps/s390/bits/byteswap.h: Likewise.
68905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68907 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68909         [BZ #13540]
68910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68911         destination buffer.
68912         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68914 2011-12-23  Marek Polacek  <polacek@redhat.com>
68916         * elf/dl-addr.c (determine_info): Add inline keyword.
68917         * elf/tst-auditmod4b.c (check_avx): Likewise.
68918         * elf/tst-auditmod6b.c (check_avx): Likewise.
68919         * elf/tst-auditmod6c.c (check_avx): Likewise.
68920         * elf/tst-auditmod7b.c (check_avx): Likewise.
68922 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68924         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68925         !__SSE_MATH__.
68927 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68929         [BZ #13540]
68930         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68931         processing for last bytes.
68933 2011-08-06  Bruno Haible  <bruno@clisp.org>
68935         [BZ #13061]
68936         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68937         U+0385, not to U+1FEE.
68939         [BZ #13062]
68940         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68941         entry for U+00A5 U+0301.
68943 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68945         [BZ #13166]
68946         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68947         buffer for the output is too small.
68949         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68950         optimization.
68952         [BZ #13185]
68953         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68954         SSE flags if possible.
68956 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68958         [BZ #13540]
68959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68960         processing for last bytes.
68962 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68964         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68965         (syscall-list-default-options, syscall-list-default-condition)
68966         (syscall-list-includes): Define.
68967         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68968         list of ABIs and options and #if conditions for each ABI.  Do not
68969         handle common syscalls between ABIs specially.
68970         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68971         Remove.
68972         (syscall-list-variants, syscall-list-32bit-options)
68973         (syscall-list-32bit-condition, syscall-list-64bit-options)
68974         (syscall-list-64bit-condition): Define.
68975         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68976         (syscall-list-variants, syscall-list-32bit-options)
68977         (syscall-list-32bit-condition, syscall-list-64bit-options)
68978         (syscall-list-64bit-condition): Define.
68979         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68980         Remove.
68981         (syscall-list-variants, syscall-list-32bit-options)
68982         (syscall-list-32bit-condition, syscall-list-64bit-options)
68983         (syscall-list-64bit-condition): Define.
68984         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68985         Remove.
68986         (syscall-list-variants, syscall-list-32bit-options)
68987         (syscall-list-32bit-condition, syscall-list-64bit-options)
68988         (syscall-list-64bit-condition): Define.
68990 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68992         * locale/iso-639.def: Add brx entry.
68994         [BZ #13328]
68995         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68996         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68998         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68999         __feraiseexcept_renamed.
69001 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69003         [BZ #13538]
69004         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69005         EPOLLET with unsigned values.
69006         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69007         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69009         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69010         to large cancellation.
69011         * math/s_cacoshf.c: Likewise.
69012         * math/s_cacoshl.c: Likewise.
69014 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69016         [BZ #13305]
69017         [BZ #12786]
69018         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69019         * math/s_cacoshf.c: Likewise.
69020         * math/s_cacoshl.c: Likewise.
69022 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69024         [BZ #13439]
69025         * iconv/gconv.h: Define __GCONV_SWAP.
69026         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69027         * iconvdata/utf-16.c: Likewise.
69028         * iconvdata/utf-32.c: Likewise.
69030 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69032         [BZ #13524]
69033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69034         numerator after shifting it by one limb.
69036 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69038         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69039         under [__USE_EXTERN_INLINES].
69041 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69043         [BZ #13446]
69044         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69046 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69048         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69049         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69050         optimized code.
69051         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69053         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69054         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69055         for strncasecmp/strncasecmp_l compilation.
69056         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69057         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69059 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69061         [BZ #13484]
69062         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69063         of __asm__.
69065 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69067         [BZ #13506]
69068         * time/tzfile.c (__tzfile_read): Check values from file header.
69070 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69072         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69073         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69074         * powerpc/powerpc32/dl-start.S: Likewise.
69075         * powerpc/powerpc32/elf/start.S: Likewise.
69076         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69077         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69078         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69079         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69080         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69081         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69082         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69083         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69084         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69085         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69086         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69087         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69088         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69089         * powerpc/powerpc32/memset.S: Likewise.
69090         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69091         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69092         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69093         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69094         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69095         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69096         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69097         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69098         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69099         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69100         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69101         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69102         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69104 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69106         * math/libm-test.inc: Added more nearbyint tests.
69107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69109         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69112 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69114         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69115         FD_CLOEXEC.
69117 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69119         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69120         Add wcscpy-ssse3 wcscpy-c.
69121         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69122         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69123         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69124         * sysdeps/x86_64/wcschr.S: New file.
69125         * sysdeps/x86_64/wcsrchr.S: New file.
69126         * string/test-strcmp.c: Remove checking of wcscmp function for
69127         wrong alignments.
69128         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69129         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69130         wcsrchr-sse2 wcsrchr-c.
69131         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69132         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69133         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69134         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69135         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69136         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69137         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69138         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69139         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69140         * wcsmbc/wcschr.c (WCSCHR): New macro.
69142 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69144         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69145         * wcsmbs/test-wcsrchr.c: New file.
69146         * string/test-strrchr.c: Add wcsrchr support.
69147         (WIDE): New macro.
69148         * wcsmbs/test-wcscpy.c: New file.
69149         * string/test-strcpy.c: Add wcscpy support.
69150         (WIDE): New macro.
69152 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69154         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69155         the inner loop.
69157 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69159         [BZ #13472]
69160         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69162 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69164         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69165         Minor optimizations.
69167         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69168         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69169         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69171 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69173         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69174         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69175         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69176         for gcc to avoid warnings.
69177         * inet/Makefile (tests): Add tst-checks.
69178         * inet/tst-checks.c: New file.
69180         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69181         warning.
69183         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69184         __wmemcmp_sse2.
69186         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69187         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69189         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69191 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69193         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69194         problem.
69196         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69198 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69201         conditional on GCC version.
69202         (__arch_compare_and_exchange_val_8_acq)
69203         (__arch_compare_and_exchange_val_16_acq)
69204         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69205         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69206         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69208 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69210         * sysdeps/sh/backtrace.c: New file.
69212 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69214         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69215         parenthesis.
69217 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69219         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69220         falling back to utime.
69222 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69224         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69225         expectations for float.
69227 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69229         * locale/weight.h (findidx): Add parameter len.
69230         * locale/weightwc.h (findidx): Likewise.
69231         * posix/fnmatch_loop.c (FCT): Adjust caller.
69232         * posix/regcomp.c (build_equiv_class): Likewise.
69233         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69234         * posix/regexec.c (check_node_accept_bytes): Likewise.
69235         * string/strcoll_l.c (STRCOLL): Likewise.
69236         * string/strxfrm_l.c (STRXFRM): Likewise.
69238 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69240         * Makefile.in: Remove CVSOPT handling.
69241         * configure.in: Remove use of AC_REVISION.
69242         * iconvdata/Makefile (distribute): No need to filter out CVS.
69243         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69244         handling.
69246 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69249         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69250         [USE_AS_STRNCASECMP_L]: Likewise.
69251         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69252         NO_TLS_DIRECT_SEG_REFS.
69253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69254         Fix argument offsets for non-PIC.
69255         [USE_AS_STRNCASECMP_L]: Likewise.
69256         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69257         NO_TLS_DIRECT_SEG_REFS.
69259 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69261         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69262         O_CLOEXEC.
69263         * locale/loadlocale.c (_nl_load_locale): Likewise.
69265 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69267         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69268         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69270         (SYSCALL_GETTIME): Set errno on error.
69272         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69273         count references to noai6ai_cached.
69275 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69277         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69279         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69280         FD_CLOEXEC for /proc/self/maps.
69282         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69283         FD_CLOEXEC for /proc/meminfo.
69285         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69286         gai.conf.
69288         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69289         FD_CLOEXEC for given file.
69291         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69293         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69294         FD_CLOEXEC for /etc/hosts.
69295         (_gethtent): Likewise.
69297         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69299         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69300         cancellation and set FD_CLOEXEC for /etc/netgroup.
69302         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69303         reading /etc/publickey.
69305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69306         allow cancellation when reading /etc/group.
69308         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69309         cancellation.
69310         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69312         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69313         when using data file.
69315         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69317         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69318         (write_nis_obj): Use "c" and "e" in fopen.
69320         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69322         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69324         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69326         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69328         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69329         locale.alias.
69331         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69333         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69335         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69337         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69338         file parsing and set FD_CLOEXEC.
69340 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69342         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69344 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69346         * malloc/arena.c (arena_get2): Don't call reused_arena when
69347         _int_new_arena failed.
69349 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69351         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69352         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69357         to compile strcasecmp and strncasecmp.
69358         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69359         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69363 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69365         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69366         locale-defines.sym to gen-as-const-headers.
69367         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69368         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69370         to compile strcasecmp and strncasecmp.
69371         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69372         strcasecmp_l and strncasecmp_l.
69373         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69374         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69375         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69376         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69377         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69378         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69379         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69380         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69381         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69382         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69383         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69385 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69387         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69388         result of SYSDEP_GETTIME_CPU to retval.
69389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69390         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69392         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69393         variable.
69395         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69396         mantissa words.
69397         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69400         from unused variable.
69402         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69403         DWARF definitions.
69404         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69405         for assembling.
69407         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69408         over namespaces.
69410         * sunrpc/rpc_prot.c (rejected): Fix case value.
69412         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69413         unsigned long long int to avoid warnings in shift.
69415         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69416         of use of trans.
69417         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69418         variable tmp.
69420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69421         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69424         * nis/nis_table.c (nis_list): Use variable of correct type for
69425         result of __follow_path call.
69427 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69429         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69430         of math functions ceil, trunc, floor, round, and sqrt, when
69431         avaliable on the platform.
69432         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69433         name clash.
69434         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69435         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69436         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69438 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69440         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69443 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69445         * include/unistd.h: Fix __readlink return type.
69446         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69448 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69450         * stdlib/ucontext.h: Undo last change for makecontext.
69452 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69454         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69456         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69457         * setjmp/setjmp.h: Mark functions as non-leaf.
69458         * setjmp/bits/setjmp2.h: Likewise.
69459         * stdlib/ucontext.h: Likewise.
69461 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69463         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69464         (reused_arena): Don't check arena limit.
69465         (arena_get2): Atomically check arena limit.
69467 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69469         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69470         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69473         instructions.
69475 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69477         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69478         handler when locking.
69480         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69481         Fix size of allocated buffer.
69483 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69485         [BZ #10103]
69486         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69487         declarations for long double functions.
69488         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69490         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69492 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69494         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69495         installed.
69497         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69498         is disabled.
69500 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69502         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69504 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69506         * include/alloca.h (stackinfo_alloca_round): Define.
69507         (extend_alloca): Use it.
69508         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69509         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69510         here.
69512         * scripts/check-local-headers.sh: Ignore libaudit.h.
69514         * nscd/Makefile (extra-objs): Make recursively expanded.
69516 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69518         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69521         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69522         * posix/tst-rfc3484-2.c: Likewise.
69523         * posix/tst-rfc3484-3.c: Likewise.
69525         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69526         process_vm_writev.
69527         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69528         process_vm_writev.
69529         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69530         process_vm_writev from libc using GLIBC_2.15 version.
69532         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69534 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69536         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69537         stack usage.
69539 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69541         [BZ #13367]
69542         * nss/getent.c (initgroups_keys): Show error message in case no group
69543         names are given.
69545         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69546         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69547         __bump_nl_timestamp.
69548         * nscd/connections (nscd_init): When host database is served open
69549         netlink socket and request notification about configuration changes.
69550         (main_loop_poll): Track netlink file descriptor and bump timestamp
69551         in case data becomes available.
69552         (main_loop_epoll): Likewise.
69553         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69554         (database_pers_head): Add extra_data fileds.
69555         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69556         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69557         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69558         Adjust caller.
69559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69560         in6ai data, call __free_in6ai.
69561         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69562         Add -DHAVE_NETLINK.
69563         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69564         interface information.  Reuse previous data if netlink timestamp
69565         is not changed.
69566         (__bump_nl_timestamp): New function.
69567         (__free_in6ai): New function.
69569 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69572         close_not_cancel_no_status here.
69573         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69575 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69577         [BZ #13276]
69578         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69579         return value.
69581         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69582         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69583         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69585 2011-07-03  Andreas Jaeger  <aj@suse.de>
69587         [BZ #10709]
69588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69589         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69590         * math/libm-test.inc (sin_test): Add test case.
69592 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69594         [BZ #13337]
69595         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69596         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69598         * elf/chroot_canon.c (chroot_canon): Cleanups.
69600         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69602         [BZ #13335]
69603         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69604         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69606         * string/test-strchr.c: Make usable for strchrnul testing.
69607         * string/test-strchrnul.c: New file.
69608         * string/Makefile (strop-tests): Add strchrnul.
69610         * po/it.po: Update from translation team.
69611         * po/es.po: Likewise.
69613 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69615         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69616         the three constants needed as parameters.  Drop the others.
69617         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69618         __m128i_strloadu_tolower.
69619         Create and initialize variable zero and use it in all the places
69620         where _mm_setzero_si128 was used.
69622         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69623         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69624         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69625         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69626         anymore.
69627         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69628         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69629         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69630         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69631         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69632         __mpranred, __mptan.
69633         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69634         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69635         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69636         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69637         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69638         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69640         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69641         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69643 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69645         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69646         redefine if SHARED.
69647         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69650         wide char related routines to wcsmbs subdir.
69652 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69654         [BZ #13344]
69655         * misc/sys/cdefs.h (__THROWNL): Define.
69656         * posix/unistd.h: Use __THREADNL instead of __THREAD
69657         for memory synchronization functions.
69659 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69661         [BZ #13349]
69662         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69663         doesn't exist.
69664         * manual/stdio.texi (Obstack Streams): Node removed.
69666 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69668         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69669         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69670         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69672         * math/math_private.h (math_force_eval): Allow non-addressable
69673         arguments.
69674         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69676 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69678         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69679         file is not needed.
69681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69683         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69684         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69686         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69687         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69688         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69689         Add AVX variants.
69690         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69691         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69692         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69693         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69694         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69695         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69696         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69698         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69699         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69700         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69701         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69703         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69704         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69705         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69706         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69707         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69708         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69710         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69711         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69713         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69714         place.  Use VEX encoding when compiling for AVX.
69716 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69718         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69719         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69721         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69723 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69725         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69726         useless if() expression.
69727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69728         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69729         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69731         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69732         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69733         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69734         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69736         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69737         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69738         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69743         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69744         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69745         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69747         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69749 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69751         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69752         condition.
69753         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69755 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69757         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69758         .text section.  Avoid duplicate constants.
69759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69767         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69769         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69770         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69773         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69775         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69776         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69782         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69783         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69784         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69785         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69786         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69787         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69788         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69789         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69790         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69791         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69792         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69793         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69794         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69795         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69796         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69797         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69798         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69799         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69801         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69802         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69803         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69805 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69807         * sysdeps/x86_64/dla.h: Move to ...
69808         * sysdeps/x86_64/fpu/dla.h: ...here.
69809         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69810         situations.  Use __builtin_fma only for gcc 4.6 and up.
69812         * config.make.in: Add have-mfma4 entry.
69813         * configure.in: Substitute libc_cv_cc_fma4.
69814         * math/Makefile (dbl-only-routines): Add sincostab.
69815         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69816         Use __sincostab not sincos.
69817         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69818         name is a macro.
69819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69823         using __copysign.
69824         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69825         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69826         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69827         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69828         and __inv.
69829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69830         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69831         __copysign.
69832         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69833         define aliases when function name is a macro.
69834         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69835         sysdeps/ieee754/dbl-64/sincos.tbl.
69836         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69837         fma4-enabled routines.
69838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69842         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69843         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69844         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69845         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69846         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69847         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69848         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69849         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69850         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69851         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69853         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69854         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69855         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69856         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69858         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69859         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69860         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69861         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69863         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69865         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69866         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69867         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69869         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69870         rename.
69871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69872         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69876         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69877         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69880 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69882         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69884 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69888         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69889         prediction.
69890         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69892         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69893         Remove unused variable magic_bits.
69894         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69896         * string/strnlen.c: Define and use STRNLEN macro.
69897         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69898         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69900         * wcsmbs/wcslen.c: Define and use WCSLEN.
69901         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69902         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69903         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69904         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69905         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69906         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69907         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69909 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69912         strnlen-sse2-no-bsf.
69913         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69915         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69916         Add strnlen support.
69917         (USE_AS_STRNLEN): New macro.
69918         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69919         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69920         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69921         * sysdeps/x86_64/wcslen.S: New file.
69923 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69926         XMM-moves are used for copying on small sizes.
69928 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69930         * wcsmbs/Makefile (strop-tests): Add wcschr.
69931         * wcsmbs/test-wcschr.c: New file.
69932         * string/test-strchr.c: Update.
69933         Add wcschr support.
69934         (WIDE): New macro.
69936 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69938         * wcsmbs/Makefile (strop-tests): Add wcslen.
69939         * wcsmbs/test-wcslen.c: New file.
69940         * string/test-strlen.c: Update.
69941         Add wcslen support.
69942         (WIDE): New macro.
69944 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69946         * po/it.po: Update from translation team.
69948 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69950         * sysdeps/x86_64/wcscmp.S: Update.
69951         Fix wrong comparison semantics.
69952         wcscmp shall use signed comparison not unsigned.
69953         Don't use substraction to avoid overflow bug.
69954         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69955         * wcsmbc/wcscmp.c: Likewise.
69956         * string/test-strcmp.c: Likewise.
69957         Add new tests to check cases with negative values.
69959 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69961         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69962         * sysdeps/x86_64/dla.h: ...here.  New file.
69963         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69968         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69969         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69973 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69976         __ynl_finite aliases.
69978 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69982         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69983         define DLA_FMA.
69984         [DLA_FMA] (EMULV): Use DLA_FMA.
69985         [DLA_FMA] (MUL12): Use EMULV.
69986         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69987         that are not needed.
69988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69996 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69998         * math/s_nan.c: Undef __nan.
69999         * math/s_nanf.c: Undef __nanf.
70000         * math/s_nanl.c: Undef __nanl.
70001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70002         "math_private.h".
70004 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70006         * math/s_catan.c: Add branch predictions.
70007         * math/s_catanf.c: Likewise.
70008         * math/s_catanh.c: Likewise.
70009         * math/s_catanhf.c: Likewise.
70010         * math/s_catanhl.c: Likewise.
70011         * math/s_catanl.c: Likewise.
70012         * math/s_cexp.c: Likewise.
70013         * math/s_cexpf.c: Likewise.
70014         * math/s_cexpl.c: Likewise.
70015         * math/s_clog.c: Likewise.
70016         * math/s_clog10.c: Likewise.
70017         * math/s_clog10f.c: Likewise.
70018         * math/s_clog10l.c: Likewise.
70019         * math/s_clogf.c: Likewise.
70020         * math/s_clogl.c: Likewise.
70021         * math/s_csqrt.c: Likewise.
70022         * math/s_csqrtf.c: Likewise.
70023         * math/s_csqrtl.c: Likewise.
70024         * math/s_ctanf.c: Likewise.
70025         * math/s_ctanh.c: Likewise.
70026         * math/s_ctanhf.c: Likewise.
70027         * math/s_ctanhl.c: Likewise.
70028         * math/s_ctanl.c: Likewise.
70030         * math/math_private.h: Define __nan, __nanf, __nanl.
70031         * math/s_cacosh.c: Include <math_private.h>.
70032         * math/s_cacoshl.c: Likewise.
70033         * math/s_casinh.c: Likewise.
70034         * math/s_casinhf.c: Likewise.
70035         * math/s_casinhl.c: Likewise.
70036         * math/s_ccos.c: Rely entire on ccosh.
70037         * math/s_ccosf.c: Rely entire on ccoshf.
70038         * math/s_ccosl.c: Rely entirely on ccoshl.
70039         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70040         Remove tests for FE_INVALID.
70041         * math/s_ccoshf.c: Likewise.
70042         * math/s_ccoshl.c: Likewise.
70043         * math/s_csin.c: Likewise.
70044         * math/s_csinf.c: Likewise.
70045         * math/s_csinh.c Likewise.
70046         * math/s_csinhf.c: Likewise.
70047         * math/s_csinhl.c: Likewise.
70048         * math/s_csinl.c: Likewise.
70049         * math/s_ctan.c: Likewise.
70050         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70051         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70052         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70054 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70057         compilation problems.
70059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70060         __builtin_expect.
70062 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70064         * sysdeps/i386/configure.in: Test for -mfma4 option.
70065         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70066         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70067         COMMON_CPUID_INDEX_80000001.
70068         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70069         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70070         use it if FMA3 is not supported.
70071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70073         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70074         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70076 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70078         [BZ #12892]
70079         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70080         it would create a cycle with a link time dependency.
70082 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70084         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70085         instruction.
70086         * string/Makefile (strop-tests): Add rawmemchr.
70087         * string/test-rawmemchr.c: New file.
70089         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70091         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70092         when compiling str{,n}casecmp and when AVX is available.  Hook up
70093         new optimized code in initializers.
70095 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70097         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70098         __feraiseexcept instead of feraiseexcept.
70100 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70102         * math/math_private.h: Define defaults for libc_fetestexcept and
70103         libc_feupdateenv.
70104         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70105         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70106         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70107         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70108         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70109         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70110         libc_fetestexcept and libc_feupdateenv.
70112         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70113         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70114         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70115         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70116         libc_feholdexcept_setround.
70118         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70119         Add s_nearbyint-c and s_nearbyintf-c.
70120         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70121         nearbyintf inlines.
70122         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70123         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70124         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70125         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70127         * math/math_private.h: Define defaults for libc_fegetround,
70128         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70129         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70130         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70131         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70132         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70133         standard functions.
70134         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70135         Remove comments and hacks for old compiler versions.
70136         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70137         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70138         libc_feholdexceptl.
70140 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70142         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70143         (__feraiseexcept_renamed): Add __NTH.
70144         (feraiseexcept): Add __NTH.  Rename local variables to fix
70145         namespace violations.
70147 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70149         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70151         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70153         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70154         recently added interfaces.
70155         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70157         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70158         about macro parameter expansion.
70160         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70161         __NO_MATH_INLINES is defined.  Cleanups.
70163         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70164         and __floorf is target has SSE4.1.
70165         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70166         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70167         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70168         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70170         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70171         name.
70172         (floorf): Likewise.
70174         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70176 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70178         * misc/sys/cdefs.h: Fix last change.
70180         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70181         database lookup.
70183 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70185         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70187         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70188         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70189         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70190         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70193         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70194         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70195         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70196         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70197         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70198         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70199         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70200         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70201         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70202         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70203         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70204         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70205         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70206         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70207         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70208         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70210         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70211         ceil, ceilf, floor, floorf.
70213         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70214         Perform IRELATIVE relocations last.
70216         * elf/do-rel.h: Add another parameter nrelative, replacing the
70217         local variable with the same name.  Change name of the function
70218         to end in Rel or Rela (uppercase).
70219         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70220         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70221         elf_dynamic_do_##reloc function.
70223 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70225         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70226         is sufficient, at least on modern CPUs.
70228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70230         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70231         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70233         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70234         __expl_finite.
70235         * math/bits/math-finite.h: Add entries for exp.
70236         * math/e_expl.c: Add __*_finite alias.
70237         * sysdeps/i386/fpu/e_exp.S: Likewise.
70238         * sysdeps/i386/fpu/e_expf.S: Likewise.
70239         * sysdeps/i386/fpu/e_expl.c: Likewise.
70240         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70241         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70244         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70245         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70246         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70248         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70249         is sufficient, at least on modern CPUs.
70251         * ctype/ctype-info.c (__ctype_init): Define.
70252         * include/ctype.h (__ctype_init): Declare.
70253         (__ctype_b_loc): The variable is always initialized.
70254         (__ctype_toupper_loc): Likewise.
70255         (__ctype_tolower_loc): Likewise.
70256         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70257         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70259 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70261         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70263         * configure.in: Also look in $cxxmachine/include for C++ system
70264         headers.
70266 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70268         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70269         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70270         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70271         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70273         (USE_AS_WMEMCMP): New macro.
70274         Fixing indents.
70275         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70276         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70277         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70278         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70280         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70281         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70282         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70283         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70284         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70286         (USE_AS_WMEMCMP): New macro.
70287         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70288         * sysdeps/string/test-memcmp.c: Update.
70289         Fix simple_wmemcmp.
70290         Add new tests.
70291         * wcsmbs/wmemcmp.c: Update.
70292         (WMEMCMP): New macro.
70293         Fix overflow bug.
70295 2011-10-12  Andreas Jaeger  <aj@suse.de>
70297         [BZ #13268]
70298         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70300 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70302         * libio/iofwide.c (do_length): Avoid warning.
70304         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70306 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70308         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70310         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70311         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70312         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70313         * sysdeps/i386/i686/fpu/e_log.S: New file.
70314         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70315         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70317         * ctype/ctype.h: Add support for inlined isXXX functions when
70318         compiling C++ code.
70320 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70322         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70324         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70326 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70328         [BZ #13291]
70329         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70331 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70333         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70334         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70335         feraiseexcept.
70337         * sysdeps/x86_64/memrchr.S: Check for zero size.
70339         * string/stratcliff.c: Add memrchr tests.
70341 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70344         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70345         rawmemchr-sse2 rawmemchr-sse2-bsf.
70346         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70347         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70348         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70349         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70350         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70351         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70352         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70353         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70354         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70355         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70356         * string/memrchr.c (MEMRCHR): New macro.
70358 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70360         Add integration with gcc's -ffinite-math-only and optimize wrapper
70361         functions in libm.
70362         * Versions.def: Define GLIBC_2.15 version for libm.
70363         * math/Makefile (headers): Add bits/math-finite.h.
70364         * math/bits/math-finite.h: New file.
70365         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70366         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70367         * math/e_acoshl.c: Add __*_finite alias.
70368         * math/e_acosl.c: Likewise.
70369         * math/e_asinl.c: Likewise.
70370         * math/e_atan2l.c: Likewise.
70371         * math/e_atanhl.c: Likewise.
70372         * math/e_coshl.c: Likewise.
70373         * math/e_exp10.c: Likewise.
70374         * math/e_exp10f.c: Likewise.
70375         * math/e_exp10l.c: Likewise.
70376         * math/e_exp2l.c: Likewise.
70377         * math/e_fmodl.c: Likewise.
70378         * math/e_gammal_r.c: Likewise.
70379         * math/e_hypotl.c: Likewise.
70380         * math/e_j0l.c: Likewise.
70381         * math/e_j1l.c: Likewise.
70382         * math/e_jnl.c: Likewise.
70383         * math/e_lgammal_r.c: Likewise.
70384         * math/e_log10l.c: Likewise.
70385         * math/e_log2l.c: Likewise.
70386         * math/e_logl.c: Likewise.
70387         * math/e_powl.c: Likewise.
70388         * math/e_sinhl.c: Likewise.
70389         * math/e_sqrtl.c: Likewise.
70390         * math/e_scalb.c: Completely rewritten and optimized.
70391         * math/e_scalbf.c: Likewise.
70392         * math/e_scalbl.c: Likewise.
70393         * math/w_acos.c: Likewise.
70394         * math/w_acosf.c: Likewise.
70395         * math/w_acosl.c: Likewise.
70396         * math/w_acosh.c: Likewise.
70397         * math/w_acoshf.c: Likewise.
70398         * math/w_acoshl.c: Likewise.
70399         * math/w_asin.c: Likewise.
70400         * math/w_asinf.c: Likewise.
70401         * math/w_asinl.c: Likewise.
70402         * math/w_atan2.c: Likewise.
70403         * math/w_atan2f.c: Likewise.
70404         * math/w_atan2l.c: Likewise.
70405         * math/w_atanh.c: Likewise.
70406         * math/w_atanhf.c: Likewise.
70407         * math/w_atanhl.c: Likewise.
70408         * math/w_exp10.c: Likewise.
70409         * math/w_exp10f.c: Likewise.
70410         * math/w_exp10l.c: Likewise.
70411         * math/w_fmod.c: Likewise.
70412         * math/w_fmodf.c: Likewise.
70413         * math/w_fmodl.c: Likewise.
70414         * math/w_j0.c: Likewise.
70415         * math/w_j0f.c: Likewise.
70416         * math/w_j0l.c: Likewise.
70417         * math/w_j1.c: Likewise.
70418         * math/w_j1f.c: Likewise.
70419         * math/w_j1l.c: Likewise.
70420         * math/w_jn.c: Likewise.
70421         * math/w_jnf.c: Likewise.
70422         * math/w_log.c: Likewise.
70423         * math/w_logf.c: Likewise.
70424         * math/w_logl.c: Likewise.
70425         * math/w_log10.c: Likewise.
70426         * math/w_log10f.c: Likewise.
70427         * math/w_log10l.c: Likewise.
70428         * math/w_log2.c: Likewise.
70429         * math/w_log2f.c: Likewise.
70430         * math/w_log2l.c: Likewise.
70431         * math/w_pow.c: Likewise.
70432         * math/w_powf.c: Likewise.
70433         * math/w_powl.c: Likewise.
70434         * math/w_remainder.c: Likewise.
70435         * math/w_remainderf.c: Likewise.
70436         * math/w_remainderl.c: Likewise.
70437         * math/w_scalb.c: Likewise.
70438         * math/w_scalbf.c: Likewise.
70439         * math/w_scalbl.c: Likewise.
70440         * math/w_sqrt.c: Likewise.
70441         * math/w_sqrtf.c: Likewise.
70442         * math/w_sqrtl.c: Likewise.
70443         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70444         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70445         used.
70446         * math/math_private.h: Declare __kernel_standard_f.
70447         * math/w_cosh.c: Remove cruft and optimize a bit.
70448         * math/w_coshf.c: Likewise.
70449         * math/w_coshl.c: Likewise.
70450         * math/w_exp2.c: Likewise.
70451         * math/w_exp2f.c: Likewise.
70452         * math/w_exp2l.c: Likewise.
70453         * math/w_hypot.c: Likewise.
70454         * math/w_hypotf.c: Likewise.
70455         * math/w_hypotl.c: Likewise.
70456         * math/w_lgamma.c: Likewise.
70457         * math/w_lgamma_r.c: Likewise.
70458         * math/w_lgammaf.c: Likewise.
70459         * math/w_lgammaf_r.c: Likewise.
70460         * math/w_lgammal.c: Likewise.
70461         * math/w_lgammal_r.c: Likewise.
70462         * math/w_sinh.c: Likewise.
70463         * math/w_sinhf.c: Likewise.
70464         * math/w_sinhl.c: Likewise.
70465         * math/w_tgamma.c: Likewise.
70466         * math/w_tgammaf.c: Likewise.
70467         * math/w_tgammal.c: Likewise.
70468         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70470         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70471         Minor optimizations.  Pretty printing.  Remove cruft.
70472         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70473         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70475         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70476         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70477         * sysdeps/i386/fpu/e_asin.S: Likewise.
70478         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70479         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70480         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70481         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70482         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70483         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70484         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70485         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70486         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70487         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70488         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70489         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70490         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70491         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70492         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70493         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70494         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70495         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70496         * sysdeps/i386/fpu/e_log.S: Likewise.
70497         * sysdeps/i386/fpu/e_log10.S: Likewise.
70498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70500         * sysdeps/i386/fpu/e_log2.S: Likewise.
70501         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70502         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70503         * sysdeps/i386/fpu/e_logf.S: Likewise.
70504         * sysdeps/i386/fpu/e_logl.S: Likewise.
70505         * sysdeps/i386/fpu/e_pow.S: Likewise.
70506         * sysdeps/i386/fpu/e_powf.S: Likewise.
70507         * sysdeps/i386/fpu/e_powl.S: Likewise.
70508         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70509         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70510         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70511         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70512         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70513         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70514         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70515         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70516         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70522         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70524         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70525         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70527         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70531         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70534         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70535         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70537         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70538         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70539         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70540         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70541         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70542         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70543         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70544         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70545         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70546         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70547         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70548         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70549         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70551         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70552         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70553         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70554         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70555         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70556         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70557         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70558         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70597         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70599         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70600         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70602         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70603         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70608         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70609         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70610         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70611         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70612         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70613         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70614         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70615         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70616         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70617         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70618         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70619         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70620         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70621         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70622         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70623         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70624         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70625         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70626         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70627         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70628         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70629         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70630         (__isnanf): Likewise.
70631         (__isinf_ns): Likewise.
70632         (__isinf_nsf): Likewise.
70633         (__finite): Likewise.
70634         (__finitef): Likewise.
70635         (__ieee754_sqrt): Define as macro.
70636         (__ieee754_sqrtf): Define as macro.
70637         (__ieee754_sqrtl): Define as macro.
70638         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70639         inlined copy.
70640         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70641         __FINITE_MATH_ONLY__ consistent.
70642         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70644 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70646         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70647         of rawmemchr.
70649         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70651 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70653         * po/ja.po: Update from translation team.
70655 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70657         * locale/programs/locarchive.c (prepare_address_space): New function.
70658         (create_archive, enlarge_archive, open_archive): Use it.
70660         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70661         inside [SHARED], where it is used.
70663         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70665         * nss/getent.c (netgroup_keys): Remove unused variable.
70666         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70668 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70670         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70671         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70672         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70673         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70674         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70675         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70676         * math/Makefile (libm-calls): Add s_isinf_ns.
70677         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70678         * math/multc3.c: Likewise.
70679         * math/s_casin.c: Likewise.
70680         * math/s_casinf.c: Likewise.
70681         * math/s_casinl.c: Likewise.
70682         * math/s_ccos.c: Likewise.
70683         * math/s_ccosf.c: Likewise.
70684         * math/s_ccosl.c: Likewise.
70685         * math/s_ctan.c: Likewise.
70686         * math/s_ctanf.c: Likewise.
70687         * math/s_ctanh.c: Likewise.
70688         * math/s_ctanhf.c: Likewise.
70689         * math/s_ctanhl.c: Likewise.
70690         * math/s_ctanl.c: Likewise.
70691         * math/w_fmod.c: Likewise.
70692         * math/w_fmodf.c: Likewise.
70693         * math/w_fmodl.c: Likewise.
70694         * math/w_remainder.c: Likewise.
70695         * math/w_remainderf.c: Likewise.
70696         * math/w_remainderl.c: Likewise.
70697         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70698         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70699         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70701         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70702         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70703         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70704         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70706         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70707         of the number.
70708         * stdio-common/printf_fphex.c: Likewise.
70709         * stdio-common/printf_size.c: Likewise.
70711         * math/e_exp10.c: Include math_private.h using <...> not "...".
70712         * math/e_exp10f.c: Likewise.
70713         * math/e_exp10l.c: Likewise.
70714         * math/e_exp2l.c: Likewise.
70715         * math/e_j0l.c: Likewise.
70716         * math/e_j1l.c: Likewise.
70717         * math/e_jnl.c: Likewise.
70718         * math/e_lgammal_r.c: Likewise.
70719         * math/e_rem_pio2l.c: Likewise.
70720         * math/e_scalb.c: Likewise.
70721         * math/e_scalbf.c: Likewise.
70722         * math/e_scalbl.c: Likewise.
70723         * math/k_cosl.c: Likewise.
70724         * math/k_sinl.c: Likewise.
70725         * math/k_tanl.c: Likewise.
70726         * math/s_cacoshf.c: Likewise.
70727         * math/s_catan.c: Likewise.
70728         * math/s_catanf.c: Likewise.
70729         * math/s_catanh.c: Likewise.
70730         * math/s_catanhf.c: Likewise.
70731         * math/s_catanhl.c: Likewise.
70732         * math/s_catanl.c: Likewise.
70733         * math/s_ccosh.c: Likewise.
70734         * math/s_ccoshf.c: Likewise.
70735         * math/s_ccoshl.c: Likewise.
70736         * math/s_cexp.c: Likewise.
70737         * math/s_cexpf.c: Likewise.
70738         * math/s_cexpl.c: Likewise.
70739         * math/s_clog.c: Likewise.
70740         * math/s_clog10.c: Likewise.
70741         * math/s_clog10f.c: Likewise.
70742         * math/s_clog10l.c: Likewise.
70743         * math/s_clogf.c: Likewise.
70744         * math/s_clogl.c: Likewise.
70745         * math/s_csin.c: Likewise.
70746         * math/s_csinf.c: Likewise.
70747         * math/s_csinh.c: Likewise.
70748         * math/s_csinhf.c: Likewise.
70749         * math/s_csinhl.c: Likewise.
70750         * math/s_csinl.c: Likewise.
70751         * math/s_csqrt.c: Likewise.
70752         * math/s_csqrtf.c: Likewise.
70753         * math/s_csqrtl.c: Likewise.
70754         * math/s_ctan.c: Likewise.
70755         * math/s_ctanf.c: Likewise.
70756         * math/s_ctanh.c: Likewise.
70757         * math/s_ctanhf.c: Likewise.
70758         * math/s_ctanhl.c: Likewise.
70759         * math/s_ctanl.c: Likewise.
70760         * math/s_ldexp.c: Likewise.
70761         * math/s_ldexpf.c: Likewise.
70762         * math/s_ldexpl.c: Likewise.
70763         * math/s_significand.c: Likewise.
70764         * math/s_significandf.c: Likewise.
70765         * math/s_significandl.c: Likewise.
70766         * math/w_acos.c: Likewise.
70767         * math/w_acosf.c: Likewise.
70768         * math/w_acosh.c: Likewise.
70769         * math/w_acoshf.c: Likewise.
70770         * math/w_acoshl.c: Likewise.
70771         * math/w_acosl.c: Likewise.
70772         * math/w_asin.c: Likewise.
70773         * math/w_asinf.c: Likewise.
70774         * math/w_asinl.c: Likewise.
70775         * math/w_atan2.c: Likewise.
70776         * math/w_atan2f.c: Likewise.
70777         * math/w_atan2l.c: Likewise.
70778         * math/w_atanh.c: Likewise.
70779         * math/w_atanhf.c: Likewise.
70780         * math/w_atanhl.c: Likewise.
70781         * math/w_cosh.c: Likewise.
70782         * math/w_coshf.c: Likewise.
70783         * math/w_coshl.c: Likewise.
70784         * math/w_dremf.c: Likewise.
70785         * math/w_exp10.c: Likewise.
70786         * math/w_exp10f.c: Likewise.
70787         * math/w_exp10l.c: Likewise.
70788         * math/w_exp2.c: Likewise.
70789         * math/w_exp2f.c: Likewise.
70790         * math/w_fmod.c: Likewise.
70791         * math/w_fmodf.c: Likewise.
70792         * math/w_fmodl.c: Likewise.
70793         * math/w_hypot.c: Likewise.
70794         * math/w_hypotf.c: Likewise.
70795         * math/w_hypotl.c: Likewise.
70796         * math/w_j0.c: Likewise.
70797         * math/w_j0f.c: Likewise.
70798         * math/w_j0l.c: Likewise.
70799         * math/w_j1.c: Likewise.
70800         * math/w_j1f.c: Likewise.
70801         * math/w_j1l.c: Likewise.
70802         * math/w_jn.c: Likewise.
70803         * math/w_jnf.c: Likewise.
70804         * math/w_jnl.c: Likewise.
70805         * math/w_lgamma.c: Likewise.
70806         * math/w_lgamma_r.c: Likewise.
70807         * math/w_lgammaf.c: Likewise.
70808         * math/w_lgammaf_r.c: Likewise.
70809         * math/w_lgammal.c: Likewise.
70810         * math/w_lgammal_r.c: Likewise.
70811         * math/w_log.c: Likewise.
70812         * math/w_log10.c: Likewise.
70813         * math/w_log10f.c: Likewise.
70814         * math/w_log10l.c: Likewise.
70815         * math/w_log2.c: Likewise.
70816         * math/w_log2f.c: Likewise.
70817         * math/w_log2l.c: Likewise.
70818         * math/w_logf.c: Likewise.
70819         * math/w_logl.c: Likewise.
70820         * math/w_pow.c: Likewise.
70821         * math/w_powf.c: Likewise.
70822         * math/w_powl.c: Likewise.
70823         * math/w_remainder.c: Likewise.
70824         * math/w_remainderf.c: Likewise.
70825         * math/w_remainderl.c: Likewise.
70826         * math/w_scalb.c: Likewise.
70827         * math/w_scalbf.c: Likewise.
70828         * math/w_scalbl.c: Likewise.
70829         * math/w_sinh.c: Likewise.
70830         * math/w_sinhf.c: Likewise.
70831         * math/w_sinhl.c: Likewise.
70832         * math/w_sqrt.c: Likewise.
70833         * math/w_sqrtf.c: Likewise.
70834         * math/w_sqrtl.c: Likewise.
70835         * math/w_tgamma.c: Likewise.
70836         * math/w_tgammaf.c: Likewise.
70837         * math/w_tgammal.c: Likewise.
70839         * po/ja.po: Update from translation team.
70841 2011-09-29  Andreas Jaeger  <aj@suse.de>
70843         [BZ #13179]
70844         * sunrpc/netname.c (netname2host): Fix logic.
70846         [BZ #6779]
70847         [BZ #6783]
70848         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70849         correctly.
70850         * math/w_remainder.c (__remainder): Likewise.
70851         * math/w_remainderf.c (__remainderf): Likewise.
70852         * math/libm-test.inc (remainder_test): Add test cases.
70854 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70856         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70857         sdiv_qrnnd.
70859 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70861         * string/test-memcmp.c: Avoid unncessary #defines.
70862         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70864 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70866         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70867         Use new sse2 version for core i3 - i7 as it's faster
70868         than sse42 version.
70869         (bit_Prefer_PMINUB_for_stringop): New.
70870         * sysdeps/x86_64/rawmemchr.S: Update.
70871         Replace with faster SSE2 version.
70872         * sysdeps/x86_64/memrchr.S: New file.
70873         * sysdeps/x86_64/memchr.S: Update.
70874         Replace with faster SSE2 version.
70876 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70878         * elf/dl-load.c (lose): Add cast to avoid warning.
70880 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70882         * po/ca.po: Update from translation team.
70884         * inet/getnetgrent_r.c: Hook up nscd.
70885         * nscd/Makefile (routines): Add nscd_netgroup.
70886         (nscd-modules): Add netgroupcache.
70887         (CFLAGS-netgroupcache.c): Define.
70888         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70889         (cache_search): Add const to second parameter.
70890         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70891         INNETGR.
70892         (dbs): Add netgrdb entry.
70893         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70894         (verify_persistent_db): Handle netgrdb.
70895         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70896         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70897         GETFDNETGR.
70898         (netgroup_response_header): Define.
70899         (innetgroup_response_header): Define.
70900         (datahead): Add netgroup_response_header and innetgroup_response_header
70901         elements.
70902         * nscd/nscd.conf: Add entries for netgroup cache.
70903         * nscd/nscd.h (dbtype): Add netgrdb.
70904         (_PATH_NSCD_NETGROUP_DB): Define.
70905         (netgroup_iov_disabled): Declare.
70906         (xmalloc, xcalloc, xrealloc): Move declarations here.
70907         (cache_search): Adjust prototype.
70908         Add netgroup-related prototypes.
70909         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70910         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70911         (__nscd_innetgr): Declare.
70912         * nscd/selinux.c (perms): Use access_vector_t as element type and
70913         add netgroup-related initializers.
70914         * nscd/netgroupcache.c: New file.
70915         * nscd/nscd_netgroup.c: New file.
70916         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70917         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70918         For four parameters use innetgr.
70919         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70920         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70921         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70922         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70924         * nscd/connections.c (register_traced_file): Don't register file
70925         for disabled databases.
70927 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70929         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70931         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70932         from tree and freeing node.
70934 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70936         * nss/nsswitch.c (__nss_database_lookup): Handle
70937         nss_parse_service_list out of memory case.
70939 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70941         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70942         out of memory case.
70944 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70946         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70947         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70948         pass it down.
70949         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70950         elf_machine_rela, elf_machine_lazy_rel.
70951         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70952         (ELF_DYNAMIC_DO_REL): Likewise.
70953         (ELF_DYNAMIC_DO_RELA): Likewise.
70954         (ELF_DYNAMIC_RELOCATE): Likewise.
70955         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70956         to ELF_DYNAMIC_DO_REL.
70957         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70958         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70959         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70960         elf_machine_rela.
70961         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70962         skip_ifunc, don't call ifunc function if non-zero.
70963         (elf_machine_rela): Likewise.
70964         (elf_machine_lazy_rel): Likewise.
70965         (elf_machine_lazy_rela): Likewise.
70966         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70967         (elf_machine_lazy_rel): Likewise.
70968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70969         Likewise.
70970         (elf_machine_lazy_rel): Likewise.
70971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70972         Likewise.
70973         (elf_machine_lazy_rel): Likewise.
70974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70975         (elf_machine_lazy_rel): Likewise.
70976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70977         (elf_machine_lazy_rel): Likewise.
70978         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70979         (elf_machine_lazy_rel): Likewise.
70980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70981         (elf_machine_lazy_rel): Likewise.
70982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70983         (elf_machine_lazy_rel): Likewise.
70984         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70985         (elf_machine_lazy_rel): Likewise.
70987 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70989         * nss/nss_files/files-init.c (_nss_files_init): Use static
70990         initialization for all the *_traced_file variables.
70992 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70994         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70996 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70998         [BZ #13226]
70999         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71001 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71004         Reread the line before reparsing it.
71006 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71008         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71010 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71011             Maxim Kuvyrkov  <maxim@codesourcery.com>
71012             Joseph Myers  <joseph@codesourcery.com>
71014         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71015         if needed for __stack_chk_guard.
71017 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71019         * sysdeps/posix/spawni.c (script_execute): Always define it.
71020         It will be optimized away if unused.
71021         (maybe_script_execute): New function.
71022         (__spawni): Call it.
71024         * Makerules: Don't include tls.make.
71025         (config-tls): Always set to thread.
71026         * tls.make.c: File removed.
71028 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71030         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71031         * config.make.in (CPPFLAGS-config): New substituted variable.
71033 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71037         [BZ #13192]
71038         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71039         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71041 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71043         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71044         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71045         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71046         (CALL_FAIL): Likewise.
71047         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71048         (CALL_FAIL): Macro removed.
71049         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71051 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71053         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71054         for __FINITE_MATH_ONLY__ == 1.
71056 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71058         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71059         __ieee754_sqrt instead of sqrt.
71060         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71061         __ieee754_sqrtf instead of sqrtf.
71062         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71063         __floorf instead of floorf.
71064         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71065         __floorf, __truncf instead of floorf, truncf.
71067 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71069         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71071         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71072         __extern_always_inline.
71073         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71074         32-bit.
71076 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71078         * elf/rtld.c (dl_main): Also relocate in dependency order when
71079         doing symbol dependency testing.
71081 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71084         Always define `refsym'.
71086 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71088         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71089         (__FD_ELT): Renamed from __FDELT.
71090         * misc/bits/select2.h (__FD_ELT): Likewise.
71091         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71092         __FD_MASK instead of __FDELT, __FDMASK.
71093         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71094         Likewise.
71095         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71096         Likewise.
71098         * elf/Makefile (gen-ldd): Fix pattern.
71100         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71101         (init_tls): Likewise.
71103 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71107 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71109         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71110         `struct cmsghdr *' instead of `void *'.
71111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71112         Likewise.
71114 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71116         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71117         if non-absolute.
71118         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71119         ldd_rewrite_script.
71121 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71123         * configure.in: Remove --with-tls option.
71124         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71125         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71126         out in case it is missing.
71127         * sysdeps/ia64/elf/configure.in: Likewise.
71128         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71129         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71130         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71131         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71132         * sysdeps/sh/elf/configure.in: Likewise.
71133         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71134         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71135         * sysdeps/x86_64/elf/configure.in: Likewise.
71136         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71137         * sysdeps/mach/hurd/tls.h: Likewise.
71139         [BZ #13067]
71140         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71142         [BZ #13090]
71143         * configure.in: Fix use of AC_INIT.
71145         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71147 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71149         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71150         __set_errno.
71151         * malloc/hooks.c: Likewise.
71153         [BZ #11929]
71154         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71155         variables statically.
71156         (narenas): Initialize.
71157         (list_lock): Initialize.
71158         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71159         initializtion of main_arena and list_lock.  Small cleanups.
71160         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71161         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71162         Add initializers to main_arena and mp_.
71163         (malloc_state): Remove pagesize member.  Change all users to use
71164         GLRO(dl_pagesize).
71166         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71167         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71168         is always initialized.
71170         * malloc/malloc.c: Removed unused configurations and dead code.
71171         * malloc/arena.c: Likewise.
71172         * malloc/hooks.c: Likewise.
71173         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71175         * include/tls.h: Removed.  USE___THREAD must always be defined.
71176         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71177         * elf/dl-libc.c: Likewise.
71178         * elf/dl-tsd.c: Likewise.
71179         * include/errno.h: Likewise.
71180         * include/netdb.h: Likewise.
71181         * include/resolv.h: Likewise.
71182         * inet/herrno-loc.c: Likewise.
71183         * inet/herrno.c: Likewise.
71184         * malloc/arena.c: Likewise.
71185         * malloc/hooks.c: Likewise.
71186         * malloc/malloc.c: Likewise.
71187         * resolv/res-state.c: Likewise.
71188         * resolv/res_libc.c: Likewise.
71189         * sysdeps/i386/dl-machine.h: Likewise.
71190         * sysdeps/ia64/dl-machine.h: Likewise.
71191         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71192         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71193         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71194         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71195         * sysdeps/sh/dl-machine.h: Likewise.
71196         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71197         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71198         * sysdeps/unix/i386/sysdep.S: Likewise.
71199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71200         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71205         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71210         * sysdeps/x86_64/dl-machine.h: Likewise.
71211         * tls.make.c: Likewise.
71213         * configure.in: Remove --with-__thread option.  Make tests for
71214         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71215         tls_model attribute fail if no support is available.  Remove
71216         USE_IN_LIBIO.
71217         * Makeconfig: Adjust for dropped configure option.  All features are
71218         now mandatory.
71219         * Makerules: Likewise.
71220         * Versions.def: Likewise.
71221         * argp/argp-fmtstream.c: Likewise.
71222         * argp/argp-fmtstream.h: Likewise.
71223         * argp/argp-help.c: Likewise.
71224         * assert/assert.c: Likewise.
71225         * config.h.in: Likewise.
71226         * config.make.in: Likewise.
71227         * configure: Likewise.
71228         * configure.in: Likewise.
71229         * csu/Versions: Likewise.
71230         * csu/init.c: Likewise.
71231         * elf/tst-audit2.c: Likewise.
71232         * elf/tst-tls10.c: Likewise.
71233         * elf/tst-tls10.h: Likewise.
71234         * elf/tst-tls11.c: Likewise.
71235         * elf/tst-tls12.c: Likewise.
71236         * elf/tst-tls14.c: Likewise.
71237         * elf/tst-tlsmod11.c: Likewise.
71238         * elf/tst-tlsmod12.c: Likewise.
71239         * elf/tst-tlsmod13.c: Likewise.
71240         * elf/tst-tlsmod13a.c: Likewise.
71241         * elf/tst-tlsmod14a.c: Likewise.
71242         * elf/tst-tlsmod15b.c: Likewise.
71243         * elf/tst-tlsmod16a.c: Likewise.
71244         * elf/tst-tlsmod16b.c: Likewise.
71245         * elf/tst-tlsmod7.c: Likewise.
71246         * elf/tst-tlsmod8.c: Likewise.
71247         * elf/tst-tlsmod9.c: Likewise.
71248         * gmon/gmon.c: Likewise.
71249         * grp/fgetgrent_r.c: Likewise.
71250         * grp/putgrent.c: Likewise.
71251         * hurd/fopenport.c: Likewise.
71252         * include/libc-symbols.h: Likewise.
71253         * include/tls.h: Likewise.
71254         * intl/gettextP.h: Likewise.
71255         * intl/loadinfo.h: Likewise.
71256         * locale/global-locale.c: Likewise.
71257         * locale/localeinfo.h: Likewise.
71258         * mach/devstream.c: Likewise.
71259         * malloc/arena.c: Likewise.
71260         * malloc/set-freeres.c: Likewise.
71261         * misc/err.c: Likewise.
71262         * misc/getttyent.c: Likewise.
71263         * misc/mntent_r.c: Likewise.
71264         * posix/getopt.c: Likewise.
71265         * posix/wordexp.c: Likewise.
71266         * pwd/fgetpwent_r.c: Likewise.
71267         * resolv/Versions: Likewise.
71268         * resolv/res_hconf.c: Likewise.
71269         * shadow/fgetspent_r.c: Likewise.
71270         * shadow/putspent.c: Likewise.
71271         * stdio-common/printf_fphex.c: Likewise.
71272         * stdio-common/tmpfile.c: Likewise.
71273         * stdlib/abort.c: Likewise.
71274         * stdlib/fmtmsg.c: Likewise.
71275         * sunrpc/auth_unix.c: Likewise.
71276         * sunrpc/clnt_perr.c: Likewise.
71277         * sunrpc/clnt_tcp.c: Likewise.
71278         * sunrpc/clnt_udp.c: Likewise.
71279         * sunrpc/clnt_unix.c: Likewise.
71280         * sunrpc/openchild.c: Likewise.
71281         * sunrpc/svc_simple.c: Likewise.
71282         * sunrpc/svc_tcp.c: Likewise.
71283         * sunrpc/svc_udp.c: Likewise.
71284         * sunrpc/svc_unix.c: Likewise.
71285         * sunrpc/xdr.c: Likewise.
71286         * sunrpc/xdr_array.c: Likewise.
71287         * sunrpc/xdr_rec.c: Likewise.
71288         * sunrpc/xdr_ref.c: Likewise.
71289         * sunrpc/xdr_stdio.c: Likewise.
71291 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71293         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71295 2011-07-03  Andreas Jaeger  <aj@suse.de>
71297         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71298         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71299         regenerate with gen-libm-tests.pl.
71301 2010-05-12  Petr Baudis  <pasky@suse.cz>
71303         [BZ #11589]
71304         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71305         around j0() zero points by switching to j1().
71306         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71309         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71311 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71313         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71314         instead of 0.
71315         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71316         instead of 0.
71317         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71318         Patch in part by Pavel Roskin <proski@gnu.org>.
71320         [BZ #13138]
71321         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71322         realloc.
71323         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71324         Free memory block if necessary.
71326         [BZ #12847]
71327         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71328         be NULL.  Don't lock in this case.
71330 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71332         * elf/elf.h (ELFOSABI_GNU): New macro.
71333         (ELFOSABI_LINUX): Define to that.
71335 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71337         * string/strncat.c (strncat): Undef the symbol in case it has been
71338         defined in bits/string.h.
71340 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71342         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71344         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71345         link map.
71347 2011-08-17  Andreas Jaeger  <aj@suse.de>
71349         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71351 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71352             Ian Lance Taylor  <iant@google.com>
71354         * math/libm-test.inc (lround_test): New testcase.
71355         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71357 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71359         * Makefile: Remove support for automatic cvs check-ins.
71360         * Makerules: Likewise.
71361         * config.make.in: Likewise.
71362         * configure.in: Likewise.
71363         * intl/Makefile: Likewise.
71364         * locale/Makefile: Likewise.
71365         * po/Makefile: Likewise.
71366         * posix/Makefile: Likewise.
71367         * sysdeps/gnu/Makefile: Likewise.
71368         * sysdeps/mach/hurd/Makefile: Likewise.
71369         * sysdeps/sparc/sparc32/Makefile: Likewise.
71371         [BZ #13118]
71372         * posix/Makefile (bug-regex32-ENV): Define.
71373         Patch by John Stanley <jpsinthemix@verizon.net>.
71375         * misc/Makefile (headers): Add bits/select2.h.
71376         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71377         * misc/bits/select2.h: New file.
71378         * include/bits/select2.h: New file.
71379         * debug/Makefile (routines): Add fdelt_chk.
71380         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71381         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71382         FD_ISSET.
71383         * debug/fdelt_chk.c: New file.
71385         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71386         * wcsmbs/test-wmemcmp.c: Likewise.
71387         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71388         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71390 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71392         * string/Makefile (strop-tests): Add memcmp.
71393         * string/test-wmemcmp.c: New file.
71394         * string/test-memcmp.c: Add wmemcmp support.
71396 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71398         [BZ #13153]
71399         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71400         2011-07-19 change.
71402         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71403         garbage value in a __mach_port_mod_refs call in the cases of the
71404         task-self and thread-self ports.
71406 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71408         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71410 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71412         * elf/dl-load.c (lose): Check for non-null L.
71414 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71416         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71418         * elf/dl-libc.c (dlerror_run): Pass back error code from
71419         dl_catch_error.
71421         [BZ #13123]
71422         * elf/dl-load.c (lose): Free l_origin if it is valid.
71424         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71425         names.
71426         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71429         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71430         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71431         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71433 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71435         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71436         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71437         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71438         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71439         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71440         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71441         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71442         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71443         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71444         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71446 2011-08-15  Alan Modra  <amodra@gmail.com>
71448         [BZ #13092]
71449         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71450         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71451         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71452         ppc_mcount to static-only-routines.
71453         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71454         __mcount_internal.
71455         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71456         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71458 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71460         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71461         for finite and infinity parameters.
71463 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71466         and add nop instructions for throughput optimization.
71467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71469 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71472         aligned copy for power7 with vector-scalar instructions.
71473         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71475 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71478         AVX check.
71480 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71482         [BZ #13144]
71483         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71484         last change.
71486 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71488         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71489         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71490         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71491         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71492         clock_gettime.
71494 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71496         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71497         Forgot to demangle the pointer.
71499         * sysdeps/i386/sysdep.h: Define atom_text_section.
71500         * sysdeps/x86_64/sysdep.h: Likewise.
71501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71502         section with atom_text_section.
71503         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71504         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71507         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71509         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71510         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71511         already be defined.  Change to take two parameters and don't assign
71512         result to variable.  Adjust all users.
71513         Define INTERNAL_GETTIME if not already defined.
71514         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71515         call.
71516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71517         HAVE_CLOCK_GETTIME_VSYSCALL.
71518         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71521         gettimeofday vsyscall, just use time.
71523 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71526         <errno.h>.
71528 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71530         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71531         syscall on x86-64.
71532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71533         syscall.
71534         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71536         syscall if possible.
71538 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71540         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71541         e_ident.  Don't pass to find_mapsXX.
71542         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71544 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71547         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71548         * sysdeps/x86_64/multiarch/strchr.S: Update.
71549         Check bit_slow_BSF bit.
71550         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71551         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71552         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71554 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71556         [BZ #13134]
71557         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71558         before glibc 2.15.
71559         (tryshell): Define.
71560         (__spawni): Change last parameter to be flag.  Test
71561         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71562         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71563         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71564         * posix/spawni.c: Likewise.
71565         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71566         * posix/spawnp.c: Likewise.  Change normal version to use
71567         SPAWN_XFLAGS_USE_PATH.
71568         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71569         SPAWN_XFLAGS_TRY_SHELL.
71571         [BZ #13150]
71572         * posix/glob.h: Remove gcc 1.x support.
71574         [BZ #13068]
71575         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71577 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71580         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71581         strrchr-sse2-bsf
71582         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71583         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71584         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71585         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71586         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71587         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71589 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71591         * sysdeps/x86_64/wcscmp.S: New file.
71593         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71594         wcscmp-c wcscmp-sse2
71595         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71596         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71597         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71598         * wcsmbs/wcscmp.c: Allow renaming.
71600 2011-09-05  David S. Miller  <davem@davemloft.net>
71602         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71603         stack slot, rather than the struct return pointer slot.
71604         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71605         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71607         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71611         * po/ja.po: Update from translation team.
71613         [BZ #13144]
71614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71615         kernel in 64-bit binaries.
71617 2011-09-01  David S. Miller  <davem@davemloft.net>
71619         * elf/elf.h (HWCAP_SPARC_*): Move to..
71620         * sysdeps/sparc/sysdep.h: this new file and add new values.
71621         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71622         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71623         _DL_HWCAP_COUNT to 24.
71624         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71625         entries.
71626         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71627         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71628         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71630         instead of magic constants.
71631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71633 2011-08-31  David S. Miller  <davem@davemloft.net>
71635         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71637         Reimplement to do errno handling inline.
71638         (SYSCALL_ERROR_HANDLER): New macro.
71639         (__SYSCALL_STRING): Do not do errno handling in asm.
71640         (__CLONE_SYSCALL_STRING): Delete.
71641         (__INTERNAL_SYSCALL_STRING): Delete.
71642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71643         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71644         (PSEUDO): Reimplement to do errno handling inline.
71645         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71646         (SYSCALL_ERROR_HANDLER): New macro.
71647         (__SYSCALL_STRING): Do not do errno handling in asm.
71648         (__CLONE_SYSCALL_STRING): Delete.
71649         (__INTERNAL_SYSCALL_STRING): Delete.
71650         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71651         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71652         i386.
71653         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71654         (inline_syscall*): Add 'err' argument.
71655         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71656         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71657         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71658         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71660         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71661         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71663 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71665         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71667 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71669         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71670         directive.
71672 2011-08-24  David S. Miller  <davem@davemloft.net>
71674         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71676 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71678         * elf/Makefile: Add rules to build and run unload8 test.
71679         * elf/unload8.c: New file.
71680         * elf/unload8mod1.c: New file.
71681         * elf/unload8mod1x.c: New file.
71682         * elf/unload8mod2.c: New file.
71683         * elf/unload8mod3.c: New file.
71685         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71686         it wasn't used.
71688 2011-08-23  David S. Miller  <davem@davemloft.net>
71690         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71691         subtract stack bias.
71692         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71693         %sp not %fp in calculations.
71694         (_JMPBUF_UNWINDS_ADJ): Likewise.
71696         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71697         (aio_suspend): Call it to force an exception region around the
71698         AIO_MISC_WAIT() invocation.
71700 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71702         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71703         backslash.
71705 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71707         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71708         protection macro.
71709         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71710         and <dl-machine.h>.
71711         (Elf64_FuncDesc): Remove.
71713 2011-08-22  David S. Miller  <davem@davemloft.net>
71715         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71716         sigaltstack check, add missing cfi directives.
71717         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71718         missing cfi directives, and sigaltstack handling.
71720 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71722         [BZ #11724]
71723         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71724         object is seen twice.
71725         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71727         * elf/Makefile (distribute): Add tst-initorder2.c.
71728         (tests): Add tst-initorder2.
71729         (modules-names): Add tst-initorder2a tst-initorder2b
71730         tst-initorder2c tst-initorder2d.  Add rules to build them.
71731         ($(objpfx)tst-initorder2.out): New rule.
71732         * elf/tst-initorder2.c: New file.
71733         * elf/tst-initorder2.exp: New file.
71735 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71737         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71739         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71740         dependencies back to end of function.
71742         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71743         $(elfobjdir)/ld.so.
71745 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71748         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71750         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71751         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71752         of __vdso_gettimeofday.
71753         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71754         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71755         attribute_hidden.
71756         (_libc_vdso_platform_setup): Remove initialization of
71757         __vdso_gettimeofday and __vdso_time.
71759 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71761         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71762         and fgetc_unlocked.
71763         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71764         getc_unlocked.
71766         * elf/dl-open.c (add_to_global): Report additions to the global scope
71767         for LD_DEBUG=scopes.
71768         (dl_open_worker): Also print scope of newly loaded dependencies.
71769         (_dl_show_scope): Indicate if there is no scope.
71771         [BZ #13114]
71772         * stdio-common/Makefile (tests): Add bug24.
71773         * stdio-common/bug24.c: New file.
71775 2011-08-19  Andreas Jaeger  <aj@suse.de>
71777         [BZ #13114]
71778         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71779         non-existant file when using close-on-exec mode.
71781 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71784         the very first instruction.
71786         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71787         the CFI state in the end.
71788         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71789         inclusion of dl-trampoline.h.
71790         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71792 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71794         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71795         expectations for long double.
71797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71798         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71800 2011-08-14  David S. Miller  <davem@davemloft.net>
71802         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71803         artificual limit depends upon the system page size.
71805 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71807         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71808         * resolv/Makefile: Define CFLAGS-libresolv.
71810 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71812         * nss/makedb.c (compute_tables): Make variables used in nested
71813         function static.
71815 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71817         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71818         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71819         if buffer was too small.
71821         * elf/pldd.c (main): Attach to all threads in the process.
71822         Rewrite /proc handling to use *at functions.
71824 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71826         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71827         specifies first scope to show.
71828         (dl_open_worker): Update callers.  Move printing scope of new
71829         object to before the relocation.
71830         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71831         * sysdeps/generic/ldsodefs.h: Update declaration.
71833         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71834         string for the scope number.
71836 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71838         * nscd/servicescache.c (cache_addserv): Make sure written is always
71839         initialized.
71841 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71843         * sysdeps/i386/i486/bits/atomic.h
71844         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71845         statement expression, so as to suppress "set but not used" warning.
71846         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71848         * string/strncat.c (STRNCAT): Use prototype definition.
71850         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71851         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71852         -Iprograms here.
71853         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71854         (localedef-modules): Add localedef.
71855         (locale-modules): Add locale.
71857         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71858         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71859         to avoid a warning.
71861 2011-08-14  David S. Miller  <davem@davemloft.net>
71863         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71864         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71866 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71868         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71869         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71870         * elf/rtld.c (dl_main): Set l_name of vDSO.
71871         Call _dl_show_scope when DL_DEBUG_SCOPES.
71872         (process_dl_debug): Recognize scopes flag and also set it for all.
71873         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71874         Declare _dl_show_scope.
71876         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71877         (do_dlopen): Pass caller_dlopen to dl_open.
71878         (__libc_dlopen_mode): Initialize caller_dlopen.
71880         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71881         of libc.  Make tolower call locale-independent.  Optimize a bit by
71882         using isdigit instead of isalnum.
71883         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71885 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71887         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71888         was a dependency or dynamically loaded.
71890 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71892         * intl/l10nflist.c: Allow architecture-specific pop function.
71893         * sysdeps/x86_64/l10nflist.c: New file.
71895         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71896         classification.
71898 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71900         * include/dirent.h: Add libc_hidden_proto for scandirat and
71901         scandirat64.  Don't declare __scandirat64.
71902         * dirent/scandirat.c: Add libc_hidden_def.
71903         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71904         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71906 2011-08-10  David S. Miller  <davem@davemloft.net>
71908         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71909         enum.
71910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71914 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71916         * Versions.def [libc]: Add GLIBC_2.15.
71917         * dirent/Makefile (routines): Add scandirat and scandirat64.
71918         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71919         GLIBC_2.15.
71920         * dirent/dirent.h: Declare scandirat and scandirat64.
71921         * dirent/scandirat.c: New file.
71922         * dirent/scandirat64.c: New file.
71923         * sysdeps/wordsize-64/scandirat.c: New file.
71924         * sysdeps/wordsize-64/scandirat64.c: New file.
71925         * dirent/opendir.c: Define opendirat.
71926         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71927         using scandirat.
71928         * dirent/scandir64.c: Adjust for scandir.c change.
71929         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71930         __scandirat64, and __scandir_cancel_handler.
71931         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71932         additional parameter and use openat instead of open (outside of ld.so).
71933         Add new __opendir as wrapper around __opendirat.
71934         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71935         here without requiring old scandirat implementation.
71937 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71939         * dirent/scandir.c (cancel_handler): Renamed to
71940         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71941         defined.  Adjust users.
71942         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71943         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71945 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71947         * string/test-string.h (IMPL): Use __STRING to expand name and then
71948         stringify it.
71950         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71951         of cleanups.
71953 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71955         * string/Makefile: Update.
71956         (strop-tests): Append strncat.
71957         * string/test-wcscmp.c: New file.
71958         New comprehensive test for wcscmp.
71959         * string/test-strcmp.c: Update.
71960         (WIDE): New define.
71962 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71964         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71965         line.
71967 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71970         encoding to ACE if AI_IDN.
71972 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71975         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71977 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71979         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71980         Fix overflow bug in strncat.
71981         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71983         * string/test-strncat.c: Update.
71984         Add new tests for checking overflow bugs.
71986 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71989         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71990         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71991         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71992         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71993         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71994         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71995         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71996         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71999         (USE_AS_STRCAT): Define.
72000         Add strcat and strncat support.
72001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72003 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72005         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72006         __n bigger than INT_MAX+1.
72007         (__strncmp_g): Likewise.
72009 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72011         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72012         * libio/stido.h: Likewise.
72014         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72015         (AF_NFC): Define.
72016         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72017         (AF_NFC): Define.
72019         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72022         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72025         [BZ #13021]
72026         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72027         installed.
72029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72030         typo.
72031         (_dl_x86_64_save_sse): Likewise.
72033 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72035         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72036         OSXSAVE.
72037         (_dl_x86_64_save_sse): Likewise.
72039         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72041         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72043 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72046         change.
72047         (_dl_x86_64_save_sse): Use correct AVX check.
72049 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72052         bug in strncpy/strncat.
72053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72055 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72057         * string/tester.c (test_strcat): Add tests for different alignments
72058         of source and destination.
72059         (test_strncat): Likewise.
72061 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72063         [BZ #12852]
72064         * posix/glob.c (glob): Check passed in values before using them in
72065         expressions to avoid some overflows.
72066         (glob_in_dir): Likewise.
72068         [BZ #13007]
72069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72070         check for AVX enablement so that we don't crash with old kernels and
72071         new hardware.
72072         * elf/tst-audit4.c: Add same checks here.
72073         * elf/tst-audit6.c: Likewise.
72075         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72077 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72079         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72081 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72083         * po/cs.po: Update from translation team.
72084         * po/bg.po: Likewise.
72086 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72088         * misc/sys/cdefs.h: Add support for const attribute.
72089         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72090         to gnu_dev_{major,minor,makedev} functions.
72092 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72094         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72096 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72098         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72099         strlen results.
72101 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72104         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72105         register in order to avoid conflicts with the soft frame pointer
72106         being held in r11 when necessary.
72107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72108         (INTERNAL_VSYSCALL_NCS): Likewise.
72110 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72112         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72113         * elf/dl-fini.c (_dl_fini): Adjust caller.
72114         * elf/dl-close.c (_dl_close_worker): Likewise.
72115         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72117 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72119         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72120         "aux_cache->nlibs < 0".
72122         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72123         in the reload-count case.
72125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72128         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72129         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72130         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72131         * sysdeps/x86_64/multiarch/strcat.S: New file.
72132         * sysdeps/x86_64/multiarch/strncat.S: New file.
72133         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72134         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72135         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72136         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72137         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72138         (USE_AS_STRCAT): Define.
72139         Add strcat and strncat support.
72140         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72141         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72142         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72143         * string/strncat.c: Update.
72144         (USE_AS_STRNCAT): Define.
72145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72146         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72147         and i7.
72148         * sysdeps/x86_64/multiarch/init-arch.h
72149         (bit_Prefer_PMINUB_for_stringop): New.
72150         (index_Prefer_PMINUB_for_stringop): Likewise.
72151         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72152         bit_Prefer_PMINUB_for_stringop.
72154 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72156         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72157         buffer64.
72158         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72159         of casting of buffer.
72160         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72161         buffer32 and buffer64.
72162         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72163         writes instead of casting of buffer.
72164         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72165         buffer32.
72166         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72167         casting of buffer.
72169 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72171         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72173 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72175         * nscd/nscd.c (termination_handler): Don't do anything for a database
72176         if it has not yet been initialized.
72178 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72180         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72182 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72184         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72186 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72188         * po/nl.po: Update from translation team.
72189         * po/sv.po: Likewise.
72191 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72193         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72194         now disallowed by GCC.
72196         * configure.in (use-default-link): Default to yes if a test -shared
72197         link meets our qualifications.
72198         * configure: Regenerated.
72200         * config.make.in (output-format): New variable.
72201         * configure.in: Check for ld --print-output-format support.
72202         * configure: Regenerated.
72203         * Makerules ($(common-objpfx)format.lds)
72204         [$(output-format) != unknown]: Just use $(output-format),
72205         instead of the linker-script munging.
72207 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72209         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72210         of $(common-objpfx)shlib.lds.
72211         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72213         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72214         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72216         * configure.in (-z relro check): Adjust test code to add a large
72217         writable data section after it.
72218         * configure: Regenerated.
72220 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72222         * configure.in (-z relro check): Fix test code to make the variable
72223         truly const.
72224         * configure: Regenerated.
72226 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72228         * nscd/nscd.h (struct traced_file): Define.
72229         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72230         elements.  Add traced_files.
72231         (inotify_fd): Declare.
72232         (register_traced_file): Declare.
72233         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72234         (inotify_fd): Export.
72235         (resolv_conf_descr): Remove.
72236         (nscd_init): Move inotify descriptor creation to main.
72237         Don't register files for notification here.
72238         (register_traced_file): New function.
72239         (invalidate_cache): Don't use reset_res to determine whether to call
72240         res_init, go through the list of registered files.
72241         (main_loop_poll): The inotify descriptors are now stored in the
72242         structures for the traced files.
72243         (main_loop_epoll): Likewise.
72244         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72245         to __nss_disable_nscd.
72246         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72247         for a database anymore.  Check the records for all the registered
72248         files instead.
72249         * nss/Makefile (libnss_files-routines): Add files-init.
72250         (libnss_db-routines): Add db-init.
72251         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72252         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72253         * nss/nss_db/db-init.c: New file.
72254         * nss/nss_files/files-init.c: New file.
72255         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72256         __nss_lookup_function.
72257         (__nss_lookup_function): Call nss_load_library.
72258         (nss_load_all_libraries): New function.
72259         (__nss_disable_nscd): Take parameter with callback function for files
72260         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72261         used for the cached services.
72262         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72263         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72264         options for features to all the files in nscd.
72266         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72268 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72270         * csu/elf-init.c (__libc_csu_init): Comment typo.
72272 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72274         * po/pl.po: Update from translation team.
72275         * po/ja.po: Likewise.
72276         * po/ru.po: Likewise.
72277         * po/ko.po: Likewise.
72278         * po/fr.po: Likewise.
72280 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72282         * configure.in (.ctors/.dtors header and trailer check):
72283         Use an empirical test on a built program.
72284         * configure: Regenerated.
72286         * configure.in (-z relro check): Use an empirical test on a built DSO.
72287         Detect, but do not require, on ia64.
72288         * configure: Regenerated.
72290         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72291         Update tests that use readelf to use $READELF instead.
72292         * configure: Regenerated.
72294 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72296         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72297         if the result is not used.
72299 2011-07-05  Andreas Jaeger  <aj@suse.de>
72301         [BZ#9696]
72302         * stdlib/tst-strtod.c: Add testcase.
72304 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72306         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72307         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72308         The latter has a higher limit.  Take additional parameter to pass to
72309         the new function.
72310         (__pathconf): Pass file to __statfs_link_max.
72311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72312         __statfs_link_max.
72313         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72314         __statfs_link_max.
72316         [BZ #12868]
72317         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72319         Handle Lustre.
72320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72321         (__statfs_filesize_max): Likewise.
72322         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72324 2011-07-05  Andreas Jaeger  <aj@suse.de>
72326         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72328 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72330         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72331         `status' variable.
72332         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72333         Likewise.
72335 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72337         * Makefile (strop-tests): Add strncat.
72338         * string/test-strncat.c: New file.
72340 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72342         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72344 2011-06-21  Andreas Jaeger  <aj@suse.de>
72346         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72347         Copy rule from iconvdata/Makefile.
72349 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72351         [BZ #12922]
72352         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72353         but no long options are defined, just return 'W'.
72355 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72357         [BZ #9696]
72358         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72360 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72362         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72363         netgroups to read.
72364         (innetgr): Likewise.
72366 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72368         * config.make.in (install_root): Default to $(DESTDIR).
72370 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72372         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72374 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72376         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72378         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72379         containing directory rather than embedding absolute directory names.
72381         * scripts/check-local-headers.sh: Rewritten using awk.
72382         Match by word, not by line.  Print error messages for matches.
72383         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72385         * Makerules [shlib-lds-flags empty]:
72386         ($(common-objpfx)libc_pic.opts): New target.
72387         ($(common-objpfx)libc_pic.os.clean): New target.
72388         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72390         * config.make.in (OBJCOPY): New variable.
72391         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72392         * configure: Regenerated.
72394         * config.make.in (use-default-link): New variable.
72395         * configure.in (use_default_link): Grok --with-default-link to set it.
72396         * configure: Regenerated.
72397         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72398         (shlib-lds, shlib-lds-flags): Define to empty.
72400         * Makerules (shlib-lds): New variable.
72401         (shlib-lds-flags): New variable.
72402         (build-shlib, build-moduile, build-module-asneeded): Use it.
72403         ($(common-objpfx)libc.so): Use $(shlib-lds).
72404         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72405         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72407         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72408         DT_FLAGS/DT_FLAGS_1 with zero flags.
72410         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72411         linker script munging.
72413 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72415         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72416         as 128-bit value.
72417         * crypt/sha512.c (sha512_process_block): Perform total addition using
72418         128-bit if possible.
72419         (__sha512_finish_ctx): Likewise.
72420         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72421         as 64-bit value.
72422         * crypt/sha256.c (SWAP64): Define.
72423         (sha256_process_block): Perform total addition using 64-bit if
72424         possible.
72425         (__sha256_finish_ctx): Likewise.
72427 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72429         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72431         * nscd/hstcache.c (cache_addhst): Likewise.
72432         * nscd/grpcache.c (cache_addgr): Likewise.
72433         * nscd/aicache.c (addhstaiX): Likewise.
72434         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72436 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72438         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72440         * nscd/hstcache.c (cache_addhst): Likewise.
72441         * nscd/grpcache.c (cache_addgr): Likewise.
72442         * nscd/aicache.c (addhstaiX): Likewise.
72444 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72446         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72447         domain only when needed.
72449 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72452         is always restored.
72454 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72456         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72457         are re-adding the entry.
72458         * nscd/servicescache.c (cache_addserv): Likewise.
72460 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72462         * sysdeps/generic/dl-irel.h: fix protection against multiple
72463         inclusions.
72464         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72466 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72468         [BZ #12935]
72469         * malloc/memusage.sh: Fix quoting in message.
72470         * debug/xtrace.sh: Likewise.
72472         * configure.in: Remove support for --experimental-malloc option, make
72473         it the default.
72474         * config.make.in: Likewise.
72475         * malloc/Makefile: Likewise.
72477 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72479         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72480         two-byte characters.
72482 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72484         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72485         AC_CACHE_CHECK invocation.
72486         * configure: Regenerated.
72488         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72490 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72492         [BZ #12350]
72493         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72494         bit from old_res_options.
72496         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72498         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72499         value type for setfct.
72501 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72504         __gettimeofday instead of gettimeofday.
72506 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72508         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72510 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72515         info.
72517 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72520         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72521         strcpy-sse2-unaligned strncpy-sse2-unaligned
72522         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72523         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72524         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72525         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72526         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72528         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72529         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72530         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72531         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72532         (STRCPY): Support SSE2 and SSSE3 versions.
72534 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72536         [BZ #12874]
72537         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72538         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72539         kernels which artificially limit size of requests.
72541 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72544         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72545         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72546         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72547         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72548         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72549         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72550         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72551         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72553         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72554         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72555         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72556         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72557         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72559         Enable unaligned load optimization for Intel Core i3, i5 and i7
72560         processors.
72561         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72562         Define.
72563         (index_Fast_Unaligned_Load): Define.
72564         (HAS_FAST_UNALIGNED_LOAD): Define.
72566 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72568         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72570 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72572         [BZ #12907]
72573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72574         until it is clear that the information is realy needed.
72575         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72577 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72581 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72584         /sys/devices/system/cpu/online if it is usable.
72586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72587         reading the information from the /proc filesystem to once a second.
72589 2011-06-21  Andreas Jaeger  <aj@suse.de>
72591         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72592         NULL after inclusion of kernel headers.
72594 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72596         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72597         calls to internal_setent.
72599         [BZ #12885]
72600         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72601         addresses using gethostbyname4_r ignore IPv4 addresses.
72603         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72604         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72606         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72608 2011-06-20  David S. Miller  <davem@davemloft.net>
72610         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72611         inclusions.
72612         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72614         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72615         (elf_irel): Use it.
72616         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72617         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72618         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72619         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72620         * sysdeps/x86_64/dl-irel.h: Likewise.
72622         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72623         * elf/dl-sym.c: Likewise.
72625 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72627         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72628         need to dereference resplen2.
72630 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72632         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72634 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72636         * Makeconfig: Define vardbdir and inst_vardbdir.
72637         * nss/Makefile: Add rules to install db-Makefile.
72639         * nss/nss_db/db-XXX.c: Cleanup.
72641         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72642         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72643         GLIBC_PRIVATE.
72644         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72645         * nss/makedb.c: Implement -g option to specify that value strings
72646         are generated and should not be added to table iterated over for
72647         get*ent calls.
72648         * nss/nss_db/db-initgroups.c: New file.
72650         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72651         interface.
72653         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72654         (internal_getgrouplist): Adjust to name change.
72655         Update use_initgroups_entry if this is not the first call.
72656         * nss/databases.def: Add initgroups entry.
72658         * nss/makedb.c (compute_tables): Check result of multiple hash table
72659         sizes to minimize maximum chain length.
72661 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72663         * Versions.def: Add entry for libnss_db.
72664         * shlib-versions: Likewise.
72665         * nss/Makefile: Add rules to build libnss_db.
72666         * nss/Versions: Add libnss_db information.  Organize libnss_files
72667         entries better.
72668         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72669         makedb progra.  Some minor improvements to generate smaller files.
72670         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72671         here from...
72672         * nss/makedb.c: ...here.
72673         Improve database format to be smaller and require less memory at
72674         runtime.
72675         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72676         db anymore.
72677         * nss/nss_db/db-netgrp.c: Likewise.
72678         * nss/nss_db/db-open.c: Likewise.
72679         * nss/nss_files/flies-XXX.x: Adjust comments.
72680         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72681         * nss/nss_files/files-grp.c: Likewise.
72682         * nss/nss_files/files-hosts.c: Likewise.
72683         * nss/nss_files/files-network.c: Likewise.
72684         * nss/nss_files/files-proto.c: Likewise.
72685         * nss/nss_files/files-pwd.c: Likewise.
72686         * nss/nss_files/files-rpc.c: Likewise.
72687         * nss/nss_files/files-service.c: Likewise.
72688         * nss/nss_files/files-sgrp.c: Likewise.
72689         * nss/nss_files/files-spwd.c: Likewise.
72690         * nss/nss_db/db-alias.c: Removed.
72691         * nss/nss_db/dummy-db.h: Removed.
72693 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72695         * nss/makedb.c: Rewritten to not use database library.
72696         * nss/Makefile: Update to build new makedb program.
72698 2011-06-14  Andreas Jaeger  <aj@suse.de>
72700         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72701         memset declaration.
72703 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72706         tmpbuf.
72708 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72710         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72711         * elf/Makefile ($(objpfx)ld.so): Likewise.
72713         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72714         Don't list ld.so twice in dependencies.
72716         * posix/bug-regex31.c: Include <stdlib.h>.
72718         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72720         * nis/nss_compat/compat-spwd.c
72721         (getspent_next_nss_netgr): Remove unused variable.
72722         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72724         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72725         nonmembers" output to use the right array.
72727         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72729         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72731         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72732         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72733         * catgets/gencat.c (read_input_file): Likewise.
72734         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72737         variable definition inside #if's controlling its use.
72739         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72741         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72743         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72745         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72746         unreachable code.
72748         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72750         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72751         * configure: Regenerated.
72753         * Makerules: Revert last change.
72754         * elf/Makefile: Likewise.
72756 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72758         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72759         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72760         (reloc-link): Likewise.
72762 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72764         * elf/Makefile: Add rules to build pldd.
72765         * elf/pldd.c: New file.
72766         * elf/pldd-xx.c: New file.
72768 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72770         * version.h: Update for 2.15 development version.
72772 2011-06-07  David S. Miller  <davem@davemloft.net>
72774         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72775         ifuncs.
72776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72777         elf_machine_lazy_rel): Likewise.
72778         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72779         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72780         elf_machine_lazy_rel): Likewise.
72781         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72782         dl_hwcap via passed in argument.
72783         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72784         Likewise.
72786 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72788         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72790 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72792         [BZ #12849]
72793         * manual/fdl-1.1.texi: New file, verbatim from:
72794         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72795         * manual/lgpl-2.1.texi: New file, verbatim from:
72796         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72797         * manual/Makefile (licenses): New variable, list those new file names.
72798         (texis): Use it.
72799         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72801         * manual/fdl.texi: File removed.
72802         * manual/lesser.texi: File removed.
72803         * manual/libc.texinfo (Copying, Documentation License):
72804         Use new @include file names, put @appendix directive before @include.
72806 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72808         [BZ #12841]
72809         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72810         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72811         (mq_open): Add __NTH.
72813 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72816         Assume Intel Core i3/i5/i7 processor if AVX is available.
72818 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72821         typo.
72823 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72826         memory.  Use alloca_account.  Fix memory leak when retrying.
72828 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72830         * version.h (RELEASE): Bump for 2.14 release.
72831         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72833         * config.make.in (RANLIB): Remove entry.
72835 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72837         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72838         (libc.pot): Work around missing support for .ksh extension in xgettext.
72840         [BZ #12684]
72841         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72842         if both request failed.
72843         (send_dg): In case of server errors clear resplen or *resplen2.
72845         [BZ #12454]
72846         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72847         when there are multiple maps.
72848         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72849         (_dl_fini): Remove test here.
72851         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72853 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72855         [BZ #12350]
72856         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72857         bit from old_res_options.
72858         (gaih_inet): Likewise.
72860         [BZ #11099]
72861         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72862         as signed.
72864         * resolv/res_init.c (res_setoptions): Make the code more compact.
72866         [BZ #11558]
72867         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72868         set RES_USEVC.
72870         [BZ #11634]
72871         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72873         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72875         [BZ #11781]
72876         * malloc/malloc.h: Declare malloc hook variables as volatile.
72878         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72879         in last patch.
72881         [BZ #11799]
72882         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72883         raise in the comment.
72884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72886         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72888 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72890         [BZ #12811]
72891         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72892         grow the buffers more if it already has to be sufficient.
72893         (build_wcs_upper_buffer): Likewise.
72894         * posix/regexec.c (check_matching): Likewise.
72895         (clean_state_log_if_needed): Likewise.
72896         (extend_buffers): Don't enlarge buffers beyond size of the input
72897         buffer.
72898         Patches mostly by Emil Wojak <emil@wojak.eu>.
72899         * posix/bug-regex32.c: New file.
72900         * posix/Makefile (tests): Add bug-regex32.
72902         * locale/findlocale.c (_nl_find_locale): Return right away if
72903         _nl_explode_name failed.
72904         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72906         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72908         * debug/xtrace.sh: Unify messages.
72909         * malloc/memusage.sh: Likewise.
72911         [BZ #12813]
72912         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72913         time symbol from vDSO.  Substitute with vsyscall if not available.
72914         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72915         __vdso_time.
72917         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72918         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72919         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72920         Add sendmmsg and internal_sendmmsg.
72921         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72922         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72925         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72926         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72927         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72929 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72931         [BZ #12813]
72932         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72933         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72934         available.
72935         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72936         __vdso_getcpu.
72938         [BZ #12814]
72939         * iconvdata/Makefile (tests): Add bug-iconv9.
72940         * iconvdata/bug-iconv9.c: New file.
72942 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72944         [BZ #12814]
72945         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72947 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72949         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72950         (struct user_regs_struct): Change intcs field back to cs.
72952 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72954         * po/ja.po: Update from translation team.
72956 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72958         [BZ #12795]
72959         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72960         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72962 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72964         * stdlib/longlong.h: Update from GCC.
72966 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72968         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72969         parameter name.
72970         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72971         Add parameter name.
72972         (__sysconf): Pass it down.
72974 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72976         [BZ #12671]
72977         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72978         some situations.
72979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72980         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72981         add in in __libc_use_alloca calls.  Adjust callers.
72982         (glob): Use malloc in some situations.
72984         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72985         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72986         pltexit.
72988 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72990         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72991         and CLOCK_BOOTTIME_ALARM.
72993         [BZ #12782]
72994         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72995         is returned.
72997         * string/_strerror.c (__strerror_r): Print negative errors as signed
72998         numbers.
73000         [BZ #12777]
73001         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73002         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73003         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73005         * configure.in: Fix typo in redirection and correct removal of test
73006         files in two cases.
73008         [BZ #12788]
73009         * locale/setlocale.c (new_composite_name): Fix test to check for
73010         identical name of all categories.
73012         [BZ #12792]
73013         * libio/filedoalloc.c (local_isatty): New function.
73014         (_IO_file_doallocate): Use local_isatty.
73015         * stdio-common/perror.c (perror): In case a new stream is used
73016         forward the stream error.
73017         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73018         error flag.
73020 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73022         [BZ #11884]
73023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73024         alloca.
73025         * include/alloca.h (extend_alloca_account): Define.
73027         [BZ #11857]
73028         * posix/regex.h: Fix comments with documentation of user-accessible
73029         fields after compilation and describe correct free'ing of pattern
73030         after re_compile_pattern.
73031         Patch by Reuben Thomas <rrt@sc3d.org>.
73033 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73035         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73036         and -mno-altivec to prevent the compiler from using Altivec and/or
73037         VSX instructions when the corresponding registers are not available.
73039 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73041         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73043 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73045         * libio/freopen.c (freopen): Use __dup2, not dup2.
73046         * libio/freopen64.c (freopen64): Likewise.
73048 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73050         [BZ #12775]
73051         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73052         * math/Makefile (tests): Add test-powl.
73053         (CFLAGS-test-powl.c): Define.
73054         * math/test-powl.c: New file.
73056 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73058         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73060 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73062         [BZ #11837]
73063         * iconvdata/gb18030.c: Update to GB18020-2005.
73065 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73067         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73068         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73069         Patch by Aharon Robbins <arnold@skeeve.com>.
73071         [BZ #11892]
73072         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73073         on the stack.
73075         [BZ #11895]
73076         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73077         through underflows.
73079         [BZ #12766]
73080         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73081         point to strings before performing equality test for error_one_per_line
73082         mode.
73084         [BZ #11697]
73085         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73087         [BZ #11820]
73088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73089         (struct user_fpregs_struct): Avoid __uint*_t types.
73091         [BZ #6420]
73092         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73093         symbol info.  Use it instead of calling _dl_addr locally.
73094         (lock_and_info): New function.
73095         (tr_freehook): Call lock_and_info and pass symbol info as additional
73096         parameter to tr_where.
73097         (tr_mallochook): Likewise.
73098         (tr_reallochook): Likewise.
73099         (tr_memalignhook): Likewise.
73101         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73102         used and couldn't be at all thread-safe.
73104 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73106         * libio/freopen.c (freopen): Don't close old file descriptor
73107         before the new one is opened.  Instead dup the new file descriptor
73108         to the old one after the new stream is created.
73109         * libio/freopen64.c (freopen64): Likewise.
73110         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73111         * libio/fileops.c (_IO_new_file_close_it): Handle new
73112         _IO_FLAGS2_NOCLOSE flag.
73113         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73114         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73115         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73116         _IO_FLAGS2_NOCLOSE flag.
73117         * include/unistd.h: Add hidden_proto for dup3.
73118         Define __have_dup3.
73119         * io/dup3.c: Define hidden symbol.
73120         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73122         [BZ #7101]
73123         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73124         when an incomplete long option is used.
73125         * posix/tst-getopt_long1.c: New file.
73126         * posix/Makefile (tests): Add tst-getopt_long1.
73128         [BZ #10138]
73129         * scripts/config.guess: Update from autoconf-2.68.
73130         * scripts/config.sub: Likewise.
73132         [BZ #10157]
73133         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73134         tests into ...
73135         (has_cpuclock): ...this.  New function.
73136         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73137         macro here based on has_cpuclock code.
73139         [BZ #10149]
73140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73141         First byte (not low byte) is now always NUL.
73142         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73144         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73145         Use non-cancelable interfaces.
73147         [BZ #9809]
73148         * locale/iso-639.def: Add entry for Sorani.
73150         [BZ #11901]
73151         * include/stdlib.h: Move include protection to the right place.
73152         Define abort_msg_s.  Declare __abort_msg with it.
73153         * stdlib/abort.c (__abort_msg): Adjust type.
73154         * assert/assert.c (__assert_fail_base): New function.  Majority
73155         of code from __assert_fail.  Allocate memory for __abort_msg with
73156         mmap.
73157         (__assert_fail): Now call __assert_fail_base.
73158         * assert/assert-perr.c: Remove bulk of implementation.  Use
73159         __assert_fail_base.
73160         * include/assert.hL Declare __assert_fail_base.
73161         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73162         mmap.
73163         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73165 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73167         [BZ #11952]
73168         [BZ #12453]
73169         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73170         until all modules are registered in the DTV.
73171         * elf/Makefile: Add rules to build and run tst-tls19.
73172         * elf/tst-tls19.c: New file.
73173         * elf/tst-tls19mod1.c: New file.
73174         * elf/tst-tls19mod2.c: New file.
73175         * elf/tst-tls19mod3.c: New file.
73176         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73178         [BZ #12083]
73179         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73180         correctly.
73182         [BZ #12601]
73183         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73184         two-byte sequence errors.
73185         * iconvdata/Makefile (tests): Add bug-iconv8.
73186         * iconvdata/bug-iconv8.c: New file.
73188         [BZ #12626]
73189         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73190         buf2 definition.
73192         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73194         [BZ #12432]
73195         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73196         (dummy_getcfa): New function.
73197         (init): Get _Unwind_GetCFA address, use dummy if not found.
73198         (backtrace_helper): In recursion check, also check whether CFA changes.
73199         (__backtrace): Completely initialize arg.
73201         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73202         storing incomplete byte sequence in state object.  Avoid testing for
73203         guaranteed too small input if we know there is enough data available.
73205 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73207         * Makeconfig (+link-pie): Indent.
73208         * Rules (binaries-pie): Define if $(have-fpie) and
73209         $(build-shared).
73210         (binaries-shared): Also filter out $(binaries-pie).
73211         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73212         * nscd/Makefile (others-pie): Add nscd.
73213         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73214         ($(objpfx)nscd): Remove command override.
73215         * login/Makefile (others-pie): Add pt_chown.
73216         ($(objpfx)pt_chown): Remove command override.
73217         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73218         remove command overrides.
73220 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73222         * libio/tst_putwc.c: Fix error messages.
73224         [BZ #12724]
73225         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73226         currently writing and seek to current position when not.
73227         * libio/Makefile (tests): Add bug-fclose1.
73228         * libio/bug-fclose1.c: New file.
73230 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73232         [BZ #12511]
73233         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73234         don't set DF_1_NODELETE here.
73235         (do_lookup_x): When entering new entry test for copy relocation
73236         and if necessary set DF_1_NODELETE flag.
73237         * elf/tst-unique4.cc: New file.
73238         * elf/tst-unique4.h: New file.
73239         * elf/tst-unique4lib.cc: New file.
73240         * elf/Makefile: Add rules to build and run tst-unique4.
73241         Patch by Piotr Bury <pbury@goahead.com>.
73243 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73245         [BZ #12052]
73246         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73248         [BZ #12625]
73249         * misc/mntent_r.c (addmntent): Flush the stream after the output
73251         [BZ #12393]
73252         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73253         (is_trusted_path_normalize): Skip initial colon.  Append slash
73254         to empty buffer.  Duplicate is_trusted_path code but allow
73255         constructed patch to be prefix.
73256         (is_dst): Allow $ORIGIN followed by /.
73257         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73258         Correct testing of result of is_trusted_path_normalize
73259         (decompose_rpath): Fix warning.
73261 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73263         [BZ #11257]
73264         * grp/initgroups.c (internal_getgrouplist): When we found the service
73265         list through the initgroups entry in nsswitch.conf do not always
73266         continue on a successful lookup.  Don't always use the
73267         __nss_group_database value if it is set.
73268         * nss/nsswitch.conf (initgroups): Change action for successful db
73269         lookup to continue for compatibility.
73271 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73273         [BZ #11532]
73274         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73275         and CP774 modules.
73276         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73277         and CP774 modules.
73278         * iconvdata/tst-tables.sh: Likewise.
73279         * iconvdata/cp770.c: New file.
73280         * iconvdata/cp771.c: New file.
73281         * iconvdata/cp772.c: New file.
73282         * iconvdata/cp773.c: New file.
73283         * iconvdata/cp774.c: New file.
73284         * iconvdata/testdata/CP770: New file.
73285         * iconvdata/testdata/CP770..UTF8: New file.
73286         * iconvdata/testdata/CP771: New file.
73287         * iconvdata/testdata/CP771..UTF8: New file.
73288         * iconvdata/testdata/CP772: New file.
73289         * iconvdata/testdata/CP772..UTF8: New file.
73290         * iconvdata/testdata/CP773: New file.
73291         * iconvdata/testdata/CP773..UTF8: New file.
73292         * iconvdata/testdata/CP774: New file.
73293         * iconvdata/testdata/CP774..UTF8: New file.
73295         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73296         END CHARMAP line.
73297         * iconvdata/gen-8bit-gap.sh: Likewise.
73298         * iconvdata/gen-8bit.sh: Likewise.
73300         * locale/iso-639.def: Add ary entry.
73302         [BZ #11258]
73303         * locale/C-translit.h.in: Add U20A1 transliteration.
73305         [BZ #12178]
73306         * locale/iso-639.def: Add wae entry.
73307         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73309         [BZ #12545]
73310         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73311         for n.
73313         [BZ #12711]
73314         * locale/C-translit.h.in: Add entry for U20B9.
73315         Patch by pravin.d.s@gmail.com.
73317 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73319         [BZ #12713]
73320         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73321         ENAMETOOLONG use generic getcwd.
73322         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73323         in rtld.  Use *stat64.
73324         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73325         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73326         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73327         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73328         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73329         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73330         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73331         __fstatat64 macros.
73332         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73333         * dirent/rewinddir.c: Add libc_hidden_def.
73334         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73335         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73337         * include/dirent.h (__alloc_dir): Add flags parameter.
73338         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73339         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73340         __alloc_dir.
73341         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73342         from fdopendir if O_CLOEXEC is already set.
73344 2011-03-15  Alan Modra  <amodra@gmail.com>
73346         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73347         l_tls_firstbyte_offset non-zero.  Save padding offset in
73348         l_tls_firstbyte_offset for later use.
73349         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73350         freeing static tls block.
73352 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73354         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73355         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73356         being defined by the kernel headers.
73358 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73360         [BZ #12734]
73361         * resolv/resolv.h: Define RES_NOTLDQUERY.
73362         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73363         no-tld-query and set RES_NOTLDQUERY.
73364         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73365         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73366         modern BIND to search name as TLD unless forbidden.
73368 2011-05-07  Petr Baudis  <pasky@suse.cz>
73369             Ulrich Drepper  <drepper@gmail.com>
73371         [BZ #12393]
73372         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73373         (is_trusted_path): ...to here.
73374         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73375         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73376         using is_trusted_path_normalize() in setuid scripts.
73378 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73380         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73381         __BEGIN/__END_DECLS.
73383 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73386         NSS_STATUS_NOTFOUND if no record was found.
73388 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73390         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73391         (headers-not-in-tirpc): Remove rpc/netdb.h
73392         * resolv/netdb.h: Revert last change.
73394 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73396         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73397         circular dependency between libgcc.a and libc.a.
73399 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73401         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73402         * nis/Makefile: Don't install rpcsvc/*.
73403         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73404         instead of <rpc/types.h>.
73405         (MAXHOSTNAMELEN): Define.
73407 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73409         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73411 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73413         [BZ #12714]
73414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73415         gethostbyname4_r when IPv6 results are possible.
73417 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73419         [BZ #12723]
73420         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73421         _PC_PIPE_BUF handling.
73423 2011-04-30  Bruno Haible  <bruno@clisp.org>
73425         [BZ #12717]
73426         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73427         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73428         to 'int'.
73429         * inet/getnameinfo.c (getnameinfo): Likewise.
73431 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73433         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73434         to groups setting in database lookup.
73435         * nss/nsswitch.conf: Add initgroups entry.
73437 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73439         [BZ #12685]
73440         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73441         mode string.
73442         Patch by Eric Blake <eblake@redhat.com>.
73444 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73446         * sunrpc/Makefile (need-export-routines): Add svc_run.
73447         (routines): Remove svc_run.
73448         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73449         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73450         * sunrpc/svc_run.c (svc_run): Likewise.
73451         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73453 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73455         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73456         problem in reallocation in last patch.
73458 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73460         * sunrpc/Makefile: Move inclusion of Rules.
73462 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73464         * nss/nss_files/files-initgroups.c: New file.
73465         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73466         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73467         _nss_files_initgroups_dyn.
73469 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73471         * elf/elf.h (R_ARM_IRELATIVE): Define.
73473 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73475         * po/ru.po: Update from translation team.
73477 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73479         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73480         dependencies.
73482 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73484         [BZ #12653]
73485         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73486         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73491 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73494         differing bytes.
73495         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73499 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73501         [BZ #12420]
73502         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73503         storing it.
73504         * stdlib/bug-getcontext.c: New file.
73505         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73507 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73509         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73510         instructions into .machine "z9-109".
73511         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73512         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73514 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73516         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73517         between environment variables and auxiliary vector.
73519 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73521         * Makefile: Add rules to build linkobj/libc.so.
73522         * include/libc-symbols.h: Define libc_hidden_nolink.
73523         * include/rpc/auth.h: Mark functions which are to be hidden.
73524         * include/rpc/auth_des.h: Likewise.
73525         * include/rpc/auth_unix.h: Likewise.
73526         * include/rpc/clnt.h: Likewise.
73527         * include/rpc/des_crypt.h: Likewise.
73528         * include/rpc/key_prot.h: Likewise.
73529         * include/rpc/pmap_clnt.h: Likewise.
73530         * include/rpc/pmap_prot.h: Likewise.
73531         * include/rpc/pmap_rmt.h: Likewise.
73532         * include/rpc/rpc_msg.h: Likewise.
73533         * include/rpc/svc.h: Likewise.
73534         * include/rpc/svc_auth.h: Likewise.
73535         * include/rpc/xdr.h: Likewise.
73536         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73537         * nss/Makefile: Likewise.
73538         * sunrpc/Makefile: Don't install headers.  Build library with normal
73539         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73540         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73541         for the compat linking library.  Remove use of INTDEF/INTUSE.
73542         * sunrpc/auth_none.c: Likewise.
73543         * sunrpc/auth_unix.c: Likewise.
73544         * sunrpc/authdes_prot.c: Likewise.
73545         * sunrpc/authuxprot.c: Likewise.
73546         * sunrpc/clnt_gen.c: Likewise.
73547         * sunrpc/clnt_perr.c: Likewise.
73548         * sunrpc/clnt_raw.c: Likewise.
73549         * sunrpc/clnt_simp.c: Likewise.
73550         * sunrpc/clnt_tcp.c: Likewise.
73551         * sunrpc/clnt_udp.c: Likewise.
73552         * sunrpc/clnt_unix.c: Likewise.
73553         * sunrpc/des_crypt.c: Likewise.
73554         * sunrpc/des_soft.c: Likewise.
73555         * sunrpc/get_myaddr.c: Likewise.
73556         * sunrpc/key_call.c: Likewise.
73557         * sunrpc/key_prot.c: Likewise.
73558         * sunrpc/netname.c: Likewise.
73559         * sunrpc/pm_getmaps.c: Likewise.
73560         * sunrpc/pm_getport.c: Likewise.
73561         * sunrpc/pmap_clnt.c: Likewise.
73562         * sunrpc/pmap_prot.c: Likewise.
73563         * sunrpc/pmap_prot2.c: Likewise.
73564         * sunrpc/pmap_rmt.c: Likewise.
73565         * sunrpc/publickey.c: Likewise.
73566         * sunrpc/rpc_cmsg.c: Likewise.
73567         * sunrpc/rpc_common.c: Likewise.
73568         * sunrpc/rpc_dtable.c: Likewise.
73569         * sunrpc/rpc_prot.c: Likewise.
73570         * sunrpc/rpc_thread.c: Likewise.
73571         * sunrpc/rtime.c: Likewise.
73572         * sunrpc/svc.c: Likewise.
73573         * sunrpc/svc_auth.c: Likewise.
73574         * sunrpc/svc_authux.c: Likewise.
73575         * sunrpc/svc_raw.c: Likewise.
73576         * sunrpc/svc_run.c: Likewise.
73577         * sunrpc/svc_simple.c: Likewise.
73578         * sunrpc/svc_tcp.c: Likewise.
73579         * sunrpc/svc_udp.c: Likewise.
73580         * sunrpc/svc_unix.c: Likewise.
73581         * sunrpc/svcauth_des.c: Likewise.
73582         * sunrpc/xcrypt.c: Likewise.
73583         * sunrpc/xdr.c: Likewise.
73584         * sunrpc/xdr_array.c: Likewise.
73585         * sunrpc/xdr_float.c: Likewise.
73586         * sunrpc/xdr_intXX_t.c: Likewise.
73587         * sunrpc/xdr_mem.c: Likewise.
73588         * sunrpc/xdr_rec.c: Likewise.
73589         * sunrpc/xdr_ref.c: Likewise.
73590         * sunrpc/xdr_sizeof.c: Likewise.
73591         * sunrpc/xdr_stdio.c: Likewise.
73593 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73595         [BZ #12650]
73596         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73597         * sysdeps/ia64/dl-tls.h: Likewise.
73598         * sysdeps/powerpc/dl-tls.h: Likewise.
73599         * sysdeps/s390/dl-tls.h: Likewise.
73600         * sysdeps/sh/dl-tls.h: Likewise.
73601         * sysdeps/sparc/dl-tls.h: Likewise.
73602         * sysdeps/x86_64/dl-tls.h: Likewise.
73603         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73605 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73607         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73608         rpath element also skip the following colon.
73609         (expand_dynamic_string_token): Add is_path parameter and pass
73610         down to DL_DST_REQUIRED and _dl_dst_substitute.
73611         (decompose_rpath): Call expand_dynamic_string_token with
73612         non-zero is_path.  Ignore empty rpaths.
73613         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73614         with zero is_path.
73616 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73619         Make cancelable.
73621 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73623         [BZ #12655]
73624         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73625         Patch by Filipe David Manana <fdmanana@apache.org>.
73627 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73630         Maintain aligned stack.
73631         (CHECK_RSP): Remove unused macro.
73633 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73635         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73638 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73640         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73642         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73644 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73646         [BZ #12518]
73647         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73648         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73649         * sysdeps/x86_64/memmove.c: New file.
73650         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73651         (memcpy): Renamed to ...
73652         (__new_memcpy): This.
73653         (memcpy): Provide GLIBC_2_14 memcpy.
73654         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73655         (memcpy): Provide GLIBC_2_2_5 memcpy.
73657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73659         [BZ #12631]
73660         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73662 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73664         * misc/syncfs.c: New file.
73665         * misc/Makefile (routines): Add syncfs.
73666         * posix/unistd.h: Declare syncfs.
73667         * sysdeps/unix/syscalls.list: Add syncfs.
73669 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73671         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73672         open_by_handle_at.
73673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73676         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73678         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73681 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73683         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73685         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73687         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73689         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73691         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73692         sync_file_range.c with -fexceptions.
73693         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73694         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73695         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73696         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73697         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73698         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73700         sync_file_range as cancellation point
73701         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73702         now a wrapper around __call_sync_file_range with cancellation handling.
73703         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73704         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73705         function name to __call_sync_file_range.
73706         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73707         Add call_sync_file_range.
73709 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73712         bits/timex.h.
73714 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73716         * iconv/iconv.h: Fix typo in comment.
73717         * io/fcntl.h: Likewise.
73718         * libio/stdio.h: Likewise.
73719         * posix/spawn.h: Likewise.
73720         * posix/unistd.h: Likewise.
73721         * stdlib/stdlib.h: Likewise.
73722         * time/time.h: Likewise.
73723         * wcsmbs/wchar.h: Likewise.
73725         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73726         open_by_handle): Add.
73727         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73728         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73729         Augment a few comments.
73730         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73734         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73735         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73736         open_by_handle.
73738         * io/fcntl.h (AT_EMPTY_PATH): Define.
73740 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73742         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73743         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73744         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73745         to...
73746         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73747         * Versions.def: Add GLIBC_2.14.
73748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73749         Export.
73751 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73753         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73754         round counter.
73755         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73757 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73759         [BZ #12597]
73760         * string/test-strncmp.c (do_page_test): New function.
73761         (check2): Likewise.
73762         (test_main): Call check2.
73763         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73765 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73767         [BZ #12587]
73768         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73769         Handle cache information in CPU leaf 4.
73770         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73772 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73774         [BZ #12583]
73775         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73776         character representation.
73777         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73779 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73781         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73782         END(__isnan) to END(__isnanf) to match function entry point/label
73783         EALIGN(__isnanf,...).
73785 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73787         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73789 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73791         [BZ #12510]
73792         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73793         copy from the symbol referenced in the relocation to initialize the
73794         used variable.
73795         Patch by Piotr Bury <pbury@goahead.com>.
73796         * elf/Makefile: Add rules to build and tst-unique3.
73797         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73798         * elf/tst-unique3.cc: New file.
73799         * elf/tst-unique3.h: New file.
73800         * elf/tst-unique3lib.cc: New file.
73801         * elf/tst-unique3lib2.cc: New file.
73803         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73805 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73807         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73808         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73809         to _start.
73811 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73813         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73814         to-be-loaded object along a path to loader is ld.so.
73816 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73817             Ulrich Drepper  <drepper@gmail.com>
73819         * sysdeps/x86_64/memset.S: After aligning destination, code
73820         branches to different locations depending on the value of
73821         misalignment, when multiarch is enabled. Fix this.
73823 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73825         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73826         Set _x86_64_preferred_memory_instruction for AMD processsors.
73827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73828         Set bit_Prefer_SSE_for_memop for AMD processors.
73830 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73832         * libio/fmemopen.c (fmemopen): Optimize a bit.
73834 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73836         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73838 2011-03-03  Roland McGrath  <roland@redhat.com>
73840         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73842 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73844         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73845         __bzero_ultra1 instead of __memset_ultra1.
73847 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73848             Ulrich Drepper  <drepper@gmail.com>
73850         [BZ #12509]
73851         * include/link.h (struct link_map): Add l_orig_initfini.
73852         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73853         returning unsuccessfully.
73854         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73855         close of a file loaded at startup, restore the original l_initfini
73856         list.
73857         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73858         list, store the pointer.
73859         * elf/Makefile ($(objpfx)noload-mem): New rule.
73860         (noload-ENV): Define.
73861         (tests): Add $(objpfx)noload-mem.
73862         * elf/noload.c: Include <memcheck.h>.
73863         (main): Call mtrace.  Close all opened handles.
73865 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73867         [BZ #12454]
73868         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73869         dependencies are missing.
73871 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73873         Fix __if_freereq crash: Unlike the generic version which uses free,
73874         Hurd needs munmap.
73875         * sysdeps/mach/hurd/ifreq.h: New file.
73877 2011-01-27  Petr Baudis  <pasky@suse.cz>
73878             Ulrich Drepper  <drepper@gmail.com>
73880         [BZ 12445]#
73881         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73882         to extend_alloca().
73883         * stdio-common/bug23.c: New file.
73884         * stdio-common/Makefile (tests): Add bug23.
73886 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73887             Ulrich Drepper  <drepper@gmail.com>
73889         [BZ #12489]
73890         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73891         before performing relro protection.  At old place add assertion
73892         to make sure nothing changed.
73894 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73895             Glauber de Oliveira Costa  <glommer@gmail.com>
73897         * elf/elf.h: Add new ARM TLS relocs.
73899 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73902         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73903         cast from r3.
73904         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73905         'tests' variable.
73906         * sysdeps/wordsize-64/tst-writev.c: New file.
73908 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73910         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73911         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73912         insns in _dl_start to prevent a TOC reference before relocs are
73913         resolved.
73915 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73917         [BZ #12469]
73918         * Makeconfig: Remove RANLIB definition.
73919         * Makerules: Don't use RANLIB.
73920         * aclocal.m4: Remove ranlib test.
73921         * configure.in: No need to check for ranlib.
73922         * elf/rtld-Rules: Don't use RANLIB.
73924 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73926         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73927         protection macro.
73928         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73929         inclusion protection macro.
73931         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73932         SIGRTMIN and SIGRTMAX and print information in that case only when
73933         SIGRTMIN is defined.
73935 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73937         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73938         arginfo fn returning -1.
73940         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73941         and thousands string is zero terminated.
73943 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73946         sysdeps/unix/sysv/linux/bits/socket.h.
73948 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73950         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73951         (__CPU_COUNT): Remove old macros.
73952         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73953         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73954         (__CPU_ALLOC, __CPU_FREE): Add macros.
73955         (__sched_cpualloc, __sched_cpufree): Add declarations.
73957 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73959         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73960         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73961         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73962         (readdhstai): Return value of addhstaiX call.
73963         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73964         (addgrbyX): Return value returned by cache_addgr.
73965         (readdgrbyname): Return value returned by addgrbyX.
73966         (readdgrbygid): Likewise.
73967         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73968         (addpwbyX): Return value returned by cache_addpw.
73969         (readdpwbyname): Return value returned by addhstbyX.
73970         (readdpwbyuid): Likewise.
73971         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73972         (addservbyX): Return value returned by cache_addserv.
73973         (readdservbyname): Return value returned by addservbyX:
73974         (readdservbyport): Likewise.
73975         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73976         (addhstbyX): Return value returned by cache_addhst.
73977         (readdhstbyname): Return value returned by addhstbyX.
73978         (readdhstbyaddr): Likewise.
73979         (readdhstbynamev6): Likewise.
73980         (readdhstbyaddrv6): Likewise.
73981         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73982         (readdinitgroups): Return value returned by addinitgroupsX.
73983         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73984         (prune_cache): Keep track of timeout value of re-added entries.
73985         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73986         * nscd/nscd.h: Adjust prototypes of readd* functions.
73988 2011-02-04  Roland McGrath  <roland@redhat.com>
73990         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73991         (nis_stats): Likewise.
73992         * nis/nis_modify.c (nis_modify): Likewise.
73993         * nis/nis_remove.c (nis_remove): Likewise.
73994         * nis/nis_add.c (nis_add): Likewise.
73996         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73998         * posix/fnmatch_loop.c: Add some consts.
74000         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74002 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74004         [BZ #12460]
74005         * config.make.in (config-cflags-novzeroupper): Define.
74006         * configure.in: Substitute libc_cv_cc_novzeroupper.
74007         * elf/Makefile (AVX-CFLAGS): Define.
74008         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74009         (CFLAGS-tst-auditmod4a.c): Likewise.
74010         (CFLAGS-tst-auditmod4b.c): Likewise.
74011         (CFLAGS-tst-auditmod6b.c): Likewise.
74012         (CFLAGS-tst-auditmod6c.c): Likewise.
74013         (CFLAGS-tst-auditmod7b.c): Likewise.
74014         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74016 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74018         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74019         function to the callback.
74020         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74022 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74024         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74025         of errno.
74027 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74029         [BZ #11724]
74030         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74031         of constructors.
74032         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74033         of destructors.
74034         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74036         [BZ #11724]
74037         * elf/Makefile: Add rules to build and run new test.
74038         * elf/tst-initorder.c: New file.
74039         * elf/tst-initorder.exp: New file.
74040         * elf/tst-initordera1.c: New file.
74041         * elf/tst-initordera2.c: New file.
74042         * elf/tst-initordera3.c: New file.
74043         * elf/tst-initordera4.c: New file.
74044         * elf/tst-initorderb1.c: New file.
74045         * elf/tst-initorderb2.c: New file.
74046         * elf/tst-order-a1.c: New file.
74047         * elf/tst-order-a2.c: New file.
74048         * elf/tst-order-a3.c: New file.
74049         * elf/tst-order-a4.c: New file.
74050         * elf/tst-order-b1.c: New file.
74051         * elf/tst-order-b2.c: New file.
74052         * elf/tst-order-main.c: New file.
74053         New test case by George Gensure <werkt0@gmail.com>.
74055 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74058         decoding ACE if AI_CANONIDN.
74060 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74062         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74064 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74066         * version.h (RELEASE): Bump for 2.13 release.
74067         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74069         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74071         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74072         MADV_NOHUGEPAGE.
74073         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74076         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74077         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74080         * posix/getconf.c: Update copyright year.
74081         * catgets/gencat.c: Likewise.
74082         * csu/version.c: Likewise.
74083         * debug/catchsegv.sh: Likewise.
74084         * debug/xtrace.sh: Likewise.
74085         * elf/ldconfig.c: Likewise.
74086         * elf/ldd.bash.in: Likewise.
74087         * elf/sprof.c (print_version): Likewise.
74088         * iconv/iconv_prog.c: Likewise.
74089         * iconv/iconvconfig.c: Likewise.
74090         * locale/programs/locale.c: Likewise.
74091         * locale/programs/localedef.c: Likewise.
74092         * malloc/memusage.sh: Likewise.
74093         * malloc/mtrace.pl: Likewise.
74094         * nscd/nscd.c (print_version): Likewise.
74095         * nss/getent.c: Likewise.
74097         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74098         PF_CAIF, and PF_ALG.
74099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74101 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74103         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74104         (modules-names): Use them.
74105         (ifunc-test-modules, ifunc-pie-tests): Define.
74106         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74107         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74108         (test-extras): Likewise.
74109         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74110         $(compile-command.c).
74111         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74112         (all-built-dso): Define.
74113         (check-textrel.out, check-execstack.out): Depend on it.
74115         * configure.in: Don't override --enable-multi-arch.
74117 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74119         [BZ #6812]
74120         * nscd/hstcache.c (tryagain): Define.
74121         (cache_addhst): Return tryagain not notfound for temporary errors.
74122         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74123         failed.
74125 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74127         [BZ #10563]
74128         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74129         to make the syscall.
74130         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74132         [BZ #12378]
74133         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74134         and fall back to matching as normal character if the string ends before
74135         the matching ']' is found.  This is what POSIX requires.
74136         * posix/testfnm.c: Adjust test result.
74137         * posix/globtest.sh: Adjust test result.  Add new test.
74138         * posix/tst-fnmatch.input: Likewise.
74139         * posix/tst-fnmatch2.c: Add new test.
74141 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74143         * elf/Makefile (check-execstack): Revert last change.  Depend on
74144         check-execstack.h.
74145         (check-execstack.h): New target.
74146         (generated): Add check-execstack.h.
74147         * elf/check-execstack.c: Include "check-execstack.h".
74148         (main): Revert last change.
74149         (handle_file): Return zero if GNU_STACK is absent and
74150         DEFAULT_STACK_PERMS doesn't include PF_X.
74152 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74154         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74155         in child fails because the descriptor is already closed.
74156         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74157         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74158         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74160         [BZ #12397]
74161         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74162         syscall.
74164         [BZ #10484]
74165         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74166         temporary buffer used to handle multi lookups locally.
74167         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74169 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74171         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74172         loader is ld.so.
74174 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74176         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74177         alignment for SSE2.
74179 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74181         [BZ #12394]
74182         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74183         characters.  When rounding increased number of integer digits recompute
74184         number of groups.
74185         * stdio-common/tst-grouping.c: New file.
74186         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74188 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74190         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74191         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74193         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74194         void.
74195         * bits/select.h: Likewise.
74197 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74199         * po/ja.po: Update from translation team.
74201 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74203         [BZ #11155]
74204         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74205         implementation just like for lxstat, fxstatat, et al.
74207 2010-12-27  Jim Meyering  <meyering@redhat.com>
74209         [BZ #12348]
74210         * posix/regexec.c (build_trtable): Return failure indication upon
74211         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74213 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74215         [BZ #12201]
74216         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74217         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74218         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74219         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74221         [BZ #12207]
74222         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74224         [BZ #12204]
74225         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74226         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74228 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74230         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74231         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74232         script has SORT_BY_INIT_PRIORITY.
74233         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74234         NO_CTORS_DTORS_SECTIONS is defined.
74235         * elf/soinit.c: Likewise.
74236         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74237         NO_CTORS_DTORS_SECTIONS is defined.
74238         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74239         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74240         * sysdeps/sh/init-first.c: Likewise.
74241         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74243 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74245         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74246         always use the slow path.
74248 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74250         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74251         similar rule which adds the sysdep directories to the header search in
74252         order to pick up the correct platform stackinfo.h.
74253         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74254         perform test if it is, otherwise return successfully without testing.
74255         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74256         DEFAULT_STACK_PERMS define in stackinfo.h.
74257         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74258         defined in stackinfo.h.
74259         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74260         DEFAULT_STACK_PERMS defined in stackinfo.h.
74261         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74262         * sysdeps/ia64/stackinfo.h: Likewise.
74263         * sysdeps/s390/stackinfo.h: Likewise.
74264         * sysdeps/sh/stackinfo.h: Likewise.
74265         * sysdeps/sparc/stackinfo.h: Likewise.
74266         * sysdeps/x86_64/stackinfo.h: Likewise.
74267         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74268         PF_X for powerpc64.  Retain PF_X for powerpc32.
74270 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74272         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74273         accurately.
74274         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74275         GETDENTS_64BIT_ALIGNED.
74277 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74279         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74281 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74283         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74284         _GNU_SOURCE.
74286         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74287         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74288         Remove __restrict.
74289         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74290         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74292 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74294         [BZ #11655]
74295         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74296         are initialized.
74298 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74300         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74302 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74304         * po/it.po: Update from translation team.
74306 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74309         unused codes.
74311 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74313         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74315 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74317         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74318         specially.
74319         (gaih_getanswer_slice): Likewise.
74321 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74325 2010-05-31  Petr Baudis  <pasky@suse.cz>
74327         [BZ #11149]
74328         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74329         silently even in the chroot mode.
74331 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74333         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74334         last patch a bit.  Pretty printing
74336 2010-05-31  Petr Baudis <pasky@suse.cz>
74338         [BZ #10085]
74339         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74340         initialization of skip_initgroups_dyn.
74342 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74344         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74345         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74347 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74349         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74351 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74353         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74354         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74355         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74356         ($(objpfx)tst-fnmatch-mem): New rule.
74357         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74358         * posix/tst-fnmatch.c (main): Call mtrace.
74360 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74363         Support Intel processor model 6 and model 0x2c.
74365 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74367         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74368           signed comparison.
74370 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74372         [BZ #12205]
74373         * string/test-strncasecmp.c (check_result): New function.
74374         (do_one_test): Use it.
74375         (check1): New function.
74376         (test_main): Use it.
74377         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74378         Support strcasecmp and strncasecmp.
74380 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74382         [BZ #12194]
74383         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74386 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74388         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74389         IFUNC support.
74390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74391         memset-x86-64.
74392         * sysdeps/x86_64/multiarch/bzero.S: New file.
74393         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74394         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74395         * sysdeps/x86_64/multiarch/memset.S: New file.
74396         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74398         Set bit_Prefer_SSE_for_memop for Intel processors.
74399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74400         Define.
74401         (index_Prefer_SSE_for_memop): Define.
74402         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74404 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74406         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74407         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74409 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74411         [BZ #12191]
74412         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74413         (__x86_64_raw_data_cache_size_half): Likewise.
74414         (__x86_64_raw_shared_cache_size): Likewise.
74415         (__x86_64_raw_shared_cache_size_half): Likewise.
74417         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74418         (__x86_64_raw_data_cache_size_half): Likewise.
74419         (__x86_64_raw_shared_cache_size): Likewise.
74420         (__x86_64_raw_shared_cache_size_half): Likewise.
74421         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74422         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74423         and __x86_64_raw_shared_cache_size_half.  Round
74424         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74425         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74426         to multiple of 256 bytes.
74428 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74430         [BZ #12167]
74431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74432         of inacessible symlinks.  Verify result of symlink before returning it.
74433         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74434         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74436 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74438         * math/math.h (isinf): Fix typo in comment.
74440 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74442         * po/da.po: Update from translation team.
74444 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74446         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74447         is added to the list.
74449 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74450             Ulrich Drepper  <drepper@gmail.com>
74452         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74453         the global list here.  Move code to...
74454         (_dl_add_to_namespace_list): ...here.  New function.
74455         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74456         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74457         * elf/dl-load.c (lose): Don't remove the element from the list.
74458         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74459         (_dl_map_object): Likewise.
74461 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74463         [BZ #12159]
74464         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74465         into all bytes of SSE register.
74466         Patch by Richard Li <richardpku@gmail.com>.
74468 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74470         [BZ #12140]
74471         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74472         perturbing.
74474 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74476         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74477         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74478         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74479         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74481         submachine.
74482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74484 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74486         * include/dlfcn.h (__RTLD_SECURE): Define.
74487         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74488         mode & __RTLD_SECURE instead.
74489         (open_path): Rename preloaded parameter to secure.
74490         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74491         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74492         * elf/dl-deps.c (openaux): Likewise.
74493         * elf/rtld.c (struct map_args): Remove is_preloaded.
74494         (map_doit): Don't use it.
74495         (dl_main): Likewise.
74496         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74497         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74499 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74501         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74502         (sysd-rules-targets): Remove duplicates.
74503         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74504         rtld-%.$o dependency.
74506 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74508         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74509         _dl_map_object do it.
74511 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74513         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74514         fast fma builtins, define the macros in the C99 standard.
74515         (FP_FAST_FMAF): Likewise.
74516         (FP_FAST_FMAL): Likewise.
74517         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74519         * bits/mathdef.h: Update copyright year.
74520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74522 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74524         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74525         builtins, define the macros in the C99 standard.
74526         (FP_FAST_FMAF): Likewise.
74527         (FP_FAST_FMAL): Likewise.
74528         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74529         multiply/add.
74530         (FP_FAST_FMAF): Likewise.
74532 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74534         [BZ #3268]
74535         * math/libm-test.inc (fma_test): Some new testcases.
74536         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74537         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74538         y and infinite z.  Do multiplication by C already in long double.
74539         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74541         y and infinite z.  Do bitwise or of inexact bit into u.d.
74542         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74543         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74544         * sysdeps/i386/fpu/s_fma.S: Removed.
74545         * sysdeps/i386/fpu/s_fmal.S: Removed.
74547 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74549         [BZ #3268]
74550         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74552         computation is not scheduled after fetestexcept.  Fix value
74553         of minimum denormal long double.
74555 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74557         [BZ #3268]
74558         * math/libm-test.inc (fma_test): Add some more tests.
74559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74560         correctly.
74562 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74564         * scripts/data/localplt-s390-linux-gnu.data: New file.
74565         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74567 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74569         [BZ #3268]
74570         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74571         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74572         instead of dbl-64.
74573         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74574         inlines.
74575         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74577         if one of x and y is very large and the other is subnormal.
74578         * sysdeps/s390/fpu/s_fmaf.c: New file.
74579         * sysdeps/s390/fpu/s_fma.c: New file.
74580         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74581         * sysdeps/powerpc/fpu/s_fma.S: New file.
74582         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74583         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74584         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74586 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74588         [BZ #3268]
74589         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74590         fma tests.
74591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74592         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74593         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74594         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74595         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74596         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74597         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74599 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74601         [BZ #12078]
74602         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74603         * posix/bug-regex31.input: Add test case.
74605 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74607         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74608         * posix/bug-regex31.input: New file.
74610         [BZ #12078]
74611         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74612         (parse_sub_exp): Fix last change, use postorder.
74614         * posix/bug-regex31.c: New file.
74615         * posix/Makefile: Add rules to build and run bug-regex31.
74617         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74619         [BZ #12078]
74620         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74622         [BZ #12108]
74623         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74624         to have entries in sys_siglist.
74626         [BZ #12093]
74627         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74628         be NULL.
74630 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74632         [BZ #3268]
74633         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74634         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74635         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74636         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74637         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74638         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74639         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74640         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74641         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74642         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74643         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74644         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74646         * math/ftestexcept.c (fetestexcept): Likewise.
74647         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74648         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74649         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74650         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74651         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74652         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74653         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74655 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74657         [BZ #12107]
74658         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74659         newline.
74661 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74663         * string/bug-strstr1.c: New file.
74664         * string/Makefile: Add rules to build and run bug-strstr1.
74666 2010-10-05  Eric Blake  <eblake@redhat.com>
74668         [BZ #12092]
74669         * string/str-two-way.h (two_way_long_needle): Always clear memory
74670         when skipping input due to the shift table.
74672 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74674         [BZ #12005]
74675         * malloc/mcheck.c: Handle large requests.
74677         [BZ #12077]
74678         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74679         for strncmp and strncasecmp.
74680         * string/stratcliff.c: Add tests for strcmp and strncmp.
74681         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74683 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74685         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74686         __set_fpscr.
74688 2010-09-30  Andreas Jaeger  <aj@suse.de>
74690         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74691         (CGROUP_SUPER_MAGIC): Define.
74692         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74693         Handle btrfs and cgroup file systems.
74694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74695         Likewise.
74697 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74699         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74700         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74702 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74704         [BZ #12067]
74705         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74706         trying to locate the ELF header.
74708 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74710         [BZ #11611]
74711         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74712         Mask out sign-bit copies when constructing f_fsid.
74714 2010-09-24  Petr Baudis <pasky@suse.cz>
74716         * debug/stack_chk_fail_local.c: Add missing licence exception.
74717         * debug/warning-nop.c: Likewise.
74719 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74722         implementing getdents64 using getdents syscall, set d_type if
74723         __ASSUME_GETDENTS32_D_TYPE.
74725 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74727         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74728         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74730 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74732         [BZ #12037]
74733         * posix/unistd.h: Undo change of feature selection for ftruncate from
74734         2010-01-11.
74736 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74738         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74739         detection.
74741 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74744         fanotify_mark.
74745         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74747 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74749         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74750         variables after CHECK_SP call.
74751         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74753 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74754             Ulrich Drepper  <drepper@redhat.com>
74756         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74757         re-relocationg ld.so.
74758         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74759         _dl_init_paths call.
74760         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74761         here anymore.
74763 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74765         * resolv/res_init.c (__res_vinit): Count the default server we added.
74767 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74768             Ulrich Drepper  <drepper@redhat.com>
74770         [BZ #11968]
74771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74772         (____longjmp_chk): Use %ebx for saving value across system call.
74773         Add unwind info.
74775 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74777         * manual/Makefile: Don't mix pattern rules with normal rules.
74779 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74781         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74782         operation.
74783         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74784         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74785         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74786         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74788         Likewise.
74790 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74792         [BZ #11979]
74793         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74794         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74796 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74798         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74799         * sysdeps/x86_64/addmul_1.S: Likewise.
74800         * sysdeps/x86_64/lshift.S: Likewise.
74801         * sysdeps/x86_64/mul_1.S: Likewise.
74802         * sysdeps/x86_64/rshift.S: Likewise.
74803         * sysdeps/x86_64/sub_n.S: Likewise.
74804         * sysdeps/x86_64/submul_1.S: Likewise.
74806 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74808         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74809         Define __sched_param instead of SCHED_* and sched_param when
74810         <bits/sched.h> is included with __need_schedparam defined.
74811         * bits/sched.h [__need_schedparam]
74812         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74813         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74814         (__defined_schedparam): Define to 1.
74815         (__sched_param): New structure, identical to sched_param.
74816         (__need_schedparam): Undefine.
74818 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74820         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74821         (epoll_create1): Declare.
74823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74825 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74827         [BZ #7066]
74828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74829         shifting retval into place.
74831 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74833         * nis/rpcsvc/nis.h: Update copyright notice.
74834         * nis/rpcsvc/nis.x: Likewise.
74835         * nis/rpcsvc/nis_callback.h: Likewise.
74836         * nis/rpcsvc/nis_callback.x: Likewise.
74837         * nis/rpcsvc/nis_object.x: Likewise.
74838         * nis/rpcsvc/nis_tags.h: Likewise.
74839         * nis/rpcsvc/yp.h: Likewise.
74840         * nis/rpcsvc/yp.x: Likewise.
74841         * nis/rpcsvc/ypupd.h: Likewise.
74842         * nis/yp_xdr.c: Likewise.
74843         * nis/ypupdate_xdr.c: Likewise.
74845         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74846         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74847         (pmap_getport): Use __libc_rpc_getport.
74848         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74849         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74850         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74852 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74855         fanotify_mark.
74857 2010-08-27  Roland McGrath  <roland@redhat.com>
74859         * sysdeps/i386/i686/multiarch/Makefile
74860         (CFLAGS-varshift.c): New variable.
74862 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74864         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74865         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74867         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74869         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74871 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74873         * sysdeps/x86_64/strlen.S: Unroll the loop.
74874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74875         strlen-sse2 strlen-sse2-bsf.
74876         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74877         __strlen_no_bsf if bit_Slow_BSF is set.
74878         (__strlen_sse42): Removed.
74879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74880         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74882 2010-08-25  Roland McGrath  <roland@redhat.com>
74884         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74885         * sysdeps/x86_64/multiarch/varshift.c: New file.
74886         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74887         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74888         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74889         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74891 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74894         strlen-sse2 strlen-sse2-bsf.
74895         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74896         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74897         (__strlen_sse2): Removed.
74898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74901         bit_Slow_BSF for Atom.
74902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74903         (index_Slow_BSF): Define.
74904         (HAS_SLOW_BSF): Define.
74906 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74908         [BZ #10851]
74909         * resolv/res_init.c (__res_vinit): When no server address at all
74910         is given default to loopback.
74912 2010-08-24  Roland McGrath  <roland@redhat.com>
74914         * configure.in: Remove config-name.h generation.
74915         * configure: Regenerated.
74916         * config-name.in: File removed.
74917         * scripts/config-uname.sh: New file.
74918         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74919         ($(objdir)config-name.h): New target.
74921         * sunrpc/rpc_parse.h: Avoid nested comment.
74923 2010-08-24  Richard Henderson  <rth@redhat.com>
74924             Ulrich Drepper  <drepper@redhat.com>
74925             H.J. Lu  <hongjiu.lu@intel.com>
74927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74929         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74930         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74931         _mm_alignr_epi8 with _mm_loadu_si128.
74932         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74933         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74934         (__m128i_shift_right): Removed.
74935         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74936         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74937         * sysdeps/x86_64/multiarch/varshift.h: New file.
74938         * sysdeps/x86_64/multiarch/varshift.S: New file.
74940 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74942         * configure.in: Move assembler checks to before sysdep dir checking.
74944 2010-08-20  Petr Baudis  <pasky@suse.cz>
74946         * LICENSES: Sync the sunrpc license.
74948 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74950         * sunrpc/auth_des.c: Update copyright notice once again.
74951         * sunrpc/auth_none.c: Likewise.
74952         * sunrpc/auth_unix.c: Likewise.
74953         * sunrpc/authdes_prot.c: Likewise.
74954         * sunrpc/authuxprot.c: Likewise.
74955         * sunrpc/bindrsvprt.c: Likewise.
74956         * sunrpc/clnt_gen.c: Likewise.
74957         * sunrpc/clnt_perr.c: Likewise.
74958         * sunrpc/clnt_raw.c: Likewise.
74959         * sunrpc/clnt_simp.c: Likewise.
74960         * sunrpc/clnt_tcp.c: Likewise.
74961         * sunrpc/clnt_udp.c: Likewise.
74962         * sunrpc/clnt_unix.c: Likewise.
74963         * sunrpc/des_crypt.c: Likewise.
74964         * sunrpc/des_soft.c: Likewise.
74965         * sunrpc/get_myaddr.c: Likewise.
74966         * sunrpc/getrpcport.c: Likewise.
74967         * sunrpc/key_call.c: Likewise.
74968         * sunrpc/key_prot.c: Likewise.
74969         * sunrpc/openchild.c: Likewise.
74970         * sunrpc/pm_getmaps.c: Likewise.
74971         * sunrpc/pm_getport.c: Likewise.
74972         * sunrpc/pmap_clnt.c: Likewise.
74973         * sunrpc/pmap_prot.c: Likewise.
74974         * sunrpc/pmap_prot2.c: Likewise.
74975         * sunrpc/pmap_rmt.c: Likewise.
74976         * sunrpc/rpc/auth.h: Likewise.
74977         * sunrpc/rpc/auth_unix.h: Likewise.
74978         * sunrpc/rpc/clnt.h: Likewise.
74979         * sunrpc/rpc/des_crypt.h: Likewise.
74980         * sunrpc/rpc/key_prot.h: Likewise.
74981         * sunrpc/rpc/netdb.h: Likewise.
74982         * sunrpc/rpc/pmap_clnt.h: Likewise.
74983         * sunrpc/rpc/pmap_prot.h: Likewise.
74984         * sunrpc/rpc/pmap_rmt.h: Likewise.
74985         * sunrpc/rpc/rpc.h: Likewise.
74986         * sunrpc/rpc/rpc_des.h: Likewise.
74987         * sunrpc/rpc/rpc_msg.h: Likewise.
74988         * sunrpc/rpc/svc.h: Likewise.
74989         * sunrpc/rpc/svc_auth.h: Likewise.
74990         * sunrpc/rpc/types.h: Likewise.
74991         * sunrpc/rpc/xdr.h: Likewise.
74992         * sunrpc/rpc_clntout.c: Likewise.
74993         * sunrpc/rpc_cmsg.c: Likewise.
74994         * sunrpc/rpc_common.c: Likewise.
74995         * sunrpc/rpc_cout.c: Likewise.
74996         * sunrpc/rpc_dtable.c: Likewise.
74997         * sunrpc/rpc_hout.c: Likewise.
74998         * sunrpc/rpc_main.c: Likewise.
74999         * sunrpc/rpc_parse.c: Likewise.
75000         * sunrpc/rpc_parse.h: Likewise.
75001         * sunrpc/rpc_prot.c: Likewise.
75002         * sunrpc/rpc_sample.c: Likewise.
75003         * sunrpc/rpc_scan.c: Likewise.
75004         * sunrpc/rpc_scan.h: Likewise.
75005         * sunrpc/rpc_svcout.c: Likewise.
75006         * sunrpc/rpc_tblout.c: Likewise.
75007         * sunrpc/rpc_util.c: Likewise.
75008         * sunrpc/rpc_util.h: Likewise.
75009         * sunrpc/rpcinfo.c: Likewise.
75010         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75011         * sunrpc/rpcsvc/key_prot.x: Likewise.
75012         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75013         * sunrpc/rpcsvc/mount.x: Likewise.
75014         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75015         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75016         * sunrpc/rpcsvc/rex.x: Likewise.
75017         * sunrpc/rpcsvc/rstat.x: Likewise.
75018         * sunrpc/rpcsvc/rusers.x: Likewise.
75019         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75020         * sunrpc/rpcsvc/spray.x: Likewise.
75021         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75022         * sunrpc/rtime.c: Likewise.
75023         * sunrpc/svc.c: Likewise.
75024         * sunrpc/svc_auth.c: Likewise.
75025         * sunrpc/svc_authux.c: Likewise.
75026         * sunrpc/svc_raw.c: Likewise.
75027         * sunrpc/svc_run.c: Likewise.
75028         * sunrpc/svc_simple.c: Likewise.
75029         * sunrpc/svc_tcp.c: Likewise.
75030         * sunrpc/svc_udp.c: Likewise.
75031         * sunrpc/svc_unix.c: Likewise.
75032         * sunrpc/svcauth_des.c: Likewise.
75033         * sunrpc/xcrypt.c: Likewise.
75034         * sunrpc/xdr.c: Likewise.
75035         * sunrpc/xdr_array.c: Likewise.
75036         * sunrpc/xdr_float.c: Likewise.
75037         * sunrpc/xdr_mem.c: Likewise.
75038         * sunrpc/xdr_rec.c: Likewise.
75039         * sunrpc/xdr_ref.c: Likewise.
75040         * sunrpc/xdr_sizeof.c: Likewise.
75041         * sunrpc/xdr_stdio.c: Likewise.
75043         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75044         handling.
75046 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75048         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75050 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75052         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75053         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75055         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75056         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75057         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75059         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75061         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75062         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75063         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75064         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75065         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75067 2010-07-26  Anton Blanchard  <anton@samba.org>
75069         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75070         * malloc/arena.c (heap_trim): Likewise.
75072 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75074         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75075         here.  Not...
75076         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75077         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75079 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75081         * sysdeps/i386/elf/Makefile: New file.
75083 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75085         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75086         from fanotify_init.
75087         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75090 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75092         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75093         of strncasecmp_l.
75094         * sysdeps/multiarch/strcmp.S: Likewise.
75096 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75098         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75099         strncase_l-nonascii.
75100         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75101         Add strncase_l-ssse3.
75102         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75103         * sysdeps/x86_64/strcmp.S: Likewise.
75104         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75105         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75106         * sysdeps/x86_64/strncase.S: New file.
75107         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75108         * sysdeps/x86_64/strncase_l.S: New file.
75109         * string/Makefile (strop-tests): Add strncasecmp.
75110         * string/test-strncasecmp.c: New file.
75112         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75113         warning.
75115         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75116         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75118 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75120         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75122 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75124         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75125         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75126         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75128 2010-05-01  Alan Modra  <amodra@gmail.com>
75130         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75131         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75132         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75133         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75134         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75135         tidying.  Don't tail-call __sigjmp_save for static lib.
75136         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75137         save location.
75138         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75139         (CALL_MCOUNT): Add eh info, and nop after bl.
75140         (TAIL_CALL_SYSCALL_ERROR): New macro.
75141         (PSEUDO_RET): Use it.
75142         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75143         Correct save location of integer regs and cr.
75144         (_dl_profile_resolve): Correct cr save location.  Delete nops
75145         after bl when SHARED.  Reduce cfi size a little by better
75146         placement of cfi directives.
75147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75148         make a stack frame.  Instead use parm save area as a temp.
75149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75150         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75152         Don't make a stack frame for parent, use parm save area.
75153         Increase child stack frame to 112 bytes.  Don't save unused reg,
75154         and adjust reg usage.  Set up cfi on error recovery and
75155         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75157         (__makecontext): Add dummy nop after jump to exit.
75158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75159         Use correct parm save area and cr save, reduce stack frame.
75160         Correct cfi for possible PSEUDO_RET frame setup.
75161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75162         Branch to local label emitted by PSEUDO_RET rather than
75163         __syscall_error.
75165 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75167         [BZ #11904]
75168         * locale/programs/locale.c (print_assignment): New function.
75169         (show_locale_vars): Use it.
75171 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75173         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75174         field.
75175         (struct statfs64): Likewise.
75176         (_STATFS_F_FLAGS): Define.
75177         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75179         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75180         (ST_VALID): Define locally.
75181         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75182         __statvfs_getflags, use the provided value.
75183         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75184         __ASSUME_STATFS_F_FLAGS.
75186         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75188         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75189         Add sys/fanotify.h.
75190         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75191         fanotify_mask for GLIBC_2.13.
75192         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75193         fanotify_init and fanotify_mark.
75194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75195         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75197         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75198         Add prlimit.
75199         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75200         prlimit64 for GLIBC_2.13.
75201         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75202         prlimit64.
75203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75204         syscall.
75205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75206         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75207         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75208         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75210         add prlimit alias.
75211         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75213         [BZ #11903]
75214         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75215         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75217         * nss/Makefile: Add rules to build and run tst-nss-test1.
75218         * shlib-versions: Add entry for libnss_test1.
75219         * nss/nss_test1.c: New file.
75220         * nss/tst-nss-test1.c: New file.
75222         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75223         (__nss_configure_lookup): Set appropriate entry in
75224         __nss_configure_lookup to true.
75225         * nss/nsswitch.h: Define enum with indeces of databases in
75226         databases and __nss_database_custom arrays.  Declare
75227         __nss_database_custom.
75228         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75229         to avoid using nscd when custom rules are installed.
75230         * nss/getXXbyYY_r.c: Likewise.
75231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75233         * nss/nss_files/files-parse.c: Whitespace fixes.
75235 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75237         [BZ #11883]
75238         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75239         * posix/fnmatch_loop.c: Likewise.
75241 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75243         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75244         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75245         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75246         * Versions.def [GLIBC_2.13]: Add.
75248 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75250         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75251         Also fail if tpwd after pwuid call is NULL.
75253 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75255         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75256         when converting to ms.
75258 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75260         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75261         EOPNOTSUPP errors with ENOTTY.
75262         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75263         EOPNOTSUPP errors with ENOTTY.
75265 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75267         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75268         Add strcasecmp_l-ssse3.
75269         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75270         strcasecmp.
75271         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75272         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75273         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75275 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75277         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75279         * string/Makefile (strop-tests): Add strcasecmp.
75280         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75281         strcasecmp_l-nonascii.
75282         (gen-as-const-headers): Add locale-defines.sym.
75283         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75284         * sysdeps/x86_64/strcasecmp.S: New file.
75285         * sysdeps/x86_64/strcasecmp_l.S: New file.
75286         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75287         * sysdeps/x86_64/locale-defines.sym: New file.
75288         * string/test-strcasecmp.c: New file.
75290         * string/test-strcasestr.c: Test both ends of the range of characters.
75291         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75293 2010-07-29  Roland McGrath  <roland@redhat.com>
75295         [BZ #11856]
75296         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75298 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75300         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75301         for ld.so.
75303 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75305         * manual/memory.texi (Malloc Tunable Parameters): Document
75306         M_PERTURB.
75308 2010-07-26  Roland McGrath  <roland@redhat.com>
75310         [BZ #11840]
75311         * configure.in (-fgnu89-inline check): Set and substitute
75312         gnu89_inline, not libc_cv_gnu89_inline.
75313         * configure: Regenerated.
75314         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75316 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75318         * string/test-strnlen.c: New file.
75319         * string/Makefile (strop-tests): Add strnlen.
75320         * string/tester.c (test_strnlen): Add a few more test cases.
75321         * string/tst-strlen.c: Better error reporting.
75323         * sysdeps/x86_64/strnlen.S: New file.
75325 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75327         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75328         lower-latency instructions.
75330 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75332         * string/test-strcasestr.c: New file.
75333         * string/test-strstr.c: New file.
75334         * string/Makefile (strop-tests): Add strstr and strcasestr.
75335         * string/str-two-way.h: Don't undefine MAX.
75336         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75338 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75341         strcasestr-nonascii.
75342         (CFLAGS-strcasestr-nonascii.c): Define.
75343         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75344         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75345         Remove unused attribute.
75347 2010-07-20  Roland McGrath  <roland@redhat.com>
75349         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75350         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75351         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75352         like LD_HWCAP_MASK can disable hwcaps.
75354 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75356         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75358 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75360         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75361         call in strcasestr.
75362         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75363         __strcasestr_sse42_nonascii.
75364         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75365         strcasestr-nonascii.c.
75366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75368 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75371         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75373         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75375 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75377         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75378         fcntl.
75380 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75382         [BZ #11577]
75383         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75384         dl_signal_cerror.
75386 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75389         _PC_PIPE_BUF using F_GETPIPE_SZ.
75391 2010-07-05  Roland McGrath  <roland@redhat.com>
75393         * manual/arith.texi (Rounding Functions): Fix rint description
75394         implicit in round description.
75396 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75398         * elf/Makefile: Fix linking for a few tests to make recent linker
75399         happy.
75401 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75403         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75404         $(common-objpfx)libc_nonshared.a.
75406 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75408         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75409         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75410         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75411         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75412         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75413         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75415         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75430         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75431         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75432         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75433         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75434         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75435         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75436         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75437         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75438         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75439         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75440         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75441         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75457 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75459         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75460         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75461         * string/memmove.c (memmove): Renamed to ...
75462         (MEMMOVE): ...this.  Default to memmove.
75463         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75464         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75465         (END_CHK): Define.
75466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75467         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75468         mempcpy-ssse3-back memmove-ssse3-back.
75469         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75472         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75473         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75474         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75475         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75476         * sysdeps/x86_64/multiarch/memmove.c: New file.
75477         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75478         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75479         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75480         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75483         Define.
75484         (index_Fast_Copy_Backward): Define.
75485         (HAS_ARCH_FEATURE): Define.
75486         (HAS_FAST_REP_STRING): Define.
75487         (HAS_FAST_COPY_BACKWARD): Define.
75489 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75492         Restore proper fallback handling.
75494 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75496         [BZ #11701]
75497         * posix/group_member.c (__group_member): Correct checking loop.
75499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75500         OOM in getpwuid_r correctly.  Return error number when the caller
75501         should return, otherwise -1.
75502         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75503         call returning > 0 value.
75504         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75506 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75508         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75509         libc_nonshared.a from targets in modules-names.
75511 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75513         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75514         requires it.
75516 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75519         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75523 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75525         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75527 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75529         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75530         and F_GETPIPE_SZ.
75531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75538 2010-06-14  Roland McGrath  <roland@redhat.com>
75540         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75542 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75544         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75545         __REDIRECT followed by __THROW.
75546         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75547         * posix/getopt.h (getopt): Likewise.
75549 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75551         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75552         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75553         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75554         in AT_FLAGS.
75555         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75556         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75558 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75560         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75562 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75564         [BZ #11640]
75565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75566         Properly check family and model.
75568 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75570         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75572 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75574         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75576 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75578         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75579         symbol reference.
75581 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75583         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75584         symbol reference.
75586 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75588         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75589         and internal_recvmmsg.
75590         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75591         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75592         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75593         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75595         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75596         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75597         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75599 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75601         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75603 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75605         POWER7 optimizations.
75606         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75607         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75609 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75611         * version.h: Update for 2.13 development version.
75613 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75615         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75616         exceptions.  Return 0.
75618 2010-05-07  Roland McGrath  <roland@redhat.com>
75620         * elf/ldconfig.c (main): Add a const.
75622 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75624         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75625         (args_options): Add no-idn option.
75626         (ahosts_keys_int): Add idn_flags to ai_flags.
75627         (parse_option): Handle 'i' option to clear idn_flags.
75629         * malloc/malloc.c (_int_free): Possible race in the most recently
75630         added check.  Only act on the data if no current modification
75631         happened.
75633 See ChangeLog.17 for earlier changes.