Replace M_PIl with lit_pi in libm-test.inc
[glibc.git] / ChangeLog
blobf40dd29e77e36ca4c96d82fda441b18cd1e0eda7
1 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * libm-test.inc: Replace usage of M_PIl with
4         (lit_pi): New macro.
6 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8         * libm-test.inc: Replace usage of M_PI2l with
9         (lit_pi_2_d): New macro.
11         * math/test-double.h (LITM): New macro.
12         * math/test-float.h (LITM): Likewise.
13         * math/test-ldouble.h (LITM): Likewise.
15 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17         * libm-test.inc (M_PI_34l): Rename to
18         (lit_pi_3_m_4_d): New Macro.
19         (M_PI_34_LOG10El): Rename to
20         (lit_pi_3_m_4_ln10_m_d): New Macro.
21         (M_PI2_LOG10El): Rename to
22         (lit_pi_2_ln10_m_d):  New Macro.
23         (M_PI4_LOG10El): Rename to
24         (lit_pi_4_ln10_m_d):  New Macro.
25         (M_PI_LOG10El): Rename to
26         (lit_pi_ln10_d):  New Macro.
28 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #20157]
31         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
32         determine whether to negate low half if [_ARCH_PPCGR], and integer
33         comparison otherwise.
34         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
35         determine whether to negate low half.
37         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
38         (NO_TEST_INLINE_DOUBLE): Likewise.
39         (TEST_COND_x86_64): Likewise.
40         (TEST_COND_x86): Likewise.
41         (M_PI_6l): Likewise.
43 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
45         * math/libm-test.inc:
46         (TEST_FLOAT): Change usage to TEST_COND_binary32.
47         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
48         (TEST_LDOUBLE): Update usage to evaluate as true if
49         the guarded tests match the property being tested.
50         (LDBL_MAX_EXP): Change to MAX_EXP.
51         (LDBL_MIN_EXP): Change to MIN_EXP.
52         (LDBL_MANT_DIG): Change to MANT_DIG, except for
53         nexttoward tests.
55 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
57         * math/libm-test.inc:
58         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
59         (TYPE_MIN): Likewise.
60         (TYPE_TRUE_MIN): Likewise.
61         (TYPE_MAX): Likewise.
62         (MIN_EXP): Likewise.
63         (MAX_EXP): Likewise.
64         (MANT_DIG): Likewise.
66         (FSTR_MAX): New macro.
67         (__CONCATX): Likewise.
68         (QTYPE_STR): Likewise.
69         (TEST_COND_binary32): Likewise.
70         (TEST_COND_binary64): Likewise.
71         (TEST_COND_binary128): Likewise.
72         (TEST_COND_ibm128): Likewise.
73         (TEST_COND_intel96): Likewise.
74         (TEST_COND_m68k96): Likewise.
76         (TEST_COND_flt_32): Redefine as equivalent format test macro.
77         (TEST_COND_dbl_64): Likewise.
78         (TEST_COND_ldbl_96_intel): Likewise.
79         (TEST_COND_ldbl_96_m68k): Likewise.
80         (TEST_COND_ldbl_128): Likewise.
81         (TEST_COND_ldbl_128ibm): Likewise.
83         (plus_zero): Redefine using LIT macro.
84         (minus_zero): Likewise.
85         (plus_infty): Redefine as (INF).
86         (minux_infty): Redefine as (-INF).
87         (max_value): Redefine as TYPE_MAX.
88         (min_value): Redefine as TYPE_MIN.
89         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
91         (print_float): Refactor to use snprintf to convert FLOAT values
92         to string. This brings it closer to dropin replacement of strtof
93         for the TS 18661 defined types.
94         (update_stats): Likewise.
95         (print_complex_function_ulps): Likewise.
96         (print_max_error): Likewise.
97         (print_complex_max_error): Likewise.
98         (check_float_internal): Likewise.
100         * math/test-float.h (PREFIX): New macro.
101         (LIT): Likewise.
102         (TYPE_STR): Likewise.
103         (FTOSTR): Likewise.
105         * math/test-double.h (PREFIX): New macro.
106         (LIT): Likewise.
107         (TYPE_STR): Likewise.
108         (FTOSTR): Likewise.
110         * math/test-ldouble.h (PREFIX): New macro.
111         (LIT): Likewise.
112         (TYPE_STR): Likewise.
113         (FTOSTR): Likewise.
115 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
117         [BZ #20156]
118         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
119         to itself when zero or not finite.
120         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
121         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
122         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
123         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
125 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #20153]
128         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
129         x * x + x for infinities and NaNs.
131         [BZ #20151]
132         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
133         argument to itself before returning result.
134         (__ieee754_y0l): Likewise.
135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
136         (__ieee754_y1l).
138         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
139         (atan_test_data): Likewise.
140         (ceil_test_data): Likewise.
141         (cos_test_data): Likewise.
142         (cosh_test_data): Likewise.
143         (erf_test_data): Likewise.
144         (exp2_test_data): Likewise.
145         (fabs_test_data): Likewise.
146         (floor_test_data): Likewise.
147         (ilogb_test_data): Likewise.
148         (j0_test_data): Likewise.
149         (j1_test_data): Likewise.
150         (jn_test_data): Likewise.
151         (lgamma_test_data): Likewise.
152         (lrint_test_data): Likewise.
153         (llrint_test_data): Likewise.
154         (logb_test_data): Likewise.
155         (lround_test_data): Likewise.
156         (llround_test_data): Likewise.
157         (nearbyint_test_data): Likewise.
158         (rint_test_data): Likewise.
159         (round_test_data): Likewise.
160         (sin_test_data): Likewise.
161         (sincos_test_data): Likewise.
162         (sinh_test_data): Likewise.
163         (sqrt_test_data): Likewise.
164         (tan_test_data): Likewise.
165         (tanh_test_data): Likewise.
166         (tgamma_test_data): Likewise.
167         (trunc_test_data): Likewise.
168         (y0_test_data): Likewise.
169         (y1_test_data): Likewise.
170         (yn_test_data): Likewise.
172         * math/libm-test.inc: Update comment about NaN testing.
173         (TEST_SNAN): New macro.
174         (snan_value): Likewise.
175         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
176         (fpclassify_test_data): Add sNaN tests.
177         (isfinite_test_data): Likewise.
178         (isinf_test_data): Likewise.
179         (isnan_test_data): Likewise.
180         (isnormal_test_data): Likewise.
181         (issignaling_test_data): Likewise.
182         (signbit_test_data): Likewise.
183         * math/gen-libm-test.pl (%beautify): Add snan_value.
184         (show_exceptions): Add argument $test_snan.
185         (parse_args): Handle snan_value as non-finite.  Update call to
186         show_exceptions.
187         * math/Makefile (libm-test-no-inline-cflags): Add
188         -fsignaling-nans.
190 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
192         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
193         (CFLAGS-oldsendmsg.c): Add rule.
194         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
195         Correct recvmsg symbol name.
196         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
197         Likewise.
199 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
201         * sysdeps/unix/sysv/linux/Makefile
202         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
203         oldsendmmsg.
204         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
205         sendmmsg.
206         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
209         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
214         Likewise.
215         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
217         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
218         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
219         iovlen and controllen fields to adjust to POSIX specification.
220         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
222         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
223         and change to correct expected type.
224         (msghdr.msg_controllen): Likewise.
225         (cmsghdr.cmsg_len): Likewise.
226         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
227         expected POSIX assumption about the size.
228         (msghdr.msg_controllen): Likewise.
229         (msghdr.__glibc_reserved1): Likewise.
230         (msghdr.__glibc_reserved2): Likewise.
231         (cmsghdr.cmsg_len): Likewise.
232         (cmsghdr.__glibc_reserved1): Likewise.
233         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
234         Add ptw-oldrecvmsg and ptw-oldsendmsg.
235         (CFLAGS-sendmsg.c): Remove rule.
236         (CFLAGS-recvmsg.c): Likewise.
237         (CFLAGS-oldsendmsg.c): Add rule.
238         (CFLAGS-oldrecvmsg.c): Likewise.
239         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
240         recvmsg and sendmsg.
241         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
242         Likewise.
243         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
244         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
245         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
246         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
247         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
248         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
249         Likewise.
250         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
251         Likewise.
252         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
253         Likewise.
254         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
255         Likewise.
256         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
257         Likewise.
258         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
259         Likewise.
260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
261         (GLIBC_2.24): Likewise.
262         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
263         Likewise.
264         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
265         Likewise.
266         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
267         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
268         Likewise.
269         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
270         Likewise.
271         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
272         Likewise.
273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
274         (GLIBC_2.24): Likewise.
275         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
276         Likewise.
277         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
278         Likewise.
279         * sysdeps/unix/sysv/linux/Makefile
280         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
281         (CFLAGS-sendmsg.c): Add rule.
282         (CFLAGS-recvmsg.c): Likewise.
283         (CFLAGS-oldsendmsg.c): Likewise.
284         (CFLAGS-oldrecvmsg.c): Likewise.
285         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
286         initialization.
287         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
288         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
289         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
290         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
291         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
292         iovlen and controllen fields to adjust to POSIX specification.
293         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
294         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
295         added recvmsg and sendmsg.
296         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
306         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
309         Likewise.
310         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
312         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
313         Likewise.
314         Likewise.
315         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
316         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
317         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
318         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
319         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
320         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
322         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
324         Likewise.
325         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
326         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
328         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
329         from auto-generation.
330         (sendmsg): Likewise.
331         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
332         (sendmsg): Likewise.
333         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
334         (sendmsg): Likewise.
335         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
336         (sendmsg): Likewise.
337         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
338         (sendmsg): Likewise.
339         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
340         (sendmsg): Likewise.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
342         Likewise.
343         (sendmsg): Likewise.
344         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
345         (sendmsg): Likewise.
346         * sysdeps/unix/sysv/linux/i386/kernel-features.h
347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
348         Remove.
349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
350         Likewise.
351         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
352         Undefine.
353         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
354         Likewise.
355         * sysdeps/unix/sysv/linux/kernel-features.h
356         (__ASSUME_SENDMSG_SYSCALL): Define.
357         (__ASSUME_RECVMSG_SYSCALL): Likewise.
358         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
360         Remove.
361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
362         Likewise.
363         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
364         Undefine.
365         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
366         Likewise.
367         * sysdeps/unix/sysv/linux/s390/kernel-features.h
368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
369         Remove.
370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
371         Likewise.
372         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
373         Undefine.
374         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
375         Likewise.
376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
377         (__ASSUME_SENDMSG_SYSCALL): Undefine.
378         (__ASSUME_RECVMSG_SYSCALL): Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
380         (__ASSUME_SENDMSG_SYSCALL): Likewise.
381         (__ASSUME_RECVMSG_SYSCALL): Likewise.
382         * sysdeps/unix/sysv/linux/sh/kernel-features.h
383         (__ASSUME_SENDMSG_SYSCALL): Likewise.
384         (__ASSUME_RECVMSG_SYSCALL): Likewise.
386 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
388         * stdlib/gen-tst-strtod-round.c: Add backslash to
389         compile command in comment.
390         (printfp): Remove the literal suffix, and define an infinite
391         value as INF to avoid expansion clash with INFINITY.
392         (round_str): Remove the literal suffix.
393         (round_for_all): Likewise, remove the now duplicate ldbl-64
394         entry, and remove some magic constants.
396         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
397         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
398         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
399         (_CONCAT): New macro.
400         (CONCAT): Likewise.
401         (CHOOSE_ld): Likewise.
402         (CHOOSE_f): Likewise.
403         (CHOOSE_d): Likewise.
404         (FTYPE_MEMBER): Likewise.
405         (BOOL_MEMBER): Likewise.
406         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
407         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
408         (_XNTRY): Likewise.
409         (XNTRY): Likewise.
410         (_ENTRY): Likewise.
411         (ENTRY): Likewise.
412         (test_exactness): Generate members via macro.
413         (test_results): Likewise.
414         (test): Update members.
415         (TEST): Redefine using new macros.
416         (INF): New macro.
417         (fetestmodes): New structure.
418         (do_test): Refactor to be type generic.
419         (test_in_one_mode): Refactor duplicate code into
420         (GEN_ONE_TEST): New macro.
422         * stdlib/tst-strtod-round-data.h: Regenerate.
424         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
425         Extend to pass additional arbitrary parameters to
426         generators.
428 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
430         [BZ #15479]
431         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
432         floating-point state after first floating-point operation on
433         input.  Restore full floating-point state instead of just rounding
434         mode.
435         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
436         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
437         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
438         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
439         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
441         [BZ #15479]
442         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
443         floating-point state after first floating-point operation on
444         input.  Restore full floating-point state instead of just rounding
445         mode.
446         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
447         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
448         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
449         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
450         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
452 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
454         [BZ #19727]
455         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
456         valid high surrogate.
457         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
458         of an utf16 surrogate.
459         * iconv/gconv_simple.c (BODY): Likewise.
460         * iconvdata/bug-iconv12.c: New file.
461         * iconvdata/Makefile (tests): Add bug-iconv12.
463 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
465         [BZ #19726]
466         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
467         outptrp in case of an illegal input.
468         * iconv/tst-iconv6.c: New file.
469         * iconv/Makefile (tests): Add tst-iconv6.
471 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
473         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
474         an error in case of a value in range of an utf16 low surrogate.
476 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
478         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
479         an error in case of a value in range of an utf16 low surrogate.
481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
483         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
484         Move to ...
485         * sysdeps/s390/Makefile: ... here.
486         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
487         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
488         (BRANCH_ON_COUNT): New define.
489         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
490         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
491         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
492         run on s390-32, too.
493         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
494         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
495         run on s390-32, too.
496         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
497         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
498         run on s390-32, too.
500 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
502         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
503         etf3eh or new vector loop-variant.
505 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
507         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
508         etf3eh or new vector loop-variant.
510 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
512         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
513         or new vector loop-variant.
515 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
517         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
518         Rename to TR_LOOP and usage of tr instead of troo instruction.
520 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
522         * sysdeps/s390/multiarch/gconv_simple.c: New File.
523         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
525 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
527         * sysdeps/s390/multiarch/8bit-generic.c: New File.
528         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
529         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
530         New override define.
531         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
533 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
535         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
536         * sysdeps/s390/configure.ac: Add test for S390 vector register
537         support in gcc.
538         * sysdeps/s390/configure: Regenerated.
540 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
543         Install file from $(objpfx)gconv-modules.
544         ($(objpfx)gconv-modules): Concatenate architecture specific file
545         in variable sysdeps-gconv-modules and gconv-modules in src dir.
546         * sysdeps/s390/gconv-modules: New file.
547         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
548         Deleted.
549         ($(objpfx)gconv-modules-s390): Deleted.
550         (sysdeps-gconv-modules): New variable.
552 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
554         [BZ #15479]
555         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
556         of immediate operand to rounding instruction.
557         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
558         Likewise.
559         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
560         Likewise.
561         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
562         Likewise.
564 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
566         * math/libm-test.inc (MIN_EXP): Directly define as
567         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
569 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
571         * math/libm-test.inc (MANT_DIG): Directly define as
572         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
574 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
576         * stdlib/gen-tst-strtod-round.c (main):
577           Change usage to more closely match the generated
578           output.  Add usage and compilation instructions.
579           (string_to_fp): Add and use FILE* parameter as
580           output target.
581           (print_fp): Likewise.
582           (round_str): Likewise.
583           (round_for_all): Likewise.
584         * stdlib/tst-strtod-round.c (tests): Move into
585         * stdlib/tst-strtod-round-data.h: New file.
587 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
589         [BZ #15479]
590         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
591         (__round): Do not force "inexact" exception.
592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
593         variable.
594         (__round): Do not force "inexact" exception.
595         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
596         (__roundf): Do not force "inexact" exception.
597         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
598         (__roundl): Do not force "inexact" exception.
599         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
600         (__roundl): Do not force "inexact" exception.
601         * math/libm-test.inc (round_test_data): Do not allow spurious
602         "inexact" exceptions.
604         [BZ #15479]
605         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
606         exception in comment.
607         (huge): Remove variable.
608         (__floor): Do not force "inexact" exception.
609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
610         "inexact" exception in comment.
611         (huge): Remove variable.
612         (__floor): Do not force "inexact" exception.
613         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
614         exception in comment.
615         (huge): Remove variable.
616         (__floorf): Do not force "inexact" exception.
617         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
618         exception in comment.
619         (huge): Remove variable.
620         (__floorl): Do not force "inexact" exception.
622         [BZ #15479]
623         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
624         exception in comment.
625         (huge): Remove variable.
626         (__ceil): Do not force "inexact" exception.
627         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
628         "inexact" exception in comment.
629         (huge): Remove variable.
630         (__ceil): Do not force "inexact" exception.
631         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
632         (__ceilf): Do not force "inexact" exception.
633         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
634         exception in comment.
635         (huge): Remove variable.
636         (__ceill): Do not force "inexact" exception.
638 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
640         * config.h.in (BIND_NOW): New.
641         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
642         * configure: Regenerated.
643         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
644         indirect branch via the GOT slot.
646 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
648         [BZ #19765]
649         * sysdeps/s390/mempcpy.S: New File.
650         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
652         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
653         Add mempcpy variants.
654         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
655         (memcpy): Adjust to be usable from mempcpy entry point.
656         (__memcpy_mvcle): Likewise.
657         * sysdeps/s390/s390-64/memcpy.S: Likewise.
658         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
659         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
660         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
661         (__memcpy_z10): Likewise.
662         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
664 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
666         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
667         Remove __GI_ symbol.
668         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
669         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
670         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
671         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
672         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
673         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
675 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
677         * sysdeps/s390/s390-64/memcpy.S (memcpy):
678         Use cghi instead of chi to compare 64bit value.
680 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
682         * sysdeps/s390/s390-32/memcpy.S (memcpy):
683         Jump to 1MB check before executing mvc-loop.
685 2016-05-24  Florian Weimer  <fweimer@redhat.com>
687         [BZ #6527]
688         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
689         unconditionally.
690         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
692 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
694         * stdlib/tst-strtod6.c (do_test): Use new type generic
695         invocation of the test function.
696         (test): Refactor into ...
697         (TEST_STRTOD): New macro base function.
699 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
701         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
702         (TEST_STRTOD): New macro.
703         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
705 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
707         * stdlib/tst-strtod6.c (do_test): Use new type generic
708         invocation of the test function.
709         (test): Refactor into ...
710         (TEST_STRTOD): New macro base function.
712 2016-05-23  Florian Weimer  <fweimer@redhat.com>
714         CVE-2016-4429
715         [BZ #20112]
716         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
717         payload.
719 2016-05-23  Florian Weimer  <fweimer@redhat.com>
721         [BZ #20111]
722         * bits/sockaddr.h (_SS_SIZE): Define.
723         * bits/socket.h (_SS_SIZE): Remove.
724         (_SS_PADSIZE): Adjust to account for all padding.
725         (struct sockaddr_storage): Update comment.  Avoid implicit
726         padding.
727         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
728         (_SS_PADSIZE): Adjust to account for all padding.
729         (struct sockaddr_storage): Update comment.  Avoid implicit
730         padding.
731         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
732         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
733         (_SS_PADSIZE): Adjust to account for all padding.
734         (struct sockaddr_storage): Update comment.  Avoid implicit
735         padding.
736         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
737         __SS_SIZE is 126 in this version.
738         * inet/tst-sockaddr.c: New file.
739         * inet/Makefile (tests): Add tst-sockaddr.c
740         (tst-sockaddr.c): Compile with non-strict aliasing.
742 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
744         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
745         [XPG3 || XPG4].
746         (NL_ARGMAX): Also expect for [XPG3].
747         (NL_LANGMAX): Likewise.
748         (NL_MSGMAX): Likewise.
749         (NL_NMAX): Likewise.
750         (NL_SETMAX): Likewise.
751         (NL_TEXTMAX): Likewise.
752         (NZERO): Likewise.
753         (TMP_MAX): Likewise.
754         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
755         variable.
757         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
758         (PF_MAX): Update value.
759         (AF_KCM): New macro.
760         (SOL_NETBEUI): Likewise.
761         (SOL_LLC): Likewise.
762         (SOL_DCCP): Likewise.
763         (SOL_NETLINK): Likewise.
764         (SOL_TIPC): Likewise.
765         (SOL_RXRPC): Likewise.
766         (SOL_PPPOL2TP): Likewise.
767         (SOL_BLUETOOTH): Likewise.
768         (SOL_PNPIPE): Likewise.
769         (SOL_RDS): Likewise.
770         (SOL_IUCV): Likewise.
771         (SOL_CAIF): Likewise.
772         (SOL_ALG): Likewise.
773         (SOL_NFC): Likewise.
774         (SOL_KCM): Likewise.
775         (MSG_BATCH): New enum value and macro.
777 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
779         [BZ #18185]
780         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
781         sharing L2 cache to 2 for Knights Landing.
783 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
785         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
786         (FTW_DP): Do not expect for [XPG3 || XPG4].
787         (FTW_SL): Do not expect for [XPG3].
788         (FTW_SLN): Likewise.
789         (FTW_PHYS): Likewise.
790         (FTW_MOUNT): Likewise.
791         (FTW_DEPTH): Likewise.
792         (FTW_CHDIR): Likewise.
793         (nftw): Likewise.
794         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
795         variable.
797 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
799         * manual/errno.texi: Fix various typos & grammar errors.
801 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
803         * manual/intro.texi: Fix duplicated typo.
805 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #13304]
808         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
809         <float.h>, <math_private.h> and <stdlib.h>.
810         (add_split): New function.
811         (mul_split): Likewise.
812         (ext_val): New typedef.
813         (store_ext_val): New function.
814         (mul_ext_val): New function.
815         (compare): New function.
816         (add_split_ext): New function.
817         (__fmal): After checking for Inf, NaN and zero, compute result as
818         an exact sum of scaled double values in round-to-nearest before
819         adding those up and adjusting for other rounding modes.
820         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
821         tests of fma.
822         * math/auto-libm-test-out: Regenerated.
824 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
826         [BZ #20119]
827         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
828         processor level type mask for CPUID with EAX == 11.
830 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
832         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
833         logical threads if the HTT bit is 0.
834         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
835         (index_cpu_HTT): Likewise.
836         (reg_HTT): Likewise.
838 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
840         [BZ #20115]
841         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
842         Remove alignments on jump targets.
844 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
846         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
847         (getpwent): Likewise.
848         (setpwent): Likewise.
849         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
850         variable.
852         * conform/data/search.h-data (insque): Do not expect for [XPG3].
853         (remque): Likewise.
854         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
855         variable.
857 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
859         * math/libm-test.inc: Update comment not to refer to signs of NaNs
860         not being tested.
862 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
864         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
865         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
866         call.
867         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
868         (__condvar_cleanup1): Likewise.
870 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
872         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
873         New
874         (__pthread_unwind): Renamed to ...
875         (PTHREAD_UNWIND): This.
876         (__pthread_enable_asynccancel): Replace
877         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
879 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
881         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
882         (CLONE_NEWCGROUP): New macro.
884         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
885         (Q_GETNEXTQUOTA): New macro.
887 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
889         [BZ #19907]
890         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
891         buffer updated by the previous run.
892         * string/test-memcpy.c (do_one_test): Likewise.
893         * benchtests/bench-memmove.c (do_one_test): Add a comment.
894         * string/test-memmove.c (do_one_test): Likewise.
896 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
898         [BZ #20094]
899         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
900         not [__USE_XOPEN].
901         (unlockpt): Likewise.
902         (ptsname): Likewise.
903         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
904         variable.
906         [BZ #20076]
907         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
908         instead of [__USE_UNIX98].
909         (S_ISSOCK): Likewise.
910         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
911         variable.
913         [BZ #20074]
914         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
915         [__USE_POSIX].
916         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
917         variable.
919         [BZ #20051]
920         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
921         (ttyslot): Do not declare.
922         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
923         (ttyslot): New prototype.
924         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
925         variable.
926         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
928 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
930         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
932 2016-05-13  Florian Weimer  <fweimer@redhat.com>
934         Fix race condition in tst-mallocfork2, use fewer resources.
935         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
936         to current process group.
937         (signal_sender): Yield in the non-sleeping case.
939 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
941         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
942         (ecvt): Likewise.
943         (fcvt): Likewise.
944         (gcvt): Likewise.
945         (getsubopt): Likewise.
946         (grantpt): Likewise.
947         (initstate): Likewise.
948         (l64a): Likewise.
949         (mktemp): Likewise.
950         (mkstemp): Likewise.
951         (ptsname): Likewise.
952         (random): Likewise.
953         (realpath): Likewise.
954         (setstate): Likewise.
955         (srandom): Likewise.
956         (ttyslot): Likewise.
957         (unlockpt): Likewise.
958         (valloc): Likewise.
960         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
961         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
962         variable.
964 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
966         [BZ #20072]
967         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
968         init_cpu_features only if SHARED is defined.
969         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
971 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
973         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
974         non-inclusive caches on Intel processors.
976 2016-05-13  Florian Weimer  <fweimer@redhat.com>
978         * malloc/malloc.c (dumped_main_arena_start)
979         (dumped_main_arena_end): New variables.
980         (DUMPED_MAIN_ARENA_CHUNK): New macro.
981         (do_check_chunk): Skip dumped fake mmapped chunks.
982         (munmap_chunk): Likewise.
983         (__libc_free): Do not adjust statistics for fake mmapped chunks.
984         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
985         mmapped chunks.
986         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
987         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
988         and dumped_main_arena_end to cover the dumped heap.
990 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
992         * conform/data/time.h-data (getdate_err): Do not expect for
993         [XPG3].
994         (getdate): Likewise.
995         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
996         variable.
998         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
999         (F_ULOCK): Likewise.
1000         (F_TEST): Likewise.
1001         (F_TLOCK): Likewise.
1002         (useconds_t): Likewise.
1003         (intptr_t): Do not expect for [XPG3] or [XPG4].
1004         (brk): Do not expect for [XPG3]
1005         (fchown): Likewise.
1006         (fchdir): Likewise.
1007         (ftruncate): Likewise.
1008         (getdtablesize): Likewise.
1009         (gethostid): Likewise.
1010         (getpagesize): Likewise.
1011         (getpgid): Likewise.
1012         (getsid): Likewise.
1013         (getwd): Likewise.
1014         (lchown): Likewise.
1015         (lockf): Likewise.
1016         (readlink): Likewise.
1017         (sbrk): Likewise.
1018         (setpgrp): Likewise.
1019         (setregid): Likewise.
1020         (setreuid): Likewise.
1021         (symlink): Likewise.
1022         (sync): Likewise.
1023         (truncate): Likewise.
1024         (ualarm): Likewise.
1025         (usleep): Likewise.
1026         (vfork): Likewise.
1027         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1028         variable.
1030         [BZ #20054]
1031         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1032         not [__USE_UNIX98].
1033         * conform/data/unistd.h-data (gethostname): Do not expect for
1034         [XPG3].
1036         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1037         [!POSIX] (S_IFBLK): Likewise.
1038         [!POSIX] (S_IFCHR): Likewise.
1039         [!POSIX] (S_IFIFO): Likewise.
1040         [!POSIX] (S_IFREG): Likewise.
1041         [!POSIX] (S_IFDIR): Likewise.
1042         [!POSIX] (S_IFLNK): Likewise.
1043         [!POSIX] (S_IFSOCK): Likewise.
1044         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1045         variable.
1046         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1048 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1050         * sysdeps/aarch64/memset.S (__memset):
1051         Rewrite of optimized memset.
1053 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1055         [BZ #19703]
1056         Partially async-signal-safe fork for single-threaded processes.
1057         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1058         variable.  Do not acquire and reset/release malloc and libio locks
1059         in single-threaded processes.
1060         * malloc/tst-mallocfork2.c: New file.
1061         * malloc/Makefile (tests): Add it.
1063 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1065         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1066         argument.  Use scratch buffer instead of extend_alloca.
1067         (gethosts): Use scratch buffer instead of extend_alloca.
1068         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1069         extend_alloca.
1070         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1072 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1074         [BZ #20055]
1075         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1076         instead of [__USE_UNIX98].
1077         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1078         [__USE_UNIX98].
1079         * conform/data/termios.h-data (tcgetsid): Do not expect for
1080         [XPG3].
1081         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1082         variable.
1083         (test-xfail-XPG4/termios.h/conform): Likewise.
1085 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1087         Do not use mcheck in localedef.
1088         * locale/programs/localedef.c (turn_on_mcheck)
1089         (__malloc_initialize_hook): Remove.
1091 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1093         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1094         * sysdeps/s390/s390-64/Makefile: Likewise.
1096 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1098         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1099         Remove ifunc-defines.sym.
1100         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1101         Likewise.
1102         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1103         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1104         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1105         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1106         rtld-global-offsets.sym.
1107         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1108         * sysdeps/x86/cpu-features-offsets.sym: This.
1109         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1110         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1112 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1114         [BZ #20073]
1115         * io/sys/stat.h (fchmod): Declare for
1116         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1117         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1118         variable.
1120         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1121         [XPG3] (S_IFSOCK): Likewise.
1122         [XPG3] (S_ISVTX): Likewise.
1123         [XPG3] (S_ISLNK): Likewise.
1124         [XPG3] (S_ISSOCK): Likewise.
1125         [XPG3] (fchmod): Likewise.
1126         [XPG3] (lstat): Likewise.
1127         [XPG3] (mknod): Likewise.
1129         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1130         [XPG3].  Expect type long and XFAIL for [XPG4].
1131         (st_blocks): Likewise.
1133         [BZ #20044]
1134         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1135         (pthread_atfork): New prototype.
1136         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1137         variable.
1139         [BZ #20043]
1140         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1141         prototype.
1143 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1145         [BZ #20017]
1146         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1147         gmtime.
1149 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1151         [BZ #19994]
1152         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1153         flag in _res.options.
1155 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1157         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1158         [XPG3 || XPG4].
1159         (blksize_t): Likewise.
1160         (clockid_t): Likewise.
1161         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1162         variable.
1163         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1165 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1167         * sysdeps/unix/sysv/linux/s390/init-first.c:
1168         Add VDSO_SYMBOL(getcpu).
1169         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1170         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1171         Add VDSO_SYMBOL(getcpu).
1172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1173         New define HAVE_GETCPU_VSYSCALL.
1174         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1176 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1178         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1179         instead of <sysdeps/x86_64/cacheinfo.c>.
1180         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1181         * sysdeps/x86/cacheinfo.c: Here.
1183 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1185         * malloc/malloc-internal.h: Adjust header file guard.
1187 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1189         [BZ #19787]
1190         * inet/getnameinfo.c (check_sprintf_result): New function.
1191         (CHECKED_SNPRINTF): New macro.
1192         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1193         to the host buffer.
1194         (gni_host_local): Use checked_copy to copy the host name.
1195         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1196         (gni_serv_local): Use checked_copy to copy the service name.
1197         (getnameinfo): Remove unnecessary truncation of result buffers.
1199 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1201         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1202         in case of inet_ntop failure.
1204 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1206         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1207         avoid long lines.
1208         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1209         variables.
1210         (gni_host_inet, gni_host_local): Add comment.
1211         (gni_host): Add comment.  Use temporary to avoid long lines.
1213 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1215         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1216         registers specifiers where general purpose registers specifiers should
1217         have been used.
1219 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1221         [BZ #19779]
1222         CVE-2016-1234
1223         Avoid copying names of directory entries.
1224         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1225         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1226         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1227         (struct readdir_result): New type.
1228         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1229         (GL_READDIR): New macros.
1230         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1231         (convert_dirent, convert_dirent64): New functions.
1232         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1233         convert_dirent64.  Adjust references to the readdir result.
1234         * sysdeps/unix/sysv/linux/i386/glob64.c:
1235         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1236         * posix/bug-glob2.c (LONG_NAME): Define.
1237         (filesystem): Add LONG_NAME.
1238         (my_DIR): Increase the size of room_for_dirent.
1240 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1242         [BZ #20041]
1243         * misc/sys/select.h (__need_timespec): Only define if
1244         [__USE_XOPEN2K].
1245         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1246         variable.
1247         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1248         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1249         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1251 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1252             Segher Boessenkool  <segher@gcc.gnu.org>
1254         [BZ #20004]
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1256         (__novec_swapcontext): Add missing load.
1258 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1260         [BZ #20023]
1261         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1262         <time.h>.
1263         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1264         variable.
1265         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1267 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1270         flags CLONE_VM compare.
1272 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1274         [BZ #20031]
1275         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1276         completely empty.
1278 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1280         [BZ #19573]
1281         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1282         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1283         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1284         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1285         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1286         (hesiod_free_list): Mark as hidden.
1287         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1288         res_set, res_get.
1289         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1290         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1291         (hesiod_init): Remove obsolete res_ninit call.
1292         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1293         (hesiod_bind): Do not call init.
1294         (get_txt_records): Use res_mkquery, res_send instead of
1295         res_nmkquery, res_nsend.
1296         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1297         instead of _nss_hesiod_init.
1298         (_nss_hesiod_initgroups_dyn): Likewise.
1299         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1300         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1301         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1303 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1305         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1306         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1308 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1310         * hesiod/hesiod.h: Remove RCS keyword.
1311         * hesiod/hesiod_p.h: Likewise.
1313         * hesiod/hesiod.c: Likewise.
1315 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1317         [BZ #12450]
1318         * locale/iso-639.def: Add Samogitian/sgs.
1320 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1322         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1324         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1326 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1327             Carlos O'Donell  <carlos@redhat.com>
1329         [BZ #19072]
1330         * grp/Makefile (headers): Add grp-merge.h
1331         (routines): Add grp-merge.
1332         * grp/getgrgid_r.c: Include grp-merge.h.
1333         (DEEPCOPY_FN): Define.
1334         (MERGE_FN): Define.
1335         * grp/getgrname_r.c: Include grp-merge.h.
1336         (DEEPCOPY_FN): Define.
1337         (MERGE_FN): Define.
1338         * grp/grp-merge.c: New file.
1339         * grp/grp-merge.h: New file.
1340         * include/grp-merge.h: New file.
1341         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1342         __copy_grp@GLIBC_PRIVATE.
1343         * manual/nss.texi (Actions in the NSS configuration): Describe
1344         return, continue, and merge.
1345         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1346         (DEEPCOPY_FN): Define.
1347         (MERGE_FN): Define.
1348         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1349         (DEEPCOPY_FN): Define.
1350         (MERGE_FN): Define.
1351         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1352         [!MERGE_FN]: Define __merge_einval.
1353         (CHECK_MERGE): Define.
1354         (REENTRANT_NAME): Process merge if do_merge is true.
1355         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1356         (__nss_getent_r): Likewise.
1357         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1358         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1360 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1362         [BZ #20012]
1363         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1364         length to calculate the buffer to read.
1365         (fmemopen_write): Set the buffer position based on bytes written.
1366         (fmemopen_seek): Return EINVAL for invalid whence modes.
1368         [BZ #19957]
1369         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1370         tst-getpid2.
1371         (test): Add tst-clone2.
1372         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1373         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1374         pid/tid fields for CLONE_VM.
1375         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1376         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1377         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1378         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1379         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1380         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1381         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1382         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1384         Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1388         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1389         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1390         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1391         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1392         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1394         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1396 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1398         [BZ #19642]
1399         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1400         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1401         (gni_serv_local, gni_serv): New functions extracted from
1402         getnameinfo.
1403         (getnameinfo): Call gni_host and gni_serv to perform the
1404         processing.  Always free scratch buffer.
1406 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1408         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1409         remaining bytes in the dest string, with zeros.
1411 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1413         [BZ #20010]
1414         CVE-2016-3706
1415         * sysdeps/posix/getaddrinfo.c
1416         (convert_hostent_to_gaih_addrtuple): New function.
1417         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1418         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1419         AF_INET data.
1421 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1423         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1424         callback function gl_readdir.
1425         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1426         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1427         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1428         memcpy to copy the name.
1429         * manual/pattern.texi (Calling Glob): Document requirements for
1430         implementations of the gl_readdir callback function.
1431         * manual/examples/mkdirent.c: New example.
1432         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1433         per the manual guidance.
1434         * posix/tst-gnuglob.c (my_readdir): Likewise.
1436 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1438         [BZ #20014]
1439         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1440         not [__USE_POSIX].
1441         (getchar_unlocked): Likewise.
1442         (putc_unlocked): Likewise.
1443         (putchar_unlocked): Likewise.
1444         (flockfile): Likewise.
1445         (ftrylockfile): Likewise.
1446         (funlockfile): Likewise.
1447         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1448         variable.
1449         (test-xfail-XPG4/stdio.h/conform): Likewise.
1451         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1452         Expect constant.
1453         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1454         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1455         variable.
1456         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1457         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1459         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1460         [__USE_LARGEFILE64] (off64_t): Likewise.
1461         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1462         variable.
1464 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1466         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1468 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1470         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1471         * resolv/res_init.c: Likewise.
1472         * resolv/res_mkquery.c: Likewise.
1474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1476         * resolv/res_init.c (isascii): Do not define.  Use definition in
1477         <ctype.h>.
1478         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1479         (LOG_AUTH): Remove.
1480         (SPRINTF): Remove, adjust caller.
1481         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1483 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1486         SUNSECURITY conditional.
1487         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1489 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1491         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1492         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1493         Remove BSD-related preprocessor conditionals.
1494         * conf/portability.h: Remove.
1496 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1498         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1499         * resolv/res_data.c: Likewise.
1501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1503         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1504         * resolv/res_data.c: Remove code conditional on ultrix.
1506 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1508         * resolv/res_init.c (RFC1535): Do not define.  Remove
1509         RFC1535 preprocessor conditionals.
1510         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1511         because there configuration options which make the resolver
1512         behavior different.
1514 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1516         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1517         RESOLVSORT preprocessor conditionals.
1518         * resolv/nss_dns/dns-host.c: Likewise.
1519         * resolv/res_init.c: Likewise.
1521 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1523         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1524         is never defined.
1526 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1528         * inet/inet_lnaof.c: Remove SCSS keyword.
1529         * inet/inet_mkadr.c: Likewise.
1530         * inet/inet_net.c: Likewise.
1531         * inet/inet_netof.c: Likewise.
1532         * inet/rcmd.c: Likewise.
1533         * inet/rexec.c: Likewise.
1534         * inet/ruserpass.c: Likewise.
1536 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1538         * resolv/inet_addr.c: Remove _LIBC conditionals.
1539         * resolv/res_data.c: Likewise.
1540         * resolv/res_init.c: Likewise.
1541         * resolv/res_mkquery.c: Likewise.
1542         * resolv/res_libc.c: Update comment.
1543         * resolv/README: Update.
1545 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1547         * resolv/gethnamaddr.c: Remove SCSS keyword.
1548         * resolv/herror.c: Likewise.
1549         * resolv/inet_addr.c: Likewise.
1550         * resolv/inet_net_ntop.c: Likewise.
1551         * resolv/inet_net_pton.c: Likewise.
1552         * resolv/inet_neta.c: Likewise.
1553         * resolv/inet_ntop.c: Likewise.
1554         * resolv/inet_pton.c: Likewise.
1555         * resolv/ns_date.c: Remove RCS keyword.
1556         * resolv/ns_name.c: Likewise.
1557         * resolv/ns_netint.c: Likewise.
1558         * resolv/ns_parse.c: Likewise.
1559         * resolv/ns_print.c: Likewise.
1560         * resolv/ns_samedomain.c: Likewise.
1561         * resolv/ns_ttl.c: Likewise.
1562         * resolv/nsap_addr.c: Likewise.
1563         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1564         * resolv/res_data.c: Remove RCS keyword.
1565         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1566         * resolv/res_init.c: Likewise.
1567         * resolv/res_mkquery.c: Likewise.
1568         * resolv/res_query.c: Likewise.
1569         * resolv/res_send.c: Likewise.
1571 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1573         * conform/data/stdio.h-data (fdopen): Expect also for
1574         [XPG3 || XPG4].
1576         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1577         (fseeko): Likewise.
1578         (ftello): Likewise.
1579         (ftrylockfile): Likewise.
1580         (funlockfile): Likewise.
1581         (getc_unlocked): Likewise.
1582         (getchar_unlocked): Likewise.
1583         (putc_unlocked): Likewise.
1584         (putchar_unlocked): Likewise.
1586 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1588         [BZ #19868]
1589         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1590         DNS packet syntax checks (which were not needed before).  Skip
1591         over non-PTR records.
1593 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1595         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1596         definition.  Include <stddef.h> instead.
1598 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1600         [BZ #19831]
1601         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1602         function.
1603         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1604         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1606 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1608         [BZ #19862]
1609         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1610         (getanswer_r): Do not call syslog.
1611         (gaih_getanswer_slice): Likewise.
1612         * resolv/gethnamaddr.c (AskedForGot): Remove.
1613         (getanswer): Do not call syslog.
1614         (gethostbyaddr): Likewise.
1616 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1618         * conform/data/signal.h-data (union sigval): Expect also if
1619         [XOPEN2K].
1620         (struct sigevent): Likewise.
1621         (SIGEV_NONE): Likewise.
1622         (SIGEV_SIGNAL): Likewise.
1623         (SIGEV_THREAD): Likewise.
1624         (SIGRTMIN): Likewise.
1625         (SIGRTMAX): Likewise.
1626         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1627         variable.
1628         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1630 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1632         [BZ #19830]
1633         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1634         (gaih_getanswer_slice): Likewise.
1635         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1636         Also check for availability of RR metadata.
1638 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1640         [BZ #19825]
1641         * resolv/res_send.c (send_vc): Remove early *resplen2
1642         initialization.  Set *resplen2 on socket error.  Call
1643         close_and_return_error for other errors.
1645 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1647         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1648         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1649         (SCM_IUCV_TRGCLS): New define.
1651 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1653         [BZ #20005]
1654         * libio/fmemopen.c (fmemopen_write): Update internal position after
1655         write.
1656         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1657         * stdio-common/tst-fmemopen4.c: New file..
1659 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1661         [BZ #19996]
1662         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1663         not [__USE_XOPEN2K].
1664         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1665         variable.
1667         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1668         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1669         variable.
1671         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1672         [__USE_XOPEN2K8].
1673         [__USE_LARGEFILE64] (off64_t): Likewise.
1674         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1675         variable.
1677 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1679         [BZ #19989]
1680         * libio/stdio.h (cuserid): Do not declare if
1681         [__USE_XOPEN2K && !__USE_GNU].
1682         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1683         variable.
1685 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1687         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1688         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1690         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1691         ifunc'ed strcspn.
1692         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1693         [EALIGN]: Removed.
1694         [END]: Likewise
1695         [STRSPN]: Define instead of the above to control symbol name.
1696         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1697         New file.
1698         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1699         Likewise.
1700         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1701         Likewise.
1702         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1703         Likewise.
1704         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1705         [INITIAL_MASK]: New macro.
1706         [STRCSPN]: Likewise.
1707         [UPDATE_MASK]: Likewise.
1708         [USE_AS_STRCSPN]: Lisewise.
1710 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1712         [BZ #19931]
1713         * stdio-common/tst-vfprintf-width-prec.c: New file.
1714         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1715         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1716         (generated): Add mtrace-related files.
1717         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1718         (tst-%-mem.out): New pattern rule, replaces
1719         tst-printf-bz18872-mem.out.
1720         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1721         specifier, deallocate any previously allocated work buffer.
1723 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1725         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1726         Add nop before __startcontext, add explaining comments.
1728 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1730         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1731         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1732         completely different API.
1734         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1735         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1736         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1737         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1738         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1739         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1740         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1741         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1742         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1743         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1745 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1747         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1749 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1751         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1752         when it is the default of 0.
1754 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1756         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1757         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1758         (sysdep_routines): Add new strcasestr targets.
1759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1760         (__libc_ifunc_impl_list): Likewise.
1761         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1762         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1763         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1764         * sysdeps/powerpc/powerpc64/power8/Makefile:
1765         New file to add strcasestr-ppc64 to sysdep_routines.
1766         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1767         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1769 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1771         * benchtests/Makefile (wcsmbs-benchset): Include only for
1772         native builds and runs.
1773         (LOCALES): Likewise.
1774         (bench-build): Build timing-type here instead of the bench
1775         target.  Generate locale only for native builds.
1776         * benchtests/README: Add note for cross-building.
1778         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1780         * benchtests/README: Update README to include instructions on
1781         using bench-build.
1783         * Makefile.in (bench-build): New target.
1784         * Rules (PHONY): Add bench-build target.
1785         * benchtests/Makefile (bench): Depend on bench-build.
1786         (bench-build): New target.
1788 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1790         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1791         profil_reply_port.
1792         (profile_waiter): Do not initialize profil_reply_port.
1793         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1794         frequency instead of tick length in us.
1796 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1798         [BZ #18712]
1799         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1800         (__old_mempcpy_small): Likewise.
1801         (__old_strcpy_small): Likewise.
1802         (__old_stpcpy_small): Likewise.
1803         (__old_strpbrk_c2): Fix compat symbol name.
1804         (__old_strpbrk_c3): Likewise.
1805         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1806         (__mempcpy_small): Remove.
1807         (__strcpy_small): Remove.
1808         (__stpcpy_small): Remove.
1810 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1812         [BZ #19400]
1813         * locale/iso-639.def: Add the Talossan/tzl language.
1815 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1817         [BZ #16983]
1818         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1819         comment.  Add "ln" to strchr check on postal_fmt.
1821 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1823         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1824         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1825         tel_dom_fmt.
1827 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1829         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1830         (sysdep_routines): Added __strlen_power8.
1831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1832         __strlen_power8 entry.
1833         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1834         Implementation for POWER8.
1835         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1836         for __strlen_power8.
1837         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1838         Implementation for POWER8.
1840 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1842         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1844 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1846         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1847         Goldmont and Airmont processors.
1849 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1851         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1852         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1853         (__STRING2_SMALL_GET32): Remove.
1854         (memset): Remove.
1855         (__memset_1): Remove.
1856         (__memset_gc): Remove.
1857         (__mempcpy): Remove.
1858         (mempcpy): Remove.
1859         (__mempcpy_args): Remove.
1860         (strchr): Remove.
1861         (strcpy): Remove.
1862         (strcpy_args): Remove.
1863         (__stpcpy_args): Remove.
1864         (__strcmp_cc): Remove.
1865         (__strcmp_gc): Remove.
1866         (strstr): Remove.
1868 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1870         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1871         * nis/nis_call.c (nis_server_cache_add): Likewise.
1873 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1875         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1877 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1879         * malloc/arena.c (__malloc_fork_lock_parent)
1880         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1881         internal_function attribute.
1883 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1885         * stdio-common/printf_fp.c (__printf_fp_l):
1886         Rename ___printf_fp_l to __printf_fp_l and
1887         remove strong alias. Use libc_hidden_def instead
1888         of ldbl_hidden_def macro.
1890 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1892         Remove malloc hooks from fork handler.  They are no longer needed
1893         because malloc runs right before fork, and no malloc calls from
1894         other fork handlers are not possible anymore.
1895         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1896         declarations.
1897         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1898         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1899         (atfork_recursive_cntr): Remove.
1900         (__malloc_fork_lock_parent): Do not override malloc hooks and
1901         thread_arena.
1902         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1903         thread_arena.
1904         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1905         thread_arena instead of save_arena.
1907 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1909         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1910         (thread_atfork, thread_atfork_static): Remove.
1911         * sysdeps/mach/hurd/malloc-machine.h:
1912         (thread_atfork, thread_atfork_static): Remove.
1914 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1916         [BZ #19431]
1917         Run the malloc fork handler as late as possible to avoid deadlocks.
1918         * malloc/malloc-internal.h: New file.
1919         * malloc/malloc.c: Include it.
1920         * malloc/arena.c (ATFORK_MEM): Remove.
1921         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1922         Update comment.
1923         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1924         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1925         Remove outdated comment.
1926         (ptmalloc_init): Do not call thread_atfork.  Remove
1927         thread_atfork_static.
1928         * malloc/tst-malloc-fork-deadlock.c: New file.
1929         * Makefile (tests): Add tst-malloc-fork-deadlock.
1930         (tst-malloc-fork-deadlock): Link against libpthread.
1931         * manual/memory.texi (Aligned Memory Blocks): Update safety
1932         annotation comments.
1933         * sysdeps/nptl/fork.c (__libc_fork): Call
1934         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1935         __malloc_fork_unlock_child.
1936         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1938 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1940         [BZ #19613]
1941         Remove union wait.
1942         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1943         (w_stopsig, w_stopval): Remove.
1944         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1945         stat_loc argument.
1946         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1947         (__WAIT_STATUS_DEFN): Remove.
1948         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1949         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1950         (wait, wait3, wait4): Use int * for the stat_loc argument.
1951         * posix/wait.c (__wait): Likewise.
1952         * posix/wait3.c (__wait3): Likewise.
1953         * posix/wait4.c (__wait4): Likewise.
1954         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1955         (__WAIT_STATUS_DEFN): Remove.
1956         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1957         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1958         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1959         argument.
1960         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1961         * sysdeps/posix/wait3.c (__wait3): Likewise.
1962         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1963         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1964         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1965         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1966         stat_loc argument.
1967         * manual/process.texi (BSD Wait Functions): Remove union wait.
1969 2016-04-13  Andreas Schwab  <schwab@suse.de>
1971         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1972         (test-extras): Add tst-tlsalign-vars.
1973         * math/Makefile: Wrap long lines.
1974         (libm-vec-test-wrappers): Define.
1975         (test-extras): Add $(libm-vec-test-wrappers).
1976         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1977         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1978         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1979         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1980         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1981         (extra-test-objs): Add corresponding objects.
1983 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1985         [BZ #19928]
1986         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1987         New.
1988         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1989         times of shared cache size.
1990         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1991         (VMOVNT): New.
1992         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1993         (VMOVNT): Likewise.
1994         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1995         (VMOVNT): Likewise.
1996         (VMOVU): Changed to movups for smaller code sizes.
1997         (VMOVA): Changed to movaps for smaller code sizes.
1998         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1999         comments.
2000         (PREFETCH): New.
2001         (PREFETCH_SIZE): Likewise.
2002         (PREFETCHED_LOAD_SIZE): Likewise.
2003         (PREFETCH_ONE_SET): Likewise.
2004         Rewrite to use forward and backward loops, which move 4 vector
2005         registers at a time, to support overlapping addresses and use
2006         non temporal store if size is above the threshold and there is
2007         no overlap between destination and source.
2009 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2011         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2012         Include dl-vdso.
2013         * sysdeps/unix/sysv/linux/mips/Versions: Add
2014         __vdso_clock_gettime.
2015         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2016         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2017         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2018         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2019         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2020         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2021         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2022         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2023         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2025 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2027         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2028         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2031         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2032         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2035         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2036         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2037         syscalls generation.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2039         [__NR_pwrite64] (__NR_write): Remove define.
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2041         [__NR_pwrite64] (__NR_write): Remove define.
2042         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2043         Remove define.
2044         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2045         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2046         Remove define.
2047         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2048         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2049         Linux implementation as base.
2050         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2052         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2053         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2058         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2059         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2060         syscall generation.
2061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2062         [__NR_pread64] (__NR_pread): Remove define.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2064         [__NR_pread64] (__NR_pread): Likewise.
2065         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2066         define.
2067         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2068         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2069         Remove define.
2070         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2071         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2072         Linux implementation as base.
2073         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2074         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2075         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2077         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2078         definition.
2079         (__ALIGNMENT_COUNT): Likewise.
2080         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2081         (__ALIGNMENT_COUNT): Likewise.
2082         (SYSCALL_LL): New define.
2083         (SYSCALL_LL64): Likewise.
2084         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2085         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2086         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2087         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2090         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2092         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2093         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2094         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2096 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2098         [BZ #19865]
2099         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2100         original buffer before retry.
2102 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2104         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2105         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2106         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2107         GLRO(dl_auxv) list.
2108         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2109         including <ldsodefs.h>.
2110         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2112 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2114         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2115         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2116         $(CPPFLAGS).
2118 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2120         [BZ #17950]
2121         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2122         Add -mfpmath=387.
2124 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2126         * sysdeps/i386/configure.ac: Change == to = when calling test.
2127         * sysdeps/x86_64/configure.ac: Likewise.
2128         * sysdeps/i386/configure: Regenerated.
2129         * sysdeps/x86_64/configure: Likewise.
2131 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2133         [BZ #16137]
2134         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2135         * benchtests/bench-strcoll.c (input_files): Likewise.
2136         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2137         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2138         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2140 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2142         [BZ #19929]
2143         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2144         [__USE_XOPEN2K8 && !__USE_GNU].
2145         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2146         variable.
2148         [BZ #19925]
2149         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2150         define if [!__USE_MISC && __USE_XOPEN2K].
2151         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2152         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2153         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2154         Likewise.
2155         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2156         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2157         variable.
2158         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2160 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2162         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2163         (sysdep_routines): Add new strspn targets.
2164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2165         (__libc_ifunc_impl_list): Add strspn.
2166         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2167         New file.
2168         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2169         Likewise.
2170         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2171         Likewise.
2172         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2173         Likewise.
2175 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2177         * misc/hsearch_r.c: Include <limits.h>.
2179 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2181         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2183 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2185         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2186         (MEMCPY_SYMBOL): New.
2187         (MEMPCPY_SYMBOL): Likewise.
2188         (MEMMOVE_CHK_SYMBOL): Likewise.
2189         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2190         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2191         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2192         Provide alias for memcpy in libc.a and ld.so.
2194 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2196         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2197         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2198         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2199         Disabled fro now.
2200         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2201         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2203 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2205         * benchtests/Makefile (string-benchset): Add memcpy-large,
2206         memmove-large and memset-large.
2207         * benchtests/bench-memcpy-large.c: New file.
2208         * benchtests/bench-memmove-large.c: Likewise.
2209         * benchtests/bench-memmove-large.c: Likewise.
2210         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2212 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2214         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2215         32-bit displacement to avoid long nop between instructions.
2217 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2219         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2220         a comment on VMOVU and VMOVA.
2222 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2224         [BZ #19633]
2225         Use specified locale for number formatting in strfmon_l.
2226         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2227         (__nl_lookup_word): New inline functions.
2228         * include/printf.h (__print_fp_l): Declare.
2229         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2230         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2231         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2232         (___printf_fp): New function.
2233         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2234         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2235         * stdlib/tst-strfmon_l.c (do_test): New test.
2236         * stdlib/Makefile (tests): Add kt.
2237         (LOCALES): Build additional locales.
2238         (tst-strfmon_l.out): Require locales.
2240 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2242         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2243         if not in libc.
2244         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2245         Likewise.
2246         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2247         Likewise.
2248         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2249         Likewise.
2251 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2253         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2254         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2255         with unaligned_erms.
2256         (__memmove_erms): Skip if source == destination.
2257         (__memmove_unaligned_erms): Don't check source == destination
2258         first.
2260 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2262         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2263         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2265 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2267         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2268         * string/strspn.c (strspn): Likewise.
2270 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2272         * benchtests/bench-memset.c (do_test): Support 64-byte
2273         alignment.
2274         (test_main): Test 64-byte alignment.
2276 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2278         * benchtests/bench-memmove.c (test_main): Test 64-byte
2279         alignment.
2281 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2283         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2285 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2287         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2288         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2289         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2291         * string/strpbrk.c (strpbrk): Rewrite function.
2292         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2293         (__strpbrk_c2): Likewise.
2294         (__strpbrk_c3): Likewise.
2295         * string/string-inlines.c
2296         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2297         Likewise.
2298         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2299         Likewise.
2301         * string/strspn.c (strcspn): Rewrite function.
2302         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2303         (__strspn_c1): Remove inline function.
2304         (__strspn_c2): Likewise.
2305         (__strspn_c3): Likewise.
2306         * string/string-inlines.c
2307         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2308         compatibility symbol.
2309         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2310         Likewise.
2311         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2312         Likewise.
2313         * string/string-inlines.c: Include generic version.
2315 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2316             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2318         * string/Version (libc): Add GLIBC_2.24.
2319         * string/strcspn.c (strcspn): Rewrite function.
2320         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2321         (__strcspn_c1): Remove inline function.
2322         (__strcspn_c2): Likewise.
2323         (__strcspn_c3): Likewise.
2324         * string/string-inline.c
2325         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2326         compatibility symbol.
2327         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2328         Likewise.
2329         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2330         Likewise.
2331         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2333 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2335         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2336         Use ahi instead of aghi to adjust stack pointer.
2338 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2340         [BZ #19853]
2341         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2342         TEST to take significant digits as second parameter.
2343         [TEST]: Redefine in terms of TEST_N taking 30
2344         significant digits.
2345         (do_test): Add test case to demonstrate precision
2346         failure in the ldbl-128ibm printf.
2347         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2348         (__mpn_extract_long_double): Carry 7 extra intermediate
2349         bits of precision to aide computing difference when
2350         signs differ.
2352 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2354         [BZ #19881]
2355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2356         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2357         memset-avx512-unaligned-erms.
2358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2359         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2360         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2361         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2362         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2363         __memset_sse2_unaligned_erms, __memset_erms,
2364         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2365         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2366         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2367         file.
2368         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2369         Likewise.
2370         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2371         Likewise.
2372         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2373         Likewise.
2375 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2377         [BZ #19776]
2378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2379         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2380         memmove-avx512-unaligned-erms.
2381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2382         (__libc_ifunc_impl_list): Test
2383         __memmove_chk_avx512_unaligned_2,
2384         __memmove_chk_avx512_unaligned_erms,
2385         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2386         __memmove_chk_sse2_unaligned_2,
2387         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2388         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2389         __memmove_avx512_unaligned_erms, __memmove_erms,
2390         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2391         __memcpy_chk_avx512_unaligned_2,
2392         __memcpy_chk_avx512_unaligned_erms,
2393         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2394         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2395         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2396         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2397         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2398         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2399         __mempcpy_chk_avx512_unaligned_erms,
2400         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2401         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2402         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2403         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2404         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2405         __mempcpy_erms.
2406         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2407         file.
2408         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2409         Likwise.
2410         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2411         Likwise.
2412         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2413         Likwise.
2415 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2417         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2418         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2419         (La_s390_64_regs): Likewise.
2420         (La_s390_32_retval): Append vector register lrv_v24.
2421         (La_s390_64_retval): Likeweise.
2422         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2423         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2424         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2425         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2427 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2429         [BZ #19916]
2430         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2431         to create a non-vector/vector version for _dl_runtime_resolve and
2432         _dl_runtime_profile. Move implementation to ...
2433         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2434         (_dl_runtime_resolve) Save and restore fpr/vrs.
2435         (_dl_runtime_profile) Save and restore vrs and fix some issues
2436         if _dl_call_pltexit is called.
2437         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2438         Choose the correct resolver function if running on a machine with vx.
2439         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2440         to create a non-vector/vector version for _dl_runtime_resolve and
2441         _dl_runtime_profile. Move implementation to ...
2442         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2443         (_dl_runtime_resolve) Save and restore fpr/vrs.
2444         (_dl_runtime_profile) Save and restore vrs and fix some issues
2445         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2446         Choose the correct resolver function if running on a machine with vx.
2448 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2450         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2452 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2454         [BZ #19509]
2455         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2456         skip_map != NULL.
2457         * elf/tst-dlsym-error.c: New file.
2458         * elf/Makefile (tests): Add tst-dlsym-error.
2459         (tst-dlsym-error): Link against libdl.
2461 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2464         (__ASSUME_FUTIMESAT): Remove macro.
2465         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2467 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2469         [BZ #19879]
2470         CVE-2016-3075
2471         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2472         copy name.
2474 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2476         [BZ #19837]
2477         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2478         error if parse_line fails.
2480 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2482         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2483         (index_cpu_ERMS): Likewise.
2484         (reg_ERMS): Likewise.
2486 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2488         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2489         PER_LINUX_FDPIC): Add.
2491 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2494         memcpy-avx512-no-vzeroupper.
2495         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2496         to ...
2497         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2498         (MEMCPY): Don't define.
2499         (MEMCPY_CHK): Likewise.
2500         (MEMPCPY): Likewise.
2501         (MEMPCPY_CHK): Likewise.
2502         (MEMPCPY_CHK): Renamed to ...
2503         (__mempcpy_chk_avx512_no_vzeroupper): This.
2504         (MEMPCPY_CHK): Renamed to ...
2505         (__mempcpy_chk_avx512_no_vzeroupper): This.
2506         (MEMCPY_CHK): Renamed to ...
2507         (__memmove_chk_avx512_no_vzeroupper): This.
2508         (MEMCPY): Renamed to ...
2509         (__memmove_avx512_no_vzeroupper): This.
2510         (__memcpy_avx512_no_vzeroupper): New alias.
2511         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2513 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2515         [BZ #18858]
2516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2517         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2518         and mempcpy-avx512-no-vzeroupper.
2519         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2520         New.
2521         (MEMPCPY): Likewise.
2522         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2523         (MEMPCPY_CHK): New.
2524         (MEMPCPY): Likewise.
2525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2526         (MEMPCPY): Likewise.
2527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2528         (MEMPCPY): Likewise.
2529         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2530         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2531         Likewise.
2532         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2533         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2535 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2536              Amit Pawar  <Amit.Pawar@amd.com>
2538         [BZ #19583]
2539         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2540         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2541         processors.  Set Fast_Copy_Backward for AMD Excavator
2542         processors.
2543         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2544         New.
2545         (index_arch_Fast_Unaligned_Copy): Likewise.
2546         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2547         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2549 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2551         [BZ #19791]
2552         * resolv/res_send.c (close_and_return_error): New function.
2553         (send_dg): Initialize *resplen2 after reopen failure.  Call
2554         close_and_return_error for error returns.  On error paths without
2555         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2556         successful return.
2558 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2560         [BZ# 19860]
2561         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2562         zero if the compiler does not provide the AVX512F bit.
2564 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2566         [BZ #19848]
2567         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2568         from 8 to 4.
2569         (__ieee754_powl): Compare integer exponent against 4 not 8.
2570         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2571         from 8 to 4.
2572         (__ieee754_powl): Compare integer exponent against 4 not 8.
2573         * math/auto-libm-test-in: Add more tests of pow.
2574         * math/auto-libm-test-out: Regenerated.
2575         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2580         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2581         Make code unconditional.
2582         [!__NR_utimensat]: Remove conditional code.
2583         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2584         Make code unconditional.
2585         [!__NR_utimensat]: Remove conditional code.
2586         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2587         Make code unconditional.
2588         [!__NR_utimensat]: Remove conditional code.
2590 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2592         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2593         Make code unconditional.
2595 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2597         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2598         call-clobbered %eax on retry path.
2599         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2601 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2603         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2604         Don't set %rcx twice before "rep movsb".
2606 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2608         [BZ #19583]
2609         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2610         inline.  Check family before setting family, model and
2611         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2612         bits here.
2613         (init_cpu_features): Replace HAS_CPU_FEATURE and
2614         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2615         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2616         for Intel processors with usable AVX2.  Call get_common_indeces
2617         for other processors with family == NULL.
2618         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2619         (CPU_FEATURES_ARCH_P): Likewise.
2620         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2621         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2623 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2625         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2626         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2627         $(shared-thread-library) instead of hardcoding the path to libpthread.
2629 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2631         * sysdeps/unix/sysv/linux/kernel-features.h
2632         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2633         * sysdeps/unix/sysv/linux/getdents.c
2634         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2635         [!have_no_getdents64_defined]: Likewise.
2636         (__GETDENTS): Remove __have_no_getdents64 conditional.
2638 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2640         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2641         Remove macro.
2642         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2643         <kernel-features.h>.
2644         (signalfd) [__NR_signalfd4]: Make code unconditional.
2645         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2647 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2649         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2650         style.
2652 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2654         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2655         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2656         __pthread_unwind.
2657         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2658         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2659         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2660         (__condvar_cleanup1): Likewise.
2662 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2664         [BZ #19822]
2665         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2666         move it to the final $@ location.
2668 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2670         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2671         access where posix_spawn success and pid argument is null.
2672         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2673         success case.
2675 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2677         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2679         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2681         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2682         and __fcntl.
2683         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2684         __fcntl only.
2685         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2686         adding attribute_hidden to __open and __fcntl.
2688         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2689         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2690         depend on libc-modules.h,
2691         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2693 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2695         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2696         Remove macro.
2697         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2698         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2699         entry.
2701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2702         Remove macro.
2703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2704         include <kernel-features.h>.
2705         [!__ASSUME_FALLOCATE]: Remove conditional code.
2706         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2708 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2711         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2712         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2713         (_ZGVdN4v_cos_avx2): Likewise.
2714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2715         (_ZGVdN4v_cos): Likewise.
2716         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2717         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2718         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2719         (_ZGVdN4v_exp_avx2): Likewise.
2720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2721         (_ZGVdN4v_exp): Likewise.
2722         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2723         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2724         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2725         (_ZGVdN4v_log_avx2): Likewise.
2726         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2727         (_ZGVdN4v_log): Likewise.
2728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2729         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2731         (_ZGVdN4vv_pow_avx2): Likewise.
2732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2733         (_ZGVdN4vv_pow): Likewise.
2734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2735         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2737         (_ZGVdN4v_sin_avx2): Likewise.
2738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2739         (_ZGVdN4v_sin): Likewise.
2740         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2741         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2743         (_ZGVdN4vvv_sincos_avx2): Likewise.
2744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2745         (_ZGVdN4vvv_sincos): Likewise.
2746         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2747         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2748         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2749         (_ZGVbN4v_cosf_sse4): Likewise.
2750         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2751         (_ZGVdN8v_cosf_avx2): Likewise.
2752         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2753         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2754         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2755         (_ZGVbN4v_expf_sse4): Likewise.
2756         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2757         (_ZGVdN8v_expf_avx2): Likewise.
2758         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2759         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2760         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2761         (_ZGVbN4v_logf_sse4): Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2763         (_ZGVdN8v_logf_avx2): Likewise.
2764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2765         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2766         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2767         (_ZGVbN4vv_powf_sse4): Likewise.
2768         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2769         (_ZGVdN8vv_powf_avx2): Likewise.
2770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2771         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2773         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2775         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2777         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2779         (_ZGVbN4v_sinf_sse4): Likewise.
2780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2781         (_ZGVdN8v_sinf_avx2): Likewise.
2782         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2783         Use JUMPTARGET to call callee.
2784         (WRAPPER_IMPL_SSE2_ff): Likewise.
2785         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2786         (WRAPPER_IMPL_AVX): Likewise.
2787         (WRAPPER_IMPL_AVX_ff): Likewise.
2788         (WRAPPER_IMPL_AVX_fFF): Likewise.
2789         (WRAPPER_IMPL_AVX512): Likewise.
2790         (WRAPPER_IMPL_AVX512_ff): Likewise.
2791         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2792         Likewise.
2793         (WRAPPER_IMPL_SSE2_ff): Likewise.
2794         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2795         (WRAPPER_IMPL_AVX): Likewise.
2796         (WRAPPER_IMPL_AVX_ff): Likewise.
2797         (WRAPPER_IMPL_AVX_fFF): Likewise.
2798         (WRAPPER_IMPL_AVX512): Likewise.
2799         (WRAPPER_IMPL_AVX512_ff): Likewise.
2800         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2802 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2804         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2805         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2806         qualifier.
2807         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2808         internal_function qualifiers.
2810 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2812         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2813         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2814         * math/atest-exp.c (exp_mpn): Mark chk unused.
2815         * math/atest-exp2.c (exp_mpn): Likwise.
2816         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2817         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2819 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2821         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2822         Remove macro.
2823         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2824         <kernel-features.h>.
2825         [__NR_ppoll]: Make code unconditional.
2826         [!__ASSUME_PPOLL]: Remove conditional code.
2828         * sysdeps/unix/sysv/linux/kernel-features.h
2829         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2830         (__ASSUME_ACCEPT4): Likewise.
2831         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2832         Define.
2833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2834         Likewise.
2835         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2836         Likewise.
2837         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2838         Likewise.
2839         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2840         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2842         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2843         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2844         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2845         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2846         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2847         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2848         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2849         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2850         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2851         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2853         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2855         Likewise.
2856         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2857         Likewise.
2858         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2859         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2860         0x040300].
2861         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2862         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2864         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2865         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2866         0x030300].
2867         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2868         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2869         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2870         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2871         0x040300].
2872         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2874         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2875         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2876         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2877         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2878         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2879         0x030300].
2880         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2881         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2884         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2885         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2887         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2888         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2889         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2890         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2891         0x040300].
2892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2894         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2895         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2896         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2897         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2898         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2899         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2903         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2904         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2905         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2906         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2907         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2909         Likewise.
2910         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2911         Likewise.
2913 2016-03-15  Andreas Schwab  <schwab@suse.de>
2915         [BZ #19257]
2916         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2917         statp->_u._ext.nscount as loop count.
2919 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2921         * math/test-signgam-finite-c99.c: Also #undef
2922         __LIBC_INTERNAL_MATH_INLINES.
2923         * math/test-signgam-main.c: Likewise.
2925 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2927         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2928         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2929         (MADV_FREE): Likewise.
2930         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2931         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2932         EPOLLEXCLUSIVE.
2934 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2936         * timezone/README: Remove mention of checktab.awk. Mention wiki
2937         SharedSourceFiles.
2939 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2941         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2942         WUNTRACED.
2944 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2946         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2947         order to match the type of p when calling atomic_exchange_acq().
2949 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2951         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2952         cfi_offset calls.
2953         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2954         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2955         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2956         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2957         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2959 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2961         * timezone/checktab.awk: Removed.
2963 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2965         * manual/math.texi (Errors in Math Functions): Document relaxed
2966         accuracy goals for IBM long double.
2967         * math/libm-test.inc (test_exceptions): Always allow spurious
2968         "underflow" and "inexact" exceptions for IBM long double.
2970 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2972         [BZ #19762]
2973         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2974         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2975         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2976         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2977         (bit_arch_*): This for feature array.
2978         (bit_*): Renamed to ...
2979         (bit_cpu_*): This for cpu array.
2980         (index_*): Renamed to ...
2981         (index_arch_*): This for feature array.
2982         (index_*): Renamed to ...
2983         (index_cpu_*): This for cpu array.
2984         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2985         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2986         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2987         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2988         bit_##name with index_cpu_##name and bit_cpu_##name.
2989         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2990         bit_##name with index_arch_##name and bit_arch_##name.
2992 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2994         [BZ #19792]
2995         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2996         Terminate FDE before return label.
2998 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3000         [BZ #19790]
3001         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3002         (rintl): Define as macro.
3003         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3004         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3005         of fesetround.  Ensure results are evaluated before end of scope.
3006         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3007         USE_AS_NEARBYINTL and include s_rintl.c.
3008         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3009         Disable exception traps in new environment.
3010         (libc_feholdsetround_ppc_ctx): Likewise.
3012 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3014         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3015         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3016         (tst_audit10_aux) [__AVX512F__]: ... here.
3018 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3020         * include/sys/auxv.h: New file.
3022 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3024         [BZ #19759]
3025         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3027 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3029         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3030         operand modifier.
3031         (feclearexcept): Likewise.
3033 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3035         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3036         to reflect the entire 32-bit HWCAP.
3037         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3038         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3040 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3042         [BZ #19783]
3043         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3044         $(test-via-rtld-prefix).
3045         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3047 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3049         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3050         union wait.  Report any non-zero exit status as error.
3052 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3054         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3055         configured with --enable-hardcoded-path-in-tests.
3057 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3059         [BZ #19677]
3060         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3061         (__ieee754_remainderl): Put zero low parts in canonical form.
3062         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3063         file.  Based on
3064         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3065         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3066         with wrapper round test-fmodrem-ldbl-128ibm.c.
3067         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3068         file.
3069         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3070         Likewise.
3071         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3072         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3074 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3076         [BZ #19610]
3077         * elf/ldconfig.c (opt_link): Update comment.
3078         (options): Update help string for option -X.
3079         (search_dir): Unlink stale symbolic link only if updating symbolic
3080         links.
3081         * elf/tst-ldconfig-X.sh: New file.
3082         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3083         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3085 2016-03-07  Andreas Schwab  <schwab@suse.de>
3087         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3088         needed arguments.
3090 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3092         [BZ #15333]
3093         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3094         to lstat64.
3096 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3098         * libio/filedoalloc.c (isatty): Remove.
3099         (local_isatty): Add comment.  Call __isatty directly.
3100         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3101         * libio/wfiledoalloc.c (isatty): Remove.
3102         (_IO_wfile_doallocate): Update comment.
3104 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3106         [BZ #19269]
3107         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3108         tst-audit4-aux.o.
3109         (tst-audit10): Depend on tst-audit10-aux.o.
3110         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3111         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3112         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3113         instead of inline AVX code.
3114         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3115         instead of inline AVX512 code.
3116         * sysdeps/x86_64/tst-audit4-aux.c: New file
3117         * sysdeps/x86_64/tst-audit10-aux.c: New file
3119         [BZ #19648]
3120         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3122 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3124         [BZ #14750]
3125         [BZ #10354]
3126         [BZ #18433]
3127         * include/sched.h (__clone): Add hidden prototype.
3128         (__clone2): Likewise.
3129         * include/unistd.h (__dup): Likewise.
3130         * posix/Makefile (tests): Add tst-spawn2.
3131         * posix/tst-spawn2.c: New file.
3132         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3133         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3134         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3135         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3136         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3137         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3138         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3139         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3140         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3141         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3142         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3144         Likewise.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3146         Likewise.
3147         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3148         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3149         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3150         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3151         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3152         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3153         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3154         * sysdeps/unix/sysv/linux/nptl-signals.h
3155         (____nptl_is_internal_signal): New function.
3156         * sysdeps/unix/sysv/linux/spawni.c: New file.
3158         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3159         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3160         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3161         * posix/tst-execvp2.c (do_test): Likewise.
3162         * posix/tst-execvp3.c (do_test): Likewise.
3163         * posix/tst-execvp4.c (do_test): Likewise.
3164         * posix/tst-execvpe1.c: New file.
3165         * posix/tst-execvpe2.c: Likewise.
3166         * posix/tst-execvpe3.c: Likewise.
3167         * posix/tst-execvpe4.c: Likewise.
3168         * posix/tst-execvpe5.c: Likewise.
3169         * posix/tst-execvpe6.c: Likewise.
3171         [BZ #19534]
3172         * posix/execl.c (execl): Remove dynamic memory allocation.
3173         * posix/execle.c (execle): Likewise.
3174         * posix/execlp.c (execlp): Likewise.
3176 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3179         Replace .text with .text.avx512.
3180         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3181         Likewise.
3183 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3185         * sysdeps/generic/libnsl.abilist: New file.
3186         * sysdeps/generic/libutil.abilist: New file.
3188 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3190         [BZ #19762]
3191         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3192         HAS_ARCH_FEATURE with Fast_Rep_String.
3193         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3194         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3195         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3196         Likewise.
3197         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3198         Likewise.
3199         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3201         Likewise.
3202         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3203         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3204         Likewise.
3206 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3208         [BZ #19745]
3209         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3210         with *%rax in call.
3212 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3214         [BZ #19745]
3215         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3216         with *__libc_start_main@GOTPCREL(%rip) in call.
3218 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3220         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3221         inside conditional for nonempty $(CXX).
3223         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3224         nonempty.
3226         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3227         to test for empty $(CXX) rather than $(CXX) of "no".
3229 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3231         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3233 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3234             H.J. Lu  <hongjiu.lu@intel.com>
3236         [BZ #18880]
3237         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3238         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3239         enable __memcpy_ssse3_back.
3241 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3243         [BZ #19758]
3244         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3245         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3247 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3249         [BZ #19490]
3250         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3251         (__fentry__): Likewise.
3253 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3255         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3256         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3258 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3260         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3261         __mcount_internal directly.
3262         (C_LABEL(__fentry__)): Likewise.
3263         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3264         directly.
3266 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3268         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3269         (__start_context): Call __setcontext directly.
3271 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3273         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3274         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3275         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3276         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3278         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3279         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3280         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3281         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3282         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3283         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3284         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3285         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3286         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3287         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3289         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3291         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3292         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3293         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3295         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3296         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3297         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3298         Remove conditional code.
3299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3300         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3301         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3302         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3303         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3304         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3305         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3306         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3307         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3308         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3310         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3312 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3314         * NEWS (2.23): Fix typo in bug 19048 text.
3316 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3318         [BZ #14259]
3319         * Makeconfig: Rename msgcatdir to localedir.
3320         Rename inst_msgcatdir to inst_localedir.
3321         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3322         * config.make.in: Add localedir.
3323         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3324         (ldd-rewrite): Likewise.
3325         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3326         (install-others): Use inst_localedir.
3327         (CPPFLAGS): Use localedir.
3328         * locale/Makefile (locale-CPPFLAGS): Likewise.
3329         * po/Makefile (mo-installed): Use inst_localedir.
3331         [BZ #19575]
3332         * localedata/charmaps/GB18030: Update comments regarding PAU to
3333         non-PUA mappings.
3335 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3337         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3338         test for header.
3339         * sysdeps/unix/sysv/linux/configure: Regenerated.
3340         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3341         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3342         Remove conditional code.
3343         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3345         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3346         Define to 3.2.0.
3347         (arch_minimum_kernel): Likewise.
3348         * sysdeps/unix/sysv/linux/configure: Regenerated.
3349         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3350         Define to 2.6.32.
3351         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3352         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3353         (arch_minimum_kernel): Define to 2.6.32.
3354         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3355         * README: Document Linux 3.2 requirement.
3356         * manual/install.texi (Linux): Document Linux 3.2 headers
3357         requirement.
3358         * INSTALL: Regenerated.
3360 2016-02-24  Andreas Schwab  <schwab@suse.de>
3362         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3363         if !NO_LONG_DOUBLE.
3365 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3367         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3368         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3370 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3372         [BZ #19512]
3373         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3375 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3377         * posix/tst-dir.c: Include libc-internal.h.
3379 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3381         [BZ #19056]
3382         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3383         * manual/filesys.texi (Reading/Closing Directory): Mention
3384         deprecaion.
3385         * posix/tst-dir.c (main): Disable deprecation warning in test.
3387 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3389         [BZ #19679]
3390         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3391         Renamed to ...
3392         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3393         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3394         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3395         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3396         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3397         * sysdeps/x86_64/dl-trampoline.h
3398         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3399         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3401 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3403         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3405 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3407         * elf/elf.h (R_386_GOT32X): New.
3408         (R_386_NUM): Update.
3409         (R_X86_64_GOTPCRELX: New.
3410         (R_X86_64_REX_GOTPCRELX): New.
3411         (R_X86_64_NUM): Update.
3413 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3415         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3417 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3419         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3420         assign attr->stackaddr to it, and adjust it down when
3421         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3422         [_STACK_GROWS_UP]: Delete assert.
3423         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3424         Implement stack grows up logic.
3425         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3426         stack grows up logic.
3428 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3430         * NEWS: Update with 2.24 template.
3432 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3434         [BZ #19678]
3435         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3436         Ensure +0.0 is returned when taking the next value below the least
3437         positive value.
3439 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3441         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3442         available.  Do not define NO_THREADS.
3443         * malloc/malloc.c: Do not check NO_THREADS.
3444         * malloc/arena.c: Likewise.
3446 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3448         * malloc/malloc.c (__libc_mallinfo): Update comment.
3449         (struct malloc_par): Remove max_total_mem member, it was always 0.
3450         (int_mallinfo): Store 0 into usmblks (no functional change).
3451         * malloc/hooks.c (struct malloc_state): Document that
3452         max_total_mem is always 0.
3453         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3454         always 0.
3455         * manual/memory.texi (Statistics of Malloc): Likewise.
3457 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3459         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3460         * malloc/arena.c (arena_max): Remove.
3461         (heap_trim, _int_new_arena): Do not update arena_max.
3463 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3465         * resolv/res_init.c (res_ninit): Update comment.
3467 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3469         [BZ #19505]
3470         * posix/spawn_int.h: Add headers and include guard.
3471         (__spawn_valid_fd): New function.
3472         * posix/spawn_faction_addopen.c
3473         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3474         * posix/spawn_faction_addclose.c
3475         (posix_spawn_file_actions_addclose): Likewise.
3476         * posix/spawn_faction_adddup2.c
3477         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3478         second file descriptor.
3479         * posix/spawn_valid_fd.c: New file.
3480         * posix/tst-posix_spawn-fd.c: New file.
3481         * posix/Makefile (routines): Add spawn_valid_fd.
3482         (tests): Add tst-posix_spawn-fd.
3484 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3486         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3487         (do_test): Limit the number of arenas, so that we can use fewer
3488         outer threads.  Limit timeout to 3 seconds, in preparation for a
3489         larger TIMEOUT value.
3491 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3493         [BZ #19674]
3494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3495         sign in overflowing and underflowing results when overflow or
3496         underflow is detected early.  Include sign in result before rather
3497         than after scaling.
3499         [BZ #19603]
3500         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3501         (__ieee754_remainderl): Adjust sign of integer version of low part
3502         when taking absolute value of high part.
3503         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3504         * math/libm-test.inc (remainder_test_data): Add another test.
3505         (remquo_test_data): Likewise.
3507 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #19602]
3510         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3511         equal high parts and both low parts zero specially.
3512         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3513         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3514         Add test-fmodl-ldbl-128ibm.
3516         [BZ #19595]
3517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3518         common logic for all cases of shifting subnormal results.  Do not
3519         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3520         exponent to ldbl_insert_mantissa in subnormal case.
3522         [BZ #19594]
3523         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3524         on high and low parts then adjust result and use
3525         ldbl_canonicalize_int if needed.
3527         [BZ #19593]
3528         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3529         on high part and __floor or __ceil on low part then use
3530         ldbl_canonicalize_int if needed.
3532         [BZ #19592]
3533         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3534         high and low parts then use ldbl_canonicalize_int if needed.
3536         [BZ #17899]
3537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3538         New function.
3539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3540         on high and low parts then use ldbl_canonicalize_int if needed.
3542 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3544         * configure: Regenerated.
3546         * po/libc.pot: Regenerated.
3548         * po/be.po: Updated translation.
3549         * po/bg.po: Likewise.
3550         * po/ca.po: Likewise.
3551         * po/cs.po: Likewise.
3552         * po/da.po: Likewise.
3553         * po/el.po: Likewise.
3554         * po/eo.po: Likewise.
3555         * po/es.po: Likewise.
3556         * po/fi.po: Likewise.
3557         * po/fr.po: Likewise.
3558         * po/gl.po: Likewise.
3559         * po/hr.po: Likewise.
3560         * po/hu.po: Likewise.
3561         * po/ia.po: Likewise.
3562         * po/id.po: Likewise.
3563         * po/it.po: Likewise.
3564         * po/ja.po: Likewise.
3565         * po/lt.po: Likewise.
3566         * po/nb.po: Likewise.
3567         * po/nl.po: Likewise.
3568         * po/pt_BR.po: Likewise.
3569         * po/rw.po: Likewise.
3570         * po/sk.po: Likewise.
3571         * po/sl.po: Likewise.
3572         * po/sv.po: Likewise.
3573         * po/tr.po: Likewise.
3574         * po/zh_CN.po: Likewise.
3575         * po/zh_TW.po: Likewise.
3577         * version.h (RELEAES): Set to "development".
3578         (VERSION): Set to 2.23.90.
3580         * version.h (RELEASE): Set to "stable".
3581         (VERSION): Set to 2.23.
3582         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3584         * NEWS: Updated fixed bugs.
3586 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3587             Wilco Dijkstra  <wdijkstr@arm.com>
3589         [BZ #19462]
3590         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3591         (_STRING_INLINE_unaligned): This.
3592         * include/string.h: Include <string_private.h>.
3593         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3594         _STRING_INLINE_unaligned.
3595         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3596         (_STRING_INLINE_unaligned): New.
3597         * sysdeps/aarch64/string_private.h: New file.
3598         * sysdeps/generic/string_private.h: Likewise.
3599         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3600         * sysdeps/s390/string_private.h: Likewise.
3601         * sysdeps/x86/string_private.h: Likewise.
3602         * sysdeps/m68k/m680x0/m68020/bits/string.h
3603         (_STRING_ARCH_unaligned): Renamed to ...
3604         (_STRING_INLINE_unaligned): This.
3605         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3606         to ...
3607         (_STRING_INLINE_unaligned): This.
3608         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3609         to ...
3610         (_STRING_INLINE_unaligned): This.
3611         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3612         to ...
3613         (_STRING_INLINE_unaligned): This.
3615 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3616             H.J. Lu  <hongjiu.lu@intel.com>
3618         [BZ #19590]
3619         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3620         relocation.
3622 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3624         [BZ #18665]
3625         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3626         *herrno_p.
3627         (gaih_getanswer): Document functional behviour. Return tryagain
3628         if any result is tryagain.
3629         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3630         when freed.
3631         * resolv/res_send.c: Add copyright text.
3632         (__libc_res_nsend): Document that MAXPACKET is expected.
3633         (send_vc): Document. Remove buffer reuse.
3634         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3635         size of the buffer. Add Dprint for truncated UDP buffer.
3637 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3639         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3640         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3641         * INSTALL: Regenerate.
3643 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3644             Jonathan Wakely  <jwakely@redhat.com>
3645             Carlos O'Donell  <carlos@redhat.com>
3647         [BZ 19439]
3648         * math/Makefile (tests): Add test-math-isinff.
3649         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3650         * math/bits/mathcalls.h [__USE_MISC]: Use
3651         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3652         functions not in C++11 and which don't conflict e.g. isinff,
3653         isinfl etc.
3654         * math/test-math-isinff.cc: New file.
3656 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3658         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3660 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3662         [BZ #19529]
3663         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3665 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3667         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3669 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3671         [BZ #19550]
3672         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3673         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3674         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3675         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3676         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3677         New syscall entry.
3678         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3679         New syscall entry.
3680         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3681         syscall entry.
3683 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3685         [BZ #18240]
3686         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3687         unsigned int wraparound.
3689 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3691         [BZ #18240]
3692         * misc/bug18240.c: New test.
3693         * misc/Makefile (tests): Add it.
3695 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3696             Joseph Myers  <joseph@codesourcery.com>
3698         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3699         load in branch delay slot when less than a word of input left.
3701 2016-01-27  Andreas Schwab  <schwab@suse.de>
3703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3704         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3705         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3706         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3708 2016-01-26  David S. Miller  <davem@davemloft.net>
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3712 2016-01-25  David S. Miller  <davem@davemloft.net>
3714         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3715         __sqrtl_finite.
3716         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3717         instead using versioned_symbol.
3718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3719         of entries.
3721         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3722         __sqrtl_finite to GLIBC_2.23
3724 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3726         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3728 2016-01-25  Andreas Schwab  <schwab@suse.de>
3730         [BZ #17514]
3731         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3732         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3733         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3734         * nptl/tst-mutex-errorcheck.c: New file.
3736 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3738         [BZ #18560]
3739         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3740         (IPCOP_semop): Likewise.
3741         (IPCOP_semget): Likewise.
3742         (IPCOP_semctl): Likewise.
3743         (IPCOP_msgsnd): Likewise.
3744         (IPCOP_msgrcv): Likewise.
3745         (IPCOP_msgget): Likewise.
3746         (IPCOP_msgctl): Likewise.
3747         (IPCOP_shmat): Likewise.
3748         (IPCOP_shmdt): Likewise.
3749         (IPCOP_shmget): Likewise.
3750         (IPCOP_shmctl): Likewise.
3752 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3754         * string/tst-endian.c: Include <libc-internal.h>.
3755         (do_test): Ignore tautological-compare warnings around
3756         "htobeXX (beXXtoh (i)) != i" and
3757         "htoleXX (leXXtoh (i)) != i" if-statements.
3759 2016-01-24  David S. Miller  <davem@davemloft.net>
3761         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3762         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3763         alias.
3764         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3765         __sqrtl_finite.
3767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3769 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3771         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3772         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3773         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3775 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3777         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3778         (thread_func): Use new function to simplify barrier check.
3779         (do_test): Use new function to simplify checking barrier exit
3780         code, and actually join the child thread.
3782 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3784         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3785         semicolon.
3786         (__libc_tend): Likewise.
3787         (__libc_tabort): Likewise.
3789 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3791         * sysdeps/nios2/libm-test-ulps: Update.
3792         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3793         (__gtsf2): Likewise.
3794         (__unorddf2): Likewise.
3795         (__unordsf2): Likewise.
3796         (__ledf2): Likewise.
3798 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3800         * nis/nis_table.c (__follow_path): Disable diagnostic for
3801         uninitialized variable that is a false positive for gcc 4.7.
3802         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3804 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3806         * sysdeps/nacl/lowlevellock-futex.h
3807         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3808         Always evaluate PRIVATE argument.
3810 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3812         [BZ #19490]
3813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3814         (pthread_cond_broadcast): Use ENTRY/END
3815         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3816         (pthread_cond_signal): Likewise.
3817         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3818         Likewise.
3819         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3820         Likewise.
3821         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3822         Likewise.
3824 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3826         * sysdeps/ieee754/dbl-64/s_finite.c
3827         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3828         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3829         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3830         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3831         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3834         (__gtsf2): Add as optional for libc.so.
3835         (__unordsf2): Likewise.
3836         (__signbit): Remove for libc.so.
3837         (__signbitl): Likewise.
3839 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3841         * iconvdata/bug-iconv11.c (test_ibm93x):
3842         Use %zu printf format specifier for size_t argument.
3844 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3846         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3847         already-recorded ulps.
3848         * sysdeps/arm/libm-test-ulps: Regenerated.
3849         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3850         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3851         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3853 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3854             Paul Pluzhnikov  <ppluzhnikov@google.com>
3856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3857         assembler not supporting AVX-512.
3859 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3861         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3863 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3865         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3866         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3868         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3870         * sysdeps/arm/libm-test-ulps: Regenerated.
3872 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3874         [BZ #19451]
3875         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3877 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3879         [BZ #19486]
3880         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3881         * sysdeps/generic/fix-fp-int-convert-overflow.h
3882         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3883         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3884         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3885         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3886         Likewise.
3887         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3888         Avoid conversions to long int where inexact exceptions
3889         could be raised.
3890         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3891         Likewise.
3892         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3893         Avoid conversions to long long int where inexact exceptions
3894         could be raised.
3895         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3896         Likewise.
3898 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3900         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3901         * configure: Regenerated.
3903 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3905         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3907 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3909         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3910         outside of comment.
3912 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3914         * nptl/tst-barrier1.c: Add description on first line.
3915         * nptl/tst-barrier2.c: Likewise.
3916         * nptl/tst-barrier3.c: Likewise.
3917         * nptl/tst-barrier4.c: Likewise.
3918         * nptl/tst-barrier5.c: Likewise.
3920 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3922         [BZ #18868]
3923         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3925 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3929         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3930         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3931         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3932         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3933         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3934         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3935         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3936         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3937         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3939 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3941         [BZ #13065]
3942         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3943         new implementation.
3944         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3945         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3946         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3947         (BARRIER_IN_THRESHOLD): New macro.
3948         * nptl/pthread_barrierattr_setpshared.c
3949         (pthread_barrierattr_setpshared): Clean up.
3950         * nptl/tst-barrier4.c: Correct comment.
3951         * nptl/tst-barrier5.c: New file.
3952         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3953         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3954         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3955         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3956         * nptl/lowlevelbarrier.sym: Remove.
3957         * nptl/DESIGN-barrier.txt: Remove.
3958         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3959         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3960         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3961         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3962         error.
3963         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3964         implementation.
3966 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3968         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3969         (do_child): Mask SIGRTMIN while thr is running.
3971 2016-01-15  Martin Sebor  <msebor@redhat.com>
3973         [BZ #19432]
3974         * iconvdata/Makefile: Add bug-iconv11.
3975         * iconvdata/bug-iconv11.c: New test.
3976         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3977         * iconvdata/ibm933.c: Same.
3978         * iconvdata/ibm935.c: Same.
3979         * iconvdata/ibm937.c: Same.
3980         * iconvdata/ibm939.c: Same.
3982 2016-01-15  Martin Sebor  <msebor@redhat.com>
3984         [BZ #19443]
3985         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3986         [DEBUG] (_ufc_set_bits): Declare used.
3987         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3988         [DEBUG] (print_all): Declare used.
3989         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3990         operands of the ternary ?: expression to target type.
3991         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3992         calling the undeclared abort.
3993         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3995 2016-01-15  Martin Sebor  <msebor@redhat.com>
3997         [BZ #18755]
3998         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3999         warnings.
4000         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4001         (__gai_create_helper_thread): Same.
4002         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4003         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4004         to suppress -Wmaybe-uninitialized warnings.
4006 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4008         [BZ #19465]
4009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4010         inside if.
4011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4015 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4017         [BZ #19466]
4018         * time/tst-mktime2.c (time_t_max): Removed.
4019         (time_t_min): Likewise.
4020         (TYPE_SIGNED): New.
4021         (TYPE_MINIMUM): Likewise.
4022         (TYPE_MAXIMUM): Likewise.
4023         (TIME_T_MIN): Likewise.
4024         (TIME_T_MAX): Likewise.
4025         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4026         and TIME_T_MIN.
4027         (do_test): Likewise.
4029 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4031         [BZ #19467]
4032         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4033         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4035 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4037         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4039 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4041         * benchtests/Makefile (PYTHON): Define.
4042         (bench-func): Use $(PYTHON) to run python scripts.
4043         ($(objpfx)bench-%.c): Likewise.
4045 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4047         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4048         leading slash when `file_name' is "/".
4050 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4052         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4053         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4054         Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4056         Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4058         Likewise.
4059         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4060         enum constant and macro.
4061         (PTRACE_SETSIGMASK): Likewise.
4062         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4063         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4064         (PTRACE_GETSIGMASK): Likewise.
4065         (PTRACE_SETSIGMASK): Likewise.
4066         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4067         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4068         Likewise.
4069         (PTRACE_SETSIGMASK): Likewise.
4070         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4071         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4072         (PTRACE_GETSIGMASK): Likewise.
4073         (PTRACE_SETSIGMASK): Likewise.
4074         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4076         Likewise.
4077         (PTRACE_SETSIGMASK): Likewise.
4078         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4079         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4080         Likewise.
4081         (PTRACE_SETSIGMASK): Likewise.
4082         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4083         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4084         Likewise.
4085         (PTRACE_SETSIGMASK): Likewise.
4086         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4088 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4089             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         [BZ #19439]
4092         * math/bits/mathcalls.h
4093         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4094         prototype.
4095         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4097 2016-01-11  Andreas Schwab  <schwab@suse.de>
4099         [BZ #19253]
4100         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4101         cache when TZDEFRULES was used.
4102         * time/tst-tzname.c: New file.
4103         * time/Makefile (test): Add tst-tzname.
4104         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4105         * timezone/Makefile (test-zones): Add $(posixrules-file).
4106         ($(testdata)/$(posixrules-file)): New rule.
4108 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4110         Fix doc quoting problems with Texinfo 5
4111         Without this change, in the info file output, Texinfo 5 quotes code
4112         in text with undirected single quotes 'like this' and generates
4113         code examples that with many PDF readers cannot be cut out of PDFs
4114         and pasted into code.
4115         * manual/libc.texinfo: Configure the libc manual like the GNU
4116         Emacs manual, by using @documentencoding and setting
4117         txicodequoteundirected and txicodequotebacktick.  This way,
4118         Texinfo 5 quotes code in text with directed single quotes ‘like
4119         this’ and produces examples that can be cut out of PDFs.  This
4120         change causes Texinfo 5 to generate info files that contain UTF-8
4121         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4122         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4124 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4126         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4127         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4128         barriers to their respective compiler built-ins.
4129         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4130         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4131         * sysdeps/powerpc/sysdep.h: Likewise.
4132         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4133         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4134         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4136 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4138         * scripts/config.guess: Revert previous shebang change.
4139         * scripts/config.sub: Likewise.
4140         * scripts/mkinstalldirs: Likewise.
4142 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4144         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4145         PPC_FEATURE2_HAS_IEEE128.
4146         * sysdeps/powerpc/dl-procinfo.c:
4147         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4149 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4151         [BZ #19415]
4152         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4153         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4154         (_dl_lookup_address): Rewrite using function resolver trampoline.
4155         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4156         two bits in address.
4158 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4160         * longlong.h: Change !__SHMEDIA__ to
4161         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4162         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4164 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4165             Joseph Myers  <joseph@codesourcery.com>
4166             Mark Shinwell  <shinwell@codesourcery.com>
4167             Andrew Stubbs  <ams@codesourcery.com>
4168             Rich Felker <dalias@libc.org>
4170         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4172 2016-01-07  Richard Henderson  <rth@redhat.com>
4174         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4176 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4178         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4179         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4180         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4181         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4182         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4184 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4185             Joseph Myers  <joseph@codesourcery.com>
4187         * timezone/private.h: Update from tzcode 2015g.
4188         * timezone/tzfile.h: Likewise.
4189         * timezone/tzselect.ksh: Likewise.
4190         * timezone/zdump.c: Likewise.
4191         * timezone/zic.c: Likewise.
4192         * timezone/ialloc.c: Remove file.
4193         * timezone/scheck.c: Likewise.
4194         * timezone/Makefile (extra-objs): Remove variable.
4195         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4196         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4197         -Wno-maybe-uninitialized.
4198         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4199         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4200         (CFLAGS-ialloc.c): Remove variable.
4201         (CFLAGS-scheck.c): Likewise.
4202         * timezone/README: Update list of files from tzcode.
4204 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4206         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4207         instead of __fxprintf when _LIBC is undefined.
4209 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4211         * catgets/test-gencat.sh: Remove space after shebang.
4212         * conform/GlibcConform.pm: Likewise.
4213         * conform/check-header-lists.sh: Likewise.
4214         * conform/conformtest.pl: Likewise.
4215         * conform/linknamespace.pl: Likewise.
4216         * conform/list-header-symbols.pl: Likewise.
4217         * debug/catchsegv.sh: Likewise.
4218         * elf/genrtldtbl.awk: Likewise.
4219         * elf/tst-pathopt.sh: Likewise.
4220         * elf/tst-rtld-load-self.sh: Likewise.
4221         * grp/tst_fgetgrent.sh: Likewise.
4222         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4223         * iconvdata/gen-8bit-gap.sh: Likewise.
4224         * iconvdata/gen-8bit.sh: Likewise.
4225         * iconvdata/run-iconv-test.sh: Likewise.
4226         * intl/tst-gettext.sh: Likewise.
4227         * intl/tst-gettext2.sh: Likewise.
4228         * intl/tst-gettext4.sh: Likewise.
4229         * intl/tst-gettext6.sh: Likewise.
4230         * intl/tst-translit.sh: Likewise.
4231         * io/ftwtest-sh: Likewise.
4232         * libio/test-freopen.sh: Likewise.
4233         * locale/gen-translit.pl: Likewise.
4234         * malloc/tst-mtrace.sh: Likewise.
4235         * manual/check-safety.sh: Likewise.
4236         * manual/libc-texinfo.sh: Likewise.
4237         * manual/tsort.awk: Likewise.
4238         * manual/xtract-typefun.awk: Likewise.
4239         * nptl/tst-cancel-wrappers.sh: Likewise.
4240         * nptl/tst-tls6.sh: Likewise.
4241         * posix/globtest.sh: Likewise.
4242         * posix/tst-getconf.sh: Likewise.
4243         * posix/wordexp-tst.sh: Likewise.
4244         * scripts/check-c++-types.sh: Likewise.
4245         * scripts/check-local-headers.sh: Likewise.
4246         * scripts/config.guess: Likewise.
4247         * scripts/config.sub: Likewise.
4248         * scripts/cpp: Likewise.
4249         * scripts/cross-test-ssh.sh: Likewise.
4250         * scripts/documented.sh: Likewise.
4251         * scripts/evaluate-test.sh: Likewise.
4252         * scripts/gen-libc-abis: Likewise.
4253         * scripts/gen-sorted.awk: Likewise.
4254         * scripts/list-fixed-bugs.py: Likewise.
4255         * scripts/merge-test-results.sh: Likewise.
4256         * scripts/mkinstalldirs: Likewise.
4257         * scripts/rellns-sh: Likewise.
4258         * scripts/test-installation.pl: Likewise.
4259         * scripts/update-copyrights: Likewise.
4260         * stdio-common/tst-printf.sh: Likewise.
4261         * stdio-common/tst-unbputc.sh: Likewise.
4262         * stdlib/tst-fmtmsg.sh: Likewise.
4263         * stdlib/tst-setcontext3.sh: Likewise.
4264         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4265         * sysdeps/unix/make-syscalls.sh: Likewise.
4267 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4269         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4270         asm stw with atomic_exchange_rel.  Add explanatory comment.
4271         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4272         Likewise.
4274 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4276         [BZ #19122]
4277         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4278         * sysdeps/generic/dl-unistd.h: New file.
4279         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4281 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4283          [BZ #19122]
4284          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4285          * sysdeps/generic/dl-mman.h: New file.
4286          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4288 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4290         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4291         trailing whitespace removed.
4292         * scripts/config.guess: Update to version 2016-01-01.
4293         * scripts/config.sub: Update to version 2016-01-01.
4294         * scripts/move-if-change: Update from gnulib.
4296 2016-01-04  Anton Blanchard  <anton@samba.org>
4298         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4299         for array indices.
4300         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4302 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4304         * NEWS: Update copyright dates.
4305         * catgets/gencat.c (print_version): Likewise.
4306         * csu/version.c (banner): Likewise.
4307         * debug/catchsegv.sh: Likewise.
4308         * debug/pcprofiledump.c (print_version): Likewise.
4309         * debug/xtrace.sh (do_version): Likewise.
4310         * elf/ldconfig.c (print_version): Likewise.
4311         * elf/ldd.bash.in: Likewise.
4312         * elf/pldd.c (print_version): Likewise.
4313         * elf/sotruss.sh: Likewise.
4314         * elf/sprof.c (print_version): Likewise.
4315         * iconv/iconv_prog.c (print_version): Likewise.
4316         * iconv/iconvconfig.c (print_version): Likewise.
4317         * locale/programs/locale.c (print_version): Likewise.
4318         * locale/programs/localedef.c (print_version): Likewise.
4319         * login/programs/pt_chown.c (print_version): Likewise.
4320         * malloc/memusage.sh (do_version): Likewise.
4321         * malloc/memusagestat.c (print_version): Likewise.
4322         * malloc/mtrace.pl: Likewise.
4323         * manual/libc.texinfo: Likewise.
4324         * nptl/version.c (banner): Likewise.
4325         * nscd/nscd.c (print_version): Likewise.
4326         * nss/getent.c (print_version): Likewise.
4327         * nss/makedb.c (print_version): Likewise.
4328         * posix/getconf.c (main): Likewise.
4329         * scripts/test-installation.pl: Likewise.
4330         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4332         * All files with FSF copyright notices: Update copyright dates
4333         using scripts/update-copyrights.
4334         * intl/plural.c: Regenerated.
4335         * locale/programs/charmap-kw.h: Likewise.
4336         * locale/programs/locfile-kw.h: Likewise.
4338 2016-01-02  Helge Deller  <deller@gmx.de>
4340         [BZ #19285]
4341         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4342         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4343         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4344         (MADV_xxK_PAGES): Remove.
4346 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4348         [BZ #15421]
4349         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4350         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4351         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4352         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4354 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4356         [BZ #19408]
4357         * sysdeps/unix/sysv/linux/personality.c: New file.
4358         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4359         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4360         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4361         (sysdep_routines): Add personality.
4362         (tests): Add tst-personality.
4363         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4365         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4366         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4367         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4368         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4369         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4370         Likewise.
4371         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4372         Likewise.
4373         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4374         Likewise.
4375         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4376         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4377         Likewise.
4379 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4381         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4382         (PATH_ARM_SYSTYPE): Remove.
4383         (PATH_CPUINFO): Likewise.
4384         (IO_BASE_FOOTBRIDGE): Likewise.
4385         (IO_SHIFT_FOOTBRIDGE): Likewise.
4386         (struct platform): Likewise.
4387         (init_iosys): Remove compatibility code for 2.4 kernels.
4388         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4390 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4392         * malloc/tst-malloc-thread-fail.c: New file.
4393         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4394         (tst-malloc-thread-fail): Link against libpthread.
4396 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4398         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4399         (get_parser): New function.
4400         (main): New function.
4402 2015-12-29  Rob Wu  <rob@robwu.nl>
4404         [BZ #19369]
4405         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4407 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4409         [BZ #19270]
4410         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4412 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4414         [BZ #15421]
4415         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4417 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4419         [BZ #13690]
4420         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4421         after releasing it.
4422         (__lll_robust_unlock): Likewise.
4423         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4424         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4425         (lll_robust_unlock): Likewise.
4426         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4427         Prevent warnings in callers.
4429 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4431         * malloc/arena.c (list_lock): Update comment.
4433 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4435         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4436         __parse_hwcap_and_convert_at_platform to libc.a.
4438 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4441         platform and feature support for POWER9.
4442         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4443         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4444         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4445         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4446         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4447         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4448         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4449         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4451 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4453         Harmonize generic stdio-lock support with nptl
4455         This fixes build when _IO_funlockfile is a macro, fixes build where
4456         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4457         stack unwind.
4459         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4460         _IO_release_lock ): Use cleanup attribute on new
4461         _IO_acquire_lock_file variable instead of assuming that
4462         _IO_release_lock will be called.
4463         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4464         _IO_acquire_lock_needs_exceptions_enabled.
4465         (_IO_acquire_lock_clear_flags2): New macro.
4467 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4469         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4471 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4473         [BZ #19182]
4474         * malloc/arena.c (list_lock): Document lock ordering requirements.
4475         (free_list_lock): New lock.
4476         (ptmalloc_lock_all): Comment on free_list_lock.
4477         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4478         (detach_arena): Update comment.  free_list_lock is now needed.
4479         (_int_new_arena): Use free_list_lock around detach_arena call.
4480         Acquire arena lock after list_lock.  Add comment, including FIXME
4481         about incorrect synchronization.
4482         (get_free_list): Switch to free_list_lock.
4483         (reused_arena): Acquire free_list_lock around detach_arena call
4484         and attached threads counter update.  Add two FIXMEs about
4485         incorrect synchronization.
4486         (arena_thread_freeres): Switch to free_list_lock.
4487         * malloc/malloc.c (struct malloc_state): Update comments to
4488         mention free_list_lock.
4490 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4492         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4493         Remove functions.
4494         (sloww, sloww1): Accept argument to offset quadrant.
4495         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4496         quadrant.
4497         (__sin, __cos): Consolidate common code into new functions.
4498         (reduce_sincos_1, do_sincos_1): New functions.
4499         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4502         code to new functions.
4503         (reduce_sincos_2, do_sincos_2): New functions.
4504         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4507         common code for sincos.
4508         (__cos) [!IN_SINCOS]: Likewise.
4509         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4510         New function.
4511         (__sincos): Use it.
4513 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4515         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4516         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4517         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4519 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4521         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4524         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4525         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4526         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4527         index_Prefer_No_VZEROUPPER): New feature.
4528         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4529         Prefer_No_VZEROUPPER for Knights Landing.
4531 015-12-18  Torvald Riegel  <triegel@redhat.com>
4533         * math/atest-exp2.c (mp_exp_m1): Remove.
4535 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4537         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4538         syscalls.
4539         (__SYSCALL0): New macro.
4540         (__SYSCALL1): Likewise.
4541         (__SYSCALL2): Likewise.
4542         (__SYSCALL3): Likewise.
4543         (__SYSCALL4): Likewise.
4544         (__SYSCALL5): Likewise.
4545         (__SYSCALL6): Likewise.
4546         (__SYSCALL_CONCAT_X): Likewise.
4547         (__SYSCALL_CONCAT): Likewise.
4548         (__SYSCALL_DIST): Likewise.
4549         (__SYSCALL_CALL): Likewise.
4551 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4553         [BZ #19363]
4554         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4556 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4558         [BZ #19375]
4559         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4560         negative subnormals.
4562 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4565         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4566         (INTERNAL_SYSCALL_NCS): Use it.
4567         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4569 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4571         [BZ #19243]
4572         * malloc/arena.c (get_free_list): Remove assert and adjust
4573         reference count handling.  Add comment about reused_arena
4574         interaction.
4575         (reused_arena): Add comments abount get_free_list interaction.
4576         * malloc/tst-malloc-thread-exit.c: New file.
4577         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4578         (tst-malloc-thread-exit): Link against libpthread.
4580 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4582         [BZ #19367]
4583         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4584         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4585         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4586         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4587         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4589 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4591         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4592         Silvermont optimizations for Knights Landing.
4594 2015-12-15  Andreas Schwab  <schwab@suse.de>
4596         [BZ #17197]
4597         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4598         immediately after emitting SI.
4599         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4600         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4601         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4602         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4603         * iconvdata/bug-iconv10.c: New file.
4604         * iconvdata/Makefile (tests): Add bug-iconv10.
4605         ($(objpfx)bug-iconv10.out): New rule.
4607 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4609         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4610         aliasing violation.
4612 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4614         [BZ #18472]
4615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4616         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4617         conditionals for them.
4618         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4619         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4621         sys/kdaemon.h.
4622         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4623         compat-only syscall, obsoleted in glibc 2.23.
4624         (create_module): Likewise.
4625         (get_kernel_syms): Likewise.
4626         (query_module): Likewise.
4627         (uselib): Likewise.
4628         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4630 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4632         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4633         <linux/version.h>.
4634         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4635         conditional code.
4636         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4637         and ioshift_name initialization.
4639 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4642         Fix indentation.
4644 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4646         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4648 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4650         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4652 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4653             Jakub Wilk  <jwilk@debian.org>
4655         [BZ #19347]
4656         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4657         to change the group of the device to the tty group.
4659 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4661         Split large string section; add truncation advice
4662         * manual/examples/strncat.c: Remove.
4663         This example was misleading, as the code would have undefined
4664         behavior if "hello" was longer than SIZE.  Anyway, the manual
4665         shouldn't encourage strncpy+strncat for this sort of thing.
4666         * manual/string.texi (Copying Strings and Arrays): Split into
4667         three sections Copying Strings and Arrays, Concatenating Strings,
4668         and Truncating Strings, as this section was way too long.  All
4669         cross-referenced changed.  Add advice about string-truncation
4670         functions.  Remove misleading strncat example.
4672 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4674         * manual/nss.texi (NSS Modules Interface): Document
4675         NSS_STATUS_NOTFOUND and SUCCESS.
4677 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4679         [BZ 18568]
4680         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4681         201505L, for Unicode 8.
4683 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4685         * locale/C-translit.h: Regenerate.
4687 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4689         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4690         and U+0153.
4692 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4694         [BZ #19351]
4695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4696         expanding log(1+z), compare z rather than its square with epsilon
4697         to determine when to avoid evaluating the expansion.
4699         [BZ #19350]
4700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4701         Increase overflow threshold.
4703         [BZ #19349]
4704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4705         when small.
4707         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4708         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4709         New macro.
4710         [__LINUX_KERNEL_VERSION >= 0x040300]
4711         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4713         Likewise.
4714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4715         Likewise.
4716         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4717         Likewise.
4718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4719         Likewise.
4720         [__LINUX_KERNEL_VERSION >= 0x040300]
4721         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4722         [__LINUX_KERNEL_VERSION >= 0x040300]
4723         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4724         [__LINUX_KERNEL_VERSION >= 0x040300]
4725         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4726         [__LINUX_KERNEL_VERSION >= 0x040300]
4727         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4728         [__LINUX_KERNEL_VERSION >= 0x040300]
4729         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4731         Likewise.
4732         [__LINUX_KERNEL_VERSION >= 0x040300]
4733         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4735         Likewise.
4736         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4737         Likewise.
4738         [__LINUX_KERNEL_VERSION >= 0x040300]
4739         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4741         Likewise.
4742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4743         Likewise.
4744         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4746         Likewise.
4747         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4748         Likewise.
4749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4750         Likewise.
4751         [__LINUX_KERNEL_VERSION >= 0x040300]
4752         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4754         Likewise.
4755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4756         Likewise.
4757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4758         Likewise.
4759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4760         Likewise.
4761         [__LINUX_KERNEL_VERSION >= 0x040300]
4762         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4763         [__LINUX_KERNEL_VERSION >= 0x040300]
4764         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4765         [__LINUX_KERNEL_VERSION >= 0x040300]
4766         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4767         [__LINUX_KERNEL_VERSION >= 0x040300]
4768         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4769         [__LINUX_KERNEL_VERSION >= 0x040300]
4770         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4771         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4772         Likewise.
4773         [__LINUX_KERNEL_VERSION >= 0x040300]
4774         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4776         Likewise.
4777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4778         Likewise.
4779         [__LINUX_KERNEL_VERSION >= 0x040300]
4780         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4782         Likewise.
4783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4784         Likewise.
4785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4786         (__ASSUME_SOCKET_SYSCALL): Likewise.
4787         (__ASSUME_BIND_SYSCALL): Likewise.
4788         (__ASSUME_CONNECT_SYSCALL): Likewise.
4789         (__ASSUME_LISTEN_SYSCALL): Likewise.
4790         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4791         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4792         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4793         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4794         (__ASSUME_SEND_SYSCALL): Likewise.
4795         (__ASSUME_SENDTO_SYSCALL): Likewise.
4796         (__ASSUME_RECV_SYSCALL): Likewise.
4797         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4798         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4799         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4800         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4801         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4802         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4803         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4804         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4805         Likewise.
4806         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4807         Likewise.
4808         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4809         Likewise.
4810         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4811         Likewise.
4812         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4813         Likewise.
4814         [__LINUX_KERNEL_VERSION >= 0x020625]
4815         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4816         [__LINUX_KERNEL_VERSION >= 0x020625]
4817         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4818         [__LINUX_KERNEL_VERSION >= 0x020625]
4819         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4820         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4821         Likewise.
4822         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4823         Likewise.
4824         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4825         Likewise.
4826         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4827         Likewise.
4828         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4829         Likewise.
4830         [__LINUX_KERNEL_VERSION >= 0x020625]
4831         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4832         [__LINUX_KERNEL_VERSION >= 0x020625]
4833         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4835         Likewise.
4836         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4837         Likewise.
4839 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4841         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4842         record the current if the current ABI and CPU support the FP64
4843         extension.
4844         (has-modd-spreg): Define to record the current if the current ABI and
4845         CPU support 32-bit floating point values in odd FPU registers.
4846         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4847         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4848         $(has-modd-spreg) equals yes.
4849         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4850         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4851         $(has-modd-spreg) equal yes.
4853 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4855         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4856         basename.
4858 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4860         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4861         (bench-string): ... here.
4862         (bench): Add bench-string.
4863         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4864         to *-benchset to reflect what they are.
4865         (benchset): Adjust.
4867         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4868         cos-inputs.
4870 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4872         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4873         __attribute__ ((__simd__)) for vector math function declarations.
4875 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4877         Fix typo in strncat, wcsncat manual entries
4878         * manual/string.texi (Copying and Concatenation): Fix typos in
4879         sample implementations of strncat and wcsncat, by having them use
4880         the old value of the destination length, not the new one.
4882 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4884         [BZ #16961]
4885         [BZ #16962]
4886         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4887         string on the stack for strtod.
4888         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4889         a string on the stack for strtof.
4890         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4891         constructing a string on the stack for strtold.
4892         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4893         __strtold_nan to GLIBC_PRIVATE.
4894         * math/test-nan-overflow.c: New file.
4895         * math/test-nan-payload.c: Likewise.
4896         * math/Makefile (tests): Add test-nan-overflow and
4897         test-nan-payload.
4899 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4901         Consistency about byte vs character in string.texi
4902         * manual/string.texi (String and Array Utilities):
4903         Distinguish more carefully among bytes, multibyte characters,
4904         and wide characters.  Use "byte" when talking about C 'char',
4905         to distinguish it more clearly from multibyte characters.
4906         Say "wide character" or "multibyte character" instead of
4907         "character", when a wide or multibyte character is intended.
4908         Similarly for "multibyte string" versus "string".
4909         Define these terms more carefully.
4911 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4913         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4914         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4915         Likewise.
4916         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4917         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4918         * sysdeps/sh/math_private.h: New file.
4919         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4920         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4921         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4922         long double function name.
4923         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4925         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4927         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4929         Remove __finitel, __isinfl, and __isnanl.
4930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4931         Likewise.
4932         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4934         Remove __finitel.
4935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4936         Likewise.
4937         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4939 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4941         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4942         installed libmvec_nonshared.a.
4944 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4946         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4947         (sysdep_routines): Likewise.
4948         (sysdep-rtld-routines): Likewise.
4949         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4950         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4951         * sysdeps/powerpc/Versions: Added new
4952         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4953         * sysdeps/powerpc/hwcapinfo.c: New file.
4954         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4955         and parse hwcap, hwcap2 and platform number information.
4956         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4957         to store HWCAP+HWCAP2 and platform number.
4958         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4959         for HWCAP+HWCAP2 and platform number in the TCB.
4960         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4961         the HWCAP, HWCAP2 and platform number in the TCB.
4962         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4963         (TLS_INIT_TP): Included calls to add the hwcap and
4964         at_platform values in the TCB in TP initialization.
4965         (TLS_DEFINE_INIT_TP): Likewise.
4966         (THREAD_GET_HWCAP): New macro.
4967         (THREAD_SET_HWCAP): Likewise.
4968         (THREAD_GET_AT_PLATFORM): Likewise.
4969         (THREAD_SET_AT_PLATFORM): Likewise.
4970         * sysdeps/powerpc/powerpc32/dl-machine.h:
4971         (dl_platform_init): New function that calls
4972         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4973         powerpc32.
4974         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4975         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4976         this functionality, static linking case.
4977         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4978         linking case.
4979         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4980         __parse_hwcap_and_convert_at_platform for the static linking case.
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4982         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4983         ABI list for GLIBC 2.23.
4984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4985         Likewise.
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4987         Likewise.
4989 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4991         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4992         * configure: Regenerate.
4993         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4994         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4996 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4998         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4999         * iconvdata/ibm933.c: Likewise.
5000         * iconvdata/ibm935.c: Likewise.
5001         * iconvdata/ibm937.c: Likewise.
5002         * iconvdata/ibm939.c: Likewise.
5004 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5006         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5007         pthread_join.
5008         * nptl/tst-cancel21.c (tf): Likewise.
5010 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5012         [BZ #19313]
5013         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5014         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5015         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5016         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5021         Likewise.
5022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5023         Likewise.
5024         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5025         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5026         unsigned long int with __CPU_MASK_TYPE.
5028 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5030         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5032 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5035         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5036         t512.x.
5037         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5039 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5041         [BZ #19214]
5042         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5043         argument to return extended model.  Update family and model
5044         with extended family and model when family == 0x0f.
5045         (init_cpu_features): Updated.
5047 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5049         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5050         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5052         * sysdeps/mach/hurd/mmap64.c: New file.
5054 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5056         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5057         rights for its main user thread in NEWTASK.
5059 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5061         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5062         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5064 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5066         [BZ #14259]
5067         * Makeconfig: Rename localedir to complocaledir.
5068         Rename inst_localedir to inst_complocaledir.
5069         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5070         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5071         * configure.ac: Use libc_cv_complocaledir.
5072         * configure: Regenerate.
5073         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5074         -DCOMPLOCALEDIR.
5075         * locale/findlocale.c: Use COMPLOCALEDIR.
5076         * locale/loadarchive.c: Likewise.
5077         * locale/programs/locale.c: Likewise.
5078         * locale/programs/localedef.c: Likewise.
5079         * locale/programs/locarchive.c: Likewise.
5080         * localedata/Makefile: Use inst_complocaledir.
5081         * sysdeps/gnu/configure: Regenerate.
5082         * sysdeps/hppa/configure: Regenerate.
5083         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5084         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5086         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5087         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5088         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5089         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5091 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5093         [BZ #19058]
5094         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5095         AS_NEEDED.
5096         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5097         workaround.
5098         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5099         libmvec-static-only-routines): Added new file.
5100         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5102 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5104         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5105         of interrupted RPC instead of restoring it.
5107         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5108         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5109         libc_hidden_def.
5110         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5111         into initialized data instead of common. Define rtld_hidden_data_def.
5112         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5113         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5114         libc_hidden_def.
5115         (if_freenameindex): Add libc_hidden_weak.
5116         (if_nameindex): Add libc_hidden_weak.
5117         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5118         __open64.
5119         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5120         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5121         * sysdeps/mach/nanosleep.c: Include <time.h>
5122         (__nanosleep): Rename to __libc_nanosleep.
5123         (__nanosleep): Add weak_alias.
5124         (nanosleep): Update alias.
5126 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5128         * stdlib/strtod_nan.c: New file.
5129         * stdlib/strtod_nan_double.h: Likewise.
5130         * stdlib/strtod_nan_float.h: Likewise.
5131         * stdlib/strtod_nan_main.c: Likewise.
5132         * stdlib/strtod_nan_narrow.h: Likewise.
5133         * stdlib/strtod_nan_wide.h: Likewise.
5134         * stdlib/strtof_nan.c: Likewise.
5135         * stdlib/strtold_nan.c: Likewise.
5136         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5137         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5138         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5139         * wcsmbs/wcstod_nan.c: Likewise.
5140         * wcsmbs/wcstof_nan.c: Likewise.
5141         * wcsmbs/wcstold_nan.c: Likewise.
5142         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5143         strtold_nan.
5144         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5145         wcstof_nan.
5146         * include/stdlib.h (__strtof_nan): Declare and use
5147         libc_hidden_proto.
5148         (__strtod_nan): Likewise.
5149         (__strtold_nan): Likewise.
5150         (__wcstof_nan): Likewise.
5151         (__wcstod_nan): Likewise.
5152         (__wcstold_nan): Likewise.
5153         * include/wchar.h (____wcstoull_l_internal): Declare.
5154         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5155         (____strtoull_l_internal): Remove declaration.
5156         (STRTOF_NAN): Define macro.
5157         (SET_MANTISSA): Remove macro.
5158         (STRTOULL): Likewise.
5159         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5160         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5161         (STRTOF_NAN): Define macro.
5162         (SET_MANTISSA): Remove macro.
5163         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5164         (SET_MANTISSA): Remove macro.
5165         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5166         macro.
5167         (SET_MANTISSA): Remove macro.
5168         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5169         macro.
5170         (SET_MANTISSA): Remove macro.
5171         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5172         (SET_MANTISSA): Remove macro.
5173         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5174         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5175         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5177         [BZ #19266]
5178         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5179         upper case and lower case letters inside NAN(), not using TOLOWER.
5180         * stdlib/tst-strtod-nan-locale-main.c: New file.
5181         * stdlib/tst-strtod-nan-locale.c: Likewise.
5182         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5183         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5184         Depend on $(gen-locales).
5185         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5186         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5187         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5188         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5189         Depend on $(gen-locales).
5190         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5192 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5194         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5196         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5198         __finitel, __isinfl, and __isnanl.
5199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5200         Likewise.
5201         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5203         __finitel.
5204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5205         Likewise.
5206         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5208 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5210         * malloc/memusage.c (me): Remove redundant getenv call.
5212 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5214         [BZ #19143]
5215         [BZ #19164]
5216         * nptl/check-cpuset.h: Remove.
5217         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5218         Remove CPU set size check.
5219         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5222         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5223         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5224         (__pthread_setaffinity_new): Remove CPU set size check.
5225         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5226         (__kernel_cpumask_size): Remove.
5227         (__sched_setaffinity_new): Remove CPU set size check.
5228         * manual/threads.texi (Default Thread Attributes): Remove stale
5229         reference to check_cpuset_attr, determine_cpumask_size in comment.
5230         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5231         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5232         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5233         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5234         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5235         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5236         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5237         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5238         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5239         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5240         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5241         skeleton test file.
5242         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5243         tst-affinity-pid.
5245 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5247         * scripts/update-abilist.sh: New file.
5248         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5249         * Makerules (update-all-abi-%, update-all-abi)
5250         (subdir_update-all-abi): New targets.
5251         * elf/Makefile (update-all-abi): New target.
5253 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5255         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5256         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5257         (__libc_lock_define_initialized): Use it.
5258         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5259         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5260         * malloc/malloc.c (main_arena): Likewise.
5261         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5262         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5264 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5266         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5267         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5268         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5269         (PTRACE_O_MASK): Update value.
5270         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5271         New value in enum __ptrace_setoptions.
5272         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5273         (PTRACE_O_MASK): Update value.
5274         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5275         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5276         (PTRACE_O_MASK): Update value.
5277         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5278         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5279         (PTRACE_O_MASK): Update value.
5280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5281         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5282         (PTRACE_O_MASK): Update value.
5283         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5284         New value in enum __ptrace_setoptions.
5285         (PTRACE_O_MASK): Update value.
5286         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5287         New value in enum __ptrace_setoptions.
5288         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5289         (PTRACE_O_MASK): Update value.
5291         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5292         New macro.
5293         (PACKET_AUXDATA): Likewise.
5294         (PACKET_ORIGDEV): Likewise.
5295         (PACKET_VERSION): Likewise.
5296         (PACKET_HDRLEN): Likewise.
5297         (PACKET_RESERVE): Likewise.
5298         (PACKET_TX_RING): Likewise.
5299         (PACKET_LOSS): Likewise.
5300         (PACKET_VNET_HDR): Likewise.
5301         (PACKET_TX_TIMESTAMP): Likewise.
5302         (PACKET_TIMESTAMP): Likewise.
5303         (PACKET_FANOUT): Likewise.
5304         (PACKET_TX_HAS_OFF): Likewise.
5305         (PACKET_QDISC_BYPASS): Likewise.
5306         (PACKET_ROLLOVER_STATS): Likewise.
5307         (PACKET_FANOUT_DATA): Likewise.
5308         (PACKET_MR_UNICAST): Likewise.
5310         [BZ #19242]
5311         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5312         (TOUPPER): Likewise.
5313         * stdlib/tst-strtol-locale-main.c: New file.
5314         * stdlib/tst-strtol-locale.c: Likewise.
5315         * stdlib/Makefile (tests): Add tst-strtol-locale.
5316         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5317         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5318         Depend on $(gen-locales).
5319         * wcsmbs/tst-wcstol-locale.c: New file.
5320         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5321         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5322         tr_TR.ISO-8859-9.
5323         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5324         Depend on $(gen-locales).
5326 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5328         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5329         __glibc_likely instead of __builtin_expect.  After falling back to
5330         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5331         system interface to register the code pages as occupied.
5333 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5335         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5336         [!ARM_MATH_PRIVATE_H].
5337         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5338         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5339         [!HPPA_MATH_PRIVATE_H].
5340         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5341         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5342         to [!I386_MATH_PRIVATE_H].
5343         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5344         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5345         Change guard to [!M68K_MATH_PRIVATE_H].
5346         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5347         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5348         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5349         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5350         macro.
5351         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5352         [!MIPS_MATH_PRIVATE_H].
5353         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5354         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5355         [!NIO2_MATH_PRIVATE_H].
5356         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5357         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5358         [!TILE_MATH_PRIVATE_H].
5359         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5361         [BZ #15421]
5362         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5363         initialize with 0 and define as weak alias of __signgam.
5364         * include/math.h [!_ISOMAC] (__signgam): Declare.
5365         * math/Makefile (libm-calls): Add w_lgamma_compat.
5366         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5367         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5368         test-signgam-ullong-init.
5369         (tests-static): Add test-signgam-uchar-static,
5370         test-signgam-uchar-init-static, test-signgam-uint-static,
5371         test-signgam-uint-init-static, test-signgam-ullong-static and
5372         test-signgam-ullong-init-static.
5373         (CFLAGS-test-signgam-uchar.c): New variable.
5374         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5375         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5376         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5377         (CFLAGS-test-signgam-uint.c): Likewise.
5378         (CFLAGS-test-signgam-uint-init.c): Likewise.
5379         (CFLAGS-test-signgam-uint-static.c): Likewise.
5380         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5381         (CFLAGS-test-signgam-ullong.c): Likewise.
5382         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5383         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5384         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5385         * math/Versions (libm): Add GLIBC_2.23.
5386         * math/lgamma-compat.h: New file.
5387         * math/test-signgam-main.c: Likewise.
5388         * math/test-signgam-uchar-init-static.c: Likewise.
5389         * math/test-signgam-uchar-init.c: Likewise.
5390         * math/test-signgam-uchar-static.c: Likewise.
5391         * math/test-signgam-uchar.c: Likewise.
5392         * math/test-signgam-uint-init-static.c: Likewise.
5393         * math/test-signgam-uint-init.c: Likewise.
5394         * math/test-signgam-uint-static.c: Likewise.
5395         * math/test-signgam-uint.c: Likewise.
5396         * math/test-signgam-ullong-init-static.c: Likewise.
5397         * math/test-signgam-ullong-init.c: Likewise.
5398         * math/test-signgam-ullong-static.c: Likewise.
5399         * math/test-signgam-ullong.c: Likewise.
5400         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5401         wrapper of w_lgamma_main.c.
5402         * math/w_lgamma_compat.c: New file.
5403         * math/w_lgamma_compatf.c: Likewise.
5404         * math/w_lgamma_compatl.c: Likewise.
5405         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5406         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5407         defining compatibility symbols.
5408         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5409         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5410         wrapper of w_lgammaf_main.c.
5411         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5412         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5413         defining compatibility symbols.
5414         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5415         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5416         wrapper of w_lgammal_main.c.
5417         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5418         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5419         defining compatibility symbols.
5420         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5421         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5422         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5423         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5424         <lgamma-compat.h>.
5425         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5426         (__ieee754_gamma): Define as alias.
5427         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5428         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5429         <lgamma-compat.h>.
5430         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5431         (__ieee754_gammaf): Define as alias.
5432         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5433         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5434         <lgamma-compat.h>.
5435         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5436         (__ieee754_gammal): Define as alias.
5437         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5438         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5439         <math/w_lgamma_compat.c>.
5440         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5441         Define as alias of __lgamma_compat and use in defining lgammal.
5442         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5443         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5444         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5445         (USE_AS_COMPAT): New macro.
5446         (LGAMMA_OLD_VER): Undefine and redefine.
5447         (lgammal): Do not define here.
5448         (gammal): Only define here if [GAMMA_ALIAS].
5449         * conform/linknamespace.pl (@whitelist): Remove signgam.
5450         * sysdeps/nacl/libm.abilist: Update.
5451         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5453         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5454         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5455         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5457         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5458         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5460         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5461         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5462         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5464         Likewise.
5465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5468         Likewise.
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5470         Likewise.
5471         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5472         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5473         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5474         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5475         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5477         Likewise.
5478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5479         Likewise.
5480         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5481         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5482         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5484 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5486         [BZ #16364]
5487         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5488         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5490 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5492         * sysdeps/s390/fpu/bits/mathinline.h:
5493         Use __asm__ [__volatile__] instead of asm [volatile].
5494         * sysdeps/s390/abort-instr.h: Likewise.
5495         * sysdeps/s390/atomic-machine.h: Likewise.
5496         * sysdeps/s390/bits/string.h: Likewise.
5497         * sysdeps/s390/dl-tls.h: Likewise.
5498         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5499         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5500         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5501         * sysdeps/s390/fpu/fesetround.c: Likewise.
5502         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5503         * sysdeps/s390/fpu/s_fma.c: Likewise.
5504         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5505         * sysdeps/s390/memusage.h: Likewise.
5506         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5507         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5508         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5509         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5510         * sysdeps/s390/nptl/tls.h: Likewise.
5511         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5512         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5513         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5514         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5515         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5516         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5517         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5518         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5519         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5520         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5521         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5522         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5523         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5524         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5525         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5526         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5527         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5528         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5529         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5531         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5533         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5535 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5536             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5538         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5539         Add lwarx hint, and use macro for acquire instruction.
5540         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5541         Likewise.
5542         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5543         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5544         update to use new atomic macros.
5546 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5548         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5549         (__lll_trylock_elision): Fix setting of adapt_count.
5550         * sysdeps/unix/sysv/linux/powerpc/htm.h
5551         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5552         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5553         (_ABORT_SYSCALL): Renumber, and clarify definition.
5554         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5556 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5558         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5559         after system headers to prevent MIN/MAX redefinition.  Define
5560         HAVE_ALLOCA to preserve builtin alloca usage.
5562 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5565         static and don't set or restore rounding.
5566         (__cos)[IN_SINCOS]: Likewise.
5567         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5568         (__sincos): Set and restore rounding mode.  Remove check for infinite
5569         or NaN input.
5571         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5573         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5574         as used.
5576 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5578         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5580 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5582         * config.make.in (have-glob-dat-reloc): New.
5583         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5584         target supports GLOB_DAT relocaton. AC_SUBST.
5585         * configure: Regenerated.
5586         * elf/Makefile (tests): Add tst-prelink.
5587         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5588         (tst-prelink-ENV): New.
5589         ($(objpfx)tst-prelink-conflict.out): Likewise.
5590         ($(objpfx)tst-prelink-cmp.out): Likewise.
5591         * sysdeps/x86/tst-prelink.c: Moved to ...
5592         * elf/tst-prelink.c: Here.
5593         * sysdeps/x86/tst-prelink.exp: Moved to ...
5594         * elf/tst-prelink.exp: Here.
5595         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5596         (tst-prelink-ENV): Removed.
5597         ($(objpfx)tst-prelink-conflict.out): Likewise.
5598         ($(objpfx)tst-prelink-cmp.out): Likewise.
5599         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5601 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5603         [BZ #14551]
5604         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5605         (__mpn_construct_long_double): If high part overflows to infinity,
5606         set errno and recompute overflowed result of the correct sign.
5607         * sysdeps/ieee754/ldbl-128ibm/Makefile
5608         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5609         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5610         $(libm).
5611         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5613 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5615         [BZ #15479]
5616         [BZ #19238]
5617         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5618         floating-point state after first operation on input.  Restore full
5619         state rather than just rounding mode.
5620         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5621         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5622         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5624         [BZ #19235]
5625         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5626         add 0.5 to integer arguments.
5627         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5628         Likewise.
5629         (.LC2): New object.
5631 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5633         * scripts/pylintrc (reports): Set to no.
5635 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5637         * elf/dl-load.c (open_verify): Take new argument FD.
5638         Skip __open call if passed FD is not -1.
5639         (_dl_map_object, open_path): Update callers.
5640         * elf/dl-sysdep-open.h: New file.
5641         * elf/dl-load.c: Include it.
5642         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5643         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5644         * sysdeps/nacl/dl-sysdep-open.h: New file.
5645         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5646         from libc to rtld.
5648 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5650         [BZ #19228]
5651         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5652         and restore full floating-point state.
5653         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5654         Likewise.
5655         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5656         Likewise.
5657         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5658         Likewise.
5659         * math/test-nearbyint-except-2.c: New file.
5660         * math/Makefile (tests): Add test-nearbyint-except-2.
5662 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5664         [BZ #19178]
5665         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5666         (tst-prelink-ENV): New.
5667         ($(objpfx)tst-prelink-conflict.out): Likewise.
5668         ($(objpfx)tst-prelink-cmp.out): Likewise.
5669         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5670         * sysdeps/x86/tst-prelink.c: New file.
5671         * sysdeps/x86/tst-prelink.exp: Likewise.
5673 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5675         * math/auto-libm-test-in: Add another test of pow.
5676         * math/auto-libm-test-out: Regenerated.
5677         * math/libm-test.inc (pow_test_data): Add another test.
5679 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5681         [BZ #19219]
5682         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5683         weak_alias to nearbyintl.
5685 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5687         * sysdeps/aarch64/bits/string.h: New file.
5688         (_STRING_ARCH_unaligned): Define.
5690 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5692         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5693         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5694         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5695         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5698 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5700         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5701         for original name of the DSO.  Add it to the name list of the DSO
5702         if it is actually given.
5703         (_dl_map_object): Keep track of whether an audit module rewrote
5704         the file name.  If yes, pass the original name to
5705         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5706         debugging is enabled, log the change of the file name.
5707         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5708         _dl_map_object_from_fd.
5709         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5710         * elf/tst-audit11.c: New file
5711         * elf/tst-auditmod11.c: New file.
5712         * elf/tst-audit11mod1.c: New file.
5713         * elf/tst-audit11mod2.c: New file.
5714         * elf/tst-audit11mod2.map: New file.
5715         * elf/tst-audit12.c: New file
5716         * elf/tst-auditmod12.c: New file.
5717         * elf/tst-audit12mod1.c: New file.
5718         * elf/tst-audit12mod2.c: New file.
5719         * elf/tst-audit12mod2.map: New file.
5720         * elf/tst-audit12mod3.c: New file.
5722 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5724         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5725         Don't create weak aliases,
5726         because versioned symbols are created later.
5727         * sysdeps/s390/s390-32/setjmp.S
5728         (setjmp, _setjmp): Remove weak and rename to an unique name
5729         in SHARED case due to existing versioned symbols.
5730         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5731         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5732         (getcontext): Create weak alias only in non SHARED case.
5733         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5735 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5737         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5738         (__ASSUME_*_SYSCALL) Define new macros.
5739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5740         Remove socketcall syscalls.
5741         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5742         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5743         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5744         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5745         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5746         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5748 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5750         [BZ #12926]
5751         Terminate process on invalid netlink response.
5752         * sysdeps/unix/sysv/linux/netlinkaccess.h
5753         (__netlink_assert_response): Declare.
5754         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5755         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5756         (sysdep_routines): Add netlink_assert_response.
5757         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5758         __netlink_assert_response.
5759         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5760         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5761         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5762         __netlink_assert_response.
5764 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5766         [BZ #19178]
5767         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5768         (RTYPE_CLASS_PLT): Likewise.
5769         (RTYPE_CLASS_COPY): Likewise.
5770         (RTYPE_CLASS_TLS): Likewise.
5771         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5772         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5773         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5774         DL_DEBUG_PRELINK.
5776 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5778         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5779         calls with argument -0.5.
5780         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5782         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5783         (libc_cv_z_nodlopen): Likewise.
5784         (libc_cv_z_initfirst): Likewise.
5785         * configure: Regenerated.
5787 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5789         Simplify abilist format to be line-based.
5790         * scripts/abilist.awk: Collect descriptors in the descs variable.
5791         (emit): Write descs variable and sort it
5792         externally, with sort.
5793         * sysdeps/**/*.abilist: Convert to new format.
5795 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5797         [BZ #11460]
5798         * io/Makefile (routines): Add fts64.
5799         (tests): Add tst-fts and tst-fts-lfs.
5800         (CFLAGS-fts64.c): New.
5801         * io/Versions (GLIBC_2.23): New.
5802         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5803         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5804         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5805         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5806         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5807         (FTSENT64): Likewise.
5808         (fts64_children): Likewise.
5809         (fts64_close): Likewise.
5810         (fts64_open): Likewise.
5811         (fts64_read): Likewise.
5812         (fts64_set): Likewise.
5813         * io/fts64.c: New file.
5814         * io/tst-fts.c: New test.
5815         * io/tst-fts-lfs.c: Likewise.
5816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5817         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5818         fts64_set.
5819         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5820         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5821         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5822         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5823         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5824         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5827         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5828         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5829         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5830         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5831         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5838         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5839         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5840         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5841         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5842         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5845         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5846         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5847         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5848         * sysdeps/wordsize-64/fts.c: New file.
5849         * sysdeps/wordsize-64/fts64.c: Likewise.
5850         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5851         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5852         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5853         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5855 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5857         * math/libm-test.inc (NON_FINITE): New macro.
5858         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5859         * math/gen-libm-test.pl (show_exceptions): Add argument
5860         $non_finite.
5861         (parse_args): Update call to show_exceptions.
5862         * math/test-math-finite.h: New file.
5863         * math/test-math-no-finite.h: Likewise.
5864         * math/test-double-finite.c: Likewise.
5865         * math/test-float-finite.c: Likewise.
5866         * math/test-ldouble-finite.c: Likewise.
5867         * math/test-double.c: Include "test-math-no-finite.h".
5868         * math/test-float.c: Include "test-math-no-finite.h".
5869         * math/test-ldouble.c: Include "test-math-no-finite.h".
5870         * math/test-math-inline.h (TEST_FINITE): New macro.
5871         * math/test-math-vector.h (TEST_FINITE): Likewise.
5872         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5873         (libm-tests): Add test-float-finite and test-double-finite.
5874         ($(objpfx)test-float-finite.o): New dependency on
5875         $(objpfx)libm-test.stmp.
5876         ($(objpfx)test-double-finite.o): Likewise.
5877         ($(objpfx)test-ldouble-finite.o): Likewise.
5878         (libm-test-no-inline-cflags): New variable.
5879         (libm-test-finite-cflags): Likewise.
5880         (CFLAGS-test-float-finite.c): Likewise.
5881         (CFLAGS-test-double-finite.c): Likewise.
5882         (CFLAGS-test-ldouble-finite.c): Likewise.
5883         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5884         (CFLAGS-test-double.c): Likewise.
5885         (CFLAGS-test-ldouble.c): Likewise.
5887 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5889         * io/fcntl.c (__fcntl): Add ... to prototype.
5890         * misc/ioctl.c (__ioctl): Likewise.
5891         * misc/syscall.c (syscall): Likewise.
5893 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5895         * scripts/list-fixed-bugs.py: New file.
5897         [BZ #19213]
5898         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5899         returned for argument 1.
5900         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5901         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5902         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5903         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5904         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5905         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5907         [BZ #19211]
5908         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5909         __USE_XOPEN], not if [!__USE_ISOC99].
5910         (lgammaf): Likewise.
5911         (lgammal): Likewise.
5912         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5913         (gammaf): Likewise.
5914         (gammal): Likewise.
5915         * math/test-signgam-finite-c11.c: New file.
5916         * math/test-signgam-finite-c99.c: Likewise.
5917         * math/test-signgam-finite.c: Likewise.
5918         * math/Makefile (tests): Add test-signgam-finite,
5919         test-signgam-finite-c99 and test-signgam-finite-c11.
5920         (CFLAGS-test-signgam-finite.c): New variable.
5921         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5922         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5924         [BZ #19212]
5925         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5926         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5927         500].
5928         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5929         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5930         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5931         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5932         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5933         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5934         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5935         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5936         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5937         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5939         [BZ #19209]
5940         * math/bits/math-finite.h (ldexp): Remove declaration.
5941         (ldexpf): Likewise.
5942         (ldexpl): Likewise.
5944         [BZ #19205]
5945         * math/bits/math-finite.h (acosf): Condition declaration on
5946         [__USE_ISOC99].
5947         (acosl): Likewise.
5948         (acoshf): Likewise.
5949         (acoshl): Likewise.
5950         (asinf): Likewise.
5951         (asinl): Likewise.
5952         (atan2f): Likewise.
5953         (atan2l): Likewise.
5954         (atanhf): Likewise.
5955         (atanhl): Likewise.
5956         (coshf): Likewise.
5957         (coshl): Likewise.
5958         (expf): Likewise.
5959         (expl): Likewise.
5960         (fmodf): Likewise.
5961         (fmodl): Likewise.
5962         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5963         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5964         (j0l): Likewise.
5965         (y0f): Likewise.
5966         (y0l): Likewise.
5967         (j1f): Likewise.
5968         (j1l): Likewise.
5969         (y1f): Likewise.
5970         (y1l): Likewise.
5971         (jnf): Likewise.
5972         (jnl): Likewise.
5973         (ynf): Likewise.
5974         (ynl): Likewise.
5975         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5976         (lgammal_r): Likewise.
5977         (__lgamma_r_finite): New declaration.
5978         (__lgammaf_r_finite): Likewise.
5979         (__lgammal_r_finite): Likewise.
5980         (lgamma): Use __lgamma_r_finite.
5981         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5982         __lgammaf_r_finite.
5983         (lgammal): Condition definition on [__USE_ISOC99].  Use
5984         __lgammal_r_finite.
5985         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5986         __lgamma_r_finite.
5987         (gammaf): Condition definition on [__USE_ISOC99].  Use
5988         __lgammaf_r_finite.
5989         (gammal): Condition definition on [__USE_ISOC99].  Use
5990         __lgammal_r_finite.
5991         (logf): Condition declaration on [__USE_ISOC99].
5992         (logl): Likewise.
5993         (log10f): Likewise.
5994         (log10l): Likewise.
5995         (ldexpf): Likewise.
5996         (ldexpl): Likewise.
5997         (powf): Likewise.
5998         (powl): Likewise.
5999         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6000         __USE_ISOC99].
6001         (remainderf): Condition declaration on [__USE_ISOC99].
6002         (remainderl): Likewise.
6003         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6004         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6005         (scalbl): Likewise.
6006         (sinhf): Condition declaration on [__USE_ISOC99].
6007         (sinhl): Likewise.
6008         (sqrtf): Likewise.
6009         (sqrtl): Likewise.
6011 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6013         * sysdeps/arm/atomic-machine.h
6014         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6015         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6016         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6017         Remove conditional code.
6018         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6019         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6020         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6021         Change conditional to [__ASSEMBLER__].
6022         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6023         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6024         [!__ASSEMBLER__].
6025         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6026         code.
6027         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6028         conditional macro definitions.
6029         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6030         (__arch_compare_and_exchange_val_16_acq): Likewise.
6031         (__arch_compare_and_exchange_val_32_acq): Likewise.
6032         (atomic_exchange_and_add): Likewise.
6033         (atomic_add): Likewise.
6034         (atomic_add_negative): Likewise.
6035         (atomic_add_zero): Likewise.
6036         (atomic_bit_set): Likewise.
6037         (atomic_bit_test_set): Likewise.
6038         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6039         code unconditional.
6040         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6042         * math/test-math-errno.h: New file.
6043         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6044         empty.
6045         (TEST_ERRNO): New macro.
6046         (TEST_EXCEPTIONS): Likewise.
6047         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6048         (TEST_EXCEPTIONS): Likewise.
6049         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6050         * math/test-double.c: Include "test-math-errno.h".
6051         * math/test-float.c: Likewise.
6052         * math/test-ldouble.c: Likewise.
6053         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6054         code unconditional.
6055         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6056         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6057         unconditional.
6058         (test_errno): Only run code if TEST_ERRNO.
6059         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6061 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6063         * nptl/tst-once5.cc: Remove attribution.
6065 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6067         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6068         sqrt, tan, tanh, y0, y1 and yn.
6069         * math/auto-libm-test-out: Regenerated.
6070         * math/libm-test.inc (scalb_test_data): Add more tests.
6071         (scalbn_test_data): Likewise.
6072         (scalbln_test_data): Likewise.
6073         (signbit_test_data): Likewise.
6074         (sin_test_data): Likewise.
6075         (sincos_test_data): Likewise.
6076         (sinh_test_data): Likewise.
6077         (sqrt_test_data): Likewise.
6078         (tan_test_data): Likewise.
6079         (tanh_test_data): Likewise.
6080         (tgamma_test_data): Likewise.
6081         (y0_test_data): Likewise.
6082         (y1_test_data): Likewise.
6083         (yn_test_data): Likewise.
6084         (significand_test_data): Likewise.
6085         * sysdeps/i386/fpu/libm-test-ulps: Update.
6087 2015-11-03  David Kastrup  <dak@gnu.org>
6089         [BZ #18604]
6090         * assert/assert.h (assert): Don't macro-expand failed assertion
6091         expression in error message.
6092         * malloc/malloc.c (assert): Likewise.
6094 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6096         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6097         test.
6098         * configure: Regenerated.
6100 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6102         * math/libm-test.inc (modf_test_data): Add more tests.
6103         (nearbyint_test_data): Likewise.
6104         (nextafter_test_data): Likewise.
6105         (nexttoward_test_data): Likewise.
6106         (pow_test_data): Likewise.
6107         (remainder_test_data): Likewise.
6108         (remquo_test_data): Likewise.
6109         (rint_test_data): Likewise.
6111         [BZ #19201]
6112         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6113         Check for zero remainder in case of large exponents and ensure
6114         correct sign of result in that case.
6115         * math/libm-test.inc (remainder_test_data): Add more tests.
6117         [BZ #6799]
6118         * math/s_nextafter.c: Include <errno.h>.
6119         (__nextafter): Set errno on overflow and underflow.
6120         * math/s_nexttowardf.c: Include <errno.h>.
6121         (__nexttowardf): Set errno on overflow and underflow.
6122         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6123         (__nextafterl): Set errno on overflow and underflow.
6124         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6125         (__nexttoward): Set errno on overflow and underflow.
6126         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6127         (__nexttowardf): Set errno on overflow and underflow.
6128         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6129         (__nextafterf): Set errno on overflow and underflow.
6130         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6131         (__nextafterl): Set errno on overflow and underflow.
6132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6133         (__nexttoward): Set errno on overflow and underflow.
6134         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6135         (__nexttowardf): Set errno on overflow and underflow.
6136         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6137         (__nextafterl): Set errno on overflow and underflow.
6138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6139         (__nexttoward): Set errno on overflow and underflow.
6140         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6141         (__nexttowardf): Set errno on overflow and underflow.
6142         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6143         (__nexttoward): Set errno on overflow and underflow.
6144         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6145         (__nexttowardf): Set errno on overflow and underflow.
6146         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6147         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6148         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6149         (__nextafterl): Set errno on overflow and underflow.
6150         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6151         setting to be missing on overflow.  Add more tests.
6152         (nexttoward_test_data): Likewise.
6154         * configure.ac (libc_cv_initfini_array): Remove configure test.
6155         * configure: Regenerated.
6157 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6159         [BZ #19189]
6160         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6161         non-finite argument handle arguments with negative sign.
6163         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6164         result from infinite argument.
6165         (j1_test_data): Likewise.
6166         (jn_test_data): Likewise.
6167         (y0_test_data): Likewise.
6168         (y1_test_data): Likewise.
6169         (yn_test_data): Likewise.
6171         [BZ #16171]
6172         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6173         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6174         * math/w_remainderf.c (dremf): Define as weak alias of
6175         __remainderf.
6176         * math/w_remainderl.c (dreml): Define as weak alias of
6177         __remainderl.
6178         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6179         __remainder.
6180         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6181         __remainderf.
6182         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6183         __remainderl.
6184         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6185         weak alias of remainderl.
6186         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6187         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6188         alias of __remainder.
6189         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6190         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6191         strong alias of __remainderl.
6192         (dreml): Use long_double_symbol.
6193         * math/Makefile (libm-calls): Remove w_drem.
6194         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6195         (CFLAGS-nldbl-drem.c): Remove variable.
6196         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6197         * math/w_drem.c: Remove file.
6198         * math/w_dremf.c: Likewise.
6199         * math/w_dreml.c: Likewise.
6200         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6201         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6202         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6204         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6205         * sysdeps/i386/configure: Regenerated.
6206         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6207         * sysdeps/x86_64/configure: Regenerated.
6209         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6210         test.
6211         (libc_cv_visibility_attribute): Likewise.
6212         (libc_cv_protected_data): Test unconditionally.
6213         (libc_cv_broken_visibility_attribute): Remove configure test.
6214         (libc_cv_have_sdata_section): Test unconditionally.
6215         * configure: Regenerated.
6217         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6218         * include/scratch_buffer.h: Include <stddef.h> instead of
6219         <libc-internal.h>.
6220         (struct scratch_buffer): Use max_align_t instead of
6221         libc_max_align_t.
6223 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6225         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6226         instead of extend_alloca.  Change control flow to avoid a goto.
6227         Remove assert which is trivially always true.
6229 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6231         [BZ #16068]
6232         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6233         (FE_ALL_EXCEPT_X86): New macro.
6234         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6235         FE_ALL_EXCEPT.  Ensure precision control is included in
6236         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6237         handle "denormal operand exception" and clear FZ and DAZ bits.
6238         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6239         (FE_ALL_EXCEPT_X86): New macro.
6240         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6241         FE_ALL_EXCEPT.  Ensure precision control is included in
6242         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6243         handle "denormal operand exception" and clear FZ and DAZ bits.
6244         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6245         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6246         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6247         test-fenv-x87 and test-fenv-sse-2.
6248         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6250         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6251         * math/test-double.h (BUILD_COMPLEX): New macro.
6252         * math/test-float.h (BUILD_COMPLEX): Likewise.
6253         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6255         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6256         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6257         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6259         instead of DBL_DENORM_MIN in comment.
6260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6261         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6262         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6263         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6265         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6267 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6269         [BZ# 19048]
6270         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6271         attached_threads member.
6272         (main_arena): Initialize attached_threads.
6273         * malloc/arena.c (list_lock): Update comment.
6274         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6275         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6276         (deattach_arena): New function.
6277         (_int_new_arena): Initialize arena reference count and deattach
6278         replaced arena.
6279         (get_free_list, reused_arena): Update reference count and deattach
6280         replaced arena.
6281         (arena_thread_freeres): Update arena reference count and only put
6282         unreferenced arenas on the free list.
6284 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6286         [BZ #19181]
6287         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6288         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6289         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6290         * math/test-fenv-clear-main.c: New file.
6291         * math/test-fenv-clear.c: Likewise.
6292         * math/Makefile (tests): Add test-fenv-clear.
6293         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6294         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6295         test-fenv-clear-sse.
6296         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6298         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6299         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6300         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6302 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6304         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6305         static libc.
6307 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6309         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6310         test.
6311         * sysdeps/i386/configure: Regenerated.
6312         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6313         test.
6314         * sysdeps/x86_64/configure: Regenerated.
6315         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6317         memset-avx2 unconditionally instead of conditionally on
6318         [$(config-cflags-avx2) = yes].
6319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6320         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6321         unconditional.
6322         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6323         * sysdeps/x86_64/multiarch/memset_chk.S
6324         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6325         to [IS_IN (libc) && SHARED].
6327 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6329         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6330         configure test.
6331         * sysdeps/arm/configure: Regenerated.
6332         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6333         Define variable if not already defined.
6335         [BZ #17404]
6336         * sysdeps/mips/atomic-machine.h
6337         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6338         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6339         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6341         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6342         unconditional.
6343         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6344         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6345         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6346         unconditional.
6347         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6348         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6349         unconditional.
6350         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6351         * stdlib/setenv.c
6352         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6353         code unconditional.
6354         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6355         Remove conditional code.
6356         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6357         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6358         unconditional.
6359         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6360         code.
6361         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6362         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6363         unconditional.
6364         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6365         code.
6366         * sysdeps/ieee754/ldbl-128/k_tanl.c
6367         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6368         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6369         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6370         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6371         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6372         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6373         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6374         unconditional.
6375         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6376         code.
6377         * sysdeps/ieee754/ldbl-96/k_tanl.c
6378         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6379         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6381         * nptl/tst-initializers1-c11.c: New file.
6382         * nptl/tst-initializers1-gnu11.c: Likewise.
6383         * nptl/Makefile (tests): Add these new tests.
6384         (CFLAGS-tst-initializers1-c11.c): New variable.
6385         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6387         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6388         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6389         instead of -std=gnu99.
6390         * configure.ac (systemtap): Test with -std=gnu11 instead of
6391         -std=gnu99.
6392         * configure: Regenerated.
6393         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6394         in compilation command in comment.
6396         * sysdeps/nptl/configure.ac: Remove file.
6397         * sysdeps/nptl/configure: Remove generated file.
6398         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6399         * configure: Regenerated.
6400         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6401         * config.make.in (have-forced-unwind): Remove variable.
6402         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6403         unconditional.
6404         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6405         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6406         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6407         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6408         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6409         unconditional.
6411 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6413         [BZ #19174]
6414         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6415         .skip_lock_out_of_tbegin_retries.
6416         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6417         (__lll_lock_elision): Likewise, and respect a value of
6418         try_tbegin <= 0.
6420 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6422         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6423         statement.
6425 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6427         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6428         variable.
6429         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6430         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6432         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6433         of -std=c1x -D_ISOC11_SOURCE.
6435         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6436         * configure: Regenerated.
6437         * manual/install.texi (Tools for Compilation): Document
6438         requirement for GCC 4.7 or later.
6439         * INSTALL: Regenerated.
6441 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6443         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6444         on CNT to a conditional jump to 'puntdata'.
6446 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6448         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6449         (libc_cv_gcc_tls_model_attr): Likewise.
6450         * configure: Regenerated.
6452         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6453         * configure: Regenerated.
6454         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6456 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6458         * configure.ac (old_glibc_headers): Remove configure test.
6459         * configure: Regenerated.
6460         * config.make.in (old-glibc-headers): Remove variable.
6461         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6462         (install): Remove dependency on remove-old-headers.
6463         (headers2_0): Remove variable.
6464         (remove-old-headers): Remove rule.
6466         * configure.ac (libc_cv_dot_text): Remove configure test.
6467         (libc_cv_asm_set_directive): Use .text instead of
6468         ${libc_cv_dot_text} in configure test.
6469         * configure: Regenerated.
6471 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6473         [BZ #19168]
6474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6476 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6478         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6479         not support static linking.
6480         * configure: Regenerate.
6482 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6484         * math/libm-test.inc (check_float_internal): Do not special-case
6485         errors up to 0.5 ulp.
6487         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6488         log2.
6489         * math/auto-libm-test-out: Regenerated.
6490         * math/libm-test.inc (MAX_EXP): New macro.
6491         (ilogb_test_data): Add more tests.
6492         (isfinite_test_data): Likewise.
6493         (isgreater_test_data): Likewise.
6494         (isgreaterequal_test_data): Likewise.
6495         (isinf_test_data): Likewise.
6496         (isless_test_data): Likewise.
6497         (islessequal_test_data): Likewise.
6498         (islessgreater_test_data): Likewise.
6499         (isnan_test_data): Likewise.
6500         (isnormal_test_data): Likewise.
6501         (issignaling_test_data): Likewise.
6502         (isunordered_test_data): Likewise.
6503         (j0_test_data): Likewise.
6504         (j1_test_data): Likewise.
6505         (jn_test_data): Likewise.
6506         (lgamma_test_data): Likewise.
6507         (log_test_data): Likewise.
6508         (log10_test_data): Likewise.
6509         (log1p_test_data): Likewise.
6510         (log2_test_data): Likewise.
6511         (logb_test_data): Likewise.
6512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6514         [BZ #18611]
6515         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6516         avoid excess range and precision on underflow.
6517         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6518         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6519         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6520         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6521         underflow.
6522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6524         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6525         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6526         * math/auto-libm-test-in: Do not allow missing errno setting for
6527         tests of j1 and jn.
6528         * math/auto-libm-test-out: Regenerated.
6530 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6532         [BZ #15491]
6533         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6534         floating-point environment instead of clearing all exceptions.
6535         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6536         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6537         merging in "invalid" exceptions from frndint.
6538         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6539         * math/test-nearbyint-except.c: New file.
6540         * math/Makefile (tests): Add test-nearbyint-except.
6542 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6544         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6546         * sysdeps/tile/libm-test-ulps: Regenerated.
6548 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6551         (__NR_sync_file_range2): Assume it is always defined.
6552         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6553         (__NR_sync_file_range): Assume it is always defined.
6555 2015-10-22  Andreas Schwab  <schwab@suse.de>
6557         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6558         INTERNAL_SYSCALL_ERRNO.
6559         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6560         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6561         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6562         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6566 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6568         * io/tst-fcntl.c (fd): New static variable.
6569         (do_prepare): Open temporary file here....
6570         (do_test): ...not here.
6572         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6574 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6576         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6577         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6578         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6579         Moved before "#ifdef __ASSEMBLER__".
6581 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #19156]
6584         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6585         arguments very close to 0.
6587 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6589         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6590         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6592 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6594         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6595         New.  Defined for GCC 5 and above when not compiling for
6596         profiling.
6597         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6599         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6600         Renamed to ...
6601         (CFLAGS-epoll_pwait.o): This.
6602         (CFLAGS-mmap.c): Renamed to ...
6603         (CFLAGS-mmap.o): This.
6604         (CFLAGS-mmap64.c): Renamed to ...
6605         (CFLAGS-mmap64.o): This.
6606         (CFLAGS-epoll_pwait.os): New.
6607         (CFLAGS-mmap.os): Likewise.
6608         (CFLAGS-mmap64.os): Likewise.
6609         (CFLAGS-semtimedop.os): Likewise.
6610         (CFLAGS-semtimedop.c): Renamed to ...
6611         (CFLAGS-semtimedop.o): This.
6613 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6615         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6616         warning message.
6618 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6620         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6621         * Makefile ($(objpfx)c++-types-check.out): Filter out
6622         $(+gccwarn-c) instead of -Wstrict-prototypes.
6624         * io/fts.c (fts_open): Convert to prototype-style function
6625         definition.
6626         * malloc/mcheck.c (mcheck): Likewise.
6627         (mcheck_pedantic): Likewise.
6628         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6629         internal_function.
6630         (re_search_internal): Likewise.
6631         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6632         prototype-style function definition.
6633         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6634         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6635         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6636         (xdr_utmpptr): Likewise.
6637         (xdr_utmparr): Likewise.
6638         (xdr_utmpidle): Likewise.
6639         (xdr_utmpidleptr): Likewise.
6640         (xdr_utmpidlearr): Likewise.
6642         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6643         log, log10 and log2.
6644         * math/auto-libm-test-out: Regenerated.
6645         * math/libm-test.inc (fmod_test_data): Add more tests.
6646         (fpclassify_test_data): Likewise.
6647         (frexp_test_data): Likewise.
6648         (hypot_test_data): Likewise.
6649         (ilogb_test_data): Likewise.
6651 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6653         * debug/fortify_fail.c (__fortify_fail): Convert to
6654         prototype-style function definition.  Use internal_function.
6655         * libio/genops.c (save_for_backup): Convert to prototype-style
6656         function definition.
6657         * libio/wgenops.c (save_for_wbackup): Likewise.
6658         * login/grantpt.c (grantpt): Likewise.
6659         * login/ptsname.c (ptsname): Likewise.
6660         (__ptsname_r): Likewise.
6661         * login/unlockpt.c (unlockpt): Likewise.
6662         * mach/msgserver.c (__mach_msg_server): Likewise.
6663         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6664         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6665         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6666         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6667         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6668         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6669         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6670         Likewise.
6671         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6672         internal_function.
6673         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6674         prototype-style function definition.
6675         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6676         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6677         (__pthread_create_2_0): Likewise.
6678         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6679         * nptl/register-atfork.c (__register_atfork): Likewise.
6680         * posix/glob.c (glob): Likewise.
6681         * posix/regcomp.c (re_comp): Likewise.
6682         * posix/regexec.c (re_exec): Likewise.
6683         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6684         [!__STDC__]: Remove conditional code.
6685         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6686         [!__STDC__]: Remove conditional code.
6687         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6688         [!__STDC__]: Remove conditional code.
6689         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6690         [!__STDC__]: Remove conditional code.
6691         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6692         [!__STDC__]: Remove conditional code.
6693         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6694         [!__STDC__]: Remove conditional code.
6695         * stdlib/mul.c [__STDC__]: Make code unconditional.
6696         [!__STDC__]: Remove conditional code.
6697         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6698         [!__STDC__]: Remove conditional code.
6699         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6700         [!__STDC__]: Remove conditional code.
6701         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6702         function definition.
6703         (STRTOF): Likewise.
6704         * stdlib/strtod_l.c (__STRTOF): Likewise.
6705         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6706         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6707         (__strtol_l): Likewise.
6708         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6709         [!__STDC__]: Remove conditional code.
6710         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6711         definition.
6712         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6713         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6714         type.
6715         (__strcasecmp): Convert to prototype-style function definition.
6716         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6717         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6718         type.
6719         (__strncasecmp): Convert to prototype-style function definition.
6720         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6721         * sunrpc/xdr.c (xdr_union): Likewise.
6722         * sunrpc/xdr_array.c (xdr_array): Likewise.
6723         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6724         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6725         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6726         Likewise.
6727         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6728         Likewise.
6729         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6730         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6731         Likewise.
6732         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6733         (LOCALE_PARAM_PROTO): Likewise.
6734         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6735         argument type.
6736         (ut_argument_spec): Remove macro.
6737         (ut_argument_spec_iso): Rename to ut_argument_spec.
6738         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6739         prototype-style function definition.
6740         (memcpy_uppcase): Likewise.
6741         (__strftime_internal): Likewise.
6742         (my_strftime): Likewise.
6743         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6744         (LOCALE_PARAM_DECL): Likewise.
6745         [_LIBC] (LOCALE_PARAM): Include argument type.
6746         (__strptime_internal): Convert to prototype-style function
6747         definition.
6748         (strptime): Likewise.
6749         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6750         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6751         type.
6752         (__wcscasecmp): Convert to prototype-style function definition.
6753         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6754         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6755         type.
6756         (__wcsncasecmp): Convert to prototype-style function definition.
6758         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6759         function definition.
6760         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6761         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6762         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6763         * elf/dl-minimal.c (_itoa): Likewise.
6764         * hurd/hurdmalloc.c (malloc): Likewise.
6765         (free): Likewise.
6766         (realloc): Likewise.
6767         * inet/inet6_option.c (inet6_option_space): Likewise.
6768         (inet6_option_init): Likewise.
6769         (inet6_option_append): Likewise.
6770         (inet6_option_alloc): Likewise.
6771         (inet6_option_next): Likewise.
6772         (inet6_option_find): Likewise.
6773         * io/ftw.c (FTW_NAME): Likewise.
6774         (NFTW_NAME): Likewise.
6775         (NFTW_NEW_NAME): Likewise.
6776         (NFTW_OLD_NAME): Likewise.
6777         * libio/iofwide.c (_IO_fwide): Likewise.
6778         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6779         (_IO_str_init_static): Likewise.
6780         (_IO_str_init_readonly): Likewise.
6781         (_IO_str_overflow): Likewise.
6782         (_IO_str_underflow): Likewise.
6783         (_IO_str_count): Likewise.
6784         (_IO_str_seekoff): Likewise.
6785         (_IO_str_pbackfail): Likewise.
6786         (_IO_str_finish): Likewise.
6787         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6788         (_IO_wstr_overflow): Likewise.
6789         (_IO_wstr_underflow): Likewise.
6790         (_IO_wstr_count): Likewise.
6791         (_IO_wstr_seekoff): Likewise.
6792         (_IO_wstr_pbackfail): Likewise.
6793         (_IO_wstr_finish): Likewise.
6794         * locale/programs/localedef.c (normalize_codeset): Likewise.
6795         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6796         (add_locales_to_archive): Likewise.
6797         (delete_locales_from_archive): Likewise.
6798         * malloc/malloc.c (__libc_mallinfo): Likewise.
6799         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6800         * misc/tsearch.c (__tfind): Likewise.
6801         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6802         * nptl/pthread_attr_getdetachstate.c
6803         (__pthread_attr_getdetachstate): Likewise.
6804         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6805         Likewise.
6806         * nptl/pthread_attr_getinheritsched.c
6807         (__pthread_attr_getinheritsched): Likewise.
6808         * nptl/pthread_attr_getschedparam.c
6809         (__pthread_attr_getschedparam): Likewise.
6810         * nptl/pthread_attr_getschedpolicy.c
6811         (__pthread_attr_getschedpolicy): Likewise.
6812         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6813         Likewise.
6814         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6815         Likewise.
6816         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6817         Likewise.
6818         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6819         Likewise.
6820         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6821         (__pthread_attr_init_2_0): Likewise.
6822         * nptl/pthread_attr_setdetachstate.c
6823         (__pthread_attr_setdetachstate): Likewise.
6824         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6825         Likewise.
6826         * nptl/pthread_attr_setinheritsched.c
6827         (__pthread_attr_setinheritsched): Likewise.
6828         * nptl/pthread_attr_setschedparam.c
6829         (__pthread_attr_setschedparam): Likewise.
6830         * nptl/pthread_attr_setschedpolicy.c
6831         (__pthread_attr_setschedpolicy): Likewise.
6832         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6833         Likewise.
6834         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6835         Likewise.
6836         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6837         Likewise.
6838         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6839         Likewise.
6840         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6841         Likewise.
6842         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6843         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6844         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6845         use internal_function.
6846         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6847         prototype-style function definition.
6848         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6849         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6850         internal_function.
6851         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6852         Convert to prototype-style function definition.
6853         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6854         Likewise.
6855         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6856         Likewise.
6857         (__pthread_mutex_unlock): Likewise.
6858         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6859         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6860         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6861         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6862         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6863         * nss/makedb.c (process_input): Likewise.
6864         * posix/fnmatch.c (__strchrnul): Likewise.
6865         (__wcschrnul): Likewise.
6866         (fnmatch): Likewise.
6867         * posix/fnmatch_loop.c (FCT): Likewise.
6868         * posix/glob.c (globfree): Likewise.
6869         (__glob_pattern_type): Likewise.
6870         (__glob_pattern_p): Likewise.
6871         * posix/regcomp.c (re_compile_pattern): Likewise.
6872         (re_set_syntax): Likewise.
6873         (re_compile_fastmap): Likewise.
6874         (regcomp): Likewise.
6875         (regerror): Likewise.
6876         (regfree): Likewise.
6877         * posix/regexec.c (regexec): Likewise.
6878         (re_match): Likewise.
6879         (re_search): Likewise.
6880         (re_match_2): Likewise.
6881         (re_search_2): Likewise.
6882         (re_search_stub): Likewise.  Use internal_function
6883         (re_copy_regs): Likewise.
6884         (re_set_registers): Convert to prototype-style function
6885         definition.
6886         (prune_impossible_nodes): Likewise.  Use internal_function.
6887         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6888         prototype-style function definition.
6889         (inet_net_pton_ipv4): Likewise.
6890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6891         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6892         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6893         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6894         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6895         Make variadic.
6896         * time/strptime_l.c (localtime_r): Convert to prototype-style
6897         function definition.
6898         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6899         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6900         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6901         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6903         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6904         definition.
6905         (_ufc_doit_r): Likewise.
6906         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6907         (_ufc_output_conversion_r): Likewise.
6908         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6909         * inet/rcmd.c (rcmd_af): Likewise.
6910         (rcmd): Likewise.
6911         (ruserok_af): Likewise.
6912         (ruserok): Likewise.
6913         (ruserok2_sa): Likewise.
6914         (ruserok_sa): Likewise.
6915         (iruserok_af): Likewise.
6916         (iruserok): Likewise.
6917         (__ivaliduser): Likewise.
6918         (__validuser2_sa): Likewise.
6919         * inet/rexec.c (rexec_af): Likewise.
6920         (rexec): Likewise.
6921         * inet/ruserpass.c (ruserpass): Likewise.
6922         * locale/programs/xmalloc.c (xcalloc): Likewise.
6923         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6924         * math/w_drem.c (__drem): Likewise.
6925         * math/w_dremf.c (__dremf): Likewise.
6926         * math/w_dreml.c (__dreml): Likewise.
6927         * misc/daemon.c (daemon): Likewise.
6928         * resolv/res_debug.c (p_fqnname): Likewise.
6929         * stdlib/div.c (div): Likewise.
6930         * string/memcmp.c (memcmp_bytes): Likewise.
6931         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6932         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6934         * crypt/cert.c (main): Convert to prototype-style function
6935         definition.
6936         * io/pipe.c (__pipe): Likewise.
6937         * io/pipe2.c (__pipe2): Likewise.
6938         * misc/futimesat.c (futimesat): Likewise.
6939         * misc/utimes.c (__utimes): Likewise.
6940         * posix/execve.c (__execve): Likewise.
6941         * posix/execvp.c (execvp): Likewise.
6942         * posix/execvpe.c (__execvpe): Likewise.
6943         * posix/fexecve.c (fexecve): Likewise.
6944         * socket/socketpair.c (socketpair): Likewise.
6945         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6946         * stdlib/erand48.c (erand48): Likewise.
6947         * stdlib/erand48_r.c (__erand48_r): Likewise.
6948         * stdlib/jrand48.c (jrand48): Likewise.
6949         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6950         * stdlib/lcong48.c (lcong48): Likewise.
6951         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6952         * stdlib/nrand48.c (nrand48): Likewise.
6953         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6954         * stdlib/seed48.c (seed48): Likewise.
6955         * stdlib/seed48_r.c (__seed48_r): Likewise.
6956         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6957         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6958         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6960 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6962         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6963         * configure: Regenerated.
6964         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6965         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6966         unconditional.
6967         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6968         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6969         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6970         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6971         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6972         unconditional.
6973         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6975         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6976         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6978         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6979         function definition.
6980         * crypt/crypt_util.c (__encrypt_r): Likewise.
6981         * libio/genops.c (_IO_no_init): Likewise.
6982         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6983         (_IO_old_fopencookie): Likewise.
6984         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6985         * libio/iogetline.c (_IO_getline): Likewise.
6986         (_IO_getline_info): Likewise.
6987         * libio/iogetwline.c (_IO_getwline): Likewise.
6988         (_IO_getwline_info): Likewise.
6989         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6990         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6991         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6992         (find_entry): Likewise.
6993         (iterate_table): Likewise.
6994         (lookup): Likewise.
6995         * login/forkpty.c (forkpty): Likewise.
6996         * misc/hsearch_r.c (__hsearch_r): Likewise.
6997         * misc/select.c (__select): Likewise.
6998         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6999         Likewise.
7000         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7001         Likewise.
7002         * nptl/old_pthread_cond_timedwait.c
7003         (__pthread_cond_timedwait_2_0): Likewise.
7004         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7005         * nptl/pthread_barrierattr_getpshared.c
7006         (pthread_barrierattr_getpshared): Likewise.
7007         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7008         Likewise.
7009         * nptl/pthread_mutex_setprioceiling.c
7010         (pthread_mutex_setprioceiling): Likewise.
7011         * nptl/pthread_mutexattr_getprioceiling.c
7012         (pthread_mutexattr_getprioceiling): Likewise.
7013         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7014         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7015         Likewise.
7016         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7017         Likewise.
7018         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7019         Likewise.
7020         * socket/recvfrom.c (__recvfrom): Likewise.
7021         * socket/sendto.c (__sendto): Likewise.
7022         * socket/setsockopt.c (__setsockopt): Likewise.
7023         * stdio-common/_itoa.c (_itoa): Likewise.
7024         * stdio-common/_itowa.c (_itowa): Likewise.
7025         * stdio-common/reg-printf.c (__register_printf_specifier):
7026         Likewise.
7027         (__register_printf_function): Likewise.
7028         * stdio-common/tempname.c (__path_search): Likewise.
7029         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7030         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7031         * stdlib/random_r.c (__initstate_r): Likewise.
7032         * stdlib/setenv.c (__add_to_environ): Likewise.
7033         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7034         * streams/getpmsg.c (getpmsg): Likewise.
7035         * streams/putmsg.c (putmsg): Likewise.
7036         * streams/putpmsg.c (putpmsg): Likewise.
7037         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7038         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7039         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7040         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7041         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7042         * sunrpc/svc_udp.c (cache_get): Likewise.
7043         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7044         * sysdeps/mach/hurd/getcwd.c
7045         (__canonicalize_directory_name_internal): Likewise.
7046         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7047         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7048         * sysdeps/mach/hurd/select.c (__select): Likewise.
7049         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7050         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7051         * sysdeps/sparc/nptl/pthread_barrier_init.c
7052         (__pthread_barrier_init): Likewise.
7053         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7054         (__pthread_cond_timedwait): Likewise.
7055         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7056         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7057         Likewise.
7058         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7059         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7060         Likewise.
7061         * sysvipc/semtimedop.c (semtimedop): Likewise.
7062         * time/setitimer.c (__setitimer): Likewise.
7063         * time/strftime_l.c (emacs_strftime): Likewise.
7065 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7067         * config.make.in (have-ssp): Delete.
7068         (stack-protector): New variable.
7069         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7070         cache test for -fstack-protector-strong.  Export stack_protector to
7071         the best ssp flag.
7072         * configure: Regenerated.
7073         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7074         * nscd/Makefile (CFLAGS-nscd): Likewise.
7075         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7077 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7079         [BZ #19122]
7080         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7081         attribute_hidden.
7083 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7085         [BZ #18743]
7086         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7087         code to...
7088         (ELIDE_LOCK): ...here.
7089         (__get_new_count): New function with part of the code from
7090         __elide_lock that updates the value of adapt_count after a
7091         transaction abort.
7092         (__elided_trylock): Moved this code to...
7093         (ELIDE_TRYLOCK): ...here.
7095 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7097         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7098         * configure: Regenerate.
7099         * INSTALL: Regenerate.
7100         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7101         and tweak grammar.
7103 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7105         * login/programs/pt_chown.c: Include signal.h
7106         (main): Clear any signal mask from the parent process.
7108 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7110         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7111         * configure: Regenerated.
7112         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7113         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7114         $(gnu89-inline-CFLAGS).
7116         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7117         test.
7118         (libc_cv_asm_weakext_directive): Likewise.
7119         * configure: Regenerated.
7120         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7121         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7122         * include/libc-symbols.h
7123         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7124         #error.
7125         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7126         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7128         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7129         prototype-style function definition.
7130         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7131         * sysdeps/i386/ffs.c (__ffs): Likewise.
7132         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7133         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7134         Likewise.
7135         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7136         Likewise.
7137         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7138         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7139         Likewise.
7140         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7141         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7142         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7143         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7144         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7145         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7146         * sysdeps/mach/hurd/access.c (__access): Likewise.
7147         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7148         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7149         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7150         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7151         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7152         (cthread_getspecific): Likewise.
7153         (cthread_setspecific): Likewise.
7154         (__libc_getspecific): Likewise.
7155         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7156         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7157         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7158         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7159         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7160         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7161         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7162         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7163         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7164         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7165         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7166         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7167         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7168         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7169         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7170         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7171         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7172         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7173         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7174         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7175         * sysdeps/mach/hurd/link.c (__link): Likewise.
7176         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7177         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7178         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7179         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7180         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7181         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7182         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7183         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7184         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7185         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7186         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7187         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7188         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7189         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7190         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7191         * sysdeps/mach/hurd/send.c (__send): Likewise.
7192         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7193         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7194         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7195         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7196         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7197         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7198         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7199         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7200         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7201         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7202         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7203         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7204         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7205         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7206         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7207         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7208         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7209         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7210         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7211         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7212         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7213         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7214         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7215         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7216         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7217         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7218         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7219         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7220         * sysdeps/posix/alarm.c (alarm): Likewise.
7221         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7222         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7223         * sysdeps/posix/dup.c (__dup): Likewise.
7224         * sysdeps/posix/dup2.c (__dup2): Likewise.
7225         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7226         (main): Likewise.
7227         * sysdeps/posix/flock.c (__flock): Likewise.
7228         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7229         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7230         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7231         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7232         * sysdeps/posix/isatty.c (__isatty): Likewise.
7233         * sysdeps/posix/killpg.c (killpg): Likewise.
7234         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7235         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7236         * sysdeps/posix/raise.c (raise): Likewise.
7237         * sysdeps/posix/remove.c (remove): Likewise.
7238         * sysdeps/posix/rename.c (rename): Likewise.
7239         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7240         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7241         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7242         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7243         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7244         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7245         * sysdeps/posix/sigset.c (sigset): Likewise.
7246         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7247         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7248         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7249         * sysdeps/posix/time.c (time): Likewise.
7250         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7251         (ttyname): Likewise.
7252         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7253         * sysdeps/posix/utime.c (utime): Likewise.
7254         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7255         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7256         Likewise.
7257         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7258         (pthread_spin_trylock): Likewise.
7259         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7260         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7261         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7262         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7263         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7264         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7265         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7266         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7267         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7268         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7269         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7270         * sysdeps/s390/ffs.c (__ffs): Likewise.
7271         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7272         Likewise.
7273         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7274         Likewise.
7275         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7276         Likewise.
7277         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7278         (pthread_barrier_destroy): Likewise.
7279         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7280         (__pthread_barrier_wait): Likewise.
7281         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7282         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7283         (__pthread_barrier_wait): Likewise.
7284         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7285         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7286         (memcmp_not_common_alignment): Likewise.
7287         (MEMCMP): Likewise.
7288         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7289         (_wordcopy_fwd_dest_aligned): Likewise.
7290         (_wordcopy_bwd_aligned): Likewise.
7291         (_wordcopy_bwd_dest_aligned): Likewise.
7292         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7293         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7294         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7295         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7296         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7297         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7298         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7299         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7300         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7301         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7302         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7303         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7304         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7305         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7306         * sysdeps/unix/stime.c (stime): Likewise.
7307         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7308         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7309         Likewise.  Use internal_function.
7310         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7311         Convert to prototype-style function definition.
7312         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7313         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7314         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7315         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7316         Likewise.  Use internal_function.
7317         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7318         prototype-style function definition
7319         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7320         Likewise.
7321         (__getlogin_r): Likewise.
7322         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7323         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7324         (__pthread_cond_broadcast): Likewise.
7325         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7326         (__pthread_cond_destroy): Likewise.
7327         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7328         (__pthread_cond_init): Likewise.
7329         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7330         (__pthread_cond_signal): Likewise.
7331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7332         (__pthread_cond_wait): Likewise.
7333         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7334         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7335         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7336         Likewise.
7337         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7338         Likewise.
7339         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7340         Likewise.
7341         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7342         Likewise.
7343         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7345         (__ftruncate64): Likewise.
7346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7347         (truncate64): Likewise.
7348         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7349         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7350         (pthread_getcpuclockid): Likewise.
7351         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7354         Likewise.
7355         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7356         Likewise.
7357         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7358         Likewise.
7359         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7360         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7361         (__libc_sigaction): Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7363         Likewise.
7364         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7365         (__sigprocmask): Likewise.
7366         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7367         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7368         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7369         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7370         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7371         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7372         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7373         Likewise.
7374         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7375         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7376         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7377         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7379         Likewise.
7380         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7381         (__sigprocmask): Likewise.
7382         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7383         (cfgetispeed): Likewise.
7384         (cfsetospeed): Likewise.
7385         (cfsetispeed): Likewise.
7386         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7387         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7388         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7389         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7390         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7391         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7392         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7393         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7394         Likewise.
7395         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7396         Likewise.
7397         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7398         Likewise.
7399         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7400         Likewise.
7401         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7403 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7405         sunrpc: Rewrite with explicit TLS access using __thread.
7406         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7407         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7408         directly.
7409         (__rpc_thread_variables): Access thread_rpc_vars directly.
7410         Eliminate redundant assignment of the tvp variable.
7412 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7414         malloc: Rewrite with explicit TLS access using __thread.
7415         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7416         (tsd_setspecific, tsd_getspecific): Remove.
7417         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7418         (tsd_setspecific, tsd_getspecific): Likewise.
7419         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7420         (tsd_setspecific, tsd_getspecific): Likewise.
7421         * malloc/arena.c (thread_arena): New TLS variable.
7422         (arena_key): Remove variable.
7423         (arena_get): Use thread_arena.
7424         (arena_lookup): Remove macro.
7425         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7426         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7427         (_int_new_arena, get_free_list, reused_arena)
7428         (arena_thread_freeres): Use thread_arena.
7429         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7430         tsd_getspecific, tsd_setspecific from safety annotations.
7431         (Allocating Cleared Space): Remove arena_lookup from safety
7432         annotations.
7434 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7436         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7437         struct scratch_buffer instead of extend_alloca.
7439 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7441         * sysdeps/unix/sysv/linux/kernel-features.h
7442         (__ASSUME_SOCK_CLOEXEC): Remove.
7443         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7444         (__have_paccept): Remove unused macro.
7445         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7446         * misc/syslog.c (openlog_internal): Remove fallback code for
7447         !__ASSUME_SOCK_CLOEXEC.
7448         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7449         missing SOCK_CLOEXEC.
7450         * nscd/connections.c (have_sock_cloexec): Remove definition.
7451         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7452         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7453         !__ASSUME_SOCK_CLOEXEC.
7454         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7455         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7456         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7457         definition.
7458         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7459         code for !__ASSUME_SOCK_CLOEXEC.
7461 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7463         [BZ #18982]
7464         * manual/stdio.texi (Variable Arguments Output): Add portability
7465         note, explaining that vfprintf clobbers the va_list pointer.
7467 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7469         * math/libm-test.inc (fabs_test_data): Add more tests.
7470         (fdim_test_data): Likewise.
7471         (fma_test_data): Likewise.
7472         (fmax_test_data): Likewise.
7473         (fmin_test_data): Likewise.
7474         (fmod_test_data): Likewise.
7476 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7478         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7479         data.
7481 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7483         * math/libm-test.inc (ceil_test_data): Add more tests and more
7484         expectations for "inexact".
7485         (floor_test_data): Add more tests.
7486         (round_test_data): Likewise.
7487         (trunc_test_data): Likewise.
7489         * crypt/cert.c (good_bye): Convert to prototype-style function
7490         definition.
7491         (get8): Likewise.
7492         (put8): Likewise.
7493         * crypt/crypt-entry.c (crypt): Likewise.
7494         (__fcrypt): Likewise.
7495         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7496         (_ufc_set_bits): Likewise.
7497         (_ufc_clearmem): Likewise.
7498         (__init_des_r): Likewise.
7499         (shuffle_sb): Likewise.
7500         (shuffle_sb): Likewise.
7501         (_ufc_setup_salt_r): Likewise.
7502         (_ufc_mk_keytab_r): Likewise.
7503         (_ufc_dofinalperm_r): Likewise.
7504         (encrypt): Likewise.
7505         (__setkey_r): Likewise.
7506         (setkey): Likewise.
7507         * crypt/md5.c (md5_init_ctx): Likewise.
7508         (md5_read_ctx): Likewise.
7509         (md5_finish_ctx): Likewise.
7510         (md5_stream): Likewise.
7511         (md5_buffer): Likewise.
7512         (md5_process_bytes): Likewise.
7513         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7514         (__sha256_finish_ctx): Likewise.
7515         (__sha256_process_bytes): Likewise.
7516         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7517         (__sha512_finish_ctx): Likewise.
7518         (__sha512_process_bytes): Likewise.
7519         * ctype/isctype.c (__isctype): Likewise.
7520         * debug/backtrace.c (__backtrace): Likewise.
7521         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7522         * debug/fgets_chk.c (__fgets_chk): Likewise.
7523         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7524         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7525         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7526         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7527         * debug/memset_chk.c (__memset_chk): Likewise.
7528         * debug/strcat_chk.c (__strcat_chk): Likewise.
7529         * debug/strncat_chk.c (__strncat_chk): Likewise.
7530         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7531         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7532         * dirent/dirfd.c (dirfd): Likewise.
7533         * dirent/getdents.c (__getdirentries): Likewise.
7534         * dirent/getdents64.c (getdirentries64): Likewise.
7535         * dirent/rewinddir.c (__rewinddir): Likewise.
7536         * dirent/seekdir.c (seekdir): Likewise.
7537         * dirent/telldir.c (telldir): Likewise.
7538         * elf/sln.c (makesymlinks): Likewise.
7539         (makesymlink): Likewise.
7540         * gmon/gmon.c (__moncontrol): Likewise.
7541         (__monstartup): Likewise.
7542         (write_hist): Likewise.
7543         (write_call_graph): Likewise.
7544         (write_bb_counts): Likewise.
7545         * grp/setgroups.c (setgroups): Likewise.
7546         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7547         * inet/inet_net.c (inet_network): Likewise.
7548         * inet/inet_netof.c (inet_netof): Likewise.
7549         * inet/rcmd.c (rresvport_af): Likewise.
7550         (rresvport): Likewise.
7551         * io/access.c (__access): Likewise.
7552         * io/chdir.c (__chdir): Likewise.
7553         * io/chmod.c (__chmod): Likewise.
7554         * io/chown.c (__chown): Likewise.
7555         * io/close.c (__close): Likewise.
7556         * io/creat.c (creat): Likewise.
7557         * io/creat64.c (creat64): Likewise.
7558         * io/dup.c (__dup): Likewise.
7559         * io/dup2.c (__dup2): Likewise.
7560         * io/dup3.c (__dup3): Likewise.
7561         * io/euidaccess.c (__euidaccess): Likewise.
7562         * io/faccessat.c (faccessat): Likewise.
7563         * io/fchmod.c (__fchmod): Likewise.
7564         * io/fchmodat.c (fchmodat): Likewise.
7565         * io/fchown.c (__fchown): Likewise.
7566         * io/fchownat.c (fchownat): Likewise.
7567         * io/fcntl.c (__fcntl): Likewise.
7568         * io/flock.c (__flock): Likewise.
7569         * io/fts.c (fts_load): Likewise.
7570         (fts_close): Likewise.
7571         (fts_read): Likewise.
7572         (fts_set): Likewise.
7573         (fts_children): Likewise.
7574         (fts_build): Likewise.
7575         (fts_stat): Likewise.
7576         (fts_sort): Likewise.
7577         (fts_alloc): Likewise.
7578         (fts_lfree): Likewise.
7579         (fts_palloc): Likewise.
7580         (fts_padjust): Likewise.
7581         (fts_maxarglen): Likewise.
7582         (fts_safe_changedir): Likewise.
7583         * io/getwd.c (getwd): Likewise.
7584         * io/isatty.c (__isatty): Likewise.
7585         * io/lchown.c (__lchown): Likewise.
7586         * io/link.c (__link): Likewise.
7587         * io/linkat.c (linkat): Likewise.
7588         * io/lseek.c (__libc_lseek): Likewise.
7589         * io/mkdir.c (__mkdir): Likewise.
7590         * io/mkdirat.c (mkdirat): Likewise.
7591         * io/mkfifo.c (mkfifo): Likewise.
7592         * io/mkfifoat.c (mkfifoat): Likewise.
7593         * io/open.c (__libc_open): Likewise.
7594         * io/open64.c (__libc_open64): Likewise.
7595         * io/readlink.c (__readlink): Likewise.
7596         * io/readlinkat.c (readlinkat): Likewise.
7597         * io/rmdir.c (__rmdir): Likewise.
7598         * io/symlink.c (__symlink): Likewise.
7599         * io/symlinkat.c (symlinkat): Likewise.
7600         * io/ttyname.c (ttyname): Likewise.
7601         * io/ttyname_r.c (__ttyname_r): Likewise.
7602         * io/umask.c (__umask): Likewise.
7603         * io/unlink.c (__unlink): Likewise.
7604         * io/unlinkat.c (unlinkat): Likewise.
7605         * io/utime.c (utime): Likewise.
7606         * libio/clearerr.c (clearerr): Likewise.
7607         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7608         * libio/feof.c (_IO_feof): Likewise.
7609         * libio/feof_u.c (feof_unlocked): Likewise.
7610         * libio/ferror.c (_IO_ferror): Likewise.
7611         * libio/ferror_u.c (ferror_unlocked): Likewise.
7612         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7613         * libio/fileno.c (__fileno): Likewise.
7614         * libio/fputc.c (fputc): Likewise.
7615         * libio/fputc_u.c (fputc_unlocked): Likewise.
7616         * libio/fputwc.c (fputwc): Likewise.
7617         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7618         * libio/freopen.c (freopen): Likewise.
7619         * libio/freopen64.c (freopen64): Likewise.
7620         * libio/fseek.c (fseek): Likewise.
7621         * libio/fseeko.c (fseeko): Likewise.
7622         * libio/fseeko64.c (fseeko64): Likewise.
7623         * libio/ftello.c (__ftello): Likewise.
7624         * libio/ftello64.c (ftello64): Likewise.
7625         * libio/fwide.c (fwide): Likewise.
7626         * libio/genops.c (_IO_un_link): Likewise.
7627         (_IO_link_in): Likewise.
7628         (_IO_least_marker): Likewise.
7629         (_IO_switch_to_main_get_area): Likewise.
7630         (_IO_switch_to_backup_area): Likewise.
7631         (_IO_switch_to_get_mode): Likewise.
7632         (_IO_free_backup_area): Likewise.
7633         (_IO_switch_to_put_mode): Likewise.
7634         (__overflow): Likewise.
7635         (__underflow): Likewise.
7636         (__uflow): Likewise.
7637         (_IO_setb): Likewise.
7638         (_IO_doallocbuf): Likewise.
7639         (_IO_default_underflow): Likewise.
7640         (_IO_default_uflow): Likewise.
7641         (_IO_default_xsputn): Likewise.
7642         (_IO_sgetn): Likewise.
7643         (_IO_default_xsgetn): Likewise.
7644         (_IO_sync): Likewise.
7645         (_IO_default_setbuf): Likewise.
7646         (_IO_default_seekpos): Likewise.
7647         (_IO_default_doallocate): Likewise.
7648         (_IO_init): Likewise.
7649         (_IO_old_init): Likewise.
7650         (_IO_default_sync): Likewise.
7651         (_IO_default_finish): Likewise.
7652         (_IO_default_seekoff): Likewise.
7653         (_IO_sputbackc): Likewise.
7654         (_IO_sungetc): Likewise.
7655         (_IO_set_column): Likewise.
7656         (_IO_set_column): Likewise.
7657         (_IO_adjust_column): Likewise.
7658         (_IO_get_column): Likewise.
7659         (_IO_init_marker): Likewise.
7660         (_IO_remove_marker): Likewise.
7661         (_IO_marker_difference): Likewise.
7662         (_IO_marker_delta): Likewise.
7663         (_IO_seekmark): Likewise.
7664         (_IO_unsave_markers): Likewise.
7665         (_IO_nobackup_pbackfail): Likewise.
7666         (_IO_default_pbackfail): Likewise.
7667         (_IO_default_seek): Likewise.
7668         (_IO_default_stat): Likewise.
7669         (_IO_default_read): Likewise.
7670         (_IO_default_write): Likewise.
7671         (_IO_default_showmanyc): Likewise.
7672         (_IO_default_imbue): Likewise.
7673         (_IO_iter_next): Likewise.
7674         (_IO_iter_file): Likewise.
7675         * libio/getc.c (_IO_getc): Likewise.
7676         * libio/getwc.c (_IO_getwc): Likewise.
7677         * libio/iofclose.c (_IO_new_fclose): Likewise.
7678         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7679         * libio/iofflush.c (_IO_fflush): Likewise.
7680         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7681         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7682         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7683         * libio/iofgets.c (_IO_fgets): Likewise.
7684         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7685         * libio/iofgetws.c (fgetws): Likewise.
7686         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7687         * libio/iofopen64.c (_IO_fopen64): Likewise.
7688         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7689         (_IO_cookie_write): Likewise.
7690         (_IO_cookie_seek): Likewise.
7691         (_IO_cookie_close): Likewise.
7692         (_IO_cookie_seekoff): Likewise.
7693         (_IO_old_cookie_seek): Likewise.
7694         * libio/iofputs.c (_IO_fputs): Likewise.
7695         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7696         * libio/iofputws.c (fputws): Likewise.
7697         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7698         * libio/iofread.c (_IO_fread): Likewise.
7699         * libio/iofread_u.c (__fread_unlocked): Likewise.
7700         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7701         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7702         * libio/ioftell.c (_IO_ftell): Likewise.
7703         * libio/iofwrite.c (_IO_fwrite): Likewise.
7704         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7705         * libio/iogets.c (_IO_gets): Likewise.
7706         * libio/iopadn.c (_IO_padn): Likewise.
7707         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7708         (_IO_new_popen): Likewise.
7709         (_IO_new_proc_close): Likewise.
7710         * libio/ioputs.c (_IO_puts): Likewise.
7711         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7712         (_IO_seekoff): Likewise.
7713         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7714         (_IO_seekpos): Likewise.
7715         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7716         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7717         * libio/ioungetc.c (_IO_ungetc): Likewise.
7718         * libio/ioungetwc.c (ungetwc): Likewise.
7719         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7720         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7721         * libio/iowpadn.c (_IO_wpadn): Likewise.
7722         * libio/libc_fatal.c (__libc_fatal): Likewise.
7723         * libio/memstream.c (__open_memstream): Likewise.
7724         (_IO_mem_sync): Likewise.
7725         (_IO_mem_finish): Likewise.
7726         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7727         (_IO_old_file_close_it): Likewise.
7728         (_IO_old_file_finish): Likewise.
7729         (_IO_old_file_fopen): Likewise.
7730         (_IO_old_file_attach): Likewise.
7731         (_IO_old_file_setbuf): Likewise.
7732         (_IO_old_do_write): Likewise.
7733         (old_do_write): Likewise.
7734         (_IO_old_file_underflow): Likewise.
7735         (_IO_old_file_overflow): Likewise.
7736         (_IO_old_file_sync): Likewise.
7737         (_IO_old_file_seekoff): Likewise.
7738         (_IO_old_file_write): Likewise.
7739         (_IO_old_file_xsputn): Likewise.
7740         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7741         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7742         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7743         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7744         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7745         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7746         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7747         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7748         (_IO_old_popen): Likewise.
7749         (_IO_old_proc_close): Likewise.
7750         * libio/oldpclose.c (__old_pclose): Likewise.
7751         * libio/pclose.c (__new_pclose): Likewise.
7752         * libio/peekc.c (_IO_peekc_locked): Likewise.
7753         * libio/putc.c (_IO_putc): Likewise.
7754         * libio/putc_u.c (putc_unlocked): Likewise.
7755         * libio/putchar.c (putchar): Likewise.
7756         * libio/putchar_u.c (putchar_unlocked): Likewise.
7757         * libio/putwc.c (putwc): Likewise.
7758         * libio/putwc_u.c (putwc_unlocked): Likewise.
7759         * libio/putwchar.c (putwchar): Likewise.
7760         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7761         * libio/rewind.c (rewind): Likewise.
7762         * libio/setbuf.c (setbuf): Likewise.
7763         * libio/setlinebuf.c (setlinebuf): Likewise.
7764         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7765         * libio/vscanf.c (_IO_vscanf): Likewise.
7766         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7767         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7768         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7769         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7770         (_IO_switch_to_main_wget_area): Likewise.
7771         (_IO_switch_to_wbackup_area): Likewise.
7772         (_IO_wsetb): Likewise.
7773         (_IO_wdefault_pbackfail): Likewise.
7774         (_IO_wdefault_finish): Likewise.
7775         (_IO_wdefault_uflow): Likewise.
7776         (__woverflow): Likewise.
7777         (__wuflow): Likewise.
7778         (__wunderflow): Likewise.
7779         (_IO_wdefault_xsputn): Likewise.
7780         (_IO_wdefault_xsgetn): Likewise.
7781         (_IO_wdoallocbuf): Likewise.
7782         (_IO_wdefault_doallocate): Likewise.
7783         (_IO_switch_to_wget_mode): Likewise.
7784         (_IO_free_wbackup_area): Likewise.
7785         (_IO_switch_to_wput_mode): Likewise.
7786         (_IO_sputbackwc): Likewise.
7787         (_IO_sungetwc): Likewise.
7788         (_IO_adjust_wcolumn): Likewise.
7789         (_IO_init_wmarker): Likewise.
7790         (_IO_wmarker_delta): Likewise.
7791         (_IO_seekwmark): Likewise.
7792         (_IO_unsave_wmarkers): Likewise.
7793         * libio/wmemstream.c (open_wmemstream): Likewise.
7794         (_IO_wmem_sync): Likewise.
7795         (_IO_wmem_finish): Likewise.
7796         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7797         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7798         * locale/programs/simple-hash.c (init_hash): Likewise.
7799         (delete_hash): Likewise.
7800         (insert_entry): Likewise.
7801         (set_entry): Likewise.
7802         (next_prime): Likewise.
7803         (is_prime): Likewise.
7804         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7805         (xmalloc): Likewise.
7806         (xrealloc): Likewise.
7807         * locale/programs/xstrdup.c (xstrdup): Likewise.
7808         * localedata/collate-test.c (xstrcoll): Likewise.
7809         * localedata/xfrm-test.c (xstrcmp): Likewise.
7810         * login/getlogin_r.c (__getlogin_r): Likewise.
7811         * login/getpt.c (__posix_openpt): Likewise.
7812         * login/login_tty.c (login_tty): Likewise.
7813         * login/setlogin.c (setlogin): Likewise.
7814         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7815         (mach_msg_destroy_port): Likewise.
7816         (mach_msg_destroy_memory): Likewise.
7817         * malloc/mcheck.c (flood): Likewise.
7818         * misc/acct.c (acct): Likewise.
7819         * misc/brk.c (__brk): Likewise.
7820         * misc/chflags.c (chflags): Likewise.
7821         * misc/chroot.c (chroot): Likewise.
7822         * misc/fchflags.c (fchflags): Likewise.
7823         * misc/fstab.c (getfsspec): Likewise.
7824         (getfsfile): Likewise.
7825         * misc/fsync.c (fsync): Likewise.
7826         * misc/ftruncate.c (__ftruncate): Likewise.
7827         * misc/ftruncate64.c (__ftruncate64): Likewise.
7828         * misc/getdomain.c (getdomainname): Likewise.
7829         (getdomainname): Likewise.
7830         * misc/gethostname.c (__gethostname): Likewise.
7831         * misc/getpass.c (getpass): Likewise.
7832         * misc/getttyent.c (skip): Likewise.
7833         (value): Likewise.
7834         * misc/gtty.c (gtty): Likewise.
7835         * misc/hsearch.c (hsearch): Likewise.
7836         (hcreate): Likewise.
7837         * misc/hsearch_r.c (__hcreate_r): Likewise.
7838         (__hdestroy_r): Likewise.
7839         * misc/ioctl.c (__ioctl): Likewise.
7840         * misc/mkdtemp.c (mkdtemp): Likewise.
7841         * misc/mkostemp.c (mkostemp): Likewise.
7842         * misc/mkostemp64.c (mkostemp64): Likewise.
7843         * misc/mkostemps.c (mkostemps): Likewise.
7844         * misc/mkostemps64.c (mkostemps64): Likewise.
7845         * misc/mkstemp.c (mkstemp): Likewise.
7846         * misc/mkstemp64.c (mkstemp64): Likewise.
7847         * misc/mkstemps.c (mkstemps): Likewise.
7848         * misc/mkstemps64.c (mkstemps64): Likewise.
7849         * misc/mktemp.c (__mktemp): Likewise.
7850         * misc/preadv.c (preadv): Likewise.
7851         * misc/preadv64.c (preadv64): Likewise.
7852         * misc/pwritev.c (pwritev): Likewise.
7853         * misc/pwritev64.c (pwritev64): Likewise.
7854         * misc/readv.c (__readv): Likewise.
7855         * misc/revoke.c (revoke): Likewise.
7856         * misc/setdomain.c (setdomainname): Likewise.
7857         * misc/setegid.c (setegid): Likewise.
7858         * misc/seteuid.c (seteuid): Likewise.
7859         * misc/sethostid.c (sethostid): Likewise.
7860         * misc/sethostname.c (sethostname): Likewise.
7861         * misc/setregid.c (__setregid): Likewise.
7862         * misc/setreuid.c (__setreuid): Likewise.
7863         * misc/sstk.c (sstk): Likewise.
7864         * misc/stty.c (stty): Likewise.
7865         * misc/syscall.c (syscall): Likewise.
7866         * misc/syslog.c (setlogmask): Likewise.
7867         * misc/truncate.c (__truncate): Likewise.
7868         * misc/truncate64.c (truncate64): Likewise.
7869         * misc/ualarm.c (ualarm): Likewise.
7870         * misc/usleep.c (usleep): Likewise.
7871         * misc/ustat.c (ustat): Likewise.
7872         * misc/writev.c (__writev): Likewise.
7873         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7874         * nptl/old_pthread_cond_broadcast.c
7875         (__pthread_cond_broadcast_2_0): Likewise.
7876         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7877         Likewise.
7878         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7879         Likewise.
7880         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7881         Likewise.
7882         * nptl/pt-raise.c (raise): Likewise.
7883         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7884         Likewise.
7885         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7886         * nptl/pthread_barrierattr_destroy.c
7887         (pthread_barrierattr_destroy): Likewise.
7888         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7889         Likewise.
7890         * nptl/pthread_barrierattr_setpshared.c
7891         (pthread_barrierattr_setpshared): Likewise.
7892         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7893         Likewise.
7894         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7895         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7896         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7897         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7898         Likewise.
7899         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7900         Likewise.
7901         * nptl/pthread_condattr_getpshared.c
7902         (pthread_condattr_getpshared): Likewise.
7903         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7904         Likewise.
7905         * nptl/pthread_condattr_setpshared.c
7906         (pthread_condattr_setpshared): Likewise.
7907         * nptl/pthread_detach.c (pthread_detach): Likewise.
7908         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7909         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7910         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7911         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7912         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7913         Likewise.
7914         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7915         Likewise.
7916         * nptl/pthread_mutex_getprioceiling.c
7917         (pthread_mutex_getprioceiling): Likewise.
7918         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7919         Likewise.
7920         * nptl/pthread_mutexattr_getprotocol.c
7921         (pthread_mutexattr_getprotocol): Likewise.
7922         * nptl/pthread_mutexattr_getpshared.c
7923         (pthread_mutexattr_getpshared): Likewise.
7924         * nptl/pthread_mutexattr_getrobust.c
7925         (pthread_mutexattr_getrobust): Likewise.
7926         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7927         Likewise.
7928         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7929         Likewise.
7930         * nptl/pthread_mutexattr_setprioceiling.c
7931         (pthread_mutexattr_setprioceiling): Likewise.
7932         * nptl/pthread_mutexattr_setprotocol.c
7933         (pthread_mutexattr_setprotocol): Likewise.
7934         * nptl/pthread_mutexattr_setpshared.c
7935         (pthread_mutexattr_setpshared): Likewise.
7936         * nptl/pthread_mutexattr_setrobust.c
7937         (pthread_mutexattr_setrobust): Likewise.
7938         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7939         Likewise.
7940         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7941         Likewise.
7942         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7943         Likewise.
7944         * nptl/pthread_rwlockattr_getkind_np.c
7945         (pthread_rwlockattr_getkind_np): Likewise.
7946         * nptl/pthread_rwlockattr_getpshared.c
7947         (pthread_rwlockattr_getpshared): Likewise.
7948         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7949         Likewise.
7950         * nptl/pthread_rwlockattr_setkind_np.c
7951         (pthread_rwlockattr_setkind_np): Likewise.
7952         * nptl/pthread_rwlockattr_setpshared.c
7953         (pthread_rwlockattr_setpshared): Likewise.
7954         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7955         Likewise.
7956         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7957         Likewise.
7958         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7959         Likewise.
7960         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7961         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7962         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7963         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7964         * nptl/sem_close.c (sem_close): Likewise.
7965         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7966         * nptl/sem_init.c (__old_sem_init): Likewise.
7967         * nptl/sigaction.c (__sigaction): Likewise.
7968         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7969         * posix/_exit.c (_exit): Likewise.
7970         * posix/alarm.c (alarm): Likewise.
7971         * posix/confstr.c (confstr): Likewise.
7972         * posix/fpathconf.c (__fpathconf): Likewise.
7973         * posix/getgroups.c (__getgroups): Likewise.
7974         * posix/getpgid.c (__getpgid): Likewise.
7975         * posix/group_member.c (__group_member): Likewise.
7976         * posix/pathconf.c (__pathconf): Likewise.
7977         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7978         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7979         * posix/setgid.c (__setgid): Likewise.
7980         * posix/setpgid.c (__setpgid): Likewise.
7981         * posix/setuid.c (__setuid): Likewise.
7982         * posix/sleep.c (__sleep): Likewise.
7983         * posix/sysconf.c (__sysconf): Likewise.
7984         * posix/times.c (__times): Likewise.
7985         * posix/uname.c (__uname): Likewise.
7986         * posix/waitid.c (__waitid): Likewise.
7987         * pwd/getpw.c (__getpw): Likewise.
7988         * resolv/base64.c (b64_pton): Likewise.
7989         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7990         * resolv/gethnamaddr.c (Dprintf): Likewise.
7991         (gethostbyname): Likewise.
7992         (gethostbyname2): Likewise.
7993         (gethostbyaddr): Likewise.
7994         (_sethtent): Likewise.
7995         (_gethtbyname): Likewise.
7996         (_gethtbyname2): Likewise.
7997         (_gethtbyaddr): Likewise.
7998         (map_v4v6_address): Likewise.
7999         (map_v4v6_hostent): Likewise.
8000         (addrsort): Likewise.
8001         (ht_sethostent): Likewise.
8002         (ht_gethostbyname): Likewise.
8003         (ht_gethostbyaddr): Likewise.
8004         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8005         (inet_net_ntop_ipv4): Likewise.
8006         * resolv/inet_neta.c (inet_neta): Likewise.
8007         * resolv/inet_ntop.c (inet_ntop): Likewise.
8008         (inet_ntop4): Likewise.
8009         (inet_ntop6): Likewise.
8010         * resolv/inet_pton.c (__inet_pton): Likewise.
8011         (inet_pton4): Likewise.
8012         (inet_pton6): Likewise.
8013         * resolv/res_debug.c (loc_aton): Likewise.
8014         (loc_ntoa): Likewise.
8015         * resource/getpriority.c (__getpriority): Likewise.
8016         * resource/getrusage.c (__getrusage): Likewise.
8017         * resource/nice.c (nice): Likewise.
8018         * resource/setpriority.c (__setpriority): Likewise.
8019         * resource/setrlimit64.c (setrlimit64): Likewise.
8020         * resource/vlimit.c (vlimit): Likewise.
8021         * resource/vtimes.c (vtimes): Likewise.
8022         * rt/aio_error.c (aio_error): Likewise.
8023         * rt/aio_return.c (aio_return): Likewise.
8024         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8025         * signal/kill.c (__kill): Likewise.
8026         * signal/killpg.c (killpg): Likewise.
8027         * signal/raise.c (raise): Likewise.
8028         * signal/sigaction.c (__sigaction): Likewise.
8029         * signal/sigaddset.c (sigaddset): Likewise.
8030         * signal/sigaltstack.c (sigaltstack): Likewise.
8031         * signal/sigandset.c (sigandset): Likewise.
8032         * signal/sigblock.c (__sigblock): Likewise.
8033         * signal/sigdelset.c (sigdelset): Likewise.
8034         * signal/sigempty.c (sigemptyset): Likewise.
8035         * signal/sigfillset.c (sigfillset): Likewise.
8036         * signal/sighold.c (sighold): Likewise.
8037         * signal/sigignore.c (sigignore): Likewise.
8038         * signal/sigintr.c (siginterrupt): Likewise.
8039         * signal/sigisempty.c (sigisemptyset): Likewise.
8040         * signal/sigismem.c (sigismember): Likewise.
8041         * signal/signal.c (signal): Likewise.
8042         * signal/sigorset.c (sigorset): Likewise.
8043         * signal/sigpause.c (__sigpause): Likewise.
8044         * signal/sigpending.c (sigpending): Likewise.
8045         * signal/sigprocmask.c (__sigprocmask): Likewise.
8046         * signal/sigrelse.c (sigrelse): Likewise.
8047         * signal/sigreturn.c (__sigreturn): Likewise.
8048         * signal/sigset.c (sigset): Likewise.
8049         * signal/sigsetmask.c (__sigsetmask): Likewise.
8050         * signal/sigstack.c (sigstack): Likewise.
8051         * signal/sigsuspend.c (__sigsuspend): Likewise.
8052         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8053         * signal/sysv_signal.c (__sysv_signal): Likewise.
8054         * socket/accept.c (accept): Likewise.
8055         * socket/accept4.c (__libc_accept4): Likewise.
8056         * socket/bind.c (__bind): Likewise.
8057         * socket/connect.c (__connect): Likewise.
8058         * socket/getpeername.c (getpeername): Likewise.
8059         * socket/getsockname.c (__getsockname): Likewise.
8060         * socket/getsockopt.c (getsockopt): Likewise.
8061         * socket/listen.c (__listen): Likewise.
8062         * socket/recv.c (__recv): Likewise.
8063         * socket/recvmsg.c (__recvmsg): Likewise.
8064         * socket/send.c (__send): Likewise.
8065         * socket/sendmsg.c (__sendmsg): Likewise.
8066         * socket/shutdown.c (shutdown): Likewise.
8067         * socket/sockatmark.c (sockatmark): Likewise.
8068         * socket/socket.c (__socket): Likewise.
8069         * stdio-common/ctermid.c (ctermid): Likewise.
8070         * stdio-common/cuserid.c (cuserid): Likewise.
8071         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8072         * stdio-common/remove.c (remove): Likewise.
8073         * stdio-common/rename.c (rename): Likewise.
8074         * stdio-common/renameat.c (renameat): Likewise.
8075         * stdio-common/tempname.c (__gen_tempname): Likewise.
8076         * stdio-common/xbug.c (InitBuffer): Likewise.
8077         (AppendToBuffer): Likewise.
8078         (ReadFile): Likewise.
8079         * stdlib/a64l.c (a64l): Likewise.
8080         * stdlib/drand48_r.c (drand48_r): Likewise.
8081         * stdlib/getcontext.c (getcontext): Likewise.
8082         * stdlib/getenv.c (getenv): Likewise.
8083         * stdlib/l64a.c (l64a): Likewise.
8084         * stdlib/llabs.c (llabs): Likewise.
8085         * stdlib/lldiv.c (lldiv): Likewise.
8086         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8087         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8088         * stdlib/putenv.c (putenv): Likewise.
8089         * stdlib/random.c (__srandom): Likewise.
8090         (__initstate): Likewise.
8091         (__setstate): Likewise.
8092         * stdlib/random_r.c (__srandom_r): Likewise.
8093         (__setstate_r): Likewise.
8094         (__random_r): Likewise.
8095         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8096         * stdlib/setcontext.c (setcontext): Likewise.
8097         * stdlib/setenv.c (setenv): Likewise.
8098         (unsetenv): Likewise.
8099         * stdlib/srand48.c (srand48): Likewise.
8100         * stdlib/srand48_r.c (__srand48_r): Likewise.
8101         * stdlib/swapcontext.c (swapcontext): Likewise.
8102         * stdlib/system.c (__libc_system): Likewise.
8103         * stdlib/tst-strtod.c (expand): Likewise.
8104         * stdlib/tst-strtol.c (expand): Likewise.
8105         * stdlib/tst-strtoll.c (expand): Likewise.
8106         * streams/fattach.c (fattach): Likewise.
8107         * streams/fdetach.c (fdetach): Likewise.
8108         * streams/getmsg.c (getmsg): Likewise.
8109         * streams/isastream.c (isastream): Likewise.
8110         * string/ffs.c (__ffs): Likewise.
8111         * string/ffsll.c (ffsll): Likewise.
8112         * string/memcmp.c (memcmp_common_alignment): Likewise.
8113         (memcmp_not_common_alignment): Likewise.
8114         (MEMCMP): Likewise.
8115         * string/memcpy.c (memcpy): Likewise.
8116         * string/memmove.c (MEMMOVE): Likewise.
8117         * string/memset.c (memset): Likewise.
8118         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8119         * string/strchrnul.c (STRCHRNUL): Likewise.
8120         * string/strerror.c (strerror): Likewise.
8121         * string/strndup.c (__strndup): Likewise.
8122         * string/strverscmp.c (__strverscmp): Likewise.
8123         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8124         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8125         (clnttcp_freeres): Likewise.
8126         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8127         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8128         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8129         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8130         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8131         (xdr_callhdr): Likewise.
8132         * sunrpc/rpcinfo.c (udpping): Likewise.
8133         (tcpping): Likewise.
8134         (pstatus): Likewise.
8135         (pmapdump): Likewise.
8136         (brdcst): Likewise.
8137         (deletereg): Likewise.
8138         (getprognum): Likewise.
8139         (getvers): Likewise.
8140         (get_inet_address): Likewise.
8141         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8142         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8143         (svcudp_stat): Likewise.
8144         (svcudp_recv): Likewise.
8145         (svcudp_reply): Likewise.
8146         (svcudp_getargs): Likewise.
8147         (svcudp_freeargs): Likewise.
8148         (svcudp_destroy): Likewise.
8149         * sunrpc/xdr.c (xdr_bytes): Likewise.
8150         (xdr_netobj): Likewise.
8151         (xdr_string): Likewise.
8152         (xdr_wrapstring): Likewise.
8153         * sunrpc/xdr_float.c (xdr_float): Likewise.
8154         (xdr_double): Likewise.
8155         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8156         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8157         * sysvipc/ftok.c (ftok): Likewise.
8158         * sysvipc/msgctl.c (msgctl): Likewise.
8159         * sysvipc/msgget.c (msgget): Likewise.
8160         * sysvipc/msgrcv.c (msgrcv): Likewise.
8161         * sysvipc/msgsnd.c (msgsnd): Likewise.
8162         * sysvipc/semget.c (semget): Likewise.
8163         * sysvipc/semop.c (semop): Likewise.
8164         * sysvipc/shmat.c (shmat): Likewise.
8165         * sysvipc/shmctl.c (shmctl): Likewise.
8166         * sysvipc/shmdt.c (shmdt): Likewise.
8167         * sysvipc/shmget.c (shmget): Likewise.
8168         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8169         * termios/speed.c (cfgetospeed): Likewise.
8170         (cfgetispeed): Likewise.
8171         (cfsetospeed): Likewise.
8172         (cfsetispeed): Likewise.
8173         * termios/tcflow.c (tcflow): Likewise.
8174         * termios/tcflush.c (tcflush): Likewise.
8175         * termios/tcgetattr.c (__tcgetattr): Likewise.
8176         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8177         * termios/tcgetsid.c (tcgetsid): Likewise.
8178         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8179         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8180         * time/adjtime.c (__adjtime): Likewise.
8181         * time/dysize.c (dysize): Likewise.
8182         * time/ftime.c (ftime): Likewise.
8183         * time/getitimer.c (__getitimer): Likewise.
8184         * time/gettimeofday.c (__gettimeofday): Likewise.
8185         * time/gmtime.c (__gmtime_r): Likewise.
8186         (gmtime): Likewise.
8187         * time/localtime.c (__localtime_r): Likewise.
8188         (localtime): Likewise.
8189         * time/offtime.c (__offtime): Likewise.
8190         * time/settimeofday.c (__settimeofday): Likewise.
8191         * time/stime.c (stime): Likewise.
8192         * time/strftime_l.c (tm_diff): Likewise.
8193         (iso_week_days): Likewise.
8194         * time/strptime.c (strptime): Likewise.
8195         * time/time.c (time): Likewise.
8196         * time/timespec_get.c (timespec_get): Likewise.
8197         * time/tzset.c (tzset_internal): Likewise.
8198         (compute_change): Likewise.
8199         (__tz_compute): Likewise.
8200         * wcsmbs/btowc.c (__btowc): Likewise.
8201         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8202         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8203         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8204         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8205         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8206         * wcsmbs/wcscat.c (__wcscat): Likewise.
8207         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8208         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8209         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8210         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8211         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8212         * wcsmbs/wcslen.c (__wcslen): Likewise.
8213         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8214         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8215         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8216         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8217         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8218         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8219         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8220         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8221         * wcsmbs/wcstok.c (wcstok): Likewise.
8222         * wcsmbs/wctob.c (wctob): Likewise.
8223         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8224         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8225         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8226         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8227         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8228         * wcsmbs/wmemset.c (__wmemset): Likewise.
8229         * wctype/wcfuncs.c (__towlower): Likewise.
8230         (__towupper): Likewise.
8232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8233         (lll_unlock_elision): Add adapt_count parameter.
8235 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8237         * sysdeps/nptl/configure.ac: Do not give errors based on the
8238         results of top-level configure tests.
8239         * sysdeps/nptl/configure: Regenerated.
8241         * configure.ac (libc_cv_Bgroup): Remove configure test.
8242         * configure: Regenerated.
8243         * config.make.in (have-Bgroup): Remove variable.
8245         * configure.ac (sizeof_long_double): Remove configure test.
8246         * configure: Regenerated.
8247         * config.make.in (sizeof-long-double): Remove variable.
8249         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8250         * configure: Regenerated.
8251         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8252         variable.
8253         (exceptions): Likewise.
8254         * sysdeps/arm/configure: Regenerated.
8255         * config.make.in (exceptions): Remove variable.
8256         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8257         $(exceptions).
8258         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8259         (CFLAGS-vdprintf_chk.c): Likewise.
8260         (CFLAGS-printf_chk.c): Likewise.
8261         (CFLAGS-fprintf_chk.c): Likewise.
8262         (CFLAGS-vprintf_chk.c): Likewise.
8263         (CFLAGS-vfprintf_chk.c): Likewise.
8264         (CFLAGS-gets_chk.c): Likewise.
8265         (CFLAGS-fgets_chk.c): Likewise.
8266         (CFLAGS-fgets_u_chk.c): Likewise.
8267         (CFLAGS-fread_chk.c): Likewise.
8268         (CFLAGS-fread_u_chk.c): Likewise.
8269         (CFLAGS-wprintf_chk.c): Likewise.
8270         (CFLAGS-fwprintf_chk.c): Likewise.
8271         (CFLAGS-vwprintf_chk.c): Likewise.
8272         (CFLAGS-vfwprintf_chk.c): Likewise.
8273         (CFLAGS-fgetws_chk.c): Likewise.
8274         (CFLAGS-fgetws_u_chk.c): Likewise.
8275         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8276         (CFLAGS-fputc.c): Likewise.
8277         (CFLAGS-fputwc.c): Likewise.
8278         (CFLAGS-freopen64.c): Likewise.
8279         (CFLAGS-freopen.c): Likewise.
8280         (CFLAGS-fseek.c): Likewise.
8281         (CFLAGS-fseeko64.c): Likewise.
8282         (CFLAGS-fseeko.c): Likewise.
8283         (CFLAGS-ftello64.c): Likewise.
8284         (CFLAGS-ftello.c): Likewise.
8285         (CFLAGS-fwide.c): Likewise.
8286         (CFLAGS-genops.c): Likewise.
8287         (CFLAGS-getc.c): Likewise.
8288         (CFLAGS-getchar.c): Likewise.
8289         (CFLAGS-getwc.c): Likewise.
8290         (CFLAGS-getwchar.c): Likewise.
8291         (CFLAGS-iofclose.c): Likewise.
8292         (CFLAGS-iofflush.c): Likewise.
8293         (CFLAGS-iofgetpos64.c): Likewise.
8294         (CFLAGS-iofgetpos.c): Likewise.
8295         (CFLAGS-iofgets.c): Likewise.
8296         (CFLAGS-iofgetws.c): Likewise.
8297         (CFLAGS-iofputs.c): Likewise.
8298         (CFLAGS-iofputws.c): Likewise.
8299         (CFLAGS-iofread.c): Likewise.
8300         (CFLAGS-iofsetpos64.c): Likewise.
8301         (CFLAGS-iofsetpos.c): Likewise.
8302         (CFLAGS-ioftell.c): Likewise.
8303         (CFLAGS-iofwrite.c): Likewise.
8304         (CFLAGS-iogetdelim.c): Likewise.
8305         (CFLAGS-iogetline.c): Likewise.
8306         (CFLAGS-iogets.c): Likewise.
8307         (CFLAGS-iogetwline.c): Likewise.
8308         (CFLAGS-ioputs.c): Likewise.
8309         (CFLAGS-ioseekoff.c): Likewise.
8310         (CFLAGS-ioseekpos.c): Likewise.
8311         (CFLAGS-iosetbuffer.c): Likewise.
8312         (CFLAGS-iosetvbuf.c): Likewise.
8313         (CFLAGS-ioungetc.c): Likewise.
8314         (CFLAGS-ioungetwc.c): Likewise.
8315         (CFLAGS-oldfileops.c): Likewise.
8316         (CFLAGS-oldiofclose.c): Likewise.
8317         (CFLAGS-oldiofgetpos64.c): Likewise.
8318         (CFLAGS-oldiofgetpos.c): Likewise.
8319         (CFLAGS-oldiofsetpos64.c): Likewise.
8320         (CFLAGS-oldiofsetpos.c): Likewise.
8321         (CFLAGS-peekc.c): Likewise.
8322         (CFLAGS-putc.c): Likewise.
8323         (CFLAGS-putchar.c): Likewise.
8324         (CFLAGS-putwc.c): Likewise.
8325         (CFLAGS-putwchar.c): Likewise.
8326         (CFLAGS-rewind.c): Likewise.
8327         (CFLAGS-wfileops.c): Likewise.
8328         (CFLAGS-wgenops.c): Likewise.
8329         (CFLAGS-oldiofopen.c): Likewise.
8330         (CFLAGS-iofopen.c): Likewise.
8331         (CFLAGS-iofopen64.c): Likewise.
8332         (CFLAGS-oldtmpfile.c): Likewise.
8333         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8334         (CFLAGS-fprintf.c): Likewise.
8335         (CFLAGS-printf.c): Likewise.
8336         (CFLAGS-vfwprintf.c): Likewise.
8337         (CFLAGS-vfscanf.c): Likewise.
8338         (CFLAGS-vfwscanf.c): Likewise.
8339         (CFLAGS-fscanf.c): Likewise.
8340         (CFLAGS-scanf.c): Likewise.
8341         (CFLAGS-isoc99_vfscanf.c): Likewise.
8342         (CFLAGS-isoc99_vscanf.c): Likewise.
8343         (CFLAGS-isoc99_fscanf.c): Likewise.
8344         (CFLAGS-isoc99_scanf.c): Likewise.
8345         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8346         (CFLAGS-isoc99_fwscanf.c): Likewise.
8347         (CFLAGS-isoc99_vwscanf.c): Likewise.
8348         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8350         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8351         after mkstemp64.
8352         * login/tst-utmp.c (do_prepare): Likewise.
8353         * rt/tst-aio.c (do_prepare): Likewise.
8354         * rt/tst-aio64.c (do_prepare): Likewise.
8356 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8358         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8359         (__lll_lock_elision): Remove adapt_count decrement...
8360         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8361         (__lll_trylock_elision): Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8363         (__lll_unlock_elision): ... to here. And utilize
8364         new adapt_count parameter.
8365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8366         (__lll_unlock_elision): Update to include adapt_count
8367         parameter.
8368         (lll_unlock_elision): Pass pointer to adapt_count
8369         variable.
8371 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8373         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8374         Add elision adapt_count parameter to list of arguments.
8375         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8376         (lll_unlock_elision): Update with new parameter list
8377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8378         (lll_unlock_elision): Likewise.
8379         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8380         (lll_unlock_elision): Likewise.
8382 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8384         [BZ #19122]
8385         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8386         attribute_hidden.
8388         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8389         attribute_hidden.
8390         [IS_IN (rtld)] (__strdup): Likewise.
8391         [IS_IN (rtld)] (__strerror_r): Likewise.
8392         [IS_IN (rtld)] (__strsep_g): Likewise.
8393         [IS_IN (rtld)] (memchr): Likewise.
8394         [IS_IN (rtld)] (memcmp): Likewise.
8395         [IS_IN (rtld)] (memcpy): Likewise.
8396         [IS_IN (rtld)] (memmove): Likewise.
8397         [IS_IN (rtld)] (memset): Likewise.
8398         [IS_IN (rtld)] (rawmemchr): Likewise.
8399         [IS_IN (rtld)] (stpcpy): Likewise.
8400         [IS_IN (rtld)] (strchr): Likewise.
8401         [IS_IN (rtld)] (strcmp): Likewise.
8402         [IS_IN (rtld)] (strlen): Likewise.
8403         [IS_IN (rtld)] (strnlen): Likewise.
8404         [IS_IN (rtld)] (strsep): Likewise.
8406         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8407         attribute_hidden.
8408         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8410         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8411         attribute_hidden.
8412         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8414         * include/setjmp.h (__longjmp): Add attribute_hidden.
8415         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8417         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8418         Add attribute_hidden.
8420         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8421         [IS_IN (rtld)] (__open): Likewise.
8422         [IS_IN (rtld)] (__fcntl): Likewise.
8424         * include/dirent.h (__opendirat): Add attribute_hidden.
8425         (__getdents): Likewise.
8426         (__getdents64): Likewise.
8427         (__alloc_dir): Likewise.
8428         [IS_IN (rtld)] (__closedir): Likewise.
8429         [IS_IN (rtld)] (__fdopendir): Likewise.
8430         [IS_IN (rtld)] (__readdir): Likewise.
8431         [IS_IN (rtld)] (__readdir64): Likewise.
8432         [IS_IN (rtld)] (__rewinddir): Likewise.
8434         * include/dlfcn.h (_dl_catch_error): Moved to ...
8435         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8436         attribute_hidden.
8438         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8439         (_itoa_word): Likewise.
8441         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8442         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8443         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8444         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8445         (_dl_higher_prime_number): Likewise.
8446         (_dl_debug_printf_c): Likewise.
8447         (_dl_signal_cerror): Likewise.
8448         (_dl_receive_error): Likewise.
8449         (_dl_reloc_bad_type): Likewise.
8450         (_dl_resolve_conflicts): Likewise.
8451         (_dl_check_all_versions): Likewise.
8452         (_dl_check_map_versions): Likewise.
8453         (_dl_sort_fini): Likewise.
8454         (_dl_debug_initialize): Likewise.
8455         (_dl_init_paths): Likewise.
8456         (_dl_show_auxv): Likewise.
8457         (_dl_next_ld_env_entry): Likewise.
8458         (_dl_important_hwcaps): Likewise.
8459         (_dl_load_cache_lookup): Likewise.
8460         (_dl_update_slotinfo): Likewise.
8461         (_dl_show_scope): Likewise.
8463         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8464         attribute_hidden.
8465         (_wordcopy_fwd_dest_aligned): Likewise.
8466         (_wordcopy_bwd_aligned): Likewise.
8467         (_wordcopy_bwd_dest_aligned): Likewise.
8469         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8470         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8471         Likewise.
8472         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8473         Likewise.
8474         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8476 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8478         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8479         GCC 5 requirement.
8481 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8483         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8484         test.
8485         * sysdeps/i386/configure: Regenerated.
8486         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8487         code unconditional.
8489         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8490         test.
8491         (libc_cv_asm_popsection_directive): Likewise.
8492         * configure: Regenerated.
8493         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8494         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8495         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8496         (__make_section_unallocated): Make definition unconditional.
8497         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8498         Remove conditional definition.
8499         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8500         (__make_section_unallocated): Likewise.
8502         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8503         * configure: Regenerated.
8504         * config.make.in (static-libgcc): Remove variable.
8505         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8506         $(static-libgcc).
8507         (build-module-helper): Likewise.
8509         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8510         * configure: Regenerated.
8512 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8514         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8515         (struct char_buffer): New type.
8516         (char_buffer_start, char_buffer_size, char_buffer_error)
8517         (char_buffer_rewind, char_buffer_add): New functions.
8518         (ADDW): Remove macro, replaced by the char_buffer_add function.
8519         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8520         of extend_alloca.  Make control flow more explicit.
8522 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8524         [BZ #19137]
8525         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8526         Add -fomit-frame-pointer.
8527         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8529 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8531         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8532         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8534         only if !__GNUC_PREREQ (5,0).
8535         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8536         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8537         (INTERNAL_SYSCALL_NCS): Likewise.
8538         (LOADREGS_0): New macro for GCC 5.
8539         (ASMARGS_0): Likewise.
8540         (LOADREGS_1): Likewise.
8541         (ASMARGS_1): Likewise.
8542         (LOADREGS_2): Likewise.
8543         (ASMARGS_2): Likewise.
8544         (LOADREGS_3): Likewise.
8545         (ASMARGS_3): Likewise.
8546         (LOADREGS_4): Likewise.
8547         (ASMARGS_4): Likewise.
8548         (LOADREGS_5): Likewise.
8549         (ASMARGS_5): Likewise.
8550         (LOADREGS_6): Likewise.
8551         (ASMARGS_6): Likewise.
8553 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8555         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8556         -fomit-frame-pointer.
8557         (CFLAGS-mmap64.c): Likewise.
8558         (CFLAGS-semtimedop.c): Likewise.
8559         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8560         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8561         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8562         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8564 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8566         [BZ #18928]
8567         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8568         _dl_pointer_guard member.
8569         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8570         initializer.
8571         (security_init): Always set up pointer guard.
8572         (process_envvars): Do not process LD_POINTER_GUARD.
8574 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8576         [BZ #19134]
8577         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8578         (.LC2): Likewise.
8579         (.LC3): Likewise.
8580         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8582 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8584         [BZ #19129]
8585         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8586         r0 and r1.
8588 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8590         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8592 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8594         * include/stap-probe.h: Fix macro definition formatting.
8596 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8598         [BZ #19074]
8599         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8600         load and store num_ifs.
8602 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8604         [BZ #18822]
8605         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8606         (__sched_getaffinity_new): Add libc_hidden_proto and
8607         libc_hidden_def.
8609 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8611         [BZ #19007]
8612         * scripts/localplt.awk: Also allow GOT references.
8613         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8614         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8615         with "+ REL R_386_GLOB_DAT".
8616         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8617         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8619 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8621         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8622         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8623         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8626         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8627         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8628         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8629         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8630         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8631         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8632         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8633         Likewise.
8634         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8636 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #19125]
8639         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8640         <math_private.h> and <stdint.h>.
8641         (__llround): Avoid conversions to and from long long int, and
8642         subtractions, where those might raise spurious exceptions.
8643         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8644         <math_private.h> and <stdint.h>.
8645         (__llroundf): Avoid conversions to and from long long int, and
8646         subtractions, where those might raise spurious exceptions.
8648 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8650         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8651         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8652         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8653         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8654         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8655         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8656         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8657         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8658         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8659         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8661         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8662         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8663         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8664         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8665         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8666         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8667         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8668         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8669         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8670         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8671         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8672         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8673         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8674         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8675         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8676         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8677         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8678         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8679         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8680         (__xstat64_conv): Likewise.
8681         (__xstat32_conv): Likewise.
8683 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8686         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8687         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8688         <sysdeps/unix/sysv/linux/sysdep.h>.
8689         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8690         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8691         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8692         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8693         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8694         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8695         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8696         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8697         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8702         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8705         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8706         (sysdep-dl-routines): Add sysdep.
8707         [$(subdir) == nptl] (libpthread-routines): Likewise.
8708         [$(subdir) == rt] (librt-routines): Likewise.
8709         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8710         PIC when branching to SYSCALL_ERROR_LABEL.
8711         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8713         <sysdeps/unix/sysv/linux/sysdep.h>.
8714         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8715         (SYSCALL_ERROR_ERRNO): Removed.
8716         (SYSCALL_ERROR_HANDLER): Changed to empty.
8717         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8718         (__syscall_error): New prototype.
8719         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8720         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8722 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8724         [BZ #19124]
8725         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8726         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8727         _dl_runtime_resolve_avx.
8728         (_dl_runtime_profile_avx512): Make it a hidden alias of
8729         _dl_runtime_profile_avx.
8731 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8733         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8734         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8735         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8736         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8738         [BZ #16422]
8739         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8740         New configure test.
8741         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8742         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8743         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8744         <math_private.h> and <stdint.h>.
8745         (__llrint): Avoid conversions to long long int where those might
8746         raise spurious exceptions.
8747         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8748         <math_private.h> and <stdint.h>.
8749         (__llrintf): Avoid conversions to long long int where those might
8750         raise spurious exceptions.
8752 2015-10-12  Andreas Schwab  <schwab@suse.de>
8754         [BZ #18969]
8755         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8756         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8757         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8758         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8759         $(gen-locales).
8760         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8761         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8762         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8763         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8764         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8765         $(gen-locales).
8766         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8767         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8768         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8769         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8770         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8771         ($(objpfx)tst-ftell-active-handler.out)
8772         ($(objpfx)tst-ftell-append.out)
8773         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8774         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8775         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8776         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8777         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8778         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8779         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8780         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8781         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8782         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8783         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8784         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8785         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8786         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8787         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8788         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8789         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8790         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8791         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8792         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8793         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8794         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8795         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8796         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8797         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8798         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8799         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8800         $(gen-locales).
8801         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8802         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8803         $(gen-locales).
8804         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8805         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8806         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8807         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8808         $(gen-locales).
8809         * libio/tst_wprintf2.c (main): Use explicit locale.
8810         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8812 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8814         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8815         __msg_sig_post.
8816         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8818 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8820         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8821         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8823         * sysdeps/arm/libm-test-ulps: Regenerated.
8825         [BZ #15470]
8826         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8828         [BZ #16399]
8829         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8830         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8831         and <fix-fp-int-convert-overflow.h>.
8832         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8833         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8834         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8835         and <fix-fp-int-convert-overflow.h>.
8836         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8837         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8838         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8839         <fix-fp-int-convert-overflow.h>.
8840         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8841         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8842         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8843         <fix-fp-int-convert-overflow.h>.
8844         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8845         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8846         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8847         and <fix-fp-int-convert-overflow.h>.
8848         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8849         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8850         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8851         <limits.h> and <fix-fp-int-convert-overflow.h>.
8852         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8853         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8854         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8855         and <fix-fp-int-convert-overflow.h>.
8856         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8857         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8858         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8859         and <fix-fp-int-convert-overflow.h>.
8860         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8861         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8862         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8864 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8866         [BZ #18589]
8867         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8868         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8869         $(gen-locales).
8871 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8872             Phil Blundell <pb@pbcl.net>
8874         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8875         * nptl/tst-cancel26.c: New file.
8876         * nptl/tst-cancel27.c: Likewise.
8878 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8880         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8881         __ILP32__ isn't defined.
8882         (lrint): Likewise.
8883         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8884         (lrintf): Likewise.
8885         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8886         (lrintl): Likewise.
8887         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8888         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8889         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8891 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8894         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8896         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8897         file.
8898         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8899         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8901 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8903         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8904         configure test.
8905         * sysdeps/i386/configure: Regenerated.
8906         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8907         configure test.
8908         * sysdeps/x86_64/configure: Regenerated.
8909         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8910         Make code unconditional.
8912         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8913         test.
8914         * sysdeps/i386/configure: Regenerated.
8915         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8916         test.
8917         * sysdeps/x86_64/configure: Regenerated.
8918         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8919         Make code unconditional.
8920         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8921         Likewise.
8922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8923         Likewise.
8924         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8925         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8926         code unconditional.
8927         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8928         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8929         code unconditional.
8930         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8931         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8932         code unconditional.
8933         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8934         code unconditional.
8935         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8936         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8937         code unconditional.
8938         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8939         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8940         code unconditional.
8941         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8942         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8943         code unconditional.
8944         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8945         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8946         code unconditional.
8947         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8948         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8950         [BZ #19095]
8951         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8952         mantissa to long int before shifting left.
8954 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8956         [BZ #19094]
8957         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8958         <limits.h>.
8959         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8960         when result overflows but exception would not result from cast.
8961         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8962         <limits.h>.
8963         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8964         when result overflows but exception would not result from cast.
8965         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8966         <limits.h>.
8967         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8968         when result overflows but exception would not result from cast.
8969         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8970         <limits.h>.
8971         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8972         when result overflows but exception would not result from cast.
8973         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8974         <limits.h>.
8975         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8976         when result overflows but exception would not result from cast.
8977         * math/libm-test.inc (lrint_test_data): Add more tests.
8978         (llrint_test_data): Likewise.
8980 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8982         [BZ #18872]
8983         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8984         Move out from under [$(run-built-tests) = yes] conditional.
8985         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8986         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8988 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8990         [BZ #18589]
8991         * string/Makefile (tests): Add bug-strcoll2.
8992         (LOCALES): Add cs_CZ.UTF-8.
8993         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8995         [BZ #18589]
8996         * string/bug-strcoll2.c: New file.
8997         * locale/categories.def: Revert commit
8998         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8999         * locale/langinfo.h: Likewise.
9000         * locale/localeinfo.h: Likewise.
9001         * locale/C-collate.c: Likewise.
9002         * locale/programs/ld-collate.c (collate_output): Likewise.
9003         * string/strcoll_l.c (STRDIFF): Likewise.
9004         (STRCOLL): Likewise.
9005         * wcsmbs/wcscoll_l.c: Likewise.
9007 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9009         * math/libm-test.inc (lround_test_data): Do not expect the absence
9010         of "inexact" for some tests with non-integer arguments.
9011         (llround_test_data): Likewise.
9013         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9014         test.
9015         (libc_cv_cc_sse2avx): Likewise.
9016         * sysdeps/i386/configure: Regenerated.
9017         * sysdeps/i386/i686/multiarch/Makefile
9018         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9019         [$(subdir) = math].
9020         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9021         code unconditional.
9022         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9023         Likewise.
9024         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9025         Likewise.
9026         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9027         Likewise.
9028         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9029         test.
9030         (libc_cv_cc_sse2avx): Likewise.
9031         * sysdeps/x86_64/configure: Regenerated.
9032         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9033         unconditional.
9034         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9035         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9036         unconditional.
9037         (_dl_runtime_profile)
9038         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9039         conditional code.
9040         * sysdeps/x86_64/fpu/multiarch/Makefile
9041         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9042         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9043         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9044         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9045         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9046         * sysdeps/x86_64/fpu/multiarch/e_log.c
9047         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9048         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9049         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9050         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9051         Likewise.
9052         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9053         Likewise.
9054         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9056         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9057         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9058         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9059         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9060         (HAVE_SSE2AVX_SUPPORT): Likewise.
9062 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9064         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9065         instead of #pragma optimize.
9067 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9069         [BZ #17195]
9070         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9071         as is similarly done in systrim and _int_free already.
9073 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9075         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9077 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9079         [BZ #19088]
9080         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9081         <limits.h>.
9082         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9083         overflows but exception would not result from cast.
9084         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9085         and <limits.h>.
9086         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9087         overflows but exception would not result from cast.
9088         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9089         <limits.h>.
9090         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9091         overflows but exception would not result from cast.
9092         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9093         <limits.h>.
9094         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9095         overflows but exception would not result from cast.
9096         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9097         <limits.h>.
9098         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9099         overflows but exception would not result from cast.
9100         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9101         <limits.h>.
9102         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9103         overflows but exception would not result from cast.
9104         * math/libm-test.inc (lround_test_data): Add more tests.
9105         (llround_test_data): Likewise.
9107 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9109         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9110         (CFLAGS-ialloc.c): Ditto.
9111         (CFLAGS-scheck.c): Ditto.
9113 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9115         [BZ #19086]
9116         * manual/filesys.texi (Storage Allocation): Fix argument order for
9117         posix_fallocate64.
9119 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9121         [BZ #19085]
9122         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9123         exponent below 48 inside case for non-overflowing exponent.
9124         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9126 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9128         * iconvdata/cp737.h (from_idx): Add const.
9129         * iconvdata/cp775.h (from_idx): Likewise.
9131 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9133         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9134         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9135         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9137         [BZ #19079]
9138         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9139         file, conditioned on [!_LP64].
9140         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9141         [!_LP64] (__lround): Do not define as function or alias.
9142         [!_LP64] (lround): Likewise.
9143         [!_LP64] (__lroundl): Likewise.
9144         [!_LP64] (lroundl): Likewise.
9145         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9146         macro.
9147         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9148         Likewise.
9150 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9152         * math/libm-test.inc (lrint_test_data): Add more tests.
9153         (llrint_test_data): Likewise.
9154         (lround_test_data): Likewise.
9155         (llround_test_data): Likewise.
9157         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9158         (llrint_test_data): Add tests used for lrint.
9160         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9161         test.
9162         * sysdeps/i386/configure: Regenerated.
9163         * sysdeps/i386/i686/multiarch/Makefile
9164         [$(config-cflags-sse4) = yes]: Make code unconditional.
9165         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9166         Likewise.
9167         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9168         Likewise.
9169         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9170         test.
9171         * sysdeps/x86_64/configure: Regenerated.
9172         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9173         Make code unconditional.
9174         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9175         Likewise.
9176         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9177         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9179         * scripts/rpm2dynsym.sh: Remove file.
9181 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9183         * configure.ac (libc_cv_cxx_thread_local): Define.
9184         * configure: Regenerate.
9185         * config.make.in (have-cxx-thread_local): Define.
9186         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9187         (LDLIBS-tst-thread_local1): Define.
9188         (tests): Add tst-thread_local1.
9189         [have-cxx-thread_local != yes] (tests-unsupported): Add
9190         tst-thread_local1.
9191         * nptl/tst-thread_local1.cc: New file.
9193 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9195         [BZ #19078]
9196         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9197         (u_thres): Likewise.
9198         (__expl): Determine whether to call __kernel_standard_l based on
9199         value of result, not argument.
9201         * math/libm-test.inc (scalb_test_data): Add more expectations for
9202         the "inexact" exception.
9204         [BZ #19077]
9205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9206         0.0L for argument 1.0L.
9208         [BZ #19076]
9209         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9210         constant 0.0L when computing infinite result.
9212 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9214         [BZ #10432]
9215         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9216         malloc_usable_size.
9218 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9220         [BZ #19018]
9221         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9222         Mangle function pointer before storing it.
9223         (__call_tls_dtors): Demangle function pointer before calling it.
9225 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9227         [BZ #19012]
9228         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9229         Clean up on failure.
9231 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9233         [BZ #19071]
9234         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9235         long int variable to store possibly incremented high part of
9236         mantissa.
9237         * math/libm-test.inc (lround_test_data): Add tests used for
9238         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9239         for tests requiring 64-bit long.  Do not condition tests on
9240         [TEST_FLOAT] unnecessarily.
9241         (llround_test_data): Add tests used for lround.  Add another
9242         expectation for the "inexact" exception.  Do not condition tests
9243         on [TEST_FLOAT] unnecessarily.
9245         [BZ #887]
9246         [BZ #19049]
9247         [BZ #19050]
9248         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9249         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9250         <fix-int-fp-convert-zero.h>.
9251         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9252         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9253         <fix-int-fp-convert-zero.h>.
9254         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9255         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9256         <fix-int-fp-convert-zero.h>.
9257         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9258         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9259         <fix-int-fp-convert-zero.h>.
9260         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9261         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9262         <fix-int-fp-convert-zero.h>.
9263         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9264         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9265         <fix-int-fp-convert-zero.h>.
9266         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9267         * sysdeps/ieee754/flt-32/s_erff.c: Include
9268         <fix-int-fp-convert-zero.h>.
9269         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9270         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9271         <fix-int-fp-convert-zero.h>.
9272         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9274         <fix-int-fp-convert-zero.h>.
9275         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9277         <fix-int-fp-convert-zero.h>.
9278         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9279         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9280         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9281         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9282         file.
9283         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9285 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9289 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9291         [BZ #19059]
9292         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9293         overflowing computation.
9294         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9295         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9296         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9297         Likewise.
9298         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9299         Likewise.
9300         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9301         Likewise.
9302         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9303         Likewise.
9304         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9305         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9306         Likewise.
9307         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9308         Likewise.
9309         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9311         * nss/rewrite_field.c (__nss_rewrite_field): Use
9312         internal_function.
9313         * nss/valid_field.c (__nss_valid_field): Likewise.
9314         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9316 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9318         [BZ #18724]
9319         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9320         (__nss_invalid_field_characters, __nss_valid_field)
9321         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9322         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9323         tst-field.c: New file.
9324         * nss/Makefile (routines): Add valid_field, rewrite_field.
9325         (tests-static): Define unconditionally.
9326         (tests): Include tests-static.
9327         [build-static-nss] (tests-static): Use append.
9328         [build-static-nss] (tests): Remove modification.
9329         * nss/getent.c (print_group): Call putgrent.  Report error.
9330         (print_gshadow): Call putsgent.  Report error.
9331         (print_passwd): Call putpwent.  Report error.
9332         (print_shadow): Call putspent.  Report error.
9333         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9334         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9335         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9336         name, password, directory, shell fields for valid syntax.  Rewrite
9337         GECOS field to match syntax.
9338         * pwd/Makefile (tests): Add tst-putpwent.
9339         * pwd/tst-putpwent.c: New file.
9340         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9341         Check grName, grpasswd, gr_mem fields for valid syntax.
9342         Change loop variable i to size_t.
9343         * grp/Makefile (tests): Add tst-putgrent.
9344         * grp/tst-putgrent.c: New file.
9345         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9346         valid syntax.
9347         * shadow/Makefile (tests): Add tst-putspent.
9348         * shadow/tst-putspent.c: New file.
9349         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9350         sg_mem fields for valid syntax.
9351         * gshadow/Makefile (tests): Add tst-putsgent.
9352         * gshadow/tst-putsgent.c: New file.
9354 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9356         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9357         assembly instructions.
9359 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9361         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9362         prefix from operands.
9364 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #16347]
9367         [BZ #19046]
9368         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9369         <libc-internal.h>.
9370         (MAXLGM): Do not use diagnostic control macros.
9371         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9372         threshold for ldbl-128ibm.
9373         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9374         instead of multiplying by log then subtracting.
9375         * math/auto-libm-test-in: Add more tests of lgamma.
9376         * math/auto-libm-test-out: Regenerated.
9378         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9379         (TYPE_HEX_DIG): Likewise.
9380         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9381         precisions when printing floating-point numbers.
9382         (check_float_internal): Likewise.
9384 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9386         [BZ #16620]
9387         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9388         of log (10) rounded downward to 48 bits.
9389         (log10_low): Use corresponding low part of log (10).
9391         [BZ #19032]
9392         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9393         compute result as (x - x) / (x - x) not as 0 / 0.
9394         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9395         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9397         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9398         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9399         and expm1.
9400         * math/auto-libm-test-out: Regenerated.
9401         * math/libm-test.inc (acos_test_data): Add more tests.
9402         (asin_test_data): Likewise.
9403         (asinh_test_data): Likewise.
9404         (atan_test_data): Likewise.
9405         (atanh_test_data): Likewise.
9406         (atan2_test_data): Likewise.
9407         (cbrt_test_data): Likewise.
9408         (ceil_test_data): Likewise.
9409         (copysign_test_data): Likewise.
9410         (cos_test_data): Likewise.
9411         (cosh_test_data): Likewise.
9412         (erf_test_data): Likewise.
9413         (erfc_test_data): Likewise.
9414         (exp_test_data): Likewise.
9415         (exp10_test_data): Likewise.
9416         (exp2_test_data): Likewise.
9417         (expm1_test_data): Likewise.
9418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9420 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9422         [BZ #19006]
9423         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9424         to ...
9425         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9426         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9427         to ...
9428         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9429         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9430         to ...
9431         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9432         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9433         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9434         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9435         to ...
9436         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9437         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9438         Moved to ...
9439         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9440         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9441         Moved to ...
9442         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9444         to ...
9445         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9447         Moved to ...
9448         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9450         to ...
9451         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9452         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9453         Removed.
9454         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9455         Likewise.
9456         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9457         Likewise.
9458         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9459         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9460         Likewise.
9461         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9462         Likewise.
9463         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9464         Likewise.
9465         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9466         Likewise.
9467         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9468         Likewise.
9469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9470         Likewise.
9471         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9472         Likewise.
9473         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9474         Likewise.
9475         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9478         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9479         Likewise.
9480         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9481         Likewise.
9482         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9483         Likewise.
9484         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9485         Likewise.
9486         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9487         Likewise.
9488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9489         Replace ../i486/pthread_cond_timedwait.S with
9490         ../pthread_cond_timedwait.S.
9492 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9494         * math/libm-test.inc (acos_test_data): Refine expectations for
9495         errno and "inexact" exceptions.
9496         (acosh_test_data): Likewise.
9497         (asin_test_data): Likewise.
9498         (asinh_test_data): Likewise.
9499         (atan_test_data): Likewise.
9500         (atanh_test_data): Likewise.
9501         (atan2_test_data): Likewise.
9502         (cbrt_test_data): Likewise.
9503         (ceil_test_data): Likewise.
9504         (copysign_test_data): Likewise.
9505         (cosh_test_data): Likewise.
9506         (erf_test_data): Likewise.
9507         (erfc_test_data): Likewise.
9508         (exp_test_data): Likewise.
9509         (exp10_test_data): Likewise.
9510         (exp2_test_data): Likewise.
9511         (expm1_test_data): Likewise.
9512         (fabs_test_data): Likewise.
9513         (floor_test_data): Likewise.
9514         (fma_test_data): Likewise.
9515         (fmax_test_data): Likewise.
9516         (fmin_test_data): Likewise.
9517         (fmod_test_data): Likewise.
9518         (fpclassify_test_data): Likewise.
9519         (frexp_test_data): Likewise.
9520         (hypot_test_data): Likewise.
9521         (ilogb_test_data): Likewise.
9522         (isgreater_test_data): Likewise.
9523         (isgreaterequal_test_data): Likewise.
9524         (isinf_test_data): Likewise.
9525         (isless_test_data): Likewise.
9526         (islessequal_test_data): Likewise.
9527         (islessgreater_test_data): Likewise.
9528         (isnan_test_data): Likewise.
9529         (isnormal_test_data): Likewise.
9530         (issignaling_test_data): Likewise.
9531         (isunordered_test_data): Likewise.
9532         (j0_test_data): Likewise.
9533         (j1_test_data): Likewise.
9534         (jn_test_data): Likewise.
9535         (lgamma_test_data): Likewise.
9536         (lrint_test_data): Likewise.
9537         (llrint_test_data): Likewise.
9538         (log_test_data): Likewise.
9539         (log10_test_data): Likewise.
9540         (log1p_test_data): Likewise.
9541         (log2_test_data): Likewise.
9542         (logb_test_data): Likewise.
9543         (lround_test_data): Likewise.
9544         (llround_test_data): Likewise.
9545         (modf_test_data): Likewise.
9546         (nearbyint_test_data): Likewise.
9547         (nextafter_test_data): Likewise.
9548         (nexttoward_test_data): Likewise.
9549         (pow_test_data): Likewise.
9550         (remainder_test_data): Likewise.
9551         (remquo_test_data): Likewise.
9552         (rint_test_data): Likewise.
9553         (round_test_data): Likewise.
9554         (signbit_test_data): Likewise.
9555         (sinh_test_data): Likewise.
9556         (sqrt_test_data): Likewise.
9557         (tanh_test_data): Likewise.
9558         (tgamma_test_data): Likewise.
9559         (trunc_test_data): Likewise.
9560         (y0_test_data): Likewise.
9561         (y1_test_data): Likewise.
9562         (yn_test_data): Likewise.
9563         (significand_test_data): Likewise.
9565 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9567         * manual/filesys.texi (Storage Allocation): Document that
9568         posix_fallocate emulation fails when fd is open with O_WRONLY.
9570 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9572         [BZ #19016]
9573         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9574         allow more cases with X^2 + Y^2 >= 0.5.
9575         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9576         normal element in sum instead of special-casing based on values of
9577         arguments.
9578         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9579         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9580         -1 as normal element in sum instead of special-casing based on
9581         values of arguments.
9582         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9583         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9584         (__x2y2m1): Update comment.
9585         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9586         as normal element in sum instead of special-casing based on values
9587         of arguments.
9588         * math/s_clog.c (__clog): Handle more cases using log1p without
9589         hypot.
9590         * math/s_clog10.c (__clog10): Likewise.
9591         * math/s_clog10f.c (__clog10f): Likewise.
9592         * math/s_clog10l.c (__clog10l): Likewise.
9593         * math/s_clogf.c (__clogf): Likewise.
9594         * math/s_clogl.c (__clogl): Likewise.
9595         * math/auto-libm-test-in: Add more tests of clog and clog10.
9596         * math/auto-libm-test-out: Regenerated.
9597         * sysdeps/i386/fpu/libm-test-ulps: Update.
9598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9600 2015-09-28  Martin Sebor  <msebor@redhat.com>
9602         [BZ #18969]
9603         * string/Makefile (LOCALES): Define.
9604         (gen-locales.mk): Include.
9605         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9606         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9607         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9608         on setlocale failure.
9610 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9612         [BZ #18985]
9613         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9614         (__strftime_internal): Likewise.
9615         * time/tst-strftime.c (do_bz18985): New test.
9616         (do_test): Call it.
9618 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9620         [BZ #18956]
9621         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9622         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9623         extracting high part.
9624         * math/auto-libm-test-in: Add another test of pow.
9625         * math/auto-libm-test-out: Regenerated.
9626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9628 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9630         [BZ #18825]
9631         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9632         New macro.
9633         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9634         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9635         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9636         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9637         DBL_NARROW_EVAL, reloading the PIC register as needed.
9638         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9639         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9640         FLT_NARROW_EVAL.  Use separate return path for case when first
9641         argument is NaN.
9642         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9643         DEFINE_LDBL_MIN.
9644         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9645         PIC register.
9646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9647         math_check_force_underflow_nonneg.
9648         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9649         underflow for subnormal result.
9650         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9651         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9652         math_check_force_underflow_nonneg.
9653         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9654         math_check_force_underflow.
9655         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9656         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9657         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9658         DEFINE_LDBL_MIN.
9659         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9660         * math/auto-libm-test-in: Add more tests of pow.
9661         * math/auto-libm-test-out: Regenerated.
9663 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9665         * nss/bug17079.c (init_test_items): Add diagnostic for
9666         inconsistent entries.
9667         (test_buffer_size): Skip inconsistent entries.
9669 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9671         [BZ #13304]
9672         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9673         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9674         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9676         [BZ #13304]
9677         * sysdeps/microblaze/s_fma.c: New file.
9678         * sysdeps/microblaze/s_fmaf.c: Likewise.
9679         * sysdeps/microblaze/sfp-machine.h: Likewise.
9681 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9683         [BZ #17250]
9684         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9685         member.
9687 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #18803]
9690         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9691         (MO): New macro.
9692         (__ieee754_hypot) [PIC]: Load PIC register.
9693         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9694         DBL_NARROW_EVAL.
9695         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9696         math_check_force_underflow_nonneg in case where result might be
9697         tiny.
9698         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9699         Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9701         Likewise.
9702         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9703         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9704         * math/auto-libm-test-in: Add more tests of hypot.
9705         * math/auto-libm-test-out: Regenerated.
9707 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9709         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9711 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9713         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9714         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9715         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9716         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9717         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9718         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9719         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9721         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9722         LOAD_PIC_REG.
9724         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9725         (FLT_CHECK_FORCE_UFLOW): Likewise.
9726         (DBL_CHECK_FORCE_UFLOW): Likewise.
9727         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9728         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9729         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9730         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9731         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9732         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9733         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9734         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9735         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9736         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9737         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9738         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9739         (flt_min): Replace with use of DEFINE_FLT_MIN.
9740         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9741         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9742         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9743         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9744         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9745         (flt_min): Replace with use of DEFINE_FLT_MIN.
9746         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9747         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9748         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9749         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9750         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9751         (flt_min): Replace with use of DEFINE_FLT_MIN.
9752         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9753         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9754         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9755         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9756         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9757         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9758         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9759         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9760         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9761         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9762         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9763         (flt_min): Replace with use of DEFINE_FLT_MIN.
9764         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9765         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9766         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9767         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9768         main computation.
9769         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9770         (flt_min): Replace with use of DEFINE_FLT_MIN.
9771         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9772         main computation.
9773         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9774         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9775         (MO): New macro.
9776         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9777         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9778         (flt_min): Replace with use of DEFINE_FLT_MIN.
9779         (MO): New macro.
9780         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9781         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9782         (__log1pl): Use MO.
9784         [BZ #19003]
9785         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9786         $(config-cflags-nofma).
9788 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9790         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9792 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9794         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9795         (TWO127): Likewise.
9797         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9798         (min_of_type): Likewise.
9799         (math_check_force_underflow): Likewise.
9800         (math_check_force_underflow_nonneg): Likewise.
9801         (math_check_force_underflow_complex): Likewise.
9802         * math/e_exp2l.c (__ieee754_exp2l): Use
9803         math_check_force_underflow_nonneg.
9804         * math/k_casinh.c (__kernel_casinh): Likewise.
9805         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9806         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9807         * math/s_catan.c (__catan): Use
9808         math_check_force_underflow_complex.
9809         * math/s_catanf.c (__catanf): Likewise.
9810         * math/s_catanh.c (__catanh): Likewise.
9811         * math/s_catanhf.c (__catanhf): Likewise.
9812         * math/s_catanhl.c (__catanhl): Likewise.
9813         * math/s_catanl.c (__catanl): Likewise.
9814         * math/s_ccosh.c (__ccosh): Likewise.
9815         * math/s_ccoshf.c (__ccoshf): Likewise.
9816         * math/s_ccoshl.c (__ccoshl): Likewise.
9817         * math/s_cexp.c (__cexp): Likewise.
9818         * math/s_cexpf.c (__cexpf): Likewise.
9819         * math/s_cexpl.c (__cexpl): Likewise.
9820         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9821         * math/s_clog10.c (__clog10): Likewise.
9822         * math/s_clog10f.c (__clog10f): Likewise.
9823         * math/s_clog10l.c (__clog10l): Likewise.
9824         * math/s_clogf.c (__clogf): Likewise.
9825         * math/s_clogl.c (__clogl): Likewise.
9826         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9827         * math/s_csinf.c (__csinf): Likewise.
9828         * math/s_csinh.c (__csinh): Likewise.
9829         * math/s_csinhf.c (__csinhf): Likewise.
9830         * math/s_csinhl.c (__csinhl): Likewise.
9831         * math/s_csinl.c (__csinl): Likewise.
9832         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9833         * math/s_csqrtf.c (__csqrtf): Likewise.
9834         * math/s_csqrtl.c (__csqrtl): Likewise.
9835         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9836         * math/s_ctanf.c (__ctanf): Likewise.
9837         * math/s_ctanh.c (__ctanh): Likewise.
9838         * math/s_ctanhf.c (__ctanhf): Likewise.
9839         * math/s_ctanhl.c (__ctanhl): Likewise.
9840         * math/s_ctanl.c (__ctanl): Likewise.
9841         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9842         instead of volatile.
9843         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9844         math_check_force_underflow.
9845         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9846         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9847         volatile when forcing underflow.
9848         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9849         math_check_force_underflow_nonneg.
9850         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9851         Likewise.
9852         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9853         math_check_force_underflow.
9854         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9855         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9856         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9857         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9858         math_check_force_underflow_nonneg.
9859         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9860         math_check_force_underflow.
9861         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9863         instead of volatile.
9864         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9865         math_check_force_underflow.
9866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9867         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9868         math_check_force_underflow_nonneg.
9869         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9870         math_check_force_underflow.
9871         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9872         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9873         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9874         math_check_force_underflow_nonneg.
9875         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9876         Likewise.
9877         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9878         math_check_force_underflow.
9879         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9880         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9881         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9882         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9883         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9884         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9885         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9886         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9887         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9888         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9889         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9890         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9891         Likewise.
9892         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9893         math_check_force_underflow_nonneg.
9894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9895         Likewise.
9896         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9897         math_check_force_underflow.
9898         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9899         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9900         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9901         Likewise.
9902         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9903         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9904         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9905         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9906         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9907         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9909         instead of volatile.
9910         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9911         math_check_force_underflow.
9912         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9914         math_check_force_underflow.
9915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9916         Likewise.
9917         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9918         Use math_check_force_underflow_nonneg.
9919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9920         math_check_force_underflow.
9921         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9922         Likewise.
9923         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9924         Likewise.
9925         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9926         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9927         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9928         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9930         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9931         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9932         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9934         math_check_force_underflow_nonneg.
9935         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9936         math_check_force_underflow.
9937         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9938         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9939         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9940         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9941         math_check_force_underflow_nonneg.
9942         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9943         math_check_force_underflow.
9944         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9946         instead of volatile.
9947         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9948         math_check_force_underflow.
9950         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9951         * stdlib/strtod_l.c: Include <math_private.h>.
9952         (overflow_value): Use math_narrow_eval.
9953         (underflow_value): Likewise.
9954         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9955         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9956         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9957         (__ieee754_gamma_r): Likewise.
9958         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9959         Likewise.
9960         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9961         Likewise.
9962         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9963         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9964         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9965         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9966         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9967         (__ieee754_gammaf_r): Likewise.
9968         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9969         Likewise.
9970         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9971         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9972         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9973         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9974         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9975         volatile.
9976         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9977         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9978         math_narrow_eval.
9979         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9980         Likewise.
9981         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9982         Likewise.
9983         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9984         Likewise.
9985         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9986         volatile.
9987         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9988         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9989         math_narrow_eval.
9990         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9991         Likewise.
9992         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9993         Likewise.
9995 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9997         * nptl/Versions: Remove ignored symbols.
9999 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10001         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10002         * nss/Makefile (tests): Update.
10004 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10006         * nss/bug18287.c: New file.
10007         * nss/Makefile (tests): Add bug18287.
10009 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10011         * mach/Versions (__mach_host_self_): Add symbol.
10013 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10015         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10016         vm_page_size.
10018 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10020         Really fix sysdeps/i386/fpu/s_scalbn.S build
10022         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10023         (libc: GLIBC_2_22): Remove unused version set.
10025 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10027         * config.make.in (enable-timezone-tools): New variable.
10028         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10029         (enable_timezone_tools): Export to generated files.
10030         * configure: Regenerate.
10031         * INSTALL: Regenerate.
10032         * manual/install.texi (--disable-timezone-tools): Document new flag.
10033         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10034         ifeq ($(enable-timezone-tools),yes) check.
10036 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10038         * timezone/Makefile: Revert previous change.
10040         [BZ #18980]
10041         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10042         (DEFINE_DBL_MIN): Likewise.
10043         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10044         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10045         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10046         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10047         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10048         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10049         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10050         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10051         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10052         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10053         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10054         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10055         (flt_min): Replace with use of DEFINE_FLT_MIN.
10056         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10057         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10059         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10060         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10061         (flt_min): Replace with use of DEFINE_FLT_MIN.
10062         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10063         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10064         (flt_min): Replace with use of DEFINE_FLT_MIN.
10065         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10066         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10067         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10068         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10069         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10070         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10071         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10072         (__ieee754_pow): Use DBL_NARROW_EVAL.
10073         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10074         (__ieee754_powf): Use FLT_NARROW_EVAL.
10075         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10076         (__ieee754_expf_sse2): Convert double-precision result to single
10077         precision.
10078         * sysdeps/i386/fpu/libm-test-ulps: Update.
10080 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10082         * timezone/Makefile: Ignore unused variable errors due to private.h
10083         (time_t_min) and (time_t_max).
10084         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10085         Likewise.
10087 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10089         [BZ #18981]
10090         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10091         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10092         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10093         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10094         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10095         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10096         (__scalbn): Use DBL_NARROW_EVAL.
10097         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10098         (__scalbnf): Use FLT_NARROW_EVAL.
10100 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10102         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10103         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10104         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10105         * stdio-common/printf_fp.c (___printf_fp):
10106         Use signbit to get the sign. Use isinf macro to allow inlining.
10107         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10108         * stdio-common/printf_size.c (__printf_size): Likewise.
10110 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10112         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10114 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10116         [BZ #18980]
10117         * sysdeps/generic/math_private.h: Include <float.h>.
10118         (math_narrow_eval): New macro.
10119         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10120         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10121         math_narrow_eval on overflowing return value.
10122         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10123         Likewise.
10124         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10125         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10126         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10127         Likewise.
10128         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10130 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10132         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10133         * math/Makefile: Remove isinf_ns.c.
10134         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10135         * math/multc3.c (__multc3): Likewise.
10136         * math/s_casin.c (__casin): Likewise.
10137         * math/s_casinf.c (__casinf): Likewise.
10138         * math/s_casinl.c (__casinl): Likewise.
10139         * math/s_cproj.c (__cproj): Likewise.
10140         * math/s_cprojf.c (__cprojf): Likewise.
10141         * math/s_cprojl.c (__cprofl): Likewise.
10142         * math/s_ctan.c (__ctan): Likewise.
10143         * math/s_ctanf.c (__ctanf): Likewise.
10144         * math/s_ctanh.c (__ctanh): Likewise.
10145         * math/s_ctanhf.c (__ctanhf): Likewise.
10146         * math/s_ctanhl.c (__ctanhl): Likewise.
10147         * math/s_ctanl.c (__ctanl): Likewise.
10148         * math/w_fmod.c (__fmod): Likewise.
10149         * math/w_fmodf.c (__fmodf): Likewise.
10150         * math/w_fmodl.c (_fmodl): Likewise.
10151         * math/w_remainder.c (__remainder): Likewise.
10152         * math/w_remainderf.c (__remainderf): Likewise.
10153         * math/w_remainderl.c (__remainderl): Likewise.
10154         * math/w_scalb.c (__scalb): Likewise.
10155         * math/w_scalbf.c (__scalbf): Likewise.
10156         * math/w_scalbl.c (__scalbl): Likewise.
10157         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10158         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10159         with isinf.
10160         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10161         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10162         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10163         __isinf_nsf with isinf.
10164         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10165         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10166         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10167         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10168         with isinf.
10169         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10170         __isinf_nsl with isinf.
10171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10172         with isinf.
10173         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10174         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10175         __isinf_nsl with isinf.
10176         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10177         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10178         with isinf.
10180 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10182         * resolv/base64.c (rcsid): Remove unused static.
10183         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10184         static.  (tqpi1): Likewise.
10185         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10186         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10187         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10188         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10192         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10193         Likewise.
10195 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10197         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10198         <nptl/pthreadP.h>.
10199         (_longjmp_unwind): Use __libc_ptf_call.
10200         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10202 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10204         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10205         * sysdeps/arm/__longjmp.S: Likewise.
10207 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10209         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10210         Use __builtin_signbit.
10211         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10212         Use __builtin_signbitf.
10213         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10214         Use __builtin_signbitl.
10215         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10216         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10218 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10220         [BZ #15367]
10221         [BZ #17441]
10223         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10224         * math/math.h (fpclassify): Use __builtin_fpclassify when
10225         available.  (signbit): Use __builtin_signbit(f/l).
10226         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10227         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10228         (isinf): Use __builtin_isinf_sign.
10230 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10232         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10233         * benchtests/bench-math-inlines.c: New benchmark.
10234         * benchtests/bench-util.h: New file.
10235         * benchtests/bench-util.c: New file.
10236         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10238 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10240         * elf/tst-dlmopen1.c: Define TEST_SO.
10241         (do_test): Use TEST_SO.
10243         * elf/dl-load.c: Include libc-internal.h.
10244         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10246 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10248         [BZ #17887]
10249         * time/strptime_l.c (__strptime_internal): Make %z accept
10250         [+-]HH:MM time zones.
10252 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10254         [BZ #17886]
10255         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10256         valid time zone.
10258 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10260         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10261         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10262         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10263         (__ASSUME_FDATASYNC): Delete.
10265 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10267         * conform/linknamespace.pl: Require weak undefined symbols to be
10268         in the standard namespace.
10269         (%strong_syms): Rename to %seen_syms.
10270         (%strong_seen): Rename to %seen_where.
10272 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10274         [BZ #18970]
10275         * misc/error.c (error): Replace pthread_setcancelstate with
10276         __pthread_setcancelstate.
10277         (error_at_line): Likewise.
10278         * posix/wordexp.c (parse_comm): Likewise.
10279         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10280         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10281         (__pthread_setcancelstate): This.
10282         (pthread_setcancelstate): Add an alias.
10283         * nptl/nptl-init.c (pthread_functions): Replace
10284         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10285         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10286         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10287         hidden_proto.
10288         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10289         it with hidden_def.
10290         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10291         (pthread_setcancelstate): Renamed to ...
10292         (__pthread_setcancelstate): This.
10293         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10294         __libc_ptf_call with __pthread_setcancelstate.
10296 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10297             Andreas Schwab  <schwab@suse.de>
10299         [BZ #17118]
10300         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10301         result when imaginary part of argument is infinite using sine and
10302         cosine.
10303         * math/s_ctanf.c (__ctanf): Likewise.
10304         * math/s_ctanl.c (__ctanl): Likewise.
10305         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10306         of result when real part of argument is infinite using sine and
10307         cosine.
10308         * math/s_ctanhf.c (__ctanhf): Likewise.
10309         * math/s_ctanhl.c (__ctanhl): Likewise.
10310         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10311         (ctanh_test_data): Add more tests of ctanh.
10313 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #15384]
10316         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10317         bit-mask as in subtraction.
10318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10319         Likewise.
10320         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10321         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10324         [BZ #18951]
10325         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10326         underflow exception for small results.
10327         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10328         Likewise.
10329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10330         Likewise.
10331         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10332         Likewise.
10333         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10334         Likewise.
10335         * math/auto-libm-test-in: Add more tests of tgamma.
10336         * math/auto-libm-test-out: Regenerated.
10338 2015-09-17  Andreas Schwab  <schwab@suse.de>
10340         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10342 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10344         [BZ #18977]
10345         * math/bits/mathcalls.h
10346         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10347         not declare.
10348         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10349         Likewise.
10350         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10351         Likewise.
10352         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10353         Likewise.
10354         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10355         Likewise.
10356         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10357         Likewise.
10358         * conform/data/math.h-data
10359         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10360         function.
10361         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10362         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10363         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10364         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10365         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10366         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10367         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10368         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10369         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10370         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10371         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10373         [BZ #6803]
10374         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10375         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10376         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10377         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10378         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10379         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10380         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10381         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10382         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10384         Likewise.
10385         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10386         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10387         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10388         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10389         long_double_symbol calls.
10390         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10391         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10392         strong alias of __ldexpl.
10393         (scalbnl): Define using long_double_symbol.
10394         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10395         Remove alias.
10396         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10397         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10398         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10399         (scalbln_test_data): Add more errno expectations.
10401 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10403         Cache the host port like we cache the task port.  This way we do not
10404         need to call the kernel just to get the port.  Furthermore, we no
10405         longer increase the reference count on every invocation of
10406         `mach_host_self'.
10408         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10409         Protect declarations against the macro expansion.
10410         * mach/mach_init.c (__mach_host_self_): New variable.
10411         (mach_init): Initialize `__mach_host_self_'.
10412         * mach/mach_init.h (__mach_host_self_): New declaration.
10413         (__mach_host_self, mach_host_self): New macros.
10414         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10415         Release reference.
10417 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10419         [BZ #4404]
10420         * po/de.po: Update from Translation Project.
10422         [BZ #16415]
10423         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10424         (__expm1l): Remove code to handle positive infinity and overflow.
10425         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10426         variable.
10427         (__expm1l): Remove code to handle positive infinity and overflow.
10429 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10430             Paul Pluzhnikov  <ppluzhnikov@google.com>
10432         [BZ #18872]
10433         * stdio-common/Makefile (tst-printf-bz18872): New test.
10434         (tst-printf-bz18872-mem.out): Likewise.
10435         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10436         * stdio-common/vfprintf.c: Fix memory leaks.
10438 2015-09-16  Andreas Schwab  <schwab@suse.de>
10440         [BZ #17244]
10441         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10442         Remove extra va_start/va_end calls.
10444         [BZ #17243]
10445         * posix/execl.c (execl): Add missing va_end.
10446         * posix/execle.c (execle): Likewise.
10447         * posix/execlp.c (execlp): Likewise.
10449 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10451         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10452         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10454 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10456         [BZ #18967]
10457         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10458         undefine around includes of <bits/mathcalls.h>.
10459         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10460         not declare function.
10461         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10462         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10463         (scalb): Likewise.
10464         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10465         not define macro.
10466         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10467         variable.
10468         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10469         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10470         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10472         [BZ #18857]
10473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10474         return non-finite argument without doing ordered comparisons on
10475         it.
10477         [BZ #16296]
10478         * math/fenv.h (fegetround): Use __attribute_pure__.
10479         * include/fenv.h (__fegetround): Likewise.
10481         [BZ #18595]
10482         * math/s_ctan.c (__ctan): Force underflow exception for results
10483         whose real or imaginary part has small absolute value.
10484         * math/s_ctanf.c (__ctanf): Likewise.
10485         * math/s_ctanh.c (__ctanh): Likewise.
10486         * math/s_ctanhf.c (__ctanhf): Likewise.
10487         * math/s_ctanhl.c (__ctanhl): Likewise.
10488         * math/s_ctanl.c (__ctanl): Likewise.
10489         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10490         and ctanh.  Add more tests of ctan and ctanh.
10492         [BZ #15918]
10493         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10494         handling of cases where one argument is an infinity.
10496         [BZ #18875]
10497         [BZ #18966]
10498         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10499         (MO): New macro.
10500         (__ieee754_exp10): For small results, force underflow exception
10501         and remove excess range and precision from return value.
10502         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10503         (MO): New macro.
10504         (__ieee754_exp10f): For small results, force underflow exception
10505         and remove excess range and precision from return value.
10506         * math/auto-libm-test-in: Add more tests of exp10.
10507         * math/auto-libm-test-out: Regenerated.
10509 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10511         [BZ #18875]
10512         [BZ #18961]
10513         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10514         (MO): New macro.
10515         (__ieee754_exp): For small results, force underflow exception and
10516         remove excess range and precision from return value.
10517         (__exp_finite): Likewise.
10518         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10519         (MO): New macro.
10520         (__ieee754_expf): For small results, force underflow exception and
10521         remove excess range and precision from return value.
10522         (__expf_finite): Likewise.
10523         * math/auto-libm-test-in: Add more tests of exp.
10524         * math/auto-libm-test-out: Regenerated.
10526         [BZ #16521]
10527         [BZ #18875]
10528         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10529         small results.
10530         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10531         (MO): New macro.
10532         (__ieee754_exp2): For small results, force underflow exception and
10533         remove excess range and precision from return value.
10534         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10535         (MO): New macro.
10536         (__ieee754_exp2f): For small results, force underflow exception
10537         and remove excess range and precision from return value.
10538         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10539         (MO): New macro.
10540         (__ieee754_exp2l): Force underflow exception for small results.
10541         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10542         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10543         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10544         (MO): New macro.
10545         (__ieee754_exp2l): Force underflow exception for small results.
10546         * math/auto-libm-test-in: Add more tests or exp2.
10547         * math/auto-libm-test-out: Regenerated.
10549 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10551         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10553         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10554         /dev/null.
10556 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10558         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10559         io fs process)): Drop spurious backslash.
10561 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10563         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10564         Use sysinfo system call instead of parsing /proc/meminfo.
10565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10566         Likewise.
10568 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10570         [BZ #16985]
10571         * programs/localedef.c (main): Display argv[remaining] when
10572         output_path is NULL.
10574 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10576         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10577         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10578         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10579         tanh.
10580         * math/auto-libm-test-out: Regenerated.
10581         * sysdeps/i386/fpu/libm-test-ulps: Update.
10582         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10583         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10586 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10588         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10589         Use 'override' keyword to freeze the value here, preventing
10590         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10592 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10594         [BZ #14912]
10595         * sysdeps/aarch64/bits/atomic.h: Move to ...
10596         * sysdeps/aarch64/atomic-machine.h: ...here.
10597         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10598         _AARCH64_ATOMIC_MACHINE_H.
10599         * sysdeps/alpha/bits/atomic.h: Move to ...
10600         * sysdeps/alpha/atomic-machine.h: ...here.
10601         * sysdeps/arm/bits/atomic.h: Move to ...
10602         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10603         * bits/atomic.h: Move to ...
10604         * sysdeps/generic/atomic-machine.h: ...here.
10605         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10606         * sysdeps/i386/bits/atomic.h: Move to ...
10607         * sysdeps/i386/atomic-machine.h: ...here.
10608         * sysdeps/ia64/bits/atomic.h: Move to ...
10609         * sysdeps/ia64/atomic-machine.h: ...here.
10610         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10611         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10612         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10613         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10614         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10615         * sysdeps/microblaze/bits/atomic.h: Move to ...
10616         * sysdeps/microblaze/atomic-machine.h: ...here.
10617         * sysdeps/mips/bits/atomic.h: Move to ...
10618         * sysdeps/mips/atomic-machine.h: ...here.
10619         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10620         * sysdeps/powerpc/bits/atomic.h: Move to ...
10621         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10622         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10623         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10624         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10625         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10626         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10627         <atomic-machine.h> instead of <bits/atomic.h>.
10628         * sysdeps/s390/bits/atomic.h: Move to ...
10629         * sysdeps/s390/atomic-machine.h: ...here.
10630         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10631         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10632         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10633         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10634         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10635         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10636         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10637         * sysdeps/tile/bits/atomic.h: Move to ...
10638         * sysdeps/tile/atomic-machine.h: ...here.
10639         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10640         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10641         <sysdeps/tile/atomic-machine.h> instead of
10642         <sysdeps/tile/bits/atomic.h>.
10643         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10644         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10645         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10646         <sysdeps/tile/atomic-machine.h> instead of
10647         <sysdeps/tile/bits/atomic.h>.
10648         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10649         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10650         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10651         <sysdeps/arm/atomic-machine.h> instead of
10652         <sysdeps/arm/bits/atomic.h>.
10653         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10654         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10655         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10656         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10657         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10658         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10659         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10660         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10661         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10662         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10663         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10664         * sysdeps/x86_64/bits/atomic.h: Move to ...
10665         * sysdeps/x86_64/atomic-machine.h: ...here.
10666         * include/atomic.h: Include <atomic-machine.h> instead of
10667         <bits/atomic.h>.
10669         * sysdeps/mips/mips32/libm-test-ulps: Update.
10670         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10672         [BZ #18952]
10673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10674         not convert non-integer negative arguments to int to determine the
10675         value of signgam.
10676         * math/auto-libm-test-in: Add more tests of lgamma.
10677         * math/auto-libm-test-out: Regenerated.
10679         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10680         cosh, csqrt, erfc, expm1 and lgamma.
10681         * math/auto-libm-test-out: Regenerated.
10682         * sysdeps/i386/fpu/libm-test-ulps: Update.
10683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10685 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10687         [BZ #2542]
10688         [BZ #2543]
10689         [BZ #2558]
10690         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10691         __lgamma_neg for arguments from -28.0 to -2.0.
10692         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10693         __lgamma_negf for arguments from -15.0 to -2.0.
10694         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10695         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10696         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10697         Call __lgamma_negl for arguments from -33.0 to -2.0.
10698         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10699         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10700         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10701         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10702         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10703         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10704         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10705         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10706         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10707         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10708         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10709         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10710         (__lgamma_neg): Likewise.
10711         (__lgamma_negl): Likewise.
10712         (__lgamma_product): Likewise.
10713         (__lgamma_productl): Likewise.
10714         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10715         * math/auto-libm-test-in: Add more tests of lgamma.
10716         * math/auto-libm-test-out: Regenerated.
10717         * sysdeps/i386/fpu/libm-test-ulps: Update.
10718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10722         [BZ #18675]
10723         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10725 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10727         [BZ #14912]
10728         * bits/libc-lock.h: Move to ...
10729         * sysdeps/generic/libc-lock.h: ...here.
10730         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10731         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10732         * sysdeps/mach/hurd/libc-lock.h: ...here.
10733         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10734         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10735         * sysdeps/mach/bits/libc-lock.h: Move to ...
10736         * sysdeps/mach/libc-lock.h: ...here.
10737         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10738         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10739         * sysdeps/nptl/libc-lock.h: ...here.
10740         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10741         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10742         * sysdeps/nptl/libc-lockP.h: ...here.
10743         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10744         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10745         <bits/libc-lock.h>.
10746         * dirent/scandir-tail.c: Likewise.
10747         * dlfcn/dlerror.c: Likewise.
10748         * elf/dl-close.c: Likewise.
10749         * elf/dl-iteratephdr.c: Likewise.
10750         * elf/dl-lookup.c: Likewise.
10751         * elf/dl-open.c: Likewise.
10752         * elf/dl-support.c: Likewise.
10753         * elf/dl-writev.h: Likewise.
10754         * elf/rtld.c: Likewise.
10755         * grp/fgetgrent.c: Likewise.
10756         * gshadow/fgetsgent.c: Likewise.
10757         * gshadow/sgetsgent.c: Likewise.
10758         * iconv/gconv_conf.c: Likewise.
10759         * iconv/gconv_db.c: Likewise.
10760         * iconv/gconv_dl.c: Likewise.
10761         * iconv/gconv_int.h: Likewise.
10762         * iconv/gconv_trans.c: Likewise.
10763         * include/link.h: Likewise.
10764         * inet/getnameinfo.c: Likewise.
10765         * inet/getnetgrent.c: Likewise.
10766         * inet/getnetgrent_r.c: Likewise.
10767         * intl/bindtextdom.c: Likewise.
10768         * intl/dcigettext.c: Likewise.
10769         * intl/finddomain.c: Likewise.
10770         * intl/gettextP.h: Likewise.
10771         * intl/loadmsgcat.c: Likewise.
10772         * intl/localealias.c: Likewise.
10773         * intl/textdomain.c: Likewise.
10774         * libidn/idn-stub.c: Likewise.
10775         * libio/libioP.h: Likewise.
10776         * locale/duplocale.c: Likewise.
10777         * locale/freelocale.c: Likewise.
10778         * locale/newlocale.c: Likewise.
10779         * locale/setlocale.c: Likewise.
10780         * login/getutent_r.c: Likewise.
10781         * login/getutid_r.c: Likewise.
10782         * login/getutline_r.c: Likewise.
10783         * login/utmp-private.h: Likewise.
10784         * login/utmpname.c: Likewise.
10785         * malloc/mtrace.c: Likewise.
10786         * misc/efgcvt.c: Likewise.
10787         * misc/error.c: Likewise.
10788         * misc/fstab.c: Likewise.
10789         * misc/getpass.c: Likewise.
10790         * misc/mntent.c: Likewise.
10791         * misc/syslog.c: Likewise.
10792         * nis/nis_call.c: Likewise.
10793         * nis/nis_callback.c: Likewise.
10794         * nis/nss-default.c: Likewise.
10795         * nis/nss_compat/compat-grp.c: Likewise.
10796         * nis/nss_compat/compat-initgroups.c: Likewise.
10797         * nis/nss_compat/compat-pwd.c: Likewise.
10798         * nis/nss_compat/compat-spwd.c: Likewise.
10799         * nis/nss_nis/nis-alias.c: Likewise.
10800         * nis/nss_nis/nis-ethers.c: Likewise.
10801         * nis/nss_nis/nis-grp.c: Likewise.
10802         * nis/nss_nis/nis-hosts.c: Likewise.
10803         * nis/nss_nis/nis-network.c: Likewise.
10804         * nis/nss_nis/nis-proto.c: Likewise.
10805         * nis/nss_nis/nis-pwd.c: Likewise.
10806         * nis/nss_nis/nis-rpc.c: Likewise.
10807         * nis/nss_nis/nis-service.c: Likewise.
10808         * nis/nss_nis/nis-spwd.c: Likewise.
10809         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10810         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10811         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10812         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10813         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10814         * nis/nss_nisplus/nisplus-network.c: Likewise.
10815         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10816         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10817         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10818         * nis/nss_nisplus/nisplus-service.c: Likewise.
10819         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10820         * nis/ypclnt.c: Likewise.
10821         * nptl/libc_pthread_init.c: Likewise.
10822         * nss/getXXbyYY.c: Likewise.
10823         * nss/getXXent.c: Likewise.
10824         * nss/getXXent_r.c: Likewise.
10825         * nss/nss_db/db-XXX.c: Likewise.
10826         * nss/nss_db/db-netgrp.c: Likewise.
10827         * nss/nss_db/nss_db.h: Likewise.
10828         * nss/nss_files/files-XXX.c: Likewise.
10829         * nss/nss_files/files-alias.c: Likewise.
10830         * nss/nsswitch.c: Likewise.
10831         * posix/regex_internal.h: Likewise.
10832         * posix/wordexp.c: Likewise.
10833         * pwd/fgetpwent.c: Likewise.
10834         * resolv/res_hconf.c: Likewise.
10835         * resolv/res_libc.c: Likewise.
10836         * shadow/fgetspent.c: Likewise.
10837         * shadow/lckpwdf.c: Likewise.
10838         * shadow/sgetspent.c: Likewise.
10839         * socket/opensock.c: Likewise.
10840         * stdio-common/reg-modifier.c: Likewise.
10841         * stdio-common/reg-printf.c: Likewise.
10842         * stdio-common/reg-type.c: Likewise.
10843         * stdio-common/vfprintf.c: Likewise.
10844         * stdio-common/vfscanf.c: Likewise.
10845         * stdlib/abort.c: Likewise.
10846         * stdlib/cxa_atexit.c: Likewise.
10847         * stdlib/fmtmsg.c: Likewise.
10848         * stdlib/random.c: Likewise.
10849         * stdlib/setenv.c: Likewise.
10850         * string/strsignal.c: Likewise.
10851         * sunrpc/auth_none.c: Likewise.
10852         * sunrpc/bindrsvprt.c: Likewise.
10853         * sunrpc/create_xid.c: Likewise.
10854         * sunrpc/key_call.c: Likewise.
10855         * sunrpc/rpc_thread.c: Likewise.
10856         * sysdeps/arm/backtrace.c: Likewise.
10857         * sysdeps/generic/ldsodefs.h: Likewise.
10858         * sysdeps/generic/stdio-lock.h: Likewise.
10859         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10860         * sysdeps/i386/backtrace.c: Likewise.
10861         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10862         * sysdeps/m68k/backtrace.c: Likewise.
10863         * sysdeps/mach/hurd/cthreads.c: Likewise.
10864         * sysdeps/mach/hurd/dirstream.h: Likewise.
10865         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10866         * sysdeps/nptl/malloc-machine.h: Likewise.
10867         * sysdeps/nptl/stdio-lock.h: Likewise.
10868         * sysdeps/posix/dirstream.h: Likewise.
10869         * sysdeps/posix/getaddrinfo.c: Likewise.
10870         * sysdeps/posix/system.c: Likewise.
10871         * sysdeps/pthread/aio_suspend.c: Likewise.
10872         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10873         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10874         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10875         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10876         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10877         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10878         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10879         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10880         * sysdeps/unix/sysv/linux/system.c: Likewise.
10881         * sysdeps/x86_64/backtrace.c: Likewise.
10882         * time/alt_digit.c: Likewise.
10883         * time/era.c: Likewise.
10884         * time/tzset.c: Likewise.
10885         * wcsmbs/wcsmbsload.c: Likewise.
10886         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10887         instead of <bits/libc-lock.h> in comment.
10889 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10891         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10892         Only use .set mips2 if the current ISA is below mips2.
10893         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10894         Likewise.
10895         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10896         mips32r2 if the current ISA is below mips32r2.
10897         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10898         (TLS_IE): Updated to use the TLD_RDHWR macro.
10899         (TLS_LE): Likewise.
10900         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10901         __ASSEMBLER__ condition.
10903 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10905         Fix parallel build of before-compile targets.
10907         * sysdeps/mach/Makefile ($(patsubst
10908         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10909         mach-before-compile target.
10910         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10911         io fs process)): Move rule to dedicated hurd-before-compile target.
10913 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10915         Fix rules generating headers in hurd/ and mach/ when initial make call
10916         has subdir= explicitly set.
10918         * sysdeps/mach/Makefile ($(patsubst
10919         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10920         calling $(MAKE).
10921         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10922         io fs process)): Force subdir to hurd when calling $(MAKE).
10923         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10924         subdir to mach when calling $(MAKE).
10926 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10928         Check sysheaders when looking for Mach and Hurd headers
10930         * sysdeps/mach/configure.ac: Add sysheaders check.
10931         * sysdeps/mach/configure: Regenerate.
10932         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10933         * sysdeps/mach/hurd/configure: Regenerate.
10935 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10937         [BZ #18921]
10938         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10939         Fix inverted sense of test of 'o_directory_works' value.
10940         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10941         Bernhard Voelker <mail@bernhard-voelker.de>.
10943 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10945         [BZ #14912]
10946         * bits/linkmap.h: Move to ...
10947         * sysdeps/generic/linkmap.h: ...here.
10948         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10949         * sysdeps/aarch64/linkmap.h: ...here.
10950         * sysdeps/arm/bits/linkmap.h: Move to ...
10951         * sysdeps/arm/linkmap.h: ...here.
10952         * sysdeps/hppa/bits/linkmap.h: Move to ...
10953         * sysdeps/hppa/linkmap.h: ...here.
10954         * sysdeps/ia64/bits/linkmap.h: Move to ...
10955         * sysdeps/ia64/linkmap.h: ...here.
10956         * sysdeps/mips/bits/linkmap.h: Move to ...
10957         * sysdeps/mips/linkmap.h: ...here.
10958         * sysdeps/s390/bits/linkmap.h: Move to ...
10959         * sysdeps/s390/linkmap.h: ...here.
10960         * sysdeps/sh/bits/linkmap.h: Move to ...
10961         * sysdeps/sh/linkmap.h: ...here.
10962         * sysdeps/x86/bits/linkmap.h: Move to ...
10963         * sysdeps/x86/linkmap.h: ...here.
10964         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10966 2015-09-04  Andreas Schwab  <schwab@suse.de>
10968         [BZ #18635]
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10970         (__makecontext): Terminate FDE before return label.
10971         (__novec_makecontext): Likewise.
10973 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10975         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10976         first member of struct sv in syscall macro.
10978 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #14912]
10981         * bits/stdio-lock.h: Move to ...
10982         * sysdeps/generic/stdio-lock.h: ...here.
10983         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10984         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10985         * sysdeps/nptl/stdio-lock.h: ...here.
10986         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10987         * include/libio.h: Include <stdio-lock.h> instead of
10988         <bits/stdio-lock.h>.
10989         * sysdeps/nptl/fork.c: Likewise.
10990         * sysdeps/pthread/flockfile.c: Likewise.
10991         * sysdeps/pthread/ftrylockfile.c: Likewise.
10992         * sysdeps/pthread/funlockfile.c: Likewise.
10994         [BZ #14912]
10995         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10996         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10997         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10998         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10999         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11000         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11001         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11003 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11005         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11006         (test-xfail-tst-protected1b): New variable.
11008 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11010         [BZ #14912]
11011         * bits/libc-tsd.h: Move to ...
11012         * sysdeps/generic/libc-tsd.h: ...here.
11013         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11014         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11015         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11016         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11017         * include/ctype.h: Include <libc-tsd.h> instead of
11018         <bits/libc-tsd.h>.
11019         * include/rpc/rpc.h: Likewise.
11020         * locale/localeinfo.h: Likewise.
11021         * sunrpc/rpc_thread.c: Likewise.
11022         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11023         * sysdeps/nptl/malloc-machine.h: Likewise.
11025         * Makefile (headers): Remove bits/libc-lock.h.
11026         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11028         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11029         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11030         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11031         <bits/stdio-lock.h>.
11032         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11033         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11035 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11037         [BZ #18757]
11038         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11039         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11040         BZ #18757.
11042 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11044         * malloc/mtrace.pl: Filter out NULL entries.
11046 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11048         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11049         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11050         macro.
11052         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11053         (TCP_CC_INFO): Likewise.
11054         (TCP_SAVE_SYN): Likewise.
11055         (TCP_SAVED_SYN): Likewise.
11057 2015-08-31  Brett Neumeier <brett@neumeier.us>
11059         [BZ #18870]
11060         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11062 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11064         [BZ #18873]
11065         Fix broken overflow check in posix_fallocate
11066         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11067         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11068         Fix parenthesization typo.
11070 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11072         [BZ #18887]
11073         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11074         tst-mntent-blank-passno.
11075         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11076         * misc/tst-mntent-blank-corrupt.c: New test.
11077         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11078         * misc/tst-mntent.c (do_test): ... here.
11080 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11082         [BZ #4404]
11083         * po/de.po: Fix SIGALRM typo.
11085 2015-08-28  James Perkins  <james@loowit.net>
11087         * time/tst-strptime2.c (tests): Replace short list of test
11088         strings for strptime %z specifier with code which exhaustively
11089         tests every combination of sign and 0 to 5 digits. Tests for
11090         rejection of invalid strings.
11092 2015-08-28  James Perkins  <james@loowit.net>
11094         [BZ #16141]
11095         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11096         calculation, removing incorrect decimal time rounding, so that
11097         all minute values result in a valid seconds value.
11098         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11099         offset range limits to UTC-99:59 through UTC+99:59 to parse
11100         current and historical use cases.
11101         * time/tst-strptime2.c (tests): Modify and add tests for the
11102         strptime %z input field descriptor, specifically conversion of
11103         minutes to seconds and validating an offset range of -9959 to
11104         +9959.
11106 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11107             Dmitry V. Levin  <ldv@altlinux.org>
11109         [BZ #18877]
11110         * posix/Makefile (tests): Add tst-mmap-offset.
11111         * posix/tst-mmap.c: New file.
11112         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11113         offset calculation for negative values.
11115 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11117         * sysdeps/i386/init-arch.h: New file.
11118         * sysdeps/i386/i586/init-arch.h: Likewise.
11119         * sysdeps/i386/i686/init-arch.h: Likewise.
11120         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11121         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11122         * sysdeps/x86/cpu-features.h (bit_I586): New.
11123         (bit_I686): Likewise.
11124         (bit_CX8): Likewise.
11125         (bit_CMOV): Likewise.
11126         (index_CX8): Likewise.
11127         (index_CMOV): Likewise.
11128         (index_I586): Likewise.
11129         (index_I686): Likewise.
11130         (reg_CX8): Likewise.
11131         (reg_CMOV): Likewise.
11132         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11133         available at compile-time.
11134         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11135         available at compile-time.
11136         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11137         (USE_I686): Likewise.
11139 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11141         * sysdeps/i386/bcopy.S: New file.
11142         * sysdeps/i386/bzero.S: Likewise.
11143         * sysdeps/i386/memcpy.S: Likewise.
11144         * sysdeps/i386/memmove.S: Likewise.
11145         * sysdeps/i386/mempcpy.S: Likewise.
11146         * sysdeps/i386/memset.S: Likewise.
11147         * sysdeps/i386/bzero.c: Removed.
11148         * sysdeps/i386/memset.c: Likewise.
11149         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11150         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11151         * sysdeps/i386/i586/memset_chk.S: Likewise.
11152         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11153         * sysdeps/i386/memcpy_chk.S: Here.
11154         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11155         * sysdeps/i386/memmove_chk.S: Here.
11156         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11157         * sysdeps/i386/mempcpy_chk.S: Likewise.
11158         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11159         * sysdeps/i386/memset_chk.S: Likewise.
11161 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11163         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11164         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11165         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11166         * soft-fp/fmadf4.c: Ditto.
11167         * soft-fp/fmatf4.c: Ditto.
11169 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11171         * sysdeps/i386/i586/Implies: Removed.
11172         * sysdeps/i386/i686/Implies: Likewise.
11174 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11176         * sysdeps/i386/i486/strlen.S: Moved to ...
11177         * sysdeps/i386/strlen.S: Here.
11179 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11181         * sysdeps/i386/i486/strcat.S: Moved to ...
11182         * sysdeps/i386/strcat.S: Here.
11184 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11186         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11187         * sysdeps/i386/pthread_spin_trylock.S: Here.
11188         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11189         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11191 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11193         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11194         * sysdeps/i386/string-inlines.c: Here.
11196 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11198         * sysdeps/i386/i486/htonl.S: Moved ...
11199         * sysdeps/i386/htonl.S: here.
11201 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11203         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11204         * sysdeps/i386/bits/atomic.h: Here.
11206 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11208         * sysdeps/i386/i486/Versions: Removed.
11210 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11212         [BZ #2898]
11213         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11214         Based on patch by Aurelien Jarno.
11216 2015-08-26  Stan Shebs  <stanshebs@google.com>
11218         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11219         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11221 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11223         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11224         * sysdeps/powerpc/dl-procinfo.c:
11225         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11226         feature so it shows when LD_SHOW_AUXV=1.
11228 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11230         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11231         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11232         definition.  ISA 2.07B no longer requires full sync.
11234 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11236         [BZ #18863]
11237         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11238         (si_call_addr): Define.
11239         (si_syscall): Define.
11240         (si_arch): Define.
11242 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11244         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11245         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11246         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11247         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11248         (__memset_zero_constant_len_parameter): New.
11249         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11250         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11251         (__memset_zero_constant_len_parameter): Don't define if
11252         __memset_chk or USE_AS_BZERO are defined.
11254         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11255         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11256         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11258         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11259         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11260         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11261         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11262         comments.
11263         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11264         -mno-mmx for $(all-rtld-routines).
11265         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11266         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11267         i386.
11269 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11271         * sysdeps/generic/unwind.h
11272         (_Unwind_Word): Use __mode__(__unwind_word__)
11273         instead of __mode__(__word__).
11274         (_Unwind_Sword): Likewise.
11276         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11277         (MAX_NEEDED_INPUT): New define.
11278         (MAX_NEEDED_OUTPUT): New define.
11280         * NEWS: New item for IBM z13 string optimizations.
11282         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11283         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11284         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11285         * sysdeps/s390/multiarch/Makefile
11286         (sysdep_routines): Add memrchr functions.
11287         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11288         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11290         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11291         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11292         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11293         * sysdeps/s390/multiarch/Makefile
11294         (sysdep_routines): Add wmemcmp functions.
11295         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11296         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11297         * benchtests/bench-wmemcmp.c: New File.
11298         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11300         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11301         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11302         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11303         * sysdeps/s390/multiarch/Makefile
11304         (sysdep_routines): Add wmemset functions.
11305         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11306         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11307         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11308         * string/test-memset.c: Add wmemset support.
11309         * wcsmbs/test-wmemset.c: New File.
11310         * wcsmbs/Makefile (strop-tests): Add wmemset.
11311         * benchtests/bench-memset.c: Add wmemset support.
11312         * benchtests/bench-wmemset.c: New File.
11313         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11315         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11316         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11317         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11318         * sysdeps/s390/multiarch/Makefile
11319         (sysdep_routines): Add memccpy functions.
11320         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11321         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11322         * string/memccpy.c: Use MEMCCPY if defined.
11324         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11325         * sysdeps/s390/multiarch/memchr.c: Likewise.
11326         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11327         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11328         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11329         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11330         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11331         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11332         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11333         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11335         and rawmemchr functions.
11336         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11337         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11338         and wmemchr.
11339         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11340         * string/test-memchr.c: Add wmemchr support.
11341         * wcsmbs/test-wmemchr.c: New File.
11342         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11343         * benchtests/bench-memchr.c: Add wmemchr support.
11344         * benchtests/bench-wmemchr.c: New File.
11345         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11347         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11348         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11349         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11350         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11351         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11352         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11353         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11354         wcscspn functions.
11355         * sysdeps/s390/multiarch/ifunc-impl-list.c
11356         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11357         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11358         * string/test-strcspn.c: Add wcscspn support.
11359         * wcsmbs/test-wcscspn.c: New File.
11360         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11361         * benchtests/bench-strcspn.c: Add wcscspn support.
11362         * benchtests/bench-wcscspn.c: New File.
11363         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11365         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11366         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11367         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11368         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11369         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11370         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11372         wcspbrk functions.
11373         * sysdeps/s390/multiarch/ifunc-impl-list.c
11374         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11375         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11376         * string/test-strpbrk.c: Add wcspbrk support.
11377         * wcsmbs/test-wcspbrk.c: New File.
11378         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11379         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11380         * benchtests/bench-wcspbrk.c: New File.
11381         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11383         * sysdeps/s390/multiarch/strspn-c.c: New File.
11384         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11385         * sysdeps/s390/multiarch/strspn.c: Likewise.
11386         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11387         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11388         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11389         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11391         wcsspn functions.
11392         * sysdeps/s390/multiarch/ifunc-impl-list.c
11393         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11394         * string/test-strspn.c: Add wcsspn support.
11395         * wcsmbs/test-wcsspn.c: New File.
11396         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11397         * benchtests/bench-strspn.c: Add wcsspn support.
11398         * benchtests/bench-wcsspn.c: New File.
11399         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11401         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11402         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11403         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11404         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11405         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11406         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11408         wcsrchr functions.
11409         * sysdeps/s390/multiarch/ifunc-impl-list.c
11410         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11411         * benchtests/bench-wcsrchr.c: New File.
11412         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11414         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11415         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11416         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11417         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11418         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11419         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11421         wcschrnul functions.
11422         * sysdeps/s390/multiarch/ifunc-impl-list.c
11423         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11424         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11425         * string/test-strchr.c: Add wcschrnul support.
11426         * wcsmbs/test-wcschrnul.c: New File.
11427         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11428         * benchtests/bench-strchr.c: Add wcschrnul support.
11429         * benchtests/bench-wcschrnul.c: New File.
11430         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11432         * sysdeps/s390/multiarch/strchr-c.c: New File.
11433         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11434         * sysdeps/s390/multiarch/strchr.c: Likewise.
11435         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11436         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11437         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11439         wcschr functions.
11440         * sysdeps/s390/multiarch/ifunc-impl-list.c
11441         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11442         * string/strchr.c (STRCHR): Define and use macro.
11443         * benchtests/bench-wcschr.c: New File.
11444         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11446         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11447         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11448         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11449         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11450         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11451         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11452         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11453         wcsncmp functions.
11454         * sysdeps/s390/multiarch/ifunc-impl-list.c
11455         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11456         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11457         * benchtests/bench-strncmp.c: Add wcsncmp support.
11458         * benchtests/bench-wcsncmp.c: New File.
11459         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11461         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11462         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11463         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11464         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11465         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11466         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11467         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11468         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11469         wcscmp functions.
11470         * sysdeps/s390/multiarch/ifunc-impl-list.c
11471         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11472         * string/strcmp.c (STRCMP): Define and use macro.
11473         * benchtests/bench-wcscmp.c: New File.
11474         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11475         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11476         instead of _HAVE_STRING_ARCH_memchr.
11478         * sysdeps/s390/multiarch/strncat-c.c: New File.
11479         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11480         * sysdeps/s390/multiarch/strncat.c: Likewise.
11481         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11482         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11483         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11485         wcsncat functions.
11486         * sysdeps/s390/multiarch/ifunc-impl-list.c
11487         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11488         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11489         * string/test-strncat.c: Add wcsncat support.
11490         * wcsmbs/test-wcsncat.c: New File.
11491         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11492         * benchtests/bench-strncat.c: Add wcsncat support.
11493         * benchtests/bench-wcsncat.c: New File.
11494         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11496         * sysdeps/s390/multiarch/strcat-c.c: New File.
11497         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11498         * sysdeps/s390/multiarch/strcat.c: Likewise.
11499         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11500         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11501         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11503         wcscat functions.
11504         * sysdeps/s390/multiarch/ifunc-impl-list.c
11505         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11506         * string/strcat.c (STRCAT): Define and use macro.
11507         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11508         * string/test-strcat.c: Add wcscat support.
11509         * wcsmbs/test-wcscat.c: New File.
11510         * wcsmbs/Makefile (strop-tests): Add wcscat.
11511         * benchtests/bench-strcat.c: Add wcscat support.
11512         * benchtests/bench-wcscat.c: New File.
11513         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11515         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11516         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11517         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11518         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11519         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11520         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11522         wcpncpy functions.
11523         * sysdeps/s390/multiarch/ifunc-impl-list.c
11524         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11525         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11526         * string/test-stpncpy.c: Add wcpncpy support.
11527         * wcsmbs/test-wcpncpy.c: New File.
11528         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11529         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11530         * benchtests/bench-wcpncpy.c: New File.
11531         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11533         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11534         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11535         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11536         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11537         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11538         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11539         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11541         wcsncpy functions.
11542         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11543         * sysdeps/s390/multiarch/ifunc-impl-list.c
11544         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11545         * string/test-strncpy.c: Add wcsncpy support.
11546         * wcsmbs/test-wcsncpy.c: New File.
11547         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11548         * benchtests/bench-strncpy.c: Add wcsncpy support.
11549         * benchtests/bench-wcsncpy.c: New File.
11550         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11552         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11553         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11554         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11555         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11556         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11557         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11558         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11559         wcpcpy functions.
11560         * string/stpcpy.c: Use STPCPY if defined.
11561         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11562         * sysdeps/s390/multiarch/ifunc-impl-list.c
11563         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11564         * string/test-stpcpy.c: Add wcpcpy support.
11565         * wcsmbs/test-wcpcpy.c: New File.
11566         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11567         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11568         * benchtests/bench-wcpcpy.c: New File.
11569         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11571         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11572         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11573         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11574         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11575         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11576         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11577         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11578         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11579         wcscpy functions.
11580         * sysdeps/s390/multiarch/ifunc-impl-list.c
11581         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11582         * benchtests/bench-wcscpy.c: New File.
11583         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11585         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11586         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11587         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11588         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11589         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11590         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11591         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11592         wcsnlen functions.
11593         * sysdeps/s390/multiarch/ifunc-impl-list.c
11594         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11595         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11596         * string/test-strnlen.c: Add wcsnlen support.
11597         * wcsmbs/test-wcsnlen.c: New File.
11598         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11599         * benchtests/bench-strnlen.c: Add wcsnlen support.
11600         * benchtests/bench-wcsnlen.c: New File.
11601         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11603         * sysdeps/s390/multiarch/Makefile: New File.
11604         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11605         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11606         * sysdeps/s390/multiarch/strlen.c: Likewise.
11607         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11608         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11609         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11610         * string/strlen.c (STRLEN): Define and use macro.
11611         * sysdeps/s390/multiarch/ifunc-impl-list.c
11612         (IFUNC_VX_IMPL): New macro function.
11613         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11614         * benchtests/Makefile (wcsmbs-bench): New variable.
11615         (string-bench-all): Added wcsmbs-bench.
11616         * benchtests/bench-wcslen.c: New File.
11618         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11619         s390_vx_libc_ifunc2): New macro function.
11621         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11622         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11623         assembler support.
11624         * sysdeps/s390/configure: Regenerated.
11626         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11627         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11629         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11630         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11631         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11633         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11634         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11635         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11636         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11637         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11638         (memcmp, bcmp): Use __memcmp_default as alias source.
11639         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11640         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11641         Rename to __memcmp_default.
11642         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11643         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11644         (memcpy): Use __memcpy_default as alias source.
11645         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11646         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11647         Rename to __memcpy_default.
11648         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11649         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11650         (memset): Use __memset_default as alias source.
11651         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11652         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11653         Rename to __memset_default.
11654         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11655         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11656         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11657         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11658         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11659         (memcmp, bcmp): Use __memcmp_default as alias source.
11660         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11661         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11662         Rename to __memcmp_default.
11663         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11664         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11665         (memcpy): Use __memcpy_default as alias source.
11666         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11667         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11668         Rename to __memcpy_default.
11669         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11670         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11671         (memset): Use __memset_default as alias source.
11672         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11673         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11674         Rename to __memset_default.
11675         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11676         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11678         [BZ #18610]
11679         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11680         __ieee_instruction_pointer to __unused.
11681         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11682         __ieee_instruction_pointer.
11683         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11684         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11685         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11686         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11687         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11688         Mark dxc-field as reserved.
11690 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11692         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11693         if the weak reference is not null.
11695 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11697         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11699         [BZ #11214]
11700         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11702 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11704         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11705         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11706         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11707         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11708         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11709         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11710         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11711         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11712         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11713         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11714         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11715         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11716         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11717         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11718         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11719         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11720         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11721         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11723 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11725         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11726         register other than r0 for tabort, it has special meaning.
11727         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11728         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11729         transaction before starting syscall.
11731 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11733         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11735 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11737         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11739         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11740         * sysdeps/x86_64/rtld-memset.S: Likewise.
11741         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11742         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11743         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11744         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11746         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11748 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11750         * debug/strcpy_chk.c: Improve performance.
11751         * debug/stpcpy_chk.c: Likewise.
11752         * sysdeps/x86_64/strcpy_chk.S: Remove.
11753         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11755         [BZ #18240]
11756         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11758 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11760         [BZ #15128]
11761         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11762         ifuncmain8.
11763         (modules-names): Add ifuncmod8.
11764         ($(objpfx)ifuncmain8): New rule.
11765         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11766         <cpuid.h>.
11767         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11768         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11769         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11770         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11771         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11772         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11773         * sysdeps/x86_64/ifuncmain8.c: New file.
11774         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11775         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11776         Removed.
11777         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11778         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11779         Change rtld_savespace_sse to __glibc_unused2.
11780         (RTLD_CHECK_FOREIGN_CALL): Removed.
11781         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11782         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11783         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11785 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11787         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11789 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11791         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11792         Unconditionally set __fpcr to avoid uninialized warning.
11793         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11795 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11798         is corrupt.
11800         * malloc/arena.c (arena_get2): Drop unused argument.
11801         (arena_lock): Adjust.
11802         (arena_get_retry): Likewise.
11804 2015-08-24  Andreas Schwab  <schwab@suse.de>
11806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11807         Don't define.
11808         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11809         (__ASSUME_IPC64): Don't undef.
11810         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11811         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11812         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11813         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11814         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11815         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11816         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11817         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11818         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11819         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11820         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11821         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11822         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11823         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11824         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11825         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11826         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11827         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11829         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11832 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11834         * manual/Makefile (install): Only build manual when perl is available.
11836 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11838         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11839         '#undef memcpy' by '#undef memchr'.
11841 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11843         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11844         memchr not point to the internal __GI_memchr implementation.
11846 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11848         * timezone/Makefile (CFLAGS-zdump.c): Remove
11849         -Wno-strict-prototypes.
11850         (CFLAGS-zic.c): Likewise.
11851         (CFLAGS-ialloc.c): Likewise.
11852         (CFLAGS-scheck.c): Likewise.
11854         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11855         -Wno-error=undef.
11857 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11859         * i386/i686/multiarch/strcasestr-c.c: Removed.
11860         * x86_64/multiarch/strcasestr.c: Likewise.
11861         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11862         Remove strcasestr.
11864 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11866         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11868         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11869         variables for high and low parts before possibly modifying them.
11871 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11873         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11874         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11875         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11876         of "multiarch/init-arch.h".
11877         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11878         * sysdeps/x86/init-arch.h: This.
11880 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11882         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11883         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11885 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11887         [BZ #17787]
11888         * manual/macros.texi: Add twoexp macro.
11889         * manual/filesys.texi: Fix exponents.
11890         * manual/llio.texi: Likewise.
11891         * manual/stdio.texi: Likewise.
11893 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11895         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11896         incorrect use.
11898 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11900         [BZ #18370]
11901         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11902         whose real or imaginary part has small absolute value.
11903         * math/s_csqrtf.c (__csqrtf): Likewise.
11904         * math/s_csqrtl.c (__csqrtl): Likewise.
11905         * math/auto-libm-test-in: Add more tests of csqrt.
11906         * math/auto-libm-test-out: Regenerated.
11907         * sysdeps/i386/fpu/libm-test-ulps: Update.
11909 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11911         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11912         __ppc_set_ppr_very_low): New functions.
11913         * manual/platform.texi: Add documentation about
11914         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11916 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11918         * string/stpncpy.c (stpncpy): Improve performance using
11919         __strnlen/memcpy/memset.
11921 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11923         [BZ #18796]
11924         * scripts/test-installation.pl: Don't add -lmvec to build options if
11925         libmvec wasn't built.
11927 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11929         [BZ #14341]
11930         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11931         case when there is a gap between DT_REL and DT_JMPREL sections.
11932         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11933         (LDFLAGS-tst-split-dynreloc): New.
11934         (tst-split-dynreloc-ENV): Likewise.
11935         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11936         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11938 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11940         [BZ #18822]
11941         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11942         attribute_hidden.
11943         (__xstat64_conv): Likewise.
11944         (__xstat32_conv): Likewise.
11946 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11948         [BZ #18822]
11949         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11950         Don't load %ebx when calling __setcontext.  Call __setcontext
11951         with HIDDEN_JUMPTARGET.
11952         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11953         libc_hidden_def.
11955 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11957         * sysdeps/i386/i686/Makefile
11958         [$(subdir) == string] (sysdep_routines): Moved to ...
11959         * sysdeps/i386/Makefile: Here.
11960         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11961         * sysdeps/i386/cacheinfo.c: Here.
11962         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11963         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11964         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11965         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11967 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11969         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11970         __i586__ is defined.
11971         (HAS_I686): Defined to 1 if __i686__ is defined.
11973 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11975         * elf/Makefile [$(have-z-execstack) = yes]
11976         (CPPFLAGS-tst-execstack.c): New variable.
11978         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11979         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11980         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11981         UTMPX || _HAVE_UT_TV].
11982         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11983         UTMPX || _HAVE_UT_TV - 0].
11985 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11987         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11988         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11989         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11991 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11993         * sysdeps/powerpc/dl-procinfo.c:
11994         (_dl_powerpc_cap_flags): Added missing strings for some
11995         hwcap features.
11996         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11998 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12000         Port the 0x7efe...feff pattern to GCC 6.
12001         See Steve Ellcey's bug report in:
12002         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12003         * string/memrchr.c (MEMRCHR):
12004         * string/rawmemchr.c (RAWMEMCHR):
12005         * string/strchr.c (strchr):
12006         * string/strchrnul.c (STRCHRNUL):
12007         Rewrite code to avoid issues with signed shift overflow.
12009 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12011         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12012         whether cpuid is available only if HAS_CPUID is 0.
12013         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12014         (HAS_I586): Likewise.
12015         (HAS_I686): Likewise.
12017 2015-08-18  Zack Weinberg  <zackw@panix.com>
12019         * misc/Versions (libc): Add GLIBC_2.23.
12021 2015-08-18  Alan Modra  <amodra@gmail.com>
12023         [BZ #18421]
12024         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12025         .Lp__global.
12026         (_start): Load %dp via .Lp__global.
12027         [!SHARED]: Use .section .rodata.
12029 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12031         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12032         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12034 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12036         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12037         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12039 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12041         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12042         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12044 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12046         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12047         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12049 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12051         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12052         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12054 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12056         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12057         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12059 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12061         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12063 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12065         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12066         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12067         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12068         (__ASSUME_LWS_CAS): Delete.
12070 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12072         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12073         * sysdeps/hppa/configure: Regenerated.
12074         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12075         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12076         * sysdeps/hppa/nptl/tls.h: Likewise.
12078 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12080         [BZ #18823]
12081         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12082         for scaling up small arguments.
12083         * math/s_csqrtf.c (__csqrtf): Likewise.
12084         * math/s_csqrtl.c (__csqrtl): Likewise.
12085         * math/auto-libm-test-in: Add more tests of csqrt.
12086         * math/auto-libm-test-out: Regenerated.
12088 2015-08-17  Andreas Schwab  <schwab@suse.de>
12090         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12091         version set GLIBC_2.19.
12093 2015-08-16  Zack Weinberg  <zackw@panix.com>
12095         [BZ #18681]
12096         * misc/regexp.h: This interface is no longer supported.
12097         Remove all contents, leaving only an #error directive.
12098         * misc/regexp.c (loc1, loc2, locs, step, advance):
12099         Demote to compatibility symbols.
12101 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12103         [BZ #18084]
12104         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12105         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12106         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12107         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12108         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12109         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12110         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12111         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12112         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12114 2015-08-15  Zack Weinberg  <zackw@panix.com>
12116         [BZ #18795]
12117         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12118         buffer length is known to be too large, not if it's known to be
12119         small enough.
12120         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12121         overflow at runtime, involving a length parameter, twice: once
12122         with a compile-time constant length parameter, once without.
12124 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12126         [BZ #18824]
12127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12128         scaling x * y up instead of down.
12129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12131         * math/auto-libm-test-in: Add more tests of fma.
12132         * math/auto-libm-test-out: Regenerated.
12134 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12138 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12140         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12141         unnecessary movq.
12142         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12143         Likewise.
12145 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12147         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12148         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12149         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12150         and tgamma.
12151         * math/auto-libm-test-out: Regenerated.
12152         * sysdeps/i386/fpu/libm-test-ulps: Update.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12155         [BZ #16520]
12156         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12157         (__tanh): Force underflow exception for arguments with small
12158         absolute value.
12159         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12160         (__tanhf): Force underflow exception for arguments with small
12161         absolute value.
12162         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12163         (__tanhl): Force underflow exception for arguments with small
12164         absolute value.
12165         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12166         (__tanhl): Force underflow exception for arguments with small
12167         absolute value.
12168         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12169         (__tanhl): Force underflow exception for arguments with small
12170         absolute value.
12171         * math/auto-libm-test-in: Add more tests of tanh.
12172         * math/auto-libm-test-out: Regenerated.
12173         * sysdeps/i386/fpu/libm-test-ulps: Update.
12175 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12177         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12178         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12180 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12182         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12183         <cpuid.h>.
12185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12187         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12188         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12190 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12192         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12193         Remove $(objpfx)init-arch.o.
12194         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12195         init-arch.
12196         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12197         (INIT_ARCH_EXT): Defined as empty.
12198         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12199         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12200         __init_cpu_features call.  Replace HAS_XXX with
12201         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12202         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12203         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12205         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12207         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12208         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12210         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12211         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12212         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12222         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12223         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12226         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12228         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12229         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12230         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12232         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12233         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12234         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12235         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12236         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12238 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12240         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12241         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12242         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12243         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12244         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12245         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12246         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12247         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12248         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12249         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12250         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12251         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12252         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12253         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12254         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12255         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12256         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12257         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12258         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12259         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12260         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12261         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12262         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12263         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12264         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12265         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12266         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12267         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12268         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12269         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12270         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12271         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12272         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12273         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12274         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12275         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12276         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12277         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12278         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12279         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12280         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12281         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12282         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12284 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12286         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12287         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12288         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12289         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12290         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12291         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12293         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12294         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12295         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12297         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12298         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12299         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12300         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12301         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12302         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12303         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12304         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12305         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12307         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12308         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12309         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12310         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12311         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12312         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12313         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12314         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12315         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12316         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12317         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12318         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12319         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12320         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12321         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12322         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12323         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12324         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12325         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12326         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12327         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12328         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12332         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12333         (dl_platform_init): Call init_cpu_features.
12334         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12335         * sysdeps/i386/i686/cacheinfo.c
12336         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12337         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12338         * sysdeps/i386/i686/multiarch/Versions: Removed.
12339         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12340         Removed.
12341         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12342         * sysdeps/unix/sysv/linux/x86/Makefile
12343         (libpthread-sysdep_routines): Remove init-arch.
12344         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12345         <sysdeps/x86_64/dl-procinfo.c> instead of
12346         sysdeps/generic/dl-procinfo.c>.
12347         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12348         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12349         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12350         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12351         [$(subdir) == elf] (tests-static): Add
12352         tst-get-cpu-features-static.
12353         * sysdeps/x86/Versions: New file.
12354         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12355         * sysdeps/x86/cpu-features.c: Likewise.
12356         * sysdeps/x86/cpu-features.h: Likewise.
12357         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12358         * sysdeps/x86/libc-start.c: Likewise.
12359         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12360         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12361         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12362         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12363         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12364         Assume USE_MULTIARCH is defined and don't check it.
12365         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12366         (is_amd): Likewise.
12367         (max_cpuid): Likewise.
12368         (intel_check_word): Likewise.
12369         (__cache_sysconf): Don't call __init_cpu_features.
12370         (__x86_preferred_memory_instruction): Removed.
12371         (init_cacheinfo): Don't call __init_cpu_features. Replace
12372         __cpu_features with GLRO(dl_x86_cpu_features).
12373         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12374         (dl_platform_init): Call init_cpu_features.
12375         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12376         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12377         * sysdeps/x86_64/multiarch/Versions: Removed.
12378         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12379         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12380         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12381         Removed.
12382         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12384 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12386         [BZ #18820]
12387         * libio/Makefile (test-fmemopen-mem): New test.
12388         * libio/test-fmemopen.c (do_bz18820): New test.
12389         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12390         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12392 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12394         [BZ #16734]
12395         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12396         (FREE_BUF): Delete.
12397         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12398         * libio/genops.c (_IO_setb): Use malloc and free directly.
12399         (_IO_default_doallocate, _IO_default_finish): Likewise.
12400         ( _IO_unbuffer_all): Likewise.
12401         ( libc_freeres_fn): Likewise.
12402         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12403         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12404         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12405         (_IO_wdefault_doallocate): Likewise.
12407 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12409         [BZ #18086]
12410         * sysdeps/posix/nice.c (nice): Restore old errno.
12411         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12413 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12415         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12417 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12419         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12420         __bcopy and add a weak_alias to bcopy.
12421         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12422         for static build.
12424         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12425         cleanup macro usage.
12426         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12427         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12428         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12430         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12431         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12432         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12433         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12434         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12435         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12437         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12439         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12440         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12441         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12442         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12444         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12446         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12447         libc_hidden_def.
12448         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12450         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12451         (sysdep_routines): Add strstr-ppc64.
12452         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12454 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12456         [BZ #18778]
12457         * elf/Makefile (tests): Add Add tst-nodelete2.
12458         (modules-names): Add tst-nodelete2mod.
12459         (tst-nodelete2mod.so-no-z-defs): New.
12460         ($(objpfx)tst-nodelete2): Likewise.
12461         ($(objpfx)tst-nodelete2.out): Likewise.
12462         (LDFLAGS-tst-nodelete2): Likewise.
12463         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12464         out of loop through all loaded libraries.
12465         * elf/tst-nodelete2.c: New file.
12466         * elf/tst-nodelete2mod.c: Likewise.
12467         * elf/tst-znodelete-zlib.cc: Delete.
12469 2015-08-11  Andreas Schwab  <schwab@suse.de>
12471         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12472         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12473         (__openat64_nocancel): Likewise.
12475 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12477         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12478         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12479         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12480         * math/auto-libm-test-out: Regenerated.
12481         * sysdeps/i386/fpu/libm-test-ulps: Update.
12482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12484 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12486         [BZ #18790]
12487         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12488         threshold for returning +/- 1.
12489         * math/auto-libm-test-in: Add more tests of tanh.
12490         * math/auto-libm-test-out: Regenerated.
12491         * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 2015-08-10  Andreas Schwab  <schwab@suse.de>
12495         [BZ #18781]
12496         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12497         MORE_OFLAGS to oflag.
12498         * io/test-lfs.c (do_test): Test openat64.
12500 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12502         [BZ #18789]
12503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12504         smaller threshold for returning the argument.
12505         * math/auto-libm-test-in: Add more tests of sinh.
12506         * math/auto-libm-test-out: Regenerated.
12507         * sysdeps/i386/fpu/libm-test-ulps: Update.
12509 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12511         [BZ #18674]
12512         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12513         break.
12515 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12517         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12518         (generated): Don't add $(addprefix z.,$(tzfiles)).
12520 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12522         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12523         * scripts/sysd-rules.awk: Likewise.
12525 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12527         * iconvdata/tst-tables.sh: Change echo -n to printf.
12528         * nss/db-Makefile: Likewise.
12529         * posix/tst-getconf.sh: Likewise.
12530         * stdio-common/tst-unbputc.sh: Likewise.
12532 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12534         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12535         MADV_*_PAGES defines behind this feature check.
12537 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12539         [BZ #18480]
12540         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12541         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12542         Define.
12543         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12544         LOAD_REGS_5, LOAD_REGS_6): Update.
12545         (INTERNAL_SYSCALL): Update using new LOAD defines.
12546         (INTERNAL_SYSCALL_NCS): Likewise.
12547         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12549 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12551         [BZ #16734]
12552         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12554 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12556         [BZ #17905]
12557         * catgets/Makefile (tst-catgets-mem): New test.
12558         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12559         * catgets/open_catalog.c (__open_catalog): Likewise.
12560         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12562 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12564         [BZ #18787]
12565         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12566         clobber registers.
12567         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12568         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12569         Cast return to __typeof (oldval).
12571 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12573         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12574         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12575         and delete sys/syscall.h include.
12577 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12579         [BZ #16517]
12580         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12581         (tan): Force underflow exception for arguments with small absolute
12582         value.
12583         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12584         (__kernel_tanf): Force underflow exception for arguments with
12585         small absolute value.
12586         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12587         (__kernel_tanl): Force underflow exception for arguments with
12588         small absolute value.
12589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12590         (__kernel_tanl): Force underflow exception for arguments with
12591         small absolute value.
12592         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12593         (__kernel_tanl): Force underflow exception for arguments with
12594         small absolute value.
12595         * math/auto-libm-test-in: Add more tests of tan.
12596         * math/auto-libm-test-out: Regenerated.
12598 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12600         Fix sysdeps/i386/fpu/s_scalbn.S build
12602         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12604 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12606         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12608 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12610         Fix gcrt0.o compilation
12612         When static-start-installed-name is different from
12613         start-installed-name, we must not use the shared objects.
12615         * csu/Makefile
12616         (extra-objs): Add gmon-start.o when building shared library and
12617         $(static-start-installed-name) is different from
12618         $(start-installed-name).
12619         $(objpfx)g$(static-start-installed-name): When building shared
12620         library and $(static-start-installed-name) is different from
12621         $(static-start-installed-name), revert to non-shared rule,
12622         i.e. using $(objpfx)% and gmon-start.o.
12624 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12626         [BZ #16519]
12627         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12628         (__ieee754_sinh): Force underflow exception for arguments with
12629         small absolute value.
12630         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12631         (__ieee754_sinhf): Force underflow exception for arguments with
12632         small absolute value.
12633         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12634         (__ieee754_sinhl): Force underflow exception for arguments with
12635         small absolute value.
12636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12637         (__ieee754_sinhl): Force underflow exception for arguments with
12638         small absolute value.
12639         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12640         (__ieee754_sinhl): Force underflow exception for arguments with
12641         small absolute value.
12642         * math/auto-libm-test-in: Add more tests of sinh.
12643         * math/auto-libm-test-out: Regenerated.
12644         * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12648         * libio/oldfileops.c: Include unistd.h.
12650 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12652         * stdlib/isomac.c: Include ctype.h.
12654 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12656         * dirent/tst-seekdir.c (main): Converted to ...
12657         (do_test): ... this.
12658         (TEST_FUNCTION): New macro.
12659         Include test-skeleton.c.
12660         * elf/tst-dlmodcount.c (main): Converted to ...
12661         (do_test): ... this.
12662         (TEST_FUNCTION): New macro.
12663         Include test-skeleton.c.
12664         * elf/tst-order-main.c (main): Converted to ...
12665         (do_test): ... this.
12666         (TEST_FUNCTION): New macro.
12667         Include test-skeleton.c.
12668         * elf/tst-pie2.c (main): Converted to ...
12669         (do_test): ... this.
12670         (TEST_FUNCTION): New macro.
12671         Include test-skeleton.c.
12672         * inet/tst-ether_aton.c (main): Converted to ...
12673         (do_test): ... this.
12674         (TEST_FUNCTION): New macro.
12675         Include test-skeleton.c.
12676         * misc/tst-mntent.c (main): Converted to ...
12677         (do_test): ... this.
12678         (TEST_FUNCTION): New macro.
12679         Include test-skeleton.c.
12680         * misc/tst-tsearch.c (main): Converted to ...
12681         (do_test): ... this.
12682         (TEST_FUNCTION): New macro.
12683         Include test-skeleton.c.
12684         * posix/tst-regexloc.c (main): Converted to ...
12685         (do_test): ... this.
12686         (TEST_FUNCTION): New macro.
12687         Include test-skeleton.c.
12688         * resolv/tst-aton.c (main): Converted to ...
12689         (do_test): ... this.
12690         (TEST_FUNCTION): New macro.
12691         Include test-skeleton.c.
12692         * stdio-common/test-fwrite.c (main): Converted to ...
12693         (do_test): ... this.
12694         (TEST_FUNCTION): New macro.
12695         Include test-skeleton.c.
12696         * stdio-common/tst-ferror.c (main): Converted to ...
12697         (do_test): ... this.
12698         (TEST_FUNCTION): New macro.
12699         Include test-skeleton.c.
12700         * stdio-common/tst-printf.c (main): Converted to ...
12701         (do_test): ... this.
12702         (TEST_FUNCTION): New macro.
12703         Include test-skeleton.c.
12704         * stdio-common/tst-printfsz.c (main): Converted to ...
12705         (do_test): ... this.
12706         (TEST_FUNCTION): New macro.
12707         Include test-skeleton.c.
12708         * stdlib/tst-strtod.c (main): Converted to ...
12709         (do_test): ... this.
12710         (TEST_FUNCTION): New macro.
12711         Include test-skeleton.c.
12712         * string/tst-strlen.c (main): Converted to ...
12713         (do_test): ... this.
12714         (TEST_FUNCTION): New macro.
12715         Include test-skeleton.c.
12716         * string/tst-svc.c (main): Converted to ...
12717         (do_test): ... this.
12718         (TEST_FUNCTION): New macro.
12719         Include test-skeleton.c.
12720         * time/tst-strptime.c (main): Converted to ...
12721         (do_test): ... this.
12722         (TEST_FUNCTION): New macro.
12723         Include test-skeleton.c.
12724         * timezone/tst-timezone.c (main): Converted to ...
12725         (do_test): ... this.
12726         (TEST_FUNCTION): New macro.
12727         Include test-skeleton.c.
12729 2015-08-05  Zack Weinberg  <zackw@panix.com>
12731         * misc/regexp.h: Update comments.
12733 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12735         [BZ #18635]
12736         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12737         before return label.
12739 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12741         [BZ #18661]
12742         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12743         when calling __errno_location.
12744         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12745         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12747 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12749         [BZ #18661]
12750         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12751         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12752         __gettimeofday.
12754 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12756         [BZ #18661]
12757         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12758         (__start_context): Don't use pop to restore %rdi so that stack
12759         is aligned to 16 bytes when calling __setcontext.
12761 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12763         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12764         only for libc.
12765         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12767 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12769         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12770         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12771         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12773 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12775         * string/memccpy.c (memccpy):
12776         Improve performance by using memchr/memcpy/__mempcpy.
12778 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12780         * string/strncpy.c (strncpy):
12781         Improve performance by using __strnlen/memcpy.
12783 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12785         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12786         Optimize to avoid an unnecessary FPCR read.
12788 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12791         Optimize to reduce FPCR/FPSR accesses.
12793 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12795         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12796         dead->data[category] != NULL.
12798 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12800         [BZ #18647]
12801         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12802         and |x| close to 1, use absolute value of x when computing log.
12803         * math/auto-libm-test-in: Add more tests of pow.
12804         * math/auto-libm-test-out: Regenerated.
12806 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12808         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12809         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12810         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12812 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12814         [BZ #18525]
12815         * locales/km_KH: Remove timezone definition.
12816         * locales/lo_LA: Likewise.
12817         * locales/my_MM: Likewise.
12818         * locales/nan_TW@latin: Likewise.
12819         * locales/th_TH: Likewise.
12820         * locales/uk_UA: Likewise.
12822 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12824         [BZ #18265]
12825         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12826         (wcsncat): Likewise.
12827         (wcscmp): Likewise.
12828         (wcsncmp): Likewise.
12830 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12832         * test-skeleton.c (usage): New function.
12833         (main): Call usage when opt is '?'.
12835 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12837         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12838         before first use.
12840 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12842         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12843         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12844         in there too.
12846 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12848         * version.h (RELEASE): Set to "development".
12849         (VERSION): Set to "2.22.90"
12851         * version.h (RELEASE): Set to "stable".
12852         (VERSION): Set to "2.22"
12853         * include/features.h (__GLIBC_MINOR__): Set to 22.
12855 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12857         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12858         Restructure macro to avoid "value computed is not used" warning.
12859         (atomic_compare_and_exchange_val_acq): Likewise.
12861 2015-08-04  Andreas Schwab  <schwab@suse.de>
12863         [BZ #18635]
12864         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12865         ret.
12866         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12868 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12870         * po/pl.po: Updated translation.
12871         * po/uk.po: Likewise.
12872         * po/fi.po: Likewise.
12873         * po/ko.po: Likewise.
12874         * po/ru.po: Likewise.
12875         * po/vi.po: Likewise.
12877 2015-07-31  Zack Weinberg  <zackw@panix.com>
12879         [BZ #18681]
12880         * regexp.h: Add unconditional #warning stating that this header
12881         will be removed soon.  Revise banner comment to match.
12882         (compile): Consistently use ERROR instead of RETURN to report
12883         errors (partial fix for bz#18681).
12884         * regexp.c: Don't include regexp.h. Remove some unnecessary
12885         declarations.
12887 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12889         * po/libc.pot: Regenerated.
12891 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12893         [BZ #18740]
12894         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12895         float-vlen4-arch-ext-cflags): Removed.
12896         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12897         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12899 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12901         [BZ #14113]
12902         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12903         aligned to __aligned__.
12904         (pthread_cond_t, pthread_rwlock_t): Likewise.
12906 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12908         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12910 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12912         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12913         (struct sigaction): Change sa_flags from a long to an int, and add
12914         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12916 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12918         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12919         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12920         sysdeps/generic/sysdep.h include.
12921         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12922         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12923         sysdeps/hppa/sysdep.h.
12924         (ENTRY, PSEUDO): Undefine before defining.
12926 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12928         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12929         from scratch to use INTERNAL_SYSCALL.
12931 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12933         [BZ #18078]
12934         * scripts/check-localplt.awk: Support alternate relocations.
12935         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12936         sections.
12937         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12938         malloc entries with + REL R_386_GLOB_DAT.
12939         * sysdeps/x86_64/localplt.data: New file.
12941 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12943         [BZ #18731]
12944         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12945         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12946         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12948 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12950         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12952 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12954         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12955         directly in terms of __sync_fetch_and_add and delete (int) cast.
12957 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12959         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12960         the -D_ASM_IA64_CURRENT_H flag.
12962 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12964         [BZ #18641]
12965         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12967 2015-07-27  Andreas Schwab  <schwab@suse.de>
12969         * conform/conformtest.pl (checknamespace): Filter out string
12970         literals while tokenizing.
12972 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12974         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12975         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12976         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12978 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12980         * nptl/tst-join7mod.c: Add #include <string.h>.
12982 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12984         * sysdeps/nios2/libm-test-ulps: Update.
12986 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12988         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12989         Fix order of arguments to the rt_sigprocmask syscall.
12990         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12991         Likewise.
12993 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12995         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12997 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12999         [BZ #18457]
13000         * nptl/Makefile (tests): New test case tst-join7.
13001         (modules-names): New test case module tst-join7mod.
13002         * nptl/tst-join7.c: New file.
13003         * nptl/tst-join7mod.c: New file.
13004         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13005         all translation units in libc.so, libpthread.so and rtld.
13007 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13011 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13013         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13014         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13015         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13016         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13018         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13021         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13022         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13023         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13025         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13026         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13027         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13028         implementation.
13030 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13032         [BZ #17711]
13033         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13034         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13035         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13036         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13037         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13038         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13040 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13042         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13043         instead of just saying load lock in the comments.
13045 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13047         * sysdeps/unix/Subdirs: Moved ...
13048         * sysdeps/posix/Subdirs: ... here.
13049         * login/pty.h (struct termios, struct winsize): Add forward decls.
13050         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13051         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13052         * sysdeps/arm/nacl/libc.abilist: Updated.
13053         * sysdeps/nacl/libutil.abilist: New file.
13055         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13056         (SIGWINCH): New macro.
13058         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13059         * sysdeps/arm/nacl/libc.abilist: Add it.
13061 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13063         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13065 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13067         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13068         Swap __glibc_reserved0 and sa_flags order.
13070 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13072         [BZ #18657]
13073         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13074         are pending TLS destructor calls.
13075         * include/link.h (struct link_map): Add concurrency note for
13076         L_TLS_DTOR_COUNT.
13077         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13078         Don't touch the link map flag.  Atomically increment
13079         l_tls_dtor_count.
13080         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13081         Avoid taking the load lock and don't touch the link map flag.
13082         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13083         * stdlib/Makefile (tests): Use it.
13084         * stdlib/tst-tls-atexit.c (do_test): dlopen
13085         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13086         to allow tst-tls-atexit-nodelete test case to use it.
13088 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13090         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13091         to bits/types.h.
13092         (msgqnum_t): New typedef.
13093         (msglen_t): Likewise.
13094         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13095         and msg_qbytes type to msglen_t.
13097 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13099         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13100         pad0 to __glibc_reserved0.
13101         (struct stat64): Likewise.
13103 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13105         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13106         Change sa_flags from a long to an int and add __glibc_reserved0 before
13107         it for padding.
13109 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13111         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13112         anonymous by deleting "siginfo" name.
13114 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13116         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13117         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13118         rather than __nacl_irt_filename.
13119         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13121         * NEWS: New item for arm-nacl port.
13122         * sysdeps/arm/nacl/libc.abilist: New file.
13123         * sysdeps/nacl/ld.abilist: New file.
13124         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13125         * sysdeps/nacl/libanl.abilist: New file.
13126         * sysdeps/nacl/libcrypt.abilist: New file.
13127         * sysdeps/nacl/libdl.abilist: New file.
13128         * sysdeps/nacl/libm.abilist: New file.
13129         * sysdeps/nacl/libpthread.abilist: New file.
13130         * sysdeps/nacl/libresolv.abilist: New file.
13131         * sysdeps/nacl/librt.abilist: New file.
13133 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13135         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13136         __startcontext to initialize the new context.
13137         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13138         up CFI directive to forbid further backtracing.
13140 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13142         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13143         reference.
13144         * charmaps/ANSI_X3.4-1968: Likewise.
13145         * charmaps/BS_4730: Likewise.
13146         * charmaps/BS_VIEWDATA: Likewise.
13147         * charmaps/CP1250: Likewise.
13148         * charmaps/CP1251: Likewise.
13149         * charmaps/CP1252: Likewise.
13150         * charmaps/CP1253: Likewise.
13151         * charmaps/CP1254: Likewise.
13152         * charmaps/CP1255: Likewise.
13153         * charmaps/CP1256: Likewise.
13154         * charmaps/CSN_369103: Likewise.
13155         * charmaps/EBCDIC-DK-NO: Likewise.
13156         * charmaps/GB_1988-80: Likewise.
13157         * charmaps/GREEK-CCITT: Likewise.
13158         * charmaps/GREEK7: Likewise.
13159         * charmaps/INIS-8: Likewise.
13160         * charmaps/ISIRI-3342: Likewise.
13161         * charmaps/ISO_2033-1983: Likewise.
13162         * charmaps/ISO_5427-EXT: Likewise.
13163         * locales/POSIX: Likewise.
13164         * locales/ar_SA: Likewise.
13165         * locales/be_BY: Likewise.
13166         * locales/be_BY@latin: Likewise.
13167         * locales/ca_ES: Likewise.
13168         * locales/cs_CZ: Likewise.
13169         * locales/da_DK: Likewise.
13170         * locales/de_BE: Likewise.
13171         * locales/de_CH: Likewise.
13172         * locales/de_LU: Likewise.
13173         * locales/en_AU: Likewise.
13174         * locales/en_BW: Likewise.
13175         * locales/en_CA: Likewise.
13176         * locales/en_DK: Likewise.
13177         * locales/en_GB: Likewise.
13178         * locales/en_IE: Likewise.
13179         * locales/en_NZ: Likewise.
13180         * locales/en_ZA: Likewise.
13181         * locales/en_ZW: Likewise.
13182         * locales/es_AR: Likewise.
13183         * locales/es_BO: Likewise.
13184         * locales/es_CL: Likewise.
13185         * locales/es_CO: Likewise.
13186         * locales/es_DO: Likewise.
13187         * locales/es_EC: Likewise.
13188         * locales/es_ES: Likewise.
13189         * locales/es_HN: Likewise.
13190         * locales/es_MX: Likewise.
13191         * locales/es_PA: Likewise.
13192         * locales/es_PE: Likewise.
13193         * locales/es_PY: Likewise.
13194         * locales/es_SV: Likewise.
13195         * locales/es_US: Likewise.
13196         * locales/es_UY: Likewise.
13197         * locales/es_VE: Likewise.
13198         * locales/et_EE: Likewise.
13199         * locales/fa_IR: Likewise.
13200         * locales/fo_FO: Likewise.
13201         * locales/fr_CA: Likewise.
13202         * locales/fr_CH: Likewise.
13203         * locales/gv_GB: Likewise.
13204         * locales/he_IL: Likewise.
13205         * locales/hr_HR: Likewise.
13206         * locales/id_ID: Likewise.
13207         * locales/is_IS: Likewise.
13208         * locales/it_CH: Likewise.
13209         * locales/iw_IL: Likewise.
13210         * locales/kl_GL: Likewise.
13211         * locales/ko_KR: Likewise.
13212         * locales/kw_GB: Likewise.
13213         * locales/lg_UG: Likewise.
13214         * locales/lt_LT: Likewise.
13215         * locales/lv_LV: Likewise.
13216         * locales/mi_NZ: Likewise.
13217         * locales/nhn_MX: Likewise.
13218         * locales/nl_BE: Likewise.
13219         * locales/pl_PL: Likewise.
13220         * locales/sk_SK: Likewise.
13221         * locales/sl_SI: Likewise.
13222         * locales/sv_FI: Likewise.
13223         * locales/tl_PH: Likewise.
13224         * locales/tr_TR: Likewise.
13225         * locales/vi_VN: Likewise.
13227 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13229         [BZ #17475]
13230         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13231         of tu_IN and bh_IN.
13233 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13235         [BZ #18694]
13236         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13237         bits/wordsize.h.
13238         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13240 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13242         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13243         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13244         (spawn_thread): New function.
13245         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13246         (do_test): ... here.  Use IS_LOADED to test for its
13247         availability.
13249 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13251         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13253 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13255         [BZ #18696]
13256         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13257         si_addr_bnd.
13258         (si_lower): New.
13259         (si_upper): Likewise.
13261 2015-07-16  David S. Miller  <davem@davemloft.net>
13263         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13265 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13267         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13268         buffer.
13269         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13270         fail output information.
13272 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13275         and strstr-ppc64..
13276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13277         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13278         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13279         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13280         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13282 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13284         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13285         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13286         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13287         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13289 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13291         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13292         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13293         rtld_hidden_proto.
13294         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13296 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13298         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13299         the test can fail.
13301         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13303         [BZ #18676]
13304         * elf/tst-nodelete-opened.c: New test case.
13305         * elf/tst-nodelete-opened-lib.c: New test case module.
13306         * elf/Makefile (tests, modules-names): Use them.
13307         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13308         early.
13310 2015-07-15  David S. Miller  <davem@davemloft.net>
13312         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13313         futex-intenal.h
13314         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13315         * sysdeps/sparc/sparc64/Makefile: Likewise.
13316         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13317         Remove space from macro define.
13318         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13320 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13322         [BZ #17475]
13323         * locale/iso-639.def: Update Bhili and Tulu language codes as
13324         per iso639-3.
13326 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13328         * elf/tst-leaks1.c (main): Converted to ...
13329         (do_test): ... this.
13330         (TEST_FUNCTION): New macro.
13331         Include test-skeleton.c.
13332         * localedata/tst-langinfo.c (main): Converted to ...
13333         (do_test): ... this.
13334         (TEST_FUNCTION): New macro.
13335         Include test-skeleton.c.
13336         * math/test-fpucw.c (main): Converted to ...
13337         (do_test): ... this.
13338         (TEST_FUNCTION): New macro.
13339         Include test-skeleton.c.
13340         * math/test-tgmath.c (main): Converted to ...
13341         (do_test): ... this.
13342         (TEST_FUNCTION): New macro.
13343         Include test-skeleton.c.
13344         * math/test-tgmath2.c (main): Converted to ...
13345         (do_test): ... this.
13346         (TEST_FUNCTION): New macro.
13347         Include test-skeleton.c.
13348         * setjmp/tst-setjmp.c (main): Converted to ...
13349         (do_test): ... this.
13350         (TEST_FUNCTION): New macro.
13351         Include test-skeleton.c.
13352         * stdio-common/tst-sscanf.c (main): Converted to ...
13353         (do_test): ... this.
13354         (TEST_FUNCTION): New macro.
13355         Include test-skeleton.c.
13356         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13357         (do_test): ... this.
13358         (TEST_FUNCTION): New macro.
13359         Include test-skeleton.c.
13361         * elf/tst-audit9.c (main): Converted to ...
13362         (do_test): ... this.
13363         (TEST_FUNCTION): New macro.
13364         Include test-skeleton.c.
13366 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13368         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13370 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13372         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13373         New variable.
13375 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13377         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13379 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13381         * sysdeps/generic/dl-fileid.h: New file.
13382         * sysdeps/posix/dl-fileid.h: New file.
13383         * sysdeps/nacl/dl-fileid.h: New file.
13384         * include/link.h: Include <dl-fileid.h>.
13385         (struct link_map): Replace l_dev and l_ino with l_file_id.
13386         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13387         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13388         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13390 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13392         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13394 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13396         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13397         Add iff $CXX is set.
13398         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13399         Likewise.
13400         (tst-nodelete-zmodiff): Likewise.
13401         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13403 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13405         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13407 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13409         * sysdeps/aarch64/fpu/math_private.h
13410         (define math_opt_barrier): Add AArch64 version.
13411         (math_force_eval): Likewise.
13413 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13415         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13417 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13419         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13420         %ld with %jd and cast to intmax_t.
13421         (do_test_length_zero): Likewise.
13423 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13425         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13427 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13429         * sysdeps/tile/libm-test-ulps: Regenerated.
13431         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13432         Comment out the whole function, not just its body.
13434 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13436         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13437         locks.
13439         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13441 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13443         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13444         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13446 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13448         * sysdeps/nptl/futex-internal.h: New file.
13449         * sysdeps/nacl/futex-internal.h: New file.
13450         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13451         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13452         error checking.
13453         (setxid_unmark_thread): Likewise.
13454         (__nptl_setxid): Likewise.
13455         (__wait_lookup_done): Likewise.
13456         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13457         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13458         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13459         * nptl/pthread_once.c (clear_once_control): Likewise.
13460         (__pthread_once_slow): Likewise.
13461         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13462         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13463         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13464         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13465         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13466         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13467         Likewise.
13468         (__pthread_rwlock_rdlock): Likewise.
13469         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13470         Likewise.
13471         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13472         Likewise.
13473         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13474         Likewise.
13475         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13476         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13477         Likewise.
13478         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13479         __ASSUME_PRIVATE_FUTEX check.
13480         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13481         Check that shared futexes are supported.
13482         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13483         wrappers with error checking.
13484         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13485         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13486         * nptl/pthread_barrierattr_setpshared.c
13487         (pthread_barrierattr_setpshared): Check that shared futexes are
13488         supported.
13489         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13490         Likewise.
13491         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13492         Likewise.
13493         * nptl/sem_init.c (futex_private_if_supported): Remove.
13494         (__new_sem_init): Adapt and check that shared futexes are supported.
13495         * nptl/sem_open.c (sem_open): Likewise.
13496         * nptl/sem_post.c (futex_wake): Remove.
13497         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13498         (do_futex_wait): Use futex wrappers with error checking.
13499         * nptl/sem_wait.c: Include lowlevellock.h.
13500         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13501         Use futex_supports_pshared.
13502         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13503         Use futex wrappers with error checking.
13504         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13505         Likewise.
13506         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13507         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13508         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13509         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13510         (futex_wake): Likewise.
13511         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13512         (do_futex_wait): Use futex wrappers with error checking.
13513         (__new_sem_wait_slow): Update EINTR handling.
13514         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13516 2015-07-09  Martin Sebor  <msebor@redhat.com>
13518         [BZ #18435]
13519         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13520         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13521         * nptl/Makefile (test-xfail-tst-once5): Define.
13523 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13525         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13526         * elf/dl-minimal.c: For readability, reorder some definitions and
13527         introduce more page breaks.  Include <stdio.h>.
13528         (__libc_fatal): New function.
13530         * include/unistd.h: Add rtld_hidden_proto for _exit.
13531         * posix/_exit.c: Add rtld_hidden_def.
13532         * sysdeps/mach/hurd/_exit.c: Likewise.
13533         * sysdeps/nacl/_exit.c: Likewise.
13534         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13535         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13537 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13540         bndmov encoding with zero displacement.
13542 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13543             H.J. Lu  <hongjiu.lu@intel.com>
13545         [BZ #18134]
13546         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13547         * sysdeps/i386/configure: Regenerated.
13548         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13549         (_dl_runtime_profile): Save and restore Intel MPX return bound
13550         registers when calling _dl_call_pltexit.  Add
13551         PRESERVE_BND_REGS_PREFIX before return.
13552         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13553         (LRV_BND1_OFFSET): Likewise.
13554         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13555         lrv_bnd1.
13556         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13557         typo in bndmov encoding.
13558         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13559         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13560         branch instructions to preserve bounds.
13562 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13565         [GLIBC_2.22]: Add fmemopen.
13567 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13569         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13570         returns an error, also try to use host port from __mach_host_self for
13571         the __vm_wire call.
13572         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13574 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13576         [BZ #18400]
13577         [BZ #18648]
13578         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13579         Fix pr_uid and pr_gid members.
13580         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13581         definition to elf_greg_t.
13583 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13585         [BZ #18383]
13586         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13587         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13588         * sysdeps/arm/configure: Regenerated.
13589         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13590         (test-xfail-tst-tlsalign-static): Variable removed.
13592         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13593         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13594         rather than explicit 'ln -s'.
13596         * resolv/rpc/netdb.h: New file.
13597         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13599 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13601         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13602         length buffers.
13603         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13604         test-skeleton.c.
13606         [BZ #6544]
13607         [BZ #11216]
13608         [BZ #12836]
13609         [BZ #13151]
13610         [BZ #13152]
13611         [BZ #14292]
13612         * include/stdio.h (fmemopen): Remove hidden prototype.
13613         (__fmemopen): Add new hidden prototype.
13614         * libio/Makefile: Add oldfmemopen object.
13615         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13616         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13617         compliance.
13618         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13619         symbol compatibility.
13620         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13621         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13622         fmemopen.
13623         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13624         on append and read mode.
13625         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13626         fmemopen.
13627         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13628         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13629         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13630         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13631         Likewise.
13632         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13633         [GLIBC_2.22]: Likewise.
13634         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13637         Likewise.
13638         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13639         [GLIBC_2.22]: Likewise.
13640         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13641         [GLIBC_2.22]: Likewise.
13642         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13643         [GLIBC_2.22]: Likewise.
13644         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13645         [GLIBC_2.22]: Likewise.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13647         [GLIBC_2.22]: Likewise.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13649         [GLIBC_2.22]: Likewise.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13651         [GLIBC_2.22]: Likewise.
13652         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13653         Likewise.
13654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13657         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13658         [GLIBC_2.22]: Likewise.
13659         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13660         [GLIBC_2.22]: Likewise.
13661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13662         [GLIBC_2.22]: Likewise.
13663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13664         [GLIBC_2.22]: Likewise.
13665         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13666         Likewise.
13667         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13668         Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13670         Likewise.
13671         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13672         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13674 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13676         [BZ #18643]
13677         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13678         IPV6_PATHMTU, and IPV6_DONTFRAG.
13680 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13682         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13683         and _IO_UNBUFFERED.
13684         * libio/oldfileops.c: Likewise.
13685         * libio/wfileops.c: Likewise.
13687 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13689         * nscd/selinux.c: Delete selinux/flask.h include.
13691 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13693         [BZ #18641]
13694         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13695         (putpwent): Likewise.
13696         (getpwnam): Likewise.
13697         (getpwent_r): Likewise.
13698         (getpwuid_r): Likewise.
13699         (getpwnam_r): Likewise.
13700         (fgetpwent_r): Likewise.
13702 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13704         [BZ #18557]
13705         * inet/rcmd.c (__validuser2_sa): Check user first to
13706         short-circuit host check.
13708 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13709             Mikhail Ilin  <m.ilin@samsung.com>
13711         [BZ #17833]
13712         * elf/Makefile (tests): Add tst-nodelete.
13713         (modules-names): Add tst-nodelete-uniquemod.
13714         (tst-nodelete-uniquemod.so-no-z-defs): New.
13715         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13716         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13717         ($(objpfx)tst-nodelete): Likewise.
13718         ($(objpfx)tst-nodelete.out): Likewise.
13719         (LDFLAGS-tst-nodelete): Likewise.
13720         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13721         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13722         implement forced object deletion.
13723         (_dl_close): Pass false to _dl_close_worker.
13724         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13725         * elf/tst-nodelete.cc: New file.
13726         * elf/tst-nodeletelib.cc: Likewise.
13727         * elf/tst-znodeletelib.cc: Likewise.
13728         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13730 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13732         [BZ #18508]
13733         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13734         Depend on $(libdl).
13735         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13736         is not called infinitely times.
13737         (backtrace_helper): New function.
13738         (trace_arg): New struct.
13739         (st1): Enlarge stack size.
13740         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13741         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13742         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13743         Likewise.
13745 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13747         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13749 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13751         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13752         Include sys/types.h instead of bits/types.h.
13753         Remove inclusion of bits/wordsize.h.
13755 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13757         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13758         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13759         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13760         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13761         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13762         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13764 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13766         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13767         link-defines.sym.
13768         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13769         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13770         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13771         and LR_SIZE.
13772         * sysdeps/i386/link-defines.sym: New file.
13774 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13776         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13777         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13778         ($(objpfx)tst-audit3): New rule.
13779         ($(objpfx)tst-audit3.out): Likewise.
13780         * sysdeps/i386/tst-audit3.c: New file.
13781         * sysdeps/i386/tst-audit3.h: Likewise.
13782         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13783         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13785 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13787         [BZ #18633]
13788         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13789         pointer in C code.
13790         (__strcat_c): Likewise.
13791         (__strcat_g): Likewise.
13793 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13795         [BZ #18592]
13796         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13798 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13800         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13801         New function.  (__ieee754_sqrtf): New function.
13802         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13803         New function.
13804         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13805         New function.
13807 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13809         * sysdeps/ieee754/support.c: Remove unused file.
13811 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13813         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13814         registers instead of d ones so the layout is kernel abi compatible.
13815         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13816         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13817         Likewise.
13819 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13821         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13823 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13825         [BZ #18619]
13826         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13827         and return argument in case of subnormal argument.
13829 2015-07-01  Martin Sebor  <msebor@redhat.com>
13831         [BZ #18435]
13832         * nptl/Makefile: Add tst-once5.cc.
13833         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13834         Remove macro redefinitions.
13835         * nptl/tst-once5.cc: New test.
13837 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13839         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13841         * sysdeps/arm/libm-test-ulps: Regenerated.
13843         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13844         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13846 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13848         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13849         lll_lock_wait_private and lll_futex_wake probes.
13851         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13852         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13853         Likewise.
13854         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13855         atomic_spin_nop.
13856         * sysdeps/x86_64/bits/atomic.h: Likewise.
13857         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13858         to atomic_spin_nop and move ...
13859         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13860         ... here and ...
13861         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13862         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13863         atomic_spin_nop instead of BUSY_WAIT_NOP.
13864         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13865         Likewise.
13866         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13867         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13868         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13869         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13870         instead of atomic_delay.
13872 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13874         [BZ #18613]
13875         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13876         X_ADJ not X when adjusting exponent.
13877         (__ieee754_gamma_r): Do intermediate computations in
13878         round-to-nearest then adjust overflowing and underflowing results
13879         as needed.
13880         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13881         of X_ADJ not X when adjusting exponent.
13882         (__ieee754_gammaf_r): Do intermediate computations in
13883         round-to-nearest then adjust overflowing and underflowing results
13884         as needed.
13885         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13886         log of X_ADJ not X when adjusting exponent.
13887         (__ieee754_gammal_r): Do intermediate computations in
13888         round-to-nearest then adjust overflowing and underflowing results
13889         as needed.  Use 1.0L not 1.0f as numerator of division.
13890         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13891         log of X_ADJ not X when adjusting exponent.
13892         (__ieee754_gammal_r): Do intermediate computations in
13893         round-to-nearest then adjust overflowing and underflowing results
13894         as needed.  Use 1.0L not 1.0f as numerator of division.
13895         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13896         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13901         to auto-libm-test-in.
13902         (tgamma_test): Use ALL_RM_TEST.
13903         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13904         tests of tgamma with spurious-overflow.
13905         * math/auto-libm-test-out: Regenerated.
13906         * math/gen-libm-have-vector-test.sh: Do not check for START.
13907         * sysdeps/i386/fpu/libm-test-ulps: Update.
13908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13910         [BZ #18612]
13911         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13912         arguments, just return 0.5 times the argument, with underflow
13913         forced as needed.
13914         * math/auto-libm-test-in: Add more tests of j1.
13915         * math/auto-libm-test-out: Regenerated.
13917         [BZ #16559]
13918         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13919         (__ieee754_j1): Force underflow exception for small results.
13920         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13921         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13922         (__ieee754_j1f): Force underflow exception for small results.
13923         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13924         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13926         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13927         (__ieee754_j1l): Force underflow exception for small results.
13928         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13929         * math/auto-libm-test-in: Add more tests of j1 and jn.
13930         * math/auto-libm-test-out: Regenerated.
13932         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13933         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13934         (PF_MPLS): Likewise.
13935         (AF_IB): Likewise.
13936         (AF_MPLS): Likewise.
13937         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13938         value and macro.
13939         (MS_RMT_MASK): Include MS_LAZYTIME.
13941 2015-06-26  Mel Gorman  <mgorman@suse.de>
13943         [BZ #18502]
13944         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13945         already minimal.
13947 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13949         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13950         (DT_MIPS_NUM): Update.
13951         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13952         DT_MIPS_RLD_MAP_REL.
13954 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13956         [BZ #16559]
13957         [BZ #18602]
13958         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13959         round-to-nearest internally then recompute results that
13960         underflowed to zero in the original rounding mode.
13961         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13962         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13964         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13965         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13966         * sysdeps/i386/fpu/libm-test-ulps: Update.
13967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13969 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13971         * NEWS: Fixed description of link with vector math library.
13973 2015-06-25  Andreas Schwab  <schwab@suse.de>
13975         [BZ #18549]
13976         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13977         * libio/test-fmemopen.c (do_test): Add test for it.
13979 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13981         [BZ #17841]
13982         * Makeconfig (no-pie-ldflag): New.
13983         (+link): Set to $(+link-pie) if default to PIE.
13984         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13985         * config.make.in (build-pie-default): New.
13986         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13987         is default.  AC_SUBST.
13988         * configure: Regenerated.
13989         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13991 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13993         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13994         to 'unsigned int'.
13996         * resolv/gai_misc.h (struct waitlist): Change type of field
13997         counterp to 'volatile unsigned int *'.
13998         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13999         FUTEXADDR and OLDVAL.
14000         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14001         Give local variable TOTAL type 'volatile unsigned int'.
14002         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14003         * resolv/gai_suspend.c (gai_suspend):
14004         Give local variable CNTR type 'unsigned int'.
14006         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14007         counterp to 'volatile unsigned int *'.
14008         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14009         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14010         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14011         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14012         Give local variable TOTAL type 'volatile unsigned int'.
14013         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14015 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14017         [BZ #18383]
14018         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14019         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14020         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14021         comment for i386/x86-64.
14022         (test-xfail-tst-tlsalign-extern-static): Removed.
14024 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14026         * math/test-double.h: New file.
14027         * math/test-float.h: Likewise.
14028         * math/test-ldouble.h: Likewise.
14029         * math/test-math-inline.h: Likewise.
14030         * math/test-math-no-inline.h: Likewise.
14031         * math/test-math-scalar.h: Likewise.
14032         * math/test-math-vector.h: Likewise.
14033         * math/test-vec-loop.h: Remove file.  Contents moved into
14034         test-math-vector.h.
14035         * math/libm-test.inc (MATHCONST): Do not document macro.
14036         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14037         and test-math-scalar.h.
14038         (FUNC): Remove macro.
14039         (FUNC_TEST): Likewise.
14040         (FLOAT): Likewise.
14041         (MATHCONST): Likewise.
14042         (PRINTF_EXPR): Likewise.
14043         (PRINTF_XEXPR): Likewise.
14044         (PRINTF_NEXPR): Likewise.
14045         (TEST_DOUBLE): Likewise.
14046         (TEST_MATHVEC): Likewise.
14047         (__NO_MATH_INLINES): Likewise.
14048         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14049         and test-math-scalar.h.
14050         (FUNC): Remove macro.
14051         (FUNC_TEST): Likewise.
14052         (FLOAT): Likewise.
14053         (MATHCONST): Likewise.
14054         (PRINTF_EXPR): Likewise.
14055         (PRINTF_XEXPR): Likewise.
14056         (PRINTF_NEXPR): Likewise.
14057         (TEST_FLOAT): Likewise.
14058         (TEST_MATHVEC): Likewise.
14059         (__NO_MATH_INLINES): Likewise.
14060         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14061         and test-math-scalar.h.
14062         (FUNC): Remove macro.
14063         (FUNC_TEST): Likewise.
14064         (FLOAT): Likewise.
14065         (MATHCONST): Likewise.
14066         (PRINTF_EXPR): Likewise.
14067         (PRINTF_XEXPR): Likewise.
14068         (PRINTF_NEXPR): Likewise.
14069         (TEST_DOUBLE): Likewise.
14070         (TEST_MATHVEC): Likewise.
14071         (TEST_INLINE): Likewise.
14072         (__NO_MATH_INLINES): Likewise.
14073         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14074         test-math-scalar.h.
14075         (FUNC): Remove macro.
14076         (FUNC_TEST): Likewise.
14077         (FLOAT): Likewise.
14078         (MATHCONST): Likewise.
14079         (PRINTF_EXPR): Likewise.
14080         (PRINTF_XEXPR): Likewise.
14081         (PRINTF_NEXPR): Likewise.
14082         (TEST_FLOAT): Likewise.
14083         (TEST_MATHVEC): Likewise.
14084         (TEST_INLINE): Likewise.
14085         (__NO_MATH_INLINES): Likewise.
14086         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14087         and test-math-scalar.h.
14088         (FUNC): Remove macro.
14089         (FUNC_TEST): Likewise.
14090         (FLOAT): Likewise.
14091         (MATHCONST): Likewise.
14092         (PRINTF_EXPR): Likewise.
14093         (PRINTF_XEXPR): Likewise.
14094         (PRINTF_NEXPR): Likewise.
14095         (TEST_LDOUBLE): Likewise.
14096         (TEST_MATHVEC): Likewise.
14097         (TEST_INLINE): Likewise.
14098         (__NO_MATH_INLINES): Likewise.
14099         * math/test-ldouble.c: Include test-ldouble.h,
14100         test-math-no-inline.h and test-math-scalar.h.
14101         (FUNC): Remove macro.
14102         (FUNC_TEST): Likewise.
14103         (FLOAT): Likewise.
14104         (MATHCONST): Likewise.
14105         (PRINTF_EXPR): Likewise.
14106         (PRINTF_XEXPR): Likewise.
14107         (PRINTF_NEXPR): Likewise.
14108         (TEST_LDOUBLE): Likewise.
14109         (TEST_MATHVEC): Likewise.
14110         (__NO_MATH_INLINES): Likewise.
14111         * math/test-double-vlen2.h: Include test-double.h,
14112         test-math-no-inline.h and test-math-vector.h.
14113         (FLOAT): Remove macro.
14114         (FUNC): Likewise.
14115         (MATHCONST): Likewise.
14116         (PRINTF_EXPR): Likewise.
14117         (PRINTF_XEXPR): Likewise.
14118         (PRINTF_NEXPR): Likewise.
14119         (TEST_DOUBLE): Likewise.
14120         (TEST_MATHVEC): Likewise.
14121         (__NO_MATH_INLINES): Likewise.
14122         (CNCT): Likewise.
14123         (CONCAT): Likewise.
14124         (WRAPPER_NAME): Likewise.
14125         (WRAPPER_DECL): Likewise.
14126         (WRAPPER_DECL_ff): Likewise.
14127         (WRAPPER_DECL_fFF): Likewise.
14128         (VECTOR_WRAPPER): Likewise.
14129         (VECTOR_WRAPPER_ff): Likewise.
14130         (VECTOR_WRAPPER_fFF): Likewise.
14131         (VEC_LEN): New macro.
14132         * math/test-double-vlen4.h: Include test-double.h,
14133         test-math-no-inline.h and test-math-vector.h.
14134         (FLOAT): Remove macro.
14135         (FUNC): Likewise.
14136         (MATHCONST): Likewise.
14137         (PRINTF_EXPR): Likewise.
14138         (PRINTF_XEXPR): Likewise.
14139         (PRINTF_NEXPR): Likewise.
14140         (TEST_DOUBLE): Likewise.
14141         (TEST_MATHVEC): Likewise.
14142         (__NO_MATH_INLINES): Likewise.
14143         (CNCT): Likewise.
14144         (CONCAT): Likewise.
14145         (WRAPPER_NAME): Likewise.
14146         (WRAPPER_DECL): Likewise.
14147         (WRAPPER_DECL_ff): Likewise.
14148         (WRAPPER_DECL_fFF): Likewise.
14149         (VECTOR_WRAPPER): Likewise.
14150         (VECTOR_WRAPPER_ff): Likewise.
14151         (VECTOR_WRAPPER_fFF): Likewise.
14152         (VEC_LEN): New macro.
14153         * math/test-double-vlen8.h: Include test-double.h,
14154         test-math-no-inline.h and test-math-vector.h.
14155         (FLOAT): Remove macro.
14156         (FUNC): Likewise.
14157         (MATHCONST): Likewise.
14158         (PRINTF_EXPR): Likewise.
14159         (PRINTF_XEXPR): Likewise.
14160         (PRINTF_NEXPR): Likewise.
14161         (TEST_DOUBLE): Likewise.
14162         (TEST_MATHVEC): Likewise.
14163         (__NO_MATH_INLINES): Likewise.
14164         (CNCT): Likewise.
14165         (CONCAT): Likewise.
14166         (WRAPPER_NAME): Likewise.
14167         (WRAPPER_DECL): Likewise.
14168         (WRAPPER_DECL_ff): Likewise.
14169         (WRAPPER_DECL_fFF): Likewise.
14170         (VECTOR_WRAPPER): Likewise.
14171         (VECTOR_WRAPPER_ff): Likewise.
14172         (VECTOR_WRAPPER_fFF): Likewise.
14173         (VEC_LEN): New macro.
14174         * math/test-float-vlen4.h: Include test-float.h,
14175         test-math-no-inline.h and test-math-vector.h.
14176         (FLOAT): Remove macro.
14177         (FUNC): Likewise.
14178         (MATHCONST): Likewise.
14179         (PRINTF_EXPR): Likewise.
14180         (PRINTF_XEXPR): Likewise.
14181         (PRINTF_NEXPR): Likewise.
14182         (TEST_FLOAT): Likewise.
14183         (TEST_MATHVEC): Likewise.
14184         (__NO_MATH_INLINES): Likewise.
14185         (CNCT): Likewise.
14186         (CONCAT): Likewise.
14187         (WRAPPER_NAME): Likewise.
14188         (WRAPPER_DECL): Likewise.
14189         (WRAPPER_DECL_ff): Likewise.
14190         (WRAPPER_DECL_fFF): Likewise.
14191         (VECTOR_WRAPPER): Likewise.
14192         (VECTOR_WRAPPER_ff): Likewise.
14193         (VECTOR_WRAPPER_fFF): Likewise.
14194         (VEC_LEN): New macro.
14195         * math/test-float-vlen8.h: Include test-float.h,
14196         test-math-no-inline.h and test-math-vector.h.
14197         (FLOAT): Remove macro.
14198         (FUNC): Likewise.
14199         (MATHCONST): Likewise.
14200         (PRINTF_EXPR): Likewise.
14201         (PRINTF_XEXPR): Likewise.
14202         (PRINTF_NEXPR): Likewise.
14203         (TEST_FLOAT): Likewise.
14204         (TEST_MATHVEC): Likewise.
14205         (__NO_MATH_INLINES): Likewise.
14206         (CNCT): Likewise.
14207         (CONCAT): Likewise.
14208         (WRAPPER_NAME): Likewise.
14209         (WRAPPER_DECL): Likewise.
14210         (WRAPPER_DECL_ff): Likewise.
14211         (WRAPPER_DECL_fFF): Likewise.
14212         (VECTOR_WRAPPER): Likewise.
14213         (VECTOR_WRAPPER_ff): Likewise.
14214         (VECTOR_WRAPPER_fFF): Likewise.
14215         (VEC_LEN): New macro.
14216         * math/test-float-vlen16.h: Include test-float.h,
14217         test-math-no-inline.h and test-math-vector.h.
14218         (FLOAT): Remove macro.
14219         (FUNC): Likewise.
14220         (MATHCONST): Likewise.
14221         (PRINTF_EXPR): Likewise.
14222         (PRINTF_XEXPR): Likewise.
14223         (PRINTF_NEXPR): Likewise.
14224         (TEST_FLOAT): Likewise.
14225         (TEST_MATHVEC): Likewise.
14226         (__NO_MATH_INLINES): Likewise.
14227         (CNCT): Likewise.
14228         (CONCAT): Likewise.
14229         (WRAPPER_NAME): Likewise.
14230         (WRAPPER_DECL): Likewise.
14231         (WRAPPER_DECL_ff): Likewise.
14232         (WRAPPER_DECL_fFF): Likewise.
14233         (VECTOR_WRAPPER): Likewise.
14234         (VECTOR_WRAPPER_ff): Likewise.
14235         (VECTOR_WRAPPER_fFF): Likewise.
14236         (VEC_LEN): New macro.
14237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14238         test-vec-loop.h.
14239         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14242         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14243         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14247 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14249         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14250         (__getlogin_r): ... this.
14252 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14254         [BZ #18594]
14255         * math/s_ccosh.c (__ccosh): Compare with least normal value
14256         instead of comparing class with FP_SUBNORMAL.
14257         * math/s_ccoshf.c (__ccoshf): Likewise.
14258         * math/s_ccoshl.c (__ccoshl): Likewise.
14259         * math/s_cexp.c (__cexp): Likewise.
14260         * math/s_cexpf.c (__cexpf): Likewise.
14261         * math/s_cexpl.c (__cexpl): Likewise.
14262         * math/s_csin.c (__csin): Likewise.
14263         * math/s_csinf.c (__csinf): Likewise.
14264         * math/s_csinh.c (__csinh): Likewise.
14265         * math/s_csinhf.c (__csinhf): Likewise.
14266         * math/s_csinhl.c (__csinhl): Likewise.
14267         * math/s_csinl.c (__csinl): Likewise.
14268         * math/s_ctan.c (__ctan): Likewise.
14269         * math/s_ctanf.c (__ctanf): Likewise.
14270         * math/s_ctanh.c (__ctanh): Likewise.
14271         * math/s_ctanhf.c (__ctanhf): Likewise.
14272         * math/s_ctanhl.c (__ctanhl): Likewise.
14273         * math/s_ctanl.c (__ctanl): Likewise.
14274         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14275         csin, csinh, ctan and ctanh.
14276         * math/auto-libm-test-out: Regenerated.
14277         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14278         * sysdeps/i386/fpu/libm-test-ulps: Update.
14279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14281 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14283         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14284         return value is wrong, print the expected value too.
14286 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14288         [BZ #18585]
14289         * elf/readlib.c (is_gdb_python_file): New.
14290         (process_file): Don't issue errors on filenames with -gdb.py
14291         suffix.
14293 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14295         * math/auto-libm-test-in: Add more tests of csin and csinh.
14296         * math/auto-libm-test-out: Regenerated.
14297         * math/libm-test.inc (csin_test_data): Remove tests moved to
14298         auto-libm-test-in.
14299         (csinh_test_data): Likewise.
14301         [BZ #18593]
14302         * math/s_csin.c (__csin): Negate before rather than after possibly
14303         overflowing multiplication.
14304         * math/s_csinf.c (__csinf): Likewise.
14305         * math/s_csinh.c (__csinh): Likewise.
14306         * math/s_csinhf.c (__csinhf): Likewise.
14307         * math/s_csinhl.c (__csinhl): Likewise.
14308         * math/s_csinl.c (__csinl): Likewise.
14309         * math/auto-libm-test-in: Add some tests of csin and csinh.
14310         * math/auto-libm-test-out: Regenerated.
14311         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14312         (csinh_test_data): Likewise.
14313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14315         [BZ #18586]
14316         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14317         underflow exception for small results.
14319 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14321         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14322         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14323         variable and included header.
14324         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14325         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14327         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14328         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14329         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14330         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14331         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14332         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14333         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14334         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14335         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14336         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14337         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14338         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14339         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14341 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14343         [BZ #16526]
14344         [BZ #16538]
14345         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14346         (__sin): Force underflow exception for arguments with small
14347         absolute value.
14348         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14349         (__kernel_sinf): Force underflow exception for arguments with
14350         small absolute value.
14351         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14352         (__kernel_sincosl): Force underflow exception for arguments with
14353         small absolute value.
14354         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14355         (__kernel_sinl): Force underflow exception for arguments with
14356         small absolute value.
14357         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14358         (__kernel_sincosl): Force underflow exception for arguments with
14359         small absolute value.
14360         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14361         (__kernel_sinl): Force underflow exception for arguments with
14362         small absolute value.
14363         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14364         (__kernel_sinl): Force underflow exception for arguments with
14365         small absolute value.
14366         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14367         (__kernel_sinf): Force underflow exception for arguments with
14368         small absolute value.
14369         * math/auto-libm-test-in: Add more tests of sin and sincos.
14370         * math/auto-libm-test-out: Regenerated.
14372         [BZ #18245]
14373         [BZ #18583]
14374         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14375         (__kernel_standard_l): Use feholdexcept and fesetenv around
14376         conversion to double instead of special-casing overflow and
14377         underflow.
14378         * math/libm-test.inc (fmod_test_data): Add more tests.
14379         (remainder_test_data): Likewise.
14380         (sqrt_test_data): Likewise.
14382 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14384         [BZ #17403]
14385         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14386         atomic_read_barrier, atomic_write_barrier): Define.
14387         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14388         atomic_read_barrier, atomic_write_barrier): Define.
14390 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14392         * math/Makefile [$(PERL) != no]
14393         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14394         dependency on libm-test.stmp below the inclusion of Rules.
14396 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14398         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14400         and included header.
14401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14402         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14406         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14407         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14409         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14410         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14411         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14412         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14413         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14414         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14415         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14416         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14417         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14418         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14419         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14421 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14423         [BZ #18371]
14424         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14425         intermediate but not final result might underflow.
14426         * math/s_csqrtf.c (__csqrtf): Likewise.
14427         * math/s_csqrtl.c (__csqrtl): Likewise.
14428         * math/auto-libm-test-in: Add more tests of csqrt.
14429         * math/auto-libm-test-out: Regenerated.
14430         * sysdeps/i386/fpu/libm-test-ulps: Update.
14432         [BZ #18219]
14433         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14434         threshold on absolute value of exponent for which scaling is used.
14435         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14436         * math/auto-libm-test-in: Add more tests of exp2.
14437         * math/auto-libm-test-out: Regenerated.
14439 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14441         [BZ #17977]
14442         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14443         when initializing interface list, based on the bug analysis
14444         and the patch proposed by Eric Newton.
14445         * resolv/tst-res_hconf_reorder.c: New test.
14446         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14447         tst-res_hconf_reorder.
14448         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14449         and $(shared-thread-library).
14450         (tst-res_hconf_reorder-ENV): New variable.
14452         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14453         in comment.
14455 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14457         [BZ #16353]
14458         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14459         (__expm1): Force underflow exception for arguments with small
14460         absolute value.
14461         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14462         (__expm1f): Force underflow exception for arguments with small
14463         absolute value.
14464         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14465         (__expm1): Force underflow exception for arguments with small
14466         absolute value.
14467         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14468         (__expm1f): Force underflow exception for arguments with small
14469         absolute value.
14470         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14471         Check for small arguments before calling __expm1.
14472         * math/auto-libm-test-in: Do not mark underflow exceptions as
14473         possibly missing for bug 16353.
14474         * math/auto-libm-test-out: Regenerated.
14476 2015-06-22  Andreas Schwab  <schwab@suse.de>
14478         [BZ #18513]
14479         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14480         PTR queries.
14482 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14484         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14486         * string/strcoll_l.c: Remove unused struct element idxnow.
14488 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14490         [BZ #18569]
14491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14492         underflow and return argument in case of subnormal argument.
14493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14494         Likewise.
14495         * math/auto-libm-test-in: Add more tests of expm1.
14496         * math/auto-libm-test-out: Regenerated.
14498         [BZ #16361]
14499         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14500         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14501         tiny results.
14502         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14503         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14504         tiny results.
14505         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14506         mark underflow exceptions as possibly missing for bug 16361.
14507         * math/auto-libm-test-out: Regenerated.
14509 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14511         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14512         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14513         Remove variable.
14514         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14515         (test-xfail-XOPEN2K8/utmpx.h/conform).
14517         * conform/conformtest.pl ($xerrors): New variable.
14518         (note_error): New function.
14519         (compiletest): New argument $xfail.  Use not_error.
14520         (runtest): Likewise.
14521         (top level): Handle xfail- lines.  Update calls to compiletest and
14522         runtest.  Handle xfail- and optional- in headers listed with
14523         allow-header.
14524         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14525         (O_EXEC): Likewise.
14526         (O_SEARCH): Likewise.
14527         * conform/data/stropts.h-data (ioctl): Likewise.
14528         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14529         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14530         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14531         (msghdr.msg_controllen): Likewise.
14532         (cmsghdr.cmsg_len): Likewise.
14533         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14534         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14535         variable.
14536         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14537         (test-xfail-XPG4/stropts.h/conform): Likewise.
14538         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14539         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14540         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14541         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14542         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14543         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14544         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14545         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14546         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14547         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14548         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14549         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14550         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14551         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14552         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14553         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14554         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14555         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14556         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14558 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14560         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14561         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14562         definitions for proper unfolding of __MATHDECL_VEC.
14564 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14566         * benchtests/bench-strcoll.c:
14567         Include string.h.
14568         (main): Remove unused variable res.
14570 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14572         * timezone/Makefile (%/UTC %/Universal):
14573         Generate test-result files for UTC and Universal.
14575 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14577         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14579 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14581         [BZ #16350]
14582         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14583         for arguments with small absolute value.
14584         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14585         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14586         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14587         (__asinh): Force underflow exception for arguments with small
14588         absolute value.
14589         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14590         (__asinhf): Force underflow exception for arguments with small
14591         absolute value.
14592         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14593         (__asinhl): Force underflow exception for arguments with small
14594         absolute value.
14595         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14596         (__asinhl): Force underflow exception for arguments with small
14597         absolute value.
14598         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14599         (__asinhl): Force underflow exception for arguments with small
14600         absolute value.
14601         * math/auto-libm-test-in: Do not mark underflow exceptions as
14602         possibly missing for bug 16350.
14603         * math/auto-libm-test-out: Regenerated.
14605         * include/bits/ipc.h: Remove file.
14606         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14607         variable.
14608         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14609         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14610         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14611         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14612         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14613         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14614         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14615         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14616         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14618         * math/auto-libm-test-in: Remove spurious underflow allowance for
14619         tests of cexp.
14620         * math/auto-libm-test-out: Regenerated.
14622         [BZ #18558]
14623         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14624         unconditional definition.
14625         (MCAST_BLOCK_SOURCE): Likewise.
14626         (MCAST_UNBLOCK_SOURCE): Likewise.
14627         (MCAST_LEAVE_GROUP): Likewise.
14628         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14629         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14630         (MCAST_MSFILTER): Likewise.
14631         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14632         Remove variable.
14633         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14634         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14635         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14636         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14637         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14639 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14641         * NEWS: Mention addition of x86_64 vector sincosf.
14642         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14643         * math/test-float-vlen4.h: Likewise.
14644         * math/test-float-vlen8.h: Likewise.
14645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14646         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14647         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14648         * sysdeps/x86_64/fpu/Versions: New versions added.
14649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14650         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14651         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14652         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14653         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14654         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14655         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14656         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14657         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14658         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14659         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14660         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14661         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14662         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14663         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14664         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14665         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14666         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14667         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14668         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14671         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14672         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14674         * NEWS: Mention addition of x86_64 vector sincos.
14675         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14676         * math/math.h (__MATHDECL_VEC): New macro.
14677         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14678         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14679         declaration under condition.
14680         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14681         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14682         TEST_VEC_LOOP change.
14683         * math/test-double-vlen4.h: Likewise.
14684         * math/test-double-vlen8.h: Likewise.
14685         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14686         * math/test-float-vlen4.h: Likewise.
14687         * math/test-float-vlen8.h: Likewise.
14688         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14689         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14690         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14691         * sysdeps/x86_64/fpu/Versions: New versions added.
14692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14693         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14694         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14698         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14701         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14702         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14703         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14704         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14705         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14706         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14707         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14708         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14709         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14712         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14713         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14714         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14715         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14717         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14718         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14719         redirections for powf.
14720         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14721         * sysdeps/x86_64/fpu/Versions: New versions added.
14722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14723         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14724         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14725         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14726         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14727         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14728         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14729         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14730         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14731         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14732         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14733         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14734         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14735         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14736         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14737         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14738         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14739         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14740         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14741         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14742         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14743         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14744         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14745         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14746         * math/test-float-vlen16.h: Fixed 2 argument macro.
14747         * math/test-float-vlen4.h: Likewise.
14748         * math/test-float-vlen8.h: Likewise.
14749         * NEWS: Mention addition of x86_64 vector powf.
14751 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14753         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14754         and redefine.
14755         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14756         and redefine.
14757         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14761         [BZ #18553]
14762         * resource/getpriority.c (getpriority): Rename to __getpriority
14763         and define as weak alias of __getpriority.
14764         * resource/setpriority.c (setpriority): Rename to __setpriority
14765         and define as weak alias of __setpriority.
14766         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14767         __getpriority and define as weak alias of __getpriority.
14768         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14769         __setpriority and define as weak alias of __setpriority.
14770         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14771         strong name.
14772         (setpriority): Use __setpriority as strong name.
14773         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14774         __getpriority and define as weak alias of __getpriority.
14775         * include/sys/resource.h (__getpriority): Declare.  Use
14776         libc_hidden_proto.
14777         (__setpriority): Likewise.
14778         (getpriority): Don't use libc_hidden_proto.
14779         (setpriority): Likewise.
14780         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14781         getpriority.  Call __setpriority instead of setpriority.
14782         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14783         Remove variable.
14785         [BZ #18547]
14786         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14787         as weak alias of __getttynam.  Use prototype function definition.
14788         Call __setttyent, __getttyent and __endttyent instead of
14789         setttyent, getttyent and endttyent.
14790         (getttyent): Rename to __getttyent and define as weak alias of
14791         __getttyent.  Call __setttyent instead of setttyent.  Call
14792         __fgets_unlocked instead of fgets_unlocked.
14793         (setttyent): Rename to __setttyent and define as weak alias of
14794         __setttyent.
14795         (endttyent): Rename to __endttyent and define as weak alias of
14796         __endttyent.
14797         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14798         (__setttyent): Likewise.
14799         (__endttyent): Likewise.
14800         (getttyent): Don't use libc_hidden_proto.
14801         (setttyent): Likewise.
14802         (endttyent): Likewise.
14803         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14804         __endttyent instead of setttyent, getttyent and endttyent.
14805         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14806         Remove variable.
14808         [BZ #18546]
14809         * socket/recv.c (__recv): Use libc_hidden_def.
14810         * socket/socket.c (__socket): Likewise.
14811         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14812         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14813         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14814         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14815         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14816         libc_hidden_def.
14817         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14818         libc_hidden_weak.
14819         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14820         Use libc_hidden_proto.
14821         (__recv): Likewise.
14822         * socket/Versions (libc): Export __recv and __socket at version
14823         GLIBC_PRIVATE.
14824         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14825         instead of recv.
14826         (init_mq_netlink): Call __socket instead of socket.
14827         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14828         Remove variable.
14830         [BZ #18545]
14831         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14832         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14833         hidden_weak.
14834         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14835         define as alias of __mq_timedsend.  Use hidden_weak.
14836         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14837         __mq_timedsend as strong name.
14838         (mq_timedreceive): Use __mq_timedreceive as strong name.
14839         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14840         (__mq_timedreceive): Likewise.
14841         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14842         __mq_timedreceive instead of mq_timedreceive.
14843         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14844         instead of mq_timedsend.
14845         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14846         Remove variable.
14848         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14849         hidden_def and hidden_weak instead of libc_hidden_def and
14850         libc_hidden_weak.
14851         (top level): Refer to hidden_def in comment.
14852         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14853         macro.  Use it instead of libc_hidden_def.
14854         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14855         specify __GI_* name explicitly.
14856         (mq_timedreceive): Likewise.
14857         (mq_setattr): Likewise.
14859         [BZ #18544]
14860         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14861         __pthread_barrier_init and define as weak alias of
14862         __pthread_barrier_init.
14863         * sysdeps/sparc/nptl/pthread_barrier_init.c
14864         (pthread_barrier_init): Likewise.
14865         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14866         __pthread_barrier_wait and define as weak alias of
14867         __pthread_barrier_wait.
14868         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14869         (pthread_barrier_wait): Likewise.
14870         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14871         (pthread_barrier_wait): Likewise.
14872         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14873         (pthread_barrier_wait): Likewise.
14874         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14875         (pthread_barrier_wait): Likewise.
14876         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14877         __pthread_barrier_wait at version GLIBC_PRIVATE.
14878         * include/pthread.h (__pthread_barrier_init): Declare.
14879         (__pthread_barrier_wait): Likewise.
14880         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14881         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14882         (helper_thread): Likewise.
14883         (init_mq_netlink): Call __pthread_barrier_init instead of
14884         pthread_barrier_init.
14886         [BZ #18542]
14887         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14888         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14889         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14890         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14891         vswscanf.
14892         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14893         Remove variable.
14895         [BZ #18540]
14896         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14897         strong alias of _IO_fflush.  Use libc_hidden_def.
14898         * libio/iofflush_u.c (fflush_unlocked): Rename to
14899         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14900         Use libc_hidden_weak.
14901         * include/stdio.h (__fflush_unlocked): Declare.  Use
14902         libc_hidden_proto.
14903         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14904         fflush_unlocked.
14905         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14906         Remove variable.
14908         [BZ #18539]
14909         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14910         define as weak alias of __addseverity.
14911         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14912         Remove variable.
14913         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14914         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14915         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14917         [BZ #18536]
14918         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14919         (__tfind): Likewise.
14920         (__tdelete): Likewise.
14921         (__twalk): Likewise.
14922         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14923         __twalk to GLIBC_PRIVATE.
14924         * include/search.h (__tsearch): Use libc_hidden_proto.
14925         (__tfind): Likewise.
14926         (__tdelete): Likewise.
14927         (__twalk): Likewise.
14928         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14929         Call __tdelete instead of tdelete.
14930         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14931         tfind.  Call __tsearch instead of tsearch.
14932         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14933         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14934         Remove variable.
14935         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14937         [BZ #18534]
14938         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14939         (dprintf): Define as a weak alias of __dprintf, not a strong
14940         alias.
14941         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14942         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14943         dprintf.
14944         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14945         Remove variable.
14946         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14947         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14949         [BZ #18533]
14950         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14951         not a strong alias.
14952         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14953         Remove variable.
14955         [BZ #18532]
14956         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14957         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14958         (in6addr_loopback): Rename to __in6addr_loopback and define as
14959         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14960         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14961         libc_hidden_proto.
14962         (__in6addr_any): Likewise.
14963         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14964         in6addr_any.
14965         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14966         variable.
14967         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14969 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14971         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14972         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14975         redirections for pow.
14976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14977         * sysdeps/x86_64/fpu/Versions: New versions added.
14978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14980         build of SSE, AVX2 and AVX512 IFUNC versions.
14981         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14982         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14983         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14984         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14985         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14986         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14987         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14988         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14989         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14990         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14991         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14992         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14993         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14994         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14995         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14999         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15001         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15002         * NEWS: Mention addition of x86_64 vector pow.
15004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15006         redirections for expf.
15007         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15008         * sysdeps/x86_64/fpu/Versions: New versions added.
15009         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15011         build of SSE, AVX2 and AVX512 IFUNC versions.
15012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15014         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15015         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15016         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15017         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15018         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15019         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15020         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15021         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15022         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15023         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15024         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15025         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15026         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15027         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15029         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15030         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15031         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15032         * NEWS: Mention addition of x86_64 vector expf.
15034         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15035         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15037         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15038         redirections for exp.
15039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15040         * sysdeps/x86_64/fpu/Versions: New versions added.
15041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15043         build of SSE, AVX2 and AVX512 IFUNC versions.
15044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15045         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15046         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15047         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15048         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15049         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15050         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15051         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15052         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15053         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15054         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15055         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15056         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15057         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15058         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15060         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15061         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15062         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15063         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15064         * NEWS: Mention addition of x86_64 vector exp.
15066         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15067         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15068         redirections for logf.
15069         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15070         * sysdeps/x86_64/fpu/Versions: New versions added.
15071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15072         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15073         build of SSE, AVX2 and AVX512 IFUNC versions.
15074         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15075         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15077         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15079         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15080         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15081         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15082         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15083         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15084         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15085         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15086         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15087         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15088         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15089         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15090         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15091         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15092         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15093         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15094         * NEWS: Mention addition of x86_64 vector logf.
15096         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15097         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15098         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15099         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15100         redirections for log.
15101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15102         * sysdeps/x86_64/fpu/Versions: New versions added.
15103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15105         build of SSE, AVX2 and AVX512 IFUNC versions.
15106         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15107         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15108         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15109         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15110         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15111         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15112         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15113         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15114         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15115         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15116         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15117         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15118         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15119         test.
15120         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15124         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15126         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15127         * NEWS: Mention addition of x86_64 vector log.
15129 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15131         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15132         cfi_adjust_cfa_offset argument.
15133         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15134         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15136         [BZ #18034]
15137         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15138         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15139         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15140         ordering using ldar.
15141         (_dl_tlsdesc_dynamic): Likewise.
15142         (_dl_tlsdesc_return_lazy): Likewise.
15143         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15144         relaxed atomics instead of volatile and synchronize with release store.
15145         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15146         volatile.
15147         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15149 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15151         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15152         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15154         * sysdeps/x86_64/fpu/Versions: New versions added.
15155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15156         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15157         build of SSE, AVX2 and AVX512 IFUNC versions.
15158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15160         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15161         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15162         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15163         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15164         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15165         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15166         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15167         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15168         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15169         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15170         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15171         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15173         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15177         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15178         * NEWS: Mention addition of x86_64 vector sinf.
15180 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15182         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15183         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15184         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15185         Remove variable.
15186         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15187         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15189 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15191         [BZ #18530]
15192         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15193         strong alias of _IO_fputs.  Use libc_hidden_def.
15194         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15195         and define as weak alias of __fputs_unlocked.  Use
15196         libc_hidden_weak.
15197         * include/stdio.h (__fputs_unlocked): Declare.  Use
15198         libc_hidden_proto.
15199         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15200         fputs_unlocked.
15202         [BZ #18529]
15203         * resolv/netdb.h [__USE_POSIX]: Change condition to
15204         [__USE_XOPEN2K].
15205         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15206         not expect.
15207         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15208         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15209         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15210         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15211         [XPG4 || UNIX98] (AI_ALL): Likewise.
15212         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15213         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15214         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15215         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15216         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15217         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15218         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15219         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15220         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15221         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15222         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15223         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15224         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15225         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15226         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15227         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15228         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15229         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15230         [XPG4 || UNIX98] (gai_strerror): Likewise.
15231         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15232         [XPG4 || UNIX98] (getnameinfo): Likewise.
15234         [BZ #18528]
15235         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15236         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15237         __USE_XOPEN2K8].
15238         (getgrent): Likewise.
15239         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15240         expect.
15241         [XPG3 || POSIX2008] (endgrent): Likewise.
15242         [XPG3] (setgrent): Likewise.
15243         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15244         variable.
15245         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15247         [BZ #18527]
15248         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15249         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15250         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15251         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15252         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15253         * include/unistd.h (__getlogin_r): Declare.  Use
15254         libc_hidden_proto.
15255         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15256         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15257         variable.
15258         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15259         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15260         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15262 2015-06-12  Martin Sebor  <msebor@redhat.com>
15264         [BZ #18512]
15265         * Makerules (check-install-supported): New target.
15266         (install): Add check-install-supported as a dependency.
15267         * manual/install.texi (Installing the C Library): Document
15268         that overriding prefix and exec_prefix is not supported.
15269         Mention DESTDIR.
15270         * INSTALL: Regenerate from the above.
15272 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15274         [BZ #18519]
15275         * posix/Versions (libc): Export __libc_pread at version
15276         GLIBC_PRIVATE.
15277         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15278         instead of pread.
15279         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15280         variable.
15282         [BZ #18522]
15283         * misc/efgcvt_r.c
15284         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15285         (cvt_symbol): Use weak_alias instead of strong_alias.
15286         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15287         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15288         Remove variable.
15289         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15290         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15292         [BZ #18520]
15293         * inet/herrno.c (h_errno): Rename to __h_errno.
15294         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15295         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15296         to __h_errno instead of h_errno.
15297         * nptl/herrno.c (h_errno): Rename to __h_errno.
15298         (__h_errno_location): Refer to __h_errno not h_errno.
15299         * resolv/Versions (h_errno): Rename to __h_errno.
15300         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15301         Remove variable.
15302         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15304 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15306         * configure.ac: More strict check for AVX512 assembler support.
15307         * configure: Regenerated.
15309         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15310         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15311         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15312         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15313         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15314         * sysdeps/x86_64/fpu/Versions: New versions added.
15315         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15316         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15317         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15318         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15319         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15320         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15321         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15322         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15323         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15324         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15325         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15326         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15327         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15328         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15329         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15330         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15331         test.
15332         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15334         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15335         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15336         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15337         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15338         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15339         * NEWS: Mention addition of x86_64 vector sin.
15341 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15343         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15344         comment.
15346 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15348         [BZ #18479]
15349         * nptl/pt-interp.c: New file.
15350         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15351         Add pt-interp.
15352         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15353         $(common-objpfx)runtime-linker.h.
15355 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15357         * Makeconfig (+interp): Remove unused variable.
15358         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15359         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15360         $(elf-objpfx)runtime-linker.h.
15361         ($(elf-objpfx)runtime-linker.h): Rename to
15362         $(common-objpfx)runtime-linker.h and move ...
15363         * Makerules [$(build-shared) = yes]: ... here.
15364         * elf/interp.c: Include <runtime-linker.h> instead of
15365         <elf/runtime-linker.h>.
15367 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15369         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15370         (__gettimeofday_syscall): Remove vsyscall fallback.
15371         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15372         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15373         Add syscall fallback function.
15374         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15375         if vDSO is not present.
15376         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15377         fallback function.
15378         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15379         present.
15380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15381         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15383 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15385         [BZ #18497]
15386         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15387         of wcscmp.
15388         (wcscmp): Define as weak alias of WCSCMP.
15389         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15390         wcscoll.
15391         (USE_HIDDEN_DEF): Define.
15392         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15393         __wcscoll.  Don't use libc_hidden_weak.
15394         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15395         wcscmp.
15396         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15397         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15398         __GI_wcscmp.
15399         (weak_alias): Undefine and redefine.
15400         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15401         __wcscmp and define as weak alias of __wcscmp.
15402         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15403         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15404         (__wcscoll): Likewise.
15405         (wcscmp): Don't use libc_hidden_proto.
15406         (wcscoll): Likewise.
15407         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15408         wcscoll.
15409         * posix/regexec.c (check_node_accept_bytes): Likewise.
15410         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15411         variable.
15412         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15413         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15415         [BZ #18507]
15416         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15417         __fstatvfs and define as weak alias of __fstatvfs.  Use
15418         libc_hidden_weak.
15419         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15420         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15421         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15422         Define as alias of __fstatvfs, not fstatvfs.
15423         (fstatvfs64): Likewise.
15424         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15425         Define as alias of __statvfs, not statvfs.
15426         (statvfs64): Likewise.
15427         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15428         Remove variable.
15430 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15433         (HAVE_GETCPU_VSYSCALL): Define.
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15435         (HAVE_GETCPU_VSYSCALL): Likewise.
15436         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15437         * sysdeps/unix/sysv/linux/sched_getcpu.c
15438         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15439         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15440         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15441         prototype.
15442         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15443         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15444         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15446         Define.
15447         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15448         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15449         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15450         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15452 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15454         * sysdeps/x86_64/fpu/Makefile: New file.
15455         * sysdeps/x86_64/fpu/Versions: New file.
15456         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15457         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15458         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15459         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15460         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15461         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15462         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15463         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15464         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15465         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15467         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15468         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15469         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15470         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15471         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15472         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15473         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15474         * sysdeps/x86_64/configure: Regenerated.
15475         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15477         * manual/install.texi (Configuring and compiling): Document
15478         --disable-mathvec.
15479         * INSTALL: Regenerated.
15480         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15482         * math/Makefile: Added rules for vector tests.
15483         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15484         declaration under condition.
15485         * math/test-double-vlen2.h: New file.
15486         * math/test-double-vlen4.h: New file.
15487         * math/test-double-vlen8.h: New file.
15488         * math/test-vec-loop.h: Added initialization macro.
15489         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15491         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15492         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15493         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15494         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15495         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15496         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15497         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15498         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15499         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15502         * sysdeps/x86_64/fpu/Versions: New versions added.
15503         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15504         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15506         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15507         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15508         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15510         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15512         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15513         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15514         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15515         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15516         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15517         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15518         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15519         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15520         * NEWS: Mention addition of x86_64 vector cosf.
15522         * math/Makefile: Added CFLAGS for new tests.
15523         * math/test-float-vlen16.h: New file.
15524         * math/test-float-vlen4.h: New file.
15525         * math/test-float-vlen8.h: New file.
15526         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15527         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15528         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15529         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15530         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15531         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15532         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15533         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15534         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15535         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15536         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15538 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15540         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15541         * locale/programs/ld-ctype.c: Likewise.
15543 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15545         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15546         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15547         bit_ZMM16_31_state): New macro.
15548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15549         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15551 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15553         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15555 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15557         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15559 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15561         [BZ #18498]
15562         * libio/memstream.c (open_memstream): Rename to __open_memstream
15563         and define as weak alias of __open_memstream.
15564         * include/stdio.h (__open_memstream): Declare.  Use
15565         libc_hidden_proto.
15566         (open_memstream): Don't use libc_hidden_proto.
15567         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15568         open_memstream.
15569         * posix/getopt.c (_getopt_internal_r): Likewise.
15570         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15571         variable.
15572         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15573         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15574         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15576         [BZ #18496]
15577         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15578         instead of wcrtomb.
15580         [BZ #18483]
15581         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15582         [__USE_XOPEN2K8].  Remove redundant #endif.
15583         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15584         Remove redundant #if.
15585         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15586         Remove variable.
15587         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15588         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15590         [BZ #18495]
15591         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15592         (__iswlower): Likewise.
15593         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15594         (__iswlower): Likewise.
15595         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15596         instead of towlower.
15597         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15598         instead of iswlower.  Call __towupper instead of towupper.
15599         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15600         instead of iswalnum.
15602 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15604         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15605         errors to stderr.
15607 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15609         [BZ #15661]
15610         [BZ #17322]
15611         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15612         Check for overflow properly.  Check for O_APPEND.  Ignore large
15613         file system block sizes.  Add comments about problems.
15614         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15615         * manual/filesys.texi (Storage Allocation): New node.
15617 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15619         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15620         cancellable syscalls.
15621         (SYS_ify): Add guard to no redefine it.
15622         (INLINE_SYSCALL): Likewise.
15623         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15624         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15625         SYSCALL_CANCEL instead.
15626         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15627         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15628         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15629         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15630         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15631         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15632         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15633         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15634         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15635         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15636         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15637         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15638         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15639         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15640         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15642         Likewise.
15643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15644         (__libc_pread64): Likewise.
15645         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15646         (__libc_preadv): Likewise.
15647         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15648         (__libc_readv64): Likewise.
15649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15650         (__libc_pwrite): Likewise.
15651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15652         (__libc_pwrite64): Likewise.
15653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15654         (__libc_pwritev): Likewise.
15655         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15656         (__libc_pwritev64): Likewise.
15657         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15658         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15659         (sync_file_range): Likewise.
15660         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15661         Likewise.
15662         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15663         Likewise.
15664         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15665         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15666         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15667         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15668         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15669         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15670         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15671         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15675         (__libc_read64): Likewise.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15677         Likewise.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15679         Likewise.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15681         Likewise.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15683         Likewise.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15685         (__libc_pread64): Likewise.
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15687         Likewise.
15688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15689         (__libc_pwrite64): Likewise.
15690         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15691         (sync_file_range): Likewise.
15692         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15693         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15694         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15695         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15696         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15697         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15698         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15699         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15700         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15701         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15702         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15703         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15704         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15705         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15706         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15707         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15708         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15709         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15710         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15713         Likewise.
15714         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15715         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15716         Likewise.
15717         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15718         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15719         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15720         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15721         Likewise.
15722         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15723         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15724         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15725         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15726         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15728 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15730         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15731         Include dl-vdso.
15732         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15733         Use VDSO routines for gettimeofday, clock_gettime if
15734         available.
15735         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15736         Declare VDSO symbols.
15737         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15738         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15739         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15740         * sysdeps/unix/sysv/linux/arm/Versions: Add
15741         __vdso_clock_gettime.
15743 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15745         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15746         be an inline implementation regardless of library is built within.
15747         (open_not_cancel_2): Likewise.
15748         (__read_nocancel): Likewise.
15749         (__write_nocancel): Likewise.
15750         (openat_not_cancel): Likewise.
15751         (openat_not_cancel_3): Likewise.
15752         (openat64_not_cancel): Likewise.
15753         (openat64_not_cancel_3): Likewise.
15754         (__close_nocancel): Likewise.
15755         (pause_not_cancel): Likewise.
15756         (nanosleep_not_cancel): Likewise.
15757         (sigsuspend_not_cancel): Likewise.
15759 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15761         [BZ #14958]
15762         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15763         wake-up.
15764         (__pthread_rwlock_rdlock_slow): Likewise.
15765         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15766         Likewise.
15767         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15768         Likewise.
15769         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15770         * nptl/tst-rwlock16.c: New file.
15771         * nptl/Makefile (tests): Add new test.
15773 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15775         [BZ #18324]
15776         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15777         missing wake-up of readers.
15778         * nptl/tst-rwlock15.c: New file.
15779         * nptl/Makefile (tests): Add new test.
15781 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15783         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15784         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15785         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15786         and __nacl_supply_interface_rtld.
15787         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15788         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15789         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15790         Add __nacl_supply_interface_rtld.
15791         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15793 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15795         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15796         isfinite.
15797         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15798         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15800 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15802         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15803         __signbit* with standard C99 macros.
15804         * math/e_exp10l.c: Likewise.
15805         * math/e_exp2l.c: Likewise.
15806         * math/e_scalb.c: Likewise.
15807         * math/e_scalbf.c: Likewise.
15808         * math/e_scalbl.c: Likewise.
15809         * math/s_ldexp.c: Likewise.
15810         * math/s_ldexpf.c: Likewise.
15811         * math/s_ldexpl.c: Likewise.
15812         * math/w_atan2.c: Likewise.
15813         * math/w_atan2f.c: Likewise.
15814         * math/w_atan2l.c: Likewise.
15815         * math/w_cosh.c: Likewise.
15816         * math/w_coshf.c: Likewise.
15817         * math/w_coshl.c: Likewise.
15818         * math/w_exp10.c: Likewise.
15819         * math/w_exp10f.c: Likewise.
15820         * math/w_exp10l.c: Likewise.
15821         * math/w_exp2.c: Likewise.
15822         * math/w_exp2f.c: Likewise.
15823         * math/w_exp2l.c: Likewise.
15824         * math/w_fmod.c: Likewise.
15825         * math/w_fmodf.c: Likewise.
15826         * math/w_fmodl.c: Likewise.
15827         * math/w_hypot.c: Likewise.
15828         * math/w_hypotf.c: Likewise.
15829         * math/w_hypotl.c: Likewise.
15830         * math/w_jnl.c: Likewise.
15831         * math/w_lgamma.c: Likewise.
15832         * math/w_lgamma_r.c: Likewise.
15833         * math/w_lgammaf.c: Likewise.
15834         * math/w_lgammaf_r.c: Likewise.
15835         * math/w_lgammal.c: Likewise.
15836         * math/w_lgammal_r.c: Likewise.
15837         * math/w_pow.c: Likewise.
15838         * math/w_powf.c: Likewise.
15839         * math/w_powl.c: Likewise.
15840         * math/w_remainder.c: Likewise.
15841         * math/w_remainderf.c: Likewise.
15842         * math/w_remainderl.c: Likewise.
15843         * math/w_scalb.c: Likewise.
15844         * math/w_scalbf.c: Likewise.
15845         * math/w_scalbl.c: Likewise.
15846         * math/w_scalbln.c: Likewise.
15847         * math/w_scalblnf.c: Likewise.
15848         * math/w_scalblnl.c: Likewise.
15849         * math/w_sinh.c: Likewise.
15850         * math/w_sinhf.c: Likewise.
15851         * math/w_sinhl.c: Likewise.
15852         * math/w_tgamma.c: Likewise.
15853         * math/w_tgammaf.c: Likewise.
15854         * math/w_tgammal.c: Likewise.
15855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15856         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15857         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15858         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15859         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15861         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15862         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15863         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15864         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15865         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15866         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15867         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15868         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15869         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15870         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15871         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15872         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15873         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15876         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15879         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15880         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15881         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15882         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15883         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15884         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15885         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15886         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15887         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15888         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15889         * stdio-common/printf_fp.c: Likewise.
15890         * stdio-common/printf_fphex.c: Likewise.
15891         * stdio-common/printf_size.c: Likewise.
15893 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15895         [BZ #18470]
15896         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15897         strnlen.
15898         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15899         Remove variable.
15900         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15901         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15902         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15903         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15904         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15905         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15906         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15907         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15908         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15909         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15911         [BZ #18468]
15912         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15913         weak alias of __wmemchr.  Use libc_hidden_weak.
15914         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15915         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15916         instead of wmemchr.
15918 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15920         [BZ #18383]
15921         * elf/tst-tlsalign-extern.c: New file.
15922         * elf/tst-tlsalign-extern-static.c: New file.
15923         * elf/tst-tlsalign-vars.c: New file.
15924         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15925         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15926         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15927         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15928         (test-xfail-tst-tlsalign-extern-static): New variable.
15930 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15932         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15933         Use variable name _sc_err instead of err.
15934         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15935         instead of ret.
15936         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15937         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15938         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15939         (INLINE_SYSCALL): Likewise.
15941         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15942         * include/string.h (__strnlen): Use libc_hidden_proto.
15943         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15944         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15945         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15946         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15947         (libc_hidden_def): Undefine and redefine.
15948         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15949         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15950         __GI_strnlen.
15951         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15952         libc_hidden_def.
15953         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15955         [BZ #18469]
15956         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15957         weak alias of __towlower.  Use libc_hidden_weak.
15958         (towupper): Rename to __towupper and define as weak alias of
15959         __towupper.  Use libc_hidden_weak.
15960         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15961         (__towupper): Likewise.
15962         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15963         __towlower instead of towlower.
15965 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15967         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15968         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15970 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15972         * sysdeps/aarch64/libm-test-ulps: Update.
15974 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15976         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15977         Define.
15978         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15980         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15981         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15982         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15983         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15984         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15986 2015-06-01  Martin Sebor  <msebor@redhat.com>
15988         [BZ #18116]
15989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15990         (__setcontext): Use extended four-operand version of mtsf whenever
15991         possible.
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15993         (__novec_swapcontext): Likewise.
15995 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15997         * benchtests/scripts/compare_bench.py: New file.
15998         * benchtests/scripts/import_bench.py (mean): New function.
15999         (split_list): Likewise.
16000         (do_for_all_timings): Likewise.
16001         (compress_timings): Likewise.
16003         * benchtests/scripts/import_bench.py: New file.
16004         * benchtests/scripts/validate_benchout.py: Import import_bench
16005         instead of jsonschema.
16006         (validate_bench): Remove function.
16007         (main): Use import_bench.
16009 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16011         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16012         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16014 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16018 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16020         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16021         set THREAD_SELF->tid to a magic value and futex-wake it.
16022         Pass its address to the thread_exit system call.
16023         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16024         bit is clear.
16025         * sysdeps/nacl/lowlevellock.h: New file.
16026         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16028         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16029         Add TIMEOUT to current time, don't subtract it.
16031 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16033         [BZ #2981]
16034         [BZ #18422]
16035         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16036         ($(objpfx)tst-audit2.out): Also depend on
16037         $(objpfx)tst-auditmod9b.so.
16038         * elf/tst-audit2.c: Include <dlfcn.h>.
16039         (calloc_called): New.
16040         (calloc): Allow to be called more than once.
16041         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16043 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16045         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16046         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16048 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16050         * stdlib/monetary.h: Fix comment.
16052 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16054         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16055         Avoid using variables in #defines that might cause shadowing.
16056         (INTERNAL_VSYSCALL_CALL): Likewise.
16058 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16060         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16062         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16063         * nptl/lll_timedlock_wait.c: ... to this new file.
16064         * nptl/Makefile (libpthread-routines): Add it.
16065         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16066         * nptl/lll_timedwait_tid.c: ... to this new file.
16067         * nptl/Makefile (libpthread-routines): Add it.
16068         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16069         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16070         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16071         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16072         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16073         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16074         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16075         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16076         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16077         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16079 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16081         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16082         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16083         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16085         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16087         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16089         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16090         * sysdeps/unix/sysv/linux/tile/sysdep.h
16091         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16092         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16093         using vDSO syscall macro.
16095 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16097         [BZ #17293]
16098         * uk_UA: Fix sorting order for Ukrainian locale
16100 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16102         * stdlib/monetary.h: Fix comment.
16104 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16106         [BZ #18234]
16107         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16108         st_mtim and st_ctim members.
16109         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16110         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16111         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16112         (struct stat64): Likewise.
16113         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16114         (struct stat64): Likewise.
16115         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16116         (struct stat64): Likewise.
16118 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16120         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16121         Define and include sysdep-vdso.h.
16122         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16123         Likewise.
16124         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16125         Likewise.
16126         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16127         Define with VDSO_SYMBOL and use PTR_MANGLE.
16128         (__vdso_clock_gettime): Likewise.
16129         (__vdso_clock_getres): Likewise.
16130         (_libc_vdso_platform_setup): Likewise.
16131         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16132         Likewise.
16133         (_libc_vdso_platform_setup): Likewise.
16134         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16135         Likewise.
16136         (__vdso_clock_gettime): Likewise.
16137         (__vdso_clock_getres): Likewise.
16138         (__vdso_get_tbfreq): Likewise.
16139         (__vdso_getcpu): Likewise.
16140         (__vdso_time): Likewise.
16141         (__vdso_sigtramp_rt64): Likewise.
16142         (__vdso_signtramp32): Likewise.
16143         (__vdso_sigtramp_rt32): Likewise.
16144         (_libc_vdso_platform_setup): Likewise.
16145         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16146         Likewise.
16147         (__vdso_clock_gettime): Likewise.
16148         (__vdso_clock_getres): Likewise.
16149         (_libc_vdso_platform_setup): Likewise.
16150         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16151         Likewise.
16152         (__vdso_clock_gettime): Likewise.
16153         (_libc_vdso_platform_setup): Likewise.
16154         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16155         Likewise.
16156         (__vdso_getcpu): Likewise.
16157         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16158         Use VDSO_SYMBOL macro to define.
16159         (__vdso_clock_gettime): Likewise.
16160         (__vdso_clock_getres): Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16162         Likewise.
16163         (__vdso_clock_gettime): Likewise.
16164         (__vdso_clock_getres): Likewise.
16165         (__vdso_get_tbfreq): Likewise.
16166         (__vdso_getcpu): Likewise.
16167         (__vdso_time): Likewise.
16168         (__vdso_sigtramp_rt64): Likewise.
16169         (__vdso_signtramp32): Likewise.
16170         (__vdso_sigtramp_rt32): Likewise.
16171         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16172         Likewise.
16173         (__vdso_clock_gettime): Likewise.
16174         (__vdso_clock_getres): Likewise.
16175         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16176         Likewise.
16177         (__vdso_clock_gettime): Likewise.
16178         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16179         Likewise.
16180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16181         macro.
16182         (INTERNAL_VSYSCALL): Likewise.
16183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16184         Remove macro.
16185         (INTERNAL_VSYSCALL): Likewise.
16186         (INTERNAL_VSYSCALL_NCS): Likewise.
16187         (INTERNAL_VSYSCALL_CALL): New macro.
16188         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16190         Likewise.
16191         (INTERNAL_VSYSCALL): Likewise.
16192         (INTERNAL_VSYSCALL_NCS): Likewise.
16193         (INTERNAL_VSYSCALL_CALL): New macro.
16194         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16196         (INLINE_VSYSCALL): Remove macro.
16197         (INTERNAL_VSYSCALL): Remove macro.
16198         (INTERNAL_VSYSCALL_NCS): Remove macro.
16199         (INTERNAL_VSYSCALL_CALL): New macro.
16200         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16201         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16202         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16203         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16204         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16206         (INLINE_VSYSCALL): Remove macro.
16207         (INTERNAL_VSYSCALL): Likewise.
16208         (INTERNAL_VSYSCALL_NCS): Likewise.
16209         (INTERNAL_VSYSCALL_CALL): New macro.
16210         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16211         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16212         PTR_DEMANGLE on vDSO pointer.
16213         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16214         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16215         macro.
16216         (INTERNAL_SYSCALL): Likewise.
16217         (INTERNAL_VSYSCALL_NCS): Remove macro.
16218         (INTERNAL_VSYSCALL_CALL): New macro.
16219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16220         Remove macro.
16221         (INTERNAL_VSYSCALL): Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16223         sysdep-vdso.h instead of libc-vdso.h.
16224         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16225         definition.
16226         (INLINE_VSYSCALL): Likewise.
16227         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16228         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16229         definition.
16230         (INLINE_VSYSCALL): Likewise.
16231         (INTERNAL_VSYSCALL): Likewise.
16232         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16233         * sysdeps/unix/sysv/linux/timespec_get.c
16234         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16235         (timespec_get): Use ANSI prototype.
16236         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16237         and definition for Linux.
16239 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16241         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16242         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16244 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16246         [BZ #2981]
16247         [BZ #18410]
16248         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16249         for missing DT_PLTRELSZ.
16251 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16253         Remove obsolete aliases that broke 'locale -a'
16254         [BZ #18412]
16255         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16256         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16257         breaking some applications that use 'locale -a' output.
16258         Change the encoding of this file from Latin-1 to ASCII to avoid
16259         other potential problems with people grepping this file.
16261 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16263         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16264         -fasynchronous-unwind-tables.
16265         (CFLAGS-sendto.c): Likewise.
16266         (CFLAGS-sendmsg.c): Likewise.
16267         (CFLAGS-connect.c): Likewise.
16268         (CFLAGS-recvmsg.c): Likewise.
16269         (CFLAGS-recvfrom.c): Likewise.
16270         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16271         (SOCKETCALL): New macro: non-cancellable socketcall.
16272         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16273         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16274         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16275         * sysdeps/unix/sysv/linux/accept.c: New file.
16276         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16277         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16278         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16279         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16280         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16281         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16282         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16283         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16284         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16285         * sysdeps/unix/sysv/linux/send.c: Likewise.
16286         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16287         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16288         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16289         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16290         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16291         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16292         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16293         prototype.
16294         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16295         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16296         instead of __internal_xxx function.
16297         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16298         prototype.
16299         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16300         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16301         instead of __internal_xxx function.
16302         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16303         prototype.
16304         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16305         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16306         instead of __internal_xxx function.
16307         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16308         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16309         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16310         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16311         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16312         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16313         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16314         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16315         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16316         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16317         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16318         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16319         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16320         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16322         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16323         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16324         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16325         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16326         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16329         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16330         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16331         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16332         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16333         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16334         * sysdeps/unix/sysv/linux/send.S: Likewise.
16335         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16336         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16337         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16338         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16339         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16340         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16341         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16342         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16343         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16344         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16345         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16346         socketcall is implemented in GLIBC.
16348 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16350         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16351         (__fma): Ignore uninitialized warnings around packing.
16352         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16353         (__fmaf): Ignore uninitialized warnings around packing.
16354         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16355         (__fmal): Ignore uninitialized warnings around packing.
16357         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16358         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16359         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16360         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16362         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16363         switch statement into default case.
16364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16366         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16367         a conditional in forcing "inexact".
16368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16369         Likewise.
16371 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16373         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16374         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16375         for each INTERNAL_SYSCALL use.
16377 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16379         [BZ #438]
16380         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16381         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16382         variable.
16384         [BZ #18444]
16385         * string/basename.c (basename): Rename to __basename and define as
16386         weak alias of __basename.  Use libc_hidden_weak.
16387         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16388         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16389         __basename instead of basename.
16390         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16391         Remove variable.
16392         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16394 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16396         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16397         (_IO_JUMPS_FILE_plus): New.
16398         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16399         _IO_CAST_FIELD_ACCESS.
16400         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16401         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16402         * libio/freopen.c (freopen): Likewise.
16403         * libio/freopen64.c (freopen64): Likewise.
16404         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16405         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16406         * libio/iofwide.c (_IO_fwide): Likewise.
16407         * libio/memstream.c (open_memstream): Likewise.
16408         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16409         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16410         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16412 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16414         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16415         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16416         NADJ.
16417         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16418         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16419         NADJ.
16420         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16421         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16422         NADJ.
16424         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16425         (p == 4) case.
16427         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16428         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16429         Remove variable.
16430         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16431         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16432         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16434 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16436         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16437         Adjust jump table label generation macros.
16439 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16441         * stdio-common/vfprintf.c (vfprintf): Move local variables
16442         args_malloced, specs, specs_malloced, and the code after
16443         do_positional to the printf_positional function.
16444         (printf_positional): New function.
16446 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16448         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16449         function.
16450         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16451         STEP4_TABLE, process_arg): Move macro definitions
16452         out of the vfprintf function.  (Cosmetic change only.)
16454 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16456         * benchtests/Makefile (stdio-common-bench): Define.
16457         (benchset): Add stdio-common-bench.
16458         * sprintf-inputs: New file.
16459         * sprintf-source.c: New file.
16461 2015-05-21  Andreas Schwab  <schwab@suse.de>
16463         [BZ #13028]
16464         [BZ #17053]
16465         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16466         of struct __res_state.
16467         * resolv/res_send.c (__libc_res_nsend): Likewise.
16468         (get_nsaddr): New function.
16469         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16470         statp directly.
16472 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16474         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16475         -D_POSIX_C_SOURCE=199506L.
16477         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16479         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16480         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16481         Do not mention otherwise.
16482         [POSIX] (_XOPEN_VERSION): Do not expect.
16483         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16484         [POSIX] (_POSIX2_C_BIND): Likewise.
16485         [POSIX] (_POSIX2_VERSION): Likewise.
16486         [POSIX] (_XOPEN_XPG2): Likewise.
16487         [POSIX] (_XOPEN_XPG3): Likewise.
16488         [POSIX] (_XOPEN_XPG4): Likewise.
16489         [POSIX] (_XOPEN_UNIX): Likewise.
16490         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16491         [POSIX] (_POSIX_BARRIERS): Likewise.
16492         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16493         [POSIX] (_POSIX_CPUTIME): Likewise.
16494         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16495         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16496         [POSIX] (_POSIX_SHELL): Likewise.
16497         [POSIX] (_POSIX_SPAWN): Likewise.
16498         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16499         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16500         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16501         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16502         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16503         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16504         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16505         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16506         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16507         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16508         [POSIX] (_POSIX2_PBS): Likewise.
16509         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16510         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16511         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16512         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16513         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16514         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16515         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16516         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16517         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16518         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16519         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16520         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16521         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16522         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16523         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16524         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16525         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16526         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16527         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16528         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16529         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16530         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16531         [POSIX] (_SC_2_C_BIND): Likewise.
16532         [POSIX] (_SC_2_C_VERSION): Likewise.
16533         [POSIX] (_SC_2_PBS): Likewise.
16534         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16535         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16536         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16537         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16538         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16539         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16540         [POSIX] (_SC_BARRIERS): Likewise.
16541         [POSIX] (_SC_BASE): Likewise.
16542         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16543         [POSIX] (_SC_DEVICE_IO): Likewise.
16544         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16545         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16546         [POSIX] (_SC_FD_MGMT): Likewise.
16547         [POSIX] (_SC_FIFO): Likewise.
16548         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16549         [POSIX] (_SC_FILE_LOCKING): Likewise.
16550         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16551         [POSIX] (_SC_IOV_MAX): Likewise.
16552         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16553         [POSIX] (_SC_NETWORKING): Likewise.
16554         [POSIX] (_SC_PAGE_SIZE): Likewise.
16555         [POSIX] (_SC_PASS_MAX): Likewise.
16556         [POSIX] (_SC_PIPE): Likewise.
16557         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16558         [POSIX] (_SC_REGEXP): Likewise.
16559         [POSIX] (_SC_SHELL): Likewise.
16560         [POSIX] (_SC_SIGNALS): Likewise.
16561         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16562         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16563         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16564         [POSIX] (_SC_USER_GROUPS): Likewise.
16565         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16566         [POSIX] (_SC_STREAMS): Likewise.
16567         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16568         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16569         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16570         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16571         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16572         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16573         [POSIX] (_PC_FILESIZEBITS): Likewise.
16574         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16575         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16576         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16577         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16578         [POSIX] (uid_t): Likewise.
16579         [POSIX] (gid_t): Likewise.
16580         [POSIX] (off_t): Likewise.
16581         [POSIX] (pid_t): Likewise.
16582         [POSIX] (cuserid): Allow.
16583         (_SC_2_CHAR_TERM): Require constant.
16584         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16585         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16586         variable.
16588 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16590         * sysdeps/nacl/pthread-pids.h: New file.
16591         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16592         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16594         * nptl/pthread-pids.h: New file.
16595         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16596         * nptl/nptl-init.c: Include <pthread-pids.h>.
16597         (__pthread_initialize_minimal_internal):
16598         Call __pthread_initialize_pids instead of set_tid_address syscall.
16600         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16601         * sysdeps/posix/usleep.c: ... here.
16603 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16605         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16606         call_pselect6 object.
16607         [$(subdir) = io]: Remove call_sync_file_range object.
16608         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16609         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16610         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16611         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16613 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16615         * math/s_cproj.c: Add include "math_private.h".
16616         * math/s_cprojf.c: Likewise.
16617         * math/s_cprojl.c: Likewise.
16619 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16621         [BZ #18244]
16622         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16623         high mantissa bit when testing whether P is a NaN.
16624         * math/libm-test.inc (remainder_test_data): Add more tests.
16625         (remquo_test_data): Likewise.
16627         [BZ #18049]
16628         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16629         below -32, return the argument, with underflow if subnormal.
16630         * math/auto-libm-test-in: Add more tests of atanh.
16631         * math/auto-libm-test-out: Regenerated.
16633 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16635         [BZ #18434]
16636         * nptl/tst-sem15.c: New file.
16637         * nptl/Makefile (tests): Add it.
16638         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16639         s/<</>>/ to fix typo in EOVERFLOW check.
16640         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16642 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16644         * manual/strings.texi (envz_remove): Fix typo in safety
16645         annotations.
16647 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16648             Steve Ellcey  <sellcey@imgtec.com>
16650         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16651         in order to avoid strict alias warnings.
16652         (iruserok_af): Ditto for ra.
16654 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16656         [BZ #17581]
16657         * malloc/hooks.c
16658         (magicbyte): Convert to a function and avoid returning 0x01.
16659         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16660         (mem2chunk_check): Fix unsigned comparisons to zero.
16661         Hoist defs of sz and magic.
16663 2015-05-19  Richard Henderson  <rth@redhat.com>
16665         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16667         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16669 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16671         [BZ #16159]
16672         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16673         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16674         (reused_arena): Find a non-corrupt arena.
16675         (heap_trim): Pass arena to unlink.
16676         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16677         malloc_printerr.
16678         (top_check): Likewise.
16679         (free_check): Likewise.
16680         (realloc_check): Likewise.
16681         * malloc/malloc.c (malloc_printerr): Add arena argument.
16682         (unlink): Likewise.
16683         (munmap_chunk): Adjust.
16684         (ARENA_CORRUPTION_BIT): New macro.
16685         (arena_is_corrupt): Likewise.
16686         (set_arena_corrupt): Likewise.
16687         (sysmalloc): Use mmap if there are no usable arenas.
16688         (_int_malloc): Likewise.
16689         (__libc_malloc): Don't fail if arena_get returns NULL.
16690         (_mid_memalign): Likewise.
16691         (__libc_calloc): Likewise.
16692         (__libc_realloc): Adjust for additional argument to
16693         malloc_printerr.
16694         (_int_free): Likewise.
16695         (malloc_consolidate): Likewise.
16696         (_int_realloc): Likewise.
16697         (_int_memalign): Don't touch corrupt arenas.
16698         * malloc/tst-malloc-backtrace.c: New test case.
16700         * Makefile (summarize-tests): Fix return value on success.
16702         * manual/string.texi (Envz Functions): Add envz_remove.
16704 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16706         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16707         (invalid_name): New function, broken out of ...
16708         (__opendirat): ... here.  Call it.
16709         (need_isdir_precheck): New function, broken out of ...
16710         (__opendirat): ... here.  Call it.
16711         Use __fxstatat64, not __xstatat64.
16712         (opendir_oflags): New function, broken out of ...
16713         (__opendirat): ... here.  Call it.
16714         (opendir_tail): New function, broken out of ...
16715         (__opendirat): ... here.  Call it.
16716         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16717         opendir_tail, rather than punting to __opendirat.
16718         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16720 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16722         * .gitignore: Ignore generated *.pyc.
16724 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16726         * include/stdio.h: Define __need_wint_t.
16727         * test-skeleton.c: Avoid `for' loop initial declaration.
16728         * nptl/tst-initializers1.c: Use test-skeleton.c.
16730 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16732         [BZ #18418]
16733         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16735 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16737         [BZ #16352]
16738         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16739         (__ieee754_atanh): Force underflow exception for results with
16740         small absolute value.
16741         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16742         (__ieee754_atanhf): Force underflow exception for results with
16743         small absolute value.
16744         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16745         (__ieee754_atanh): Force underflow exception for results with
16746         small absolute value.
16747         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16748         (__ieee754_atanhf): Force underflow exception for results with
16749         small absolute value.
16750         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16751         (__ieee754_atanhl): Force underflow exception for results with
16752         small absolute value.
16753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16754         (__ieee754_atanhl): Force underflow exception for results with
16755         small absolute value.
16756         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16757         (__ieee754_atanhl): Force underflow exception for results with
16758         small absolute value.
16759         * math/auto-libm-test-in: Do not allow missing underflow
16760         exceptions from atanh.
16761         * math/auto-libm-test-out: Regenerated.
16763         [BZ #18221]
16764         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16765         2**-28 as threshold for returning x or +/- 1/x.
16766         * math/auto-libm-test-in: Add more tests of tan.
16767         * math/auto-libm-test-out: Regenerated.
16769         [BZ #18220]
16770         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16771         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16772         * math/auto-libm-test-in: Add another test of lgamma.
16773         * math/auto-libm-test-out: Regenerated.
16775 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16777         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16778         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16779         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16780         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16781         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16782         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16783         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16784         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16786         (log1): Use fabs.  (my_log2): Use fabs.
16787         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16788         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16789         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16790         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16792         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16793         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16794         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16795         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16796         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16797         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16799 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16801         [BZ #18217]
16802         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16803         as threshold for returning 1 - x.
16804         * math/auto-libm-test-in: Add more tests of erfc.
16805         * math/auto-libm-test-out: Regenerated.
16807 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16809         [BZ #18196]
16810         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16811         threshold for large arguments.
16812         * math/auto-libm-test-in: Add another test of atan.
16813         * math/auto-libm-test-out: Regenerated.
16815         [BZ #16339]
16816         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16817         (__log1p): Force underflow exception for results with small
16818         absolute value.
16819         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16820         (__log1pf): Force underflow exception for results with small
16821         absolute value.
16822         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16823         (__log1p): Force underflow exception for results with small
16824         absolute value.
16825         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16826         (__log1pf): Force underflow exception for results with small
16827         absolute value.
16828         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16829         (__log1pl): Force underflow exception for results with small
16830         absolute value.
16831         * math/auto-libm-test-in: Do not allow missing underflow
16832         exceptions from log1p.
16833         * math/auto-libm-test-out: Regenerated.
16835 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16836             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16838         [BZ #16704]
16839         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16841 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16843         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16844         (libmvec): New variable.
16845         * configure.ac: Added option for mathvec build.
16846         * configure: Regenerated.
16847         * mathvec/Depend: New file.
16848         * mathvec/Makefile: New file.
16849         * shlib-versions: Added libmvec.
16850         * math/Makefile: Added rule for libm.so installation.
16852         * bits/math-vector.h: New file.
16853         * bits/libm-simd-decl-stubs.h: New header.
16854         * math/Makefile (headers): Added new header
16855         libm-simd-decl-stubs.h.
16856         * math/math.h (__MATHCALL_VEC): New macro.
16858         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16859         for conditions in testing functions.
16860         * math/Makefile: Added call of libm-have-vector-test.sh.
16861         * math/libm-test.inc (HAVE_VECTOR): New macros.
16863         * math/libm-test.inc: START refactored.
16864         * math/test-double.c (TEST_MATHVEC): Add define.
16865         * math/test-float.c: Likewise.
16866         * math/test-idouble.c: Likewise.
16867         * math/test-ifloat.c: Likewise.
16868         * math/test-ildoubl.c: Likewise.
16869         * math/test-ldouble.c: Likewise.
16870         * sysdeps/generic/math-tests-arch.h
16871         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16872         architecture check.
16874         * math/test-double.c (FUNC_TEST): New macro.
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         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16882 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16884         * sysdeps/nacl/fdopendir.c: New file.
16886         * dirent/scandir-tail.c: New file.
16887         * dirent/scandir64-tail.c: New file.
16888         * dirent/Makefile (routines): Add them.
16889         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16890         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16891         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16892         [!SCANDIR] (SCANDIR_TAIL): New macro.
16893         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16894         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16895         (SCANDIRAT): Macro removed.
16896         (SCANDIR_TAIL): New macro.
16897         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16898         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16899         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16900         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16901         (READDIR): Macro removed.
16902         (SCANDIR_TAIL): New macro.
16903         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16904         (SCANDIR_TAIL): New macro.
16906         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16907         * dirent/scandir-cancel.c: ... to this new file.
16908         * dirent/Makefile (routines): Add it.
16909         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16910         * sysdeps/unix/sysv/linux/i386/scandir64.c
16911         (SKIP_SCANDIR_CANCEL): Macro removed.
16912         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16914         * dirent/tst-scandir.c: New file.
16915         * dirent/tst-scandir64.c: New file.
16916         * dirent/Makefile (tests): Add them.
16918 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16920         [BZ #18409]
16921         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16923 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16925         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16926         list.
16928 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16930         * benchtests/bench-strcoll.c: New benchmark.
16931         * benchtests/Makefile: Generate locales and run benchmark.
16932         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16933         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16934         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16935         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16936         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16937         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16938         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16939         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16940         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16941         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16942         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16943         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16944         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16945         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16946         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16947         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16948         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16949         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16950         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16951         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16952         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16953         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16954         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16955         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16957 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16959         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16960         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16962 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16964         * posix/uname-values.h: New file.
16965         * posix/uname.c: Include that instead of <config-name.h>.
16966         * sysdeps/nacl/uname-values.h: New file.
16967         * sysdeps/arm/nacl/uname-values.h: New file.
16969 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16971         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16972         splitting into fields.
16974 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16976         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16977         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16978         * locale/localeinfo.h: Add enum collation_encoding_type.
16979         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16980         * programs/ld-collate.c (collate_output): Add encoding type info.
16981         * string/strcoll_l.c (STRDIFF): New function.
16982         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16983         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16985 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #18397]
16988         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16989         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16990         <fpu_control.h> instead of <math/fpu_control.c>.
16991         * sysdeps/mips/mips32/fpu/Makefile: New file.
16993 2015-05-11  Andreas Schwab  <schwab@suse.de>
16995         [BZ #18007]
16996         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16997         nss_endgrent.
16998         (_nss_compat_endgrent): Call nss_endgrent.
16999         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17000         nss_endpwent.
17001         (_nss_compat_endpwent): Call nss_endpwent.
17002         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17003         needent, call nss_setspent only if non-zero.
17004         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17005         (internal_endspent): Don't call nss_endspent.
17006         (_nss_compat_endspent): Call nss_endspent.
17007         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17008         Remove.  All uses removed.
17009         (internal_setent): Remove parameter stayopen, add parameter
17010         stream.  Use it instead of global variable.
17011         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17012         (internal_endent, internal_getent): Add parameter stream.  Use it
17013         instead of global variable.
17014         (CONCAT(_nss_files_end,ENTNAME))
17015         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17016         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17017         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17018         uses removed.
17019         (internal_setent, internal_endent): Add parameter stream.  Use it
17020         instead of global variable.
17021         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17022         stream.
17023         (get_next_alias): Add parameter stream.
17024         (_nss_files_getaliasent_r): Pass global stream.
17025         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17026         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17027         (_nss_files_gethostbyname4_r): Pass local stream to
17028         internal_setent, internal_getent and internal_endent.  Remove
17029         locking.
17031 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17033         * tst-strfmon1.c (tests): Update expected currency symbol.
17035 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17037         * sysdeps/nacl/gethostname.c: New file.
17039 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17041         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17042         and sinh.
17043         * math/auto-libm-test-out: Regenerated.
17044         * sysdeps/i386/fpu/libm-test-ulps: Update.
17045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17047 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17049         [BZ #18125]
17050         * stdlib/tst-setcontext3.c: New file.
17051         * stdlib/tst-setcontext3.sh: New file.
17052         * stdlib/Makefile (tests): Add tst-setcontext3.
17053         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17054         to verify test program created output file.
17055         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17056         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17057         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17058         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17060 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17062         [BZ #18383]
17063         * elf/tst-tlsalign.c: New file.
17064         * elf/tst-tlsalign-static.c: New file.
17065         * elf/tst-tlsalign-lib.c: New file.
17066         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17067         (tests-static): Add tst-tlsalign-static.
17068         (modules-names): Add tst-tlsalign-lib.
17069         (test-xfail-tst-tlsalign): New variable.
17070         (test-xfail-tst-tlsalign-static): New variable.
17072         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17073         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17075 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17077         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17078         csqrt, erfc, sin and sincos.
17079         * math/auto-libm-test-out: Regenerated.
17080         * sysdeps/i386/fpu/libm-test-ulps: Update.
17081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17083 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17085         * sysdeps/aarch64/libm-test-ulps: Update.
17087 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17089         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17090         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17091         * math/auto-libm-test-out: Regenerated.
17092         * sysdeps/i386/fpu/libm-test-ulps: Update.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17097         [BZ #18265]
17098         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17099         (wcsncpy): Likewise.
17101 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17103         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17104         Assume __ASSUME_FALLOCATE is always true.
17105         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17106         (__posix_fallocate64_l64): Likweise.
17107         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17108         (posix_fallocate): Likewise.
17109         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17110         (__posix_fallocate64_l64): Likewise.
17111         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17112         [!__ASSUME_FALLOCATE]: Add comment.
17114 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17116         * sysdeps/unix/sysv/linux/i386/Makefile
17117         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17118         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17119         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17120         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17121         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17122         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17123         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17125 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17127         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17128         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17129         tgamma.
17130         * math/auto-libm-test-out: Regenerated.
17131         * sysdeps/i386/fpu/libm-test-ulps: Update.
17132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17134 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17136         * math/auto-libm-test-in: Add more tests of tgamma.
17137         * math/auto-libm-test-out: Regenerated.
17138         * sysdeps/i386/fpu/libm-test-ulps: Update.
17139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17141         * math/auto-libm-test-in: Add more tests of tanh.
17142         * math/auto-libm-test-out: Regenerated.
17143         * sysdeps/i386/fpu/libm-test-ulps: Update.
17144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17146         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
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 another test of pow.
17157         * math/auto-libm-test-out: Regenerated.
17158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17160         * math/auto-libm-test-in: Add more tests of lgamma.
17161         * math/auto-libm-test-out: Regenerated.
17162         * sysdeps/i386/fpu/libm-test-ulps: Update.
17163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17165         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17166         log1p.
17167         * math/auto-libm-test-out: Regenerated.
17168         * sysdeps/i386/fpu/libm-test-ulps: Update.
17169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17173         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17174         Elf64_Chdr structs and ELFCOMPRESS constants.
17176 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17178         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17179         expm1.
17180         * math/auto-libm-test-out: Regenerated.
17181         * sysdeps/i386/fpu/libm-test-ulps: Update.
17182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17184         * math/auto-libm-test-in: Add more tests of erf and erfc.
17185         * math/auto-libm-test-out: Regenerated.
17186         * sysdeps/i386/fpu/libm-test-ulps: Update.
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17189 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17191         * config.h.in (HAVE_AARCH64_BE): Add.
17193 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17195         * math/auto-libm-test-in: Add more tests of csqrt.
17196         * math/auto-libm-test-out: Regenerated.
17197         * sysdeps/i386/fpu/libm-test-ulps: Update.
17198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17200         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17201         * math/auto-libm-test-out: Regenerated.
17202         * sysdeps/i386/fpu/libm-test-ulps: Update.
17203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17205         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17207 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17209         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17210         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17212         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17213         (euidaccess, eaccess): Define as weak aliases.
17215         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17216         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17217         but __suseconds_t is often 'long int' so some sources assume that
17218         type is being used (e.g. they use %ld to print tv_usec).
17220 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17222         [BZ #18007]
17223         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17224         (CVE-2014-8121)
17225         * nss/tst-nss-getpwent.c: New file.
17226         * nss/Makefile (tests): Add new test.
17228 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17230         [BZ #18346]
17231         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17232         exponents less than 48 as cases where high part of mantissa needs
17233         examining to determine whether argument is integral.
17234         * math/libm-test.inc (round_test_data): Add more tests.
17236 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17238         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17240 2015-04-27  David S. Miller  <davem@davemloft.net>
17242         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17243         __tls_get_addr.
17244         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17246 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17248         [BZ#18333]
17249         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17251 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17253         [BZ#18333]
17254         * time/tzset.c (parse_tzname): Return error on memory allocation
17255         failure.
17256         * test-skeleton.c (struct temp_name_list): Change type of name
17257         member to non-const.
17258         (add_temp_file): Create a copy of the file name.
17259         (delete_temp_files): Deallocate memory.
17260         (create_temp_file): Add comment.
17262 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17264         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17265         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17267 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17269         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17270         * sysdeps/arm/configure: Regenerated.
17272 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17274         [BZ #17715]
17275         * time/tzfile.c (__tzfile_read): Check for large values of
17276         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17277         * time/tzset.c (__tzstring_len): New function, based on the old
17278         __tzstring function.
17279         (__tzstring): Call __tzstring_len.
17280         (parse_tzname): New helper function extracted from
17281         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17282         the input string.
17283         (parse_offset): New helper function extracted from
17284         __tzset_parse_tz.  Replace switch with fallthrough with
17285         initialization before sscanf.
17286         (parse_rule): Likewise.
17287         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17288         new-style function definition.
17289         * timezone/Makefile (tests): Add tst-tzset.
17290         (tst-tzset.out): Dependencies on time zone files.
17291         (tst-tzset-ENV): Set TZDIR.
17292         (testdata/XT%): Copy crafted time zone files.
17293         * timezone/README: Mention crafted time zone files.
17294         * timezone/testdata/XT1, timezone/testdata/XT2,
17295         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17296         files.
17297         * timezone/tst-tzset.c: New test.
17299 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17301         * Makeconfig (+gccwarn): Remove -Winline.
17303 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17305         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17307 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17309         * NEWS: Mention sysconf() cache information support for s390.
17310         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17312 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17314         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17316         (__nearbyint): Likewise.
17317         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17318         (copysignl): Likewise.
17320 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17322         [BZ #18287]
17323         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17324         based on padding.  (CVE-2015-1781)
17326 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17328         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17329         libc-vdso.h.
17330         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17331         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17332         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17333         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17334         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17335         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17336         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17338         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17339         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17340         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17341         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17342         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17343         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17344         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17345         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17346         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17347         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17348         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17349         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17350         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17351         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17352         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17354 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17356         * stdlib/setenv.c (__add_to_environ):
17357         Dump core quickly if setenv (..., NULL, ...) is called.
17358         This time, do it the right way, and pacify GCC with a pragma.
17360 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17362         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17363         IMAP->l_prev cannot be null, and #if out the code for the contrary
17364         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17365         believe that NS (&_dl_ns[NSID]) could point outside the array.
17367         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17368         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17369         before using NSID as an index.
17371 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17373         [BZ #17825]
17374         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17375         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17376         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17378 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17380         Add preliminary port to Google Native Client on ARM.
17381         * abi-tags (.*-.*-nacl.*): New entry.
17382         * sysdeps/arm/nacl: New directory.
17383         * sysdeps/nacl: New directory.
17385 2015-04-16  David S. Miller  <davem@davemloft.net>
17387         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17388         lowlevellock-futex.h
17390 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17392         * sysdeps/tile/configure.ac: New file.
17393         * sysdeps/tile/configure: Regenerated.
17395 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17397         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17398         conditionals for weak_alias and libc_hidden_weak.
17399         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17400         libc_hidden_weak and weak_alias.
17401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17402         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17403         and weak_alias for static one.
17405 2015-04-15  David S. Miller  <davem@davemloft.net>
17407         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17409 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17411         [BZ #18206]
17412         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17413           Use signed comparision instead of substraction to avoid
17414           overflow bug.
17415         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17416           Take the sign of ret.
17417         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17418           Do not expect precise return values. Only the sign matters.
17419         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17420         * wcsmbs/test-wcsncmp.c: New File.
17421         * string/test-strncmp.c: Add wcsncmp support.
17423 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17425         [BZ #6792]
17426         * math/w_log1p.c: New file.
17427         * math/w_log1pf.c: Likewise.
17428         * math/w_log1pl.c: Likewise.
17429         * math/Makefile (libm-calls): Add w_log1p.
17430         * math/s_log1pl.c (log1pl): Remove weak_alias.
17431         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17432         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17433         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17434         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17435         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17436         [NO_LONG_DOUBLE] (log1pl): Likewise.
17437         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17438         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17439         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17440         (log1p): Remove long_double_symbol.
17441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17442         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17443         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17444         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17445         remove weak_alias for corresponding log1p function.
17446         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17447         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17448         * sysdeps/ia64/fpu/w_log1p.c: New file.
17449         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17450         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17451         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17453 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17455         [BZ #18247]
17456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17457         decimal exponent by 1.
17458         * stdlib/tst-strtod-round-data: Add more tests.
17459         * stdlib/tst-strtod-round.c (tests): Regenerated.
17461 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17463         * math/auto-libm-test-in: Add more tests of clog and clog10.
17464         * math/auto-libm-test-out: Regenerated.
17465         * sysdeps/i386/fpu/libm-test-ulps: Update.
17466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17468 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17470         * Makeconfig (module-cppflags): Exclude all .v.i files.
17471         (skip-module-cppflags): Variable removed.
17473         * configure.ac (libc_config_ok): Initialize before reading
17474         preconfigure scripts, not after.
17475         * configure: Regenerated.
17477         * test-skeleton.c (TIMEOUT): Move #define to top level.
17478         (main): Grok environment variable TEST_DIRECT.  If set, print
17479         test expectation details into that file and then behave as if
17480         given --direct.
17482 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17484         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17485         warning on 32-bit.
17487 2015-04-08  David S. Miller  <davem@davemloft.net>
17489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17491 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17493         * math/auto-libm-test-in: Add more tests of atanh.
17494         * math/auto-libm-test-out: Regenerated.
17495         * sysdeps/i386/fpu/libm-test-ulps: Update.
17496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17498         * math/auto-libm-test-in: Add more tests of atan.
17499         * math/auto-libm-test-out: Regenerated.
17500         * sysdeps/i386/fpu/libm-test-ulps: Update.
17501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17503 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17505         * elf/pldd.c (main): Rewrite to use struct
17506         scratch_buffer instead of extend_alloca.
17507         * elf/pldd-xx.c (find_maps): Likewise.
17508         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17509         <alloca.h>.
17510         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17511         scratch_buffer instead of extend_alloca.
17512         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17513         grp/compat-initgroups.c.
17514         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17515         Rewrite to use struct scratch_buffer instead of extend_alloca.
17516         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17517         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17519 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17521         * math/auto-libm-test-in: Add more tests of cbrt.
17522         * math/auto-libm-test-out: Regenerated.
17523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17525         * math/auto-libm-test-in: Add more tests of cabs.
17526         * math/auto-libm-test-out: Regenerated.
17527         * sysdeps/i386/fpu/libm-test-ulps: Update.
17528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17530         [BZ #18210]
17531         [BZ #18211]
17532         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17533         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17534         computations.
17535         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17536         clog10.
17537         * math/auto-libm-test-out: Regenerated.
17538         * sysdeps/i386/fpu/libm-test-ulps: Update.
17539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17541         [BZ #18197]
17542         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17543         (atan): Set FE_TONEAREST mode for internal computations.
17544         * math/auto-libm-test-in: Add more tests of atan.
17545         * math/auto-libm-test-out: Regenerated.
17547 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17549         [BZ #17930]
17550         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17552 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17554         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17556 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17558         * include/scratch_buffer.h: New file.
17559         * malloc/scratch_buffer_grow.c: Likewise.
17560         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17561         * malloc/scratch_buffer_set_array_size.c: Likewise.
17562         * malloc/tst-scratch_buffer.c: Likewise.
17563         * malloc/Makefile (routines): Add scratch_buffer_grow.
17564         (tests): Add test case.
17565         * malloc/Versions (GLIBC_PRIVATE): Export
17566         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17567         __libc_scratch_buffer_set_array_size.
17569 2015-04-06  Richard Henderson  <rth@redhat.com>
17571         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17572         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17574         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17575         unsigned int before printing.
17577 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17579         [BZ #17596]
17580         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17581         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17583 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17585         * include/libc-internal.h (libc_max_align_t): Define.
17587 2015-04-02  Andreas Schwab  <schwab@suse.de>
17589         [BZ #16850]
17590         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17592 2015-04-02  Mel Gorman  <mgorman@suse.de>
17594         [BZ #17195]
17595         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17596         as well as the main arena.
17598 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17600         [BZ #18185]
17601         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17602         sharing L2 cache to 2 for Silvermont/Knights Landing.
17604 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17606         [BZ #17711]
17607         * config.make.in (have-protected-data): New.
17608         * configure.ac: Check linker support for protected data symbol.
17609         * configure: Regenerated.
17610         * elf/Makefile (modules-names): Add tst-protected1moda and
17611         tst-protected1modb if $(have-protected-data) is yes.
17612         (tests): Add tst-protected1a and tst-protected1b if
17613         $(have-protected-data) is yes.
17614         ($(objpfx)tst-protected1a): New.
17615         ($(objpfx)tst-protected1b): Likewise.
17616         (tst-protected1modb.so-no-z-defs): Likewise.
17617         * elf/tst-protected1a.c: New file.
17618         * elf/tst-protected1b.c: Likewise.
17619         * elf/tst-protected1mod.h: Likewise.
17620         * elf/tst-protected1moda.c: Likewise.
17621         * elf/tst-protected1modb.c: Likewise.
17623 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17625         [BZ #17711]
17626         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17627         indicates it is called from do_lookup_x on relocation against
17628         protected data, skip the data definion in the executable from
17629         copy reloc.
17630         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17631         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17632         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17633         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17634         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17635         otherwise to 0.
17636         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17637         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17638         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17639         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17640         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17641         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17643 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17645         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17646         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17648 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17650         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17651         THREAD_SETMEM_NC.
17652         * sysdeps/x86_64/nptl/tls.h: Ditto.
17654 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17656         * dlfcn/tststatic.c (main): Converted to ...
17657         (do_test): ... this.
17658         (TEST_FUNCTION): New macro.
17659         Include test-skeleton.c.
17661 2015-03-26  Alan Modra  <amodra@gmail.com>
17663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17664         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17665         zero for undefined weak.
17666         (elf_machine_plt_conflict): Similarly.
17668 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17670         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17671         atanh.
17672         * math/auto-libm-test-out: Regenerated.
17673         * sysdeps/i386/fpu/libm-test-ulps: Update.
17674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17676         * math/auto-libm-test-in: Add another test of asin.
17677         * math/auto-libm-test-out: Regenerated.
17678         * sysdeps/i386/fpu/libm-test-ulps: Update.
17679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17682         Remove macro.
17683         (LLL_EBX_REG): Likewise.
17684         (LLL_ENTER_KERNEL): Likewise.
17686         * math/auto-libm-test-in: Add more tests 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         [BZ #18138]
17692         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17693         libc_do_syscall_args): New structure.
17694         (INTERNAL_SYSCALL_MAIN_0): New macro.
17695         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17696         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17697         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17698         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17699         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17700         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17701         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17702         Replace conditional definitions by conditional definitions of ....
17703         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17704         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17705         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17706         (libpthread-sysdep_routines): Add libc-do-syscall.
17707         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17708         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17709         to __NR_futex not 240.
17711 2015-03-25  Alan Modra  <amodra@gmail.com>
17713         * NEWS: Advertise TLS optimization.
17714         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17715         (DT_PPC_NUM): Increment.
17716         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17717         (CHECK_STATIC_TLS): Use here.
17718         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17719         TLS descriptors.
17720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17721         * sysdeps/powerpc/dl-tls.c: New file.
17722         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17723         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17724         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17725         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17730 2015-03-25  Alan Modra  <amodra@gmail.com>
17732         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17733         for overlapping .opd entries" to "support...".
17734         * sysdeps/powerpc/powerpc64/configure: Regenerate
17736 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17738         * math/auto-libm-test-in: Add more tests of acos.
17739         * math/auto-libm-test-out: Regenerated.
17740         * sysdeps/i386/fpu/libm-test-ulps: Update.
17741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17743         * math/auto-libm-test-in: Add more tests of expm1.
17744         * math/auto-libm-test-out: Regenerated.
17745         * sysdeps/i386/fpu/libm-test-ulps: Update.
17746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17750         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17751         * math/auto-libm-test-out: Regenerated.
17752         * sysdeps/i386/fpu/libm-test-ulps: Update.
17753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758         * math/auto-libm-test-in: Add more tests of log2.
17759         * math/auto-libm-test-out: Regenerated.
17760         * sysdeps/i386/fpu/libm-test-ulps: Update.
17761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17765         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17766         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17767         _IO_IS_APPENDING bit in READ_WRITE instead.
17769 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17771         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17772         (__determine_cpumask_size): Replace extend_alloca with a
17773         variable-length array.  Do not treat res == 0 as an error.
17775 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17777         [BZ #18100]
17778         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17779         and integer overflow.
17780         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17781         (main): Add integer overflow tests.
17782         * manual/pattern.texi (Calling Wordexp): Document additional use
17783         for WRDE_SYNTAX.
17785 2015-03-23  Alan Modra  <amodra@gmail.com>
17787         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17788         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17789         and false branch of conditional.
17790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17791         Likewise.
17793 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17795         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17796         libc-modules.h
17797         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17798         unused declaration of _hurd_intr_rpc_msg_in_trap.
17799         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17800         defined instead of whether it is non-zero.
17801         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17802         input constraint instead of both input and output constraint.  Use ecx
17803         clobber instead of %ecx.
17804         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17805         mutex_unlock): Use a statement expression instead of an expression list.
17806         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17807         type to vm_size_t instead of vm_address_t.
17808         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17809         defined instead of whether it is non-zero.
17810         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17811         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17812         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17813         comparisons with mapaddr.
17814         * nscd/nscd-client.h: Include <time.h>.
17815         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17816         9th parameter to __vm_region instead of int.
17817         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17818         * scripts/check-local-headers.sh (exclude): Add device/,
17819         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17820         cthreads.h.
17822 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17824         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17825         to account for alignment padding.
17826         * sysdeps/arm/memmove.S: Likewise.
17828 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17830         * sysdeps/unix/sysv/linux/generic/README: New file.
17832 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17834         [BZ #18138]
17835         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17836         (futex_abstimed_wait)
17837         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17838         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17839         of lll_futex_timed_wait.
17841 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17843         [BZ #17542]
17844         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17846 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17848         [BZ #17090]
17849         [BZ #17620]
17850         [BZ #17621]
17851         [BZ #17628]
17852         * NEWS: Update.
17853         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17854         entries with Static TLS too.  Skip entries past the end of the
17855         allocated DTV, from Alan Modra.
17856         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17857         Static TLS DTV entry set up from...
17858         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17859         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17860         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17861         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17862         for Static TLS.
17863         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17864         that the slot we find is associated with the given map before
17865         using its generation count.
17866         * nptl_db/db_info.c: Include ldsodefs.h.
17867         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17868         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17869         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17870         (link_map::l_tls_offset): New struct field.
17871         (dtv_t::counter): Likewise.
17872         (rtld_global): New struct.
17873         (_rtld_global): New rtld variable.
17874         (dl_tls_dtv_slotinfo_list): New rtld global field.
17875         (dtv_slotinfo_list): New struct.
17876         (dtv_slotinfo): Likewise.
17877         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17878         (td_lookup): Rename to...
17879         (td_mod_lookup): ... this.  Use new mod parameter instead of
17880         LIBPTHREAD_SO.
17881         * nptl_db/td_thr_tlsbase.c: Include link.h.
17882         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17883         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17884         addresses even if the DTV is out of date or missing them.
17885         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17886         index zero-length arrays.
17887         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17888         (td_lookup): Make it a macro implemented in terms of...
17889         (td_mod_lookup): ... this declaration.
17890         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17891         (DB_MAIN_VARIABLE): Likewise.
17893 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17895         [BZ #18134]
17896         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17898 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17900         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17902 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17904         [BZ #18128]
17905         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17906         (atomic_add, atomic_increment_and_test)
17907         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17909 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17911         * stdlib/setenv.c (__add_to_environ):
17912         Dump core quickly if setenv (..., NULL, ...) is called.
17914 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17916         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17917         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17918         all the necessary asm magic in one place.
17919         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17920         using those.
17922 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17924         [BZ #14906]
17925         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17926         traced file mtime. Use consistent log message.
17927         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17928         (register_traced_file): Call install_watches. Always set mtime.
17929         (invalidate_cache): Iterate over all trace files. Call install_watches.
17930         (inotify_check_files): Don't inline. Handle watching parent
17931         directories and configuration file movement in and out.
17932         (handle_inotify_events): New function.
17933         (main_loop_poll): Call handle_inotify_events.
17934         (main_loop_epoll): Likewise.
17935         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17936         (struct traced_file): Use array of inotify fds. Add parent directory,
17937         and basename.
17938         (struct database_dyn): Remove unused file_mtime.
17939         (init_traced_file): New inline function.
17940         (define_traced_file): New macro.
17941         * nss/nss_db/db-init.c: Use define_traced_file.
17942         (_nss_db_init): Use init_traced_file.
17943         * nss/nss_files/files-init.c: Use define_traced_file.
17944         (_nss_files_init): Use init_traced_file.
17946 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17948         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17949         [_LIBC]: Do not include <stdlib.h>.
17950         [!_LIBC] (abort): Remove declaration.
17951         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17952         _FP_STATIC_ASSERT instead of conditionally calling abort.
17953         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17954         (_FP_EXTEND_CNAN): Likewise.
17955         (FP_TRUNC): Likewise.
17956         (__FP_CLZ): Likewise.
17957         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17959 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17961         * manual/string.texi (XPG basename): Fix prototype.
17963 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17965         [BZ #18080]
17966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17967         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17968         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17969         (__setcontext): Likewise.
17970         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17971         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17972         Call rt_sigprocmask syscall one time to set new signal mask
17973         and retrieve the current signal mask instead of two calls.
17974         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17975         (__swapcontext): Likewise.
17976         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17977         * stdlib/tst-setcontext2.c: New file.
17979 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17981         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17983 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17985         [BZ #18093]
17986         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17987         the wrong size.
17989 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17991         [BZ #18043]
17992         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17994 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17996         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17997         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17998         Remove define.
17999         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18000         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18001         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18002         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18003         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18004         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18005         define.
18006         * nptl_db/td_symbol_list.c (td_lookup): Remove
18007         HAVE_ASM_GLOBAL_DOT_NAME code.
18008         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18009         HAVE_ASM_GLOBAL_DOT_NAME check.
18010         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18011         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18012         (DOT_LABEL): Remove define.
18013         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18014         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18015         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18016         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18017         (__TLS_GET_ADDR): Likewise.
18018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18019         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18021 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18023         [BZ #18111]
18024         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18025         (_FPU_SETCW): Initialize cw from fpsr before storing.
18026         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18027         (fesetexceptflag): Rewrite using fpu_control.h.
18028         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18030 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18032         [BZ #18110]
18033         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18034         asms.
18035         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18037 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18039         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18040         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18041         abort.
18042         (_FP_FMA): Likewise.
18043         (_FP_DIV): Likewise.
18045 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18047         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18048         with 0 in that case.
18049         * Makefile (summarize-tests): New canned sequence, factored out of
18050         commands for targets tests and xtests.  Display summary lines that
18051         don't start with PASS: or XFAIL: rather than ones that do start with
18052         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18053         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18054         do start with ERROR: or FAIL:.
18055         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18056         (except for [$(build-shared) = yes]).
18057         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18058         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18059         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18060         * nptl/Makefile: Revert 2015-03-04 changes.
18061         [$(CXX) empty] (tests-unsupported): New variable.
18062         * debug/Makefile: Likewise.
18064         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18065         gnulib file.  Replace __attribute with __attribute__ throughout.
18067 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18069         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18071 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18073         [BZ #18104]
18074         * math/auto-libm-test-in: Add another test of pow.
18075         * math/auto-libm-test-out: Regenerated.
18077 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18079         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18080         $(config-cflags-nofma).
18082 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18084         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18085         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18086         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18087         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18088         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18089         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18090         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18091         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18092         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18093         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18094         Add comment on closing #endif.
18096 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18098         * posix/wordexp.c (CHAR_IN_SET): New macro.
18099         (parse_param): Use it.
18101 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18103         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18105 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18107         [BZ #18043]
18108         * posix/wordexp.c (parse_param): Fix buffer overflow.
18109         * posix/wordexp-test.c (test_case): Add test case.
18111 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18113         [BZ #18042]
18114         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18115         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18117 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18119         [BZ #18043]
18120         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18121         (do_bz18043): Delete.
18122         (at_page_end): New.
18123         (testit): Refactor to have words at the edge of unreadable page.
18125 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18127         [BZ #16734]
18128         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18129         Cleanup read-only streams as well.
18130         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18132 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18134         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18135         <bits/libc-lockP.h>
18137 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18139         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18140         on [__KERNEL__].
18141         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18142         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18143         * soft-fp/op-common.h (_FP_DECL): Likewise.
18145 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18147         * elf/ifuncdep2.c (global): Replace
18148         __attribute__((visibility("protected"))) with
18149         asm (".protected global").
18150         * elf/ifuncmod1.c (global): Likewise.
18151         * elf/ifuncmod5.c (global): Likewise.
18153 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18155         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18156         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18158 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18160         * manual/install.texi (Configuring and compiling):
18161         Document test-wrapper-env-only.
18162         * INSTALL: Regenerated.
18164 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18166         [BZ #18043]
18167         * posix/wordexp.c (parse_param): Fix buffer overflow.
18168         * posix/wordexp-test.c (do_bz18043): Add test case.
18170 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18172         * time/tst-strptime2.c (do_test): Ensure failing tests are
18173         reported correctly.
18174         * time/tst-strptime3.c (do_test): Likewise.
18176 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18178         Fix aio_error thread-safety.
18179         * sysdeps/pthread/aio_error.c: New file
18180         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18181         synchronization.
18183 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18185         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18186         (group_number, vfprintf): Use it.
18187         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18188         (JUMP, REF): Use it.
18189         (WORK_BUFFER_SIZE): New enum constant.
18190         (process_arg, vfprintf): Use it.
18192 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18194         * manual/errno.texi (Error Messages): Complete example function
18195         by adding missing #define.
18196         (program_invocation_name): Add statement indicating GNU
18197         extension and reference which header file declares the variable.
18198         (program_invocation_short_name): Likewise.
18200 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18202         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18203         compatibility note.
18205 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18207         * Makeconfig (test-wrapper-env-only): New variable.
18208         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18209         then use that with $(test-wrapper-env-only) rather than using
18210         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18212 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18214         [BZ #18082]
18215         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18216         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18217         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18218         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18219         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18220         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18221         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18222         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18223         Likewise.
18224         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18225         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18226         Likewise.
18227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18228         Likewise.
18229         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18230         Likewise.
18231         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18232         Likewise.
18233         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18234         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18235         Likewise.
18236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18237         Likewise.
18238         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18239         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18241 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18243         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18244         (ETH_ALEN): New macro.
18245         (struct ether_addr): Use it for length of ether_addr_octet.
18247         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18248         (setdb): Don't call __nss_configure_lookup for "rpc".
18249         (do_test): Don't call test_rpc.
18250         (output_rpcent, test_rpc): Functions moved ...
18251         * sunrpc/test-rpcent.c: ... to this new file.
18252         * sunrpc/Makefile (tests): Add it.
18254         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18255         __xpg_sigpause.
18256         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18257         * nptl/tst-signal6.c: Likewise.
18258         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18259         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18261         * configure.ac (libc_cv_cxx_link_ok): New check.
18262         Reset CXX to empty if it fails to link.
18263         * configure: Regenerated.
18264         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18265         bug-atexit3-lib only if $(CXX) is nonempty.
18266         * nptl/Makefile (tests): Likewise for tst-cancel24.
18267         (tests, tests-static): Likewise for tst-cancel24-static.
18268         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18269         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18270         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18271         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18273 2015-03-04  Andreas Schwab  <schwab@suse.de>
18275         [BZ #17631]
18276         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18277         for non-GCC compilers.
18278         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18279         Likewise.
18281 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18283         [BZ #17776]
18284         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18285         integer before bitwise and assembly operations.
18286         (feclearexcept): Likewise.
18287         * math/test-fenvinline.c: New file.
18288         * math/Makefile: Add test-fenvinline test.
18290 2015-03-03  Alan Modra  <amodra@gmail.com>
18292         [BZ #16512]
18293         * scripts/localplt.awk: Strip off symbol version.
18294         * NEWS: Mention bug fix.
18296 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18298         * sysdeps/pthread/timer_routines.c
18299         (timer_free_list, thread_free_list, thread_active_list): Make static.
18301 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18303         [BZ #17779]
18304         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18305         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18306         Undefine.
18307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18308         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18309         Likewise.
18310         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18311         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18312         Likewise.
18314 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18316         [BZ #18036]
18317         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18318         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18320 2015-03-02  Andreas Schwab  <schwab@suse.de>
18322         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18323         variable name.
18325 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18327         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18328         Return error status.
18330 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18332         [BZ #15969]
18333         * locale/findlocale.c (_nl_find_locale): Introduce const
18334         version of loc_name and drop unsafe type casts.
18336 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18338         * dlfcn/tststatic2.c (main): Converted to ...
18339         (do_test): ... this.
18340         (TEST_FUNCTION): New macro.
18341         Include test-skeleton.c.
18343 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18345         [BZ #17711]
18346         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18347         (tests-pie): Add vismain.
18348         (CFLAGS-vismain.c): New.
18349         * elf/vismain.c: Add comments for PIE requirement.
18351 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18353         [BZ #18046]
18354         [BZ #18047]
18355         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18356         0x1p-56L as threshold for just returning the argument.
18357         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18358         0x1p-32L as threshold for just returning the argument.
18359         * math/auto-libm-test-in: Add more tests of atanh.
18360         * math/auto-libm-test-out: Regenerated.
18361         * sysdeps/i386/fpu/libm-test-ulps: Update.
18362         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18364 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18366         * string/bcopy.c (bcopy): Call memmove for performance.
18368 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18370         * string/bzero.c (__bzero): Call memset for performance.
18372 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18374         [BZ #18068]
18375         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18376         to 00100000.
18378 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18380         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18382 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18384         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18385         (__kernel_standard): Use CSTR macro when setting exc.name.
18386         * sysdeps/ieee754/Makefile [$(subdir) = math]
18387         (CFLAGS-k_standard.c): Remove variable.
18389         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18390         setting p and q from "else if" to "else".
18391         (qzero): Likewise.
18392         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18393         (qone): Likewise.
18394         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18395         (qzerof): Likewise.
18396         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18397         (qonef): Likewise.
18398         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18399         (qzero): Likewise.
18400         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18401         (qone): Likewise.
18403         [BZ #18038]
18404         [BZ #18039]
18405         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18406         return pi/2 for arguments below 0x1p-113L.
18407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18408         return pi/2 for arguments below 0x1p-106L.
18409         * math/auto-libm-test-in: Add more tests of acos.
18410         * math/auto-libm-test-out: Regenerated.
18412         [BZ #16351]
18413         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18414         (MO): New macro.
18415         (__ieee754_asin): Force underflow exception for results with small
18416         absolute value.
18417         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18418         (MO): New macro.
18419         (__ieee754_asinf): Force underflow exception for results with
18420         small absolute value.
18421         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18422         (__ieee754_asin): Force underflow exception for results with small
18423         absolute value.
18424         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18425         (__ieee754_asinf): Force underflow exception for results with
18426         small absolute value.
18427         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18428         (__ieee754_asinl): Force underflow exception for results with
18429         small absolute value.
18430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18431         (__ieee754_asinl): Force underflow exception for results with
18432         small absolute value.
18433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18434         (__ieee754_asinl): Force underflow exception for results with
18435         small absolute value.
18436         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18437         Include <math.h>.
18438         * math/auto-libm-test-in: Do not mark underflow exceptions as
18439         possibly missing for bug 16351.
18440         * math/auto-libm-test-out: Regenerated.
18442         [BZ #18030]
18443         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18444         of power of 2 down when low part has opposite sign.
18445         * math/libm-test.inc (logb_test_data): Add more tests.
18447 2015-02-26  Andreas Schwab  <schwab@suse.de>
18449         [BZ #18032]
18450         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18451         over collating symbol inside a bracket expression.  Minor cleanup.
18452         * posix/tst-fnmatch3.c (do_test): Add test case.
18454 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18456         [BZ #18029]
18457         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18458         Adjust exponent of power of 2 down when low part has opposite
18459         sign.
18460         * math/libm-test.inc (ilogb_test_data): Add more tests.
18462 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18464         [BZ #15969]
18465         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18466         the previous change.
18468         [BZ #15969]
18469         * locale/findlocale.c (_nl_find_locale): Retry archive search
18470         after alias expansion.
18472 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18474         * iconv/tst-iconv3.c (main): Converted to ...
18475         (do_test): ... this.
18476         (TEST_FUNCTION): New macro.
18477         Include test-skeleton.c.
18479         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18480         (convert): Make function static.
18481         (test_unalign): Likewise.  Add const to argument pointee types.
18482         (main): Replace with static function do_test.
18483         Print "Succeeded." only if RET is zero.
18484         (TEST_FUNCTION): New macro.
18485         Include test-skeleton.c.
18487         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18488         returns a null pointer.
18490 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18492         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18493         to __memcpy_ppc only for static builds.
18495 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18497         [BZ #18020]
18498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18499         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18500         * math/auto-libm-test-in: Add more tests of asinh.
18501         * math/auto-libm-test-out: Regenerated.
18502         * sysdeps/i386/fpu/libm-test-ulps: Update.
18503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18507         [BZ #15850]
18508         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18509         and ip6_mtuinfo definitions here.
18510         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18511         in this define too.  Update comment.
18513 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18515         * elf/sprof.c (load_shobj): Tweak error message to match others.
18517 2015-02-24  Kevin Easton  <kevin@guarana.org>
18519         [BZ #16145] (partial fix)
18520         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18521         to reduce lock contention.
18523 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18525         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18526         (struct timex): Update time comment.
18527         (ADJ_SETOFFSET): Define.
18529 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18531         [BZ #18019]
18532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18533         2**56 not 2**28 as threshold for log (2x) formula.
18534         * math/auto-libm-test-in: Add more tests of acosh.
18535         * math/auto-libm-test-out: Regenerated.
18536         * sysdeps/i386/fpu/libm-test-ulps: Update.
18537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18541         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18542         parenthesis around the buf assignment.
18543         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18545 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18547         [BZ #16783]
18548         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18549         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18550         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18551         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18552         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18553         * math/libm-test.inc (scalb_test_data): Add more tests.
18555 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18557         [BZ #17916]
18558         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18559         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18561 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18563         [BZ #17523]
18564         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18565         * io/bits/fcntl2.h (open): Use it.
18566         (openat): Likewise.
18567         * io/open.c (__libc_open): Likewise.
18568         * io/open64.c (__libc_open64): Likewise.
18569         * io/open64_2.c (__open64_2): Likewise.
18570         * io/open_2.c (__open_2): Likewise.
18571         * io/openat.c (__openat): Likewise.
18572         * io/openat64.c (__openat64): Likewise.
18573         * io/openat64_2.c (__openat64_2): Likewise.
18574         * io/openat_2.c (__openat_2): Likewise.
18575         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18576         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18577         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18578         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18579         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18580         (__open_nocancel): Likewise.
18581         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18582         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18583         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18585 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18587         [BZ #14841]
18588         * resolv/gethnamaddr.c (getanswer): Skip logging if
18589         RES_USE_DNSSEC is set.
18590         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18592 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18594         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18596 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18598         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18599         201304L, for Unicode 7.
18601 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18603         [BZ #17836]
18604         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18605         shared library.  Add gmon-start.os otherwise.
18606         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18607         $(objpfx)gmon-start.os if builing shared library.
18608         ($(objpfx)g$(static-start-installed-name)): Likewise.
18610 2015-02-23  Andreas Schwab  <schwab@suse.de>
18612         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18614 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18616         [BZ #17269]
18617         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18618         (enlarge_userbuf): Likewise.
18620 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18622         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18623         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18624         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18625         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18627 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18629         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18630         expression inside statement expression.
18632 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18634         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18635         <sysdeps/nptl/lowlevellock.h> and remove macros and
18636         functions that are now defined there.
18637         (SYS_futex): Remove.
18638         (lll_compare_and_swap): Remove.
18639         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18641 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18643         [BZ #17999]
18644         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18645         instead of scandirat.
18646         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18647         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18648         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18649         __scandirat.
18650         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18651         (__scandirat): Declare.  Use libc_hidden_proto.
18652         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18653         Remove variable.
18654         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18656 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18658         [BZ #15319]
18659         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18660         (MO): New macro.
18661         (__ieee754_atan2): For results with small absolute value, force
18662         underflow exception and remove excess range and precision from
18663         return value.
18664         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18665         (MO): New macro.
18666         (__ieee754_atan2f): For results with small absolute value, force
18667         underflow exception and remove excess range and precision from
18668         return value.
18669         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18670         (MO): New macro.
18671         (__atan): For results with small absolute value, force underflow
18672         exception and remove excess range and precision from return value.
18673         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18674         (MO): New macro.
18675         (__atanf): For results with small absolute value, force underflow
18676         exception and remove excess range and precision from return value.
18677         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18678         <math.h>.
18679         (__ieee754_atan2): Force underflow exception for results with
18680         small absolute value.
18681         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18682         <math_private.h>.
18683         (atan): Force underflow exception for results with small absolute
18684         value.
18685         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18686         (__atanf): Force underflow exception for results with small
18687         absolute value.
18688         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18689         <math.h>.
18690         (__atanl): Force underflow exception for results with small
18691         absolute value.
18692         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18693         (__atanl): Force underflow exception for results with small
18694         absolute value.
18695         * sysdeps/x86/fpu/bits/mathinline.h
18696         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18697         (__ieee754_atan2): Only define inline for long double.
18698         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18699         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18700         * math/auto-libm-test-in: Do not mark underflow exceptions as
18701         possibly missing for bug 15319.  Add more tests of atan2.
18702         * math/auto-libm-test-out: Regenerated.
18703         * math/libm-test.inc (casin_test_data): Do not mark underflow
18704         exceptions as possibly missing for bug 15319.
18705         (casinh_test_data): Likewise.
18706         * sysdeps/i386/fpu/libm-test-ulps: Update.
18708 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18710         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18711         * sysdeps/mips/bits/endian.h: Fix comments.
18713 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18715         [BZ #17996]
18716         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18717         (hdestroy_r): Likewise.
18718         (hsearch_r): Likewise.
18719         (__hcreate_r): Declare and use libc_hidden_proto.
18720         (__hdestroy_r): Likewise.
18721         (__hsearch_r): Likewise.
18722         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18723         (hcreate): Call __hcreate_r instead of hcreate_r.
18724         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18725         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18726         as weak alias of __hcreate_r.
18727         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18728         __hdestroy_r.
18729         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18730         __hsearch_r.
18731         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18732         Remove variable.
18733         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18734         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18735         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18736         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18738 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18740         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18741         arena_lock into a single arena_get.
18743 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18745         * dl-reloc.c: Inlucde libc-internal.h.
18746         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18747         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18748         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18749         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18750         (grow_heap): Likewise.
18751         * malloc/malloc.c: Include libc-internal.h.
18752         (do_check_malloc): Call powerof2.
18753         (sysmalloc): Use pagesize. Call ALIGN_UP.
18754         (systrim): Use pagesize.
18755         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18756         (__libc_valloc): Use pagesize.
18757         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18759 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18761         [BZ #17991]
18762         * include/sys/resource.h (__getrlimit64): Declare.  Use
18763         libc_hidden_proto.
18764         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18765         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18766         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18767         getrlimit64.
18768         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18769         __getrlimit64.
18770         [!getrlimit64] (getrlimit64): Define as weak alias of
18771         __getrlimit64.  Use libc_hidden_weak.
18772         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18773         using __getrlimit64 not __new_getrlimit64.
18774         (__GI_getrlimit64): Likewise.
18775         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18776         Likewise.
18777         (__GI_getrlimit64): Likewise.
18778         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18780         (getrlimit): Add __getrlimit64 alias.
18781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18782         Likewise.
18783         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18784         Remove variable.
18785         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18786         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18788 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18790         * libio/fileops.c: Add missing sys/mman.h
18791         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18793 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18795         * manual/math.texi (Errors in Math Functions): Clarify goals
18796         regarding inexact and underflow exceptions.
18798 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18800         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18801         * sysdeps/mips/memset.S: Ditto.
18803 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18805         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18807 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18809         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18810         (__v1longjmp): Remove versioned symbol.
18811         (__v1siglongjmp): Remove alias and versioned symbol.
18812         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18813         (__v2siglongjmp): Likewise.
18815 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18817         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18819 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18821         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18823 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18825         [BZ #17987]
18826         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18827         zero result does not depend on the sign resulting from
18828         subtraction.
18829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18830         Likewise.
18831         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18832         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18833         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18834         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18835         * math/libm-test.inc (remquo_test_data): Add more tests.
18837 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18839         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18840         Problem reported by J William Piggott.
18842 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18844         [BZ #17978]
18845         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18846         products 4 * y and 2 * y where those would overflow.
18847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18848         Likewise.
18849         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18850         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18851         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18852         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18853         * math/libm-test.inc (remquo_test_data): Add more tests.
18855         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18857         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18858         [defined _COMPILING_NEWLIB].
18859         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18860         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18862         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18863         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18865 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18867         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18868         acquired.
18870 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18872         [BZ #17792]
18873         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18874         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18875         HOST_STACK_END_ADDR): Likewise.
18877 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18879         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18880         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18881         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18883 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18885         * sysdeps/generic/c++-types.data: New file.
18886         * sysdeps/generic/ld.abilist: New file.
18887         * sysdeps/generic/libBrokenLocale.abilist: New file.
18888         * sysdeps/generic/libanl.abilist: New file.
18889         * sysdeps/generic/libc.abilist: New file.
18890         * sysdeps/generic/libcrypt.abilist: New file.
18891         * sysdeps/generic/libdl.abilist: New file.
18892         * sysdeps/generic/libm.abilist: New file.
18893         * sysdeps/generic/libpthread.abilist: New file.
18894         * sysdeps/generic/libresolv.abilist: New file.
18895         * sysdeps/generic/librt.abilist: New file.
18897 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18899         [BZ #17569]
18900         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18901         Compute absolute value of x as modified by fmod, not original
18902         value of x.
18903         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18904         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18905         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18906         RUN_TEST_ffI_f1_mod8.
18907         (remquo_test_data): Add more tests.
18909 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18911         * sysdeps/init_array/pt-crti.S: New file.
18913 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18915         [BZ #17967]
18916         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18917         __builtin_fmaf instead of relying on contraction of a * b + c.
18919 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18921         [BZ #17969]
18922         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18923         node.
18925 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18927         [BZ #17964]
18928         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18929         __builtin_fma instead of relying on contraction of a * b + c.
18931 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18933         * Makeconfig (ASFLAGS): Add -Werror=undef.
18934         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18935         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18936         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18938         * Makeconfig (after-link): New variable.
18939         (+link-pie, +link-pie-tests): Use it.
18940         (+link-static, +link-static-tests): Likewise.
18941         (+link, +link-tests): Likewise.
18942         * Makerules (build-module, build-module-asneeded): Likewise.
18943         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18944         Likewise.
18945         * elf/Makefile ($(objpfx)ld.so): Likewise.
18947 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18949         [BZ #17965]
18950         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18951         both struct timeval and struct timespec.
18953 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18955         [BZ #16560]
18956         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18957         and redefine.
18958         (__ieee754_exp2l): Do not multiply small fractional parts by
18959         M_LN2l.
18960         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18961         small argument.
18962         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18963         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18964         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18965         * math/auto-libm-test-in: Add more tests of exp2.
18966         * math/auto-libm-test-out: Regenerated.
18968 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18970         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18971         unaligned path.
18973 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18975         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18976         little endian.
18978 2015-02-12  Andreas Schwab  <schwab@suse.de>
18980         [BZ #15790]
18981         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18982         Filter out elision flags from value returned in kind.
18983         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18984         * nptl/tst-pthread-mutexattr.c: New file.
18986 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18988         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18989         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18990         into gnu-gnu, and update comment to refer to abi-tags.
18992 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18994         [BZ #15467]
18995         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18996         (__sincos): Set errno to EDOM for infinite argument.
18997         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18998         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18999         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19000         (__sincosl): Set errno to EDOM for infinite argument.
19001         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19002         (__sincosl): Set errno to EDOM for infinite argument.
19003         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19004         (__sincosl): Set errno to EDOM for infinite argument.
19005         * math/libm-test.inc (sincos_test_data): Test errno setting.
19007 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19009         * string/strxfrm_l.c: Remove #define STRCMP.
19010         * string/strcoll_l.c: Remove #define STRLEN.
19011         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19012         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19014 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19016         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19017         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19018         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19019         * sysdeps/mips/mips64/Makefile: ... here.
19020         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19021         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19022         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19023         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19024         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19025         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19026         * sysdeps/mips/mips64/n64/Implies: Likewise.
19028 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19030         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19031         <sys/time.h>, <string.h>, and <errno.h>.
19032         (dest_offset, dest_address, value, zero): Remove unused variables.
19033         (ldouble): Remove typedef.
19034         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19035         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19036         1).  Fix code style.
19037         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19038         (check): Function removed.
19039         (CHECK): New macro.
19040         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19041         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19042         Don't call set_sigaction_FP and remove_sigaction_FP here.
19043         (ldouble_test): Just use 'long double' as macro argument, no need for
19044         the 'ldouble' typedef.
19045         (do_test): Set up SIGFPE handler at start, using plain signal rather
19046         than sigaction.  Fix code style.
19048 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19050         [BZ #17949]
19051         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19052         jump label.
19054 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19056         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19057         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19059         * sysdeps/powerpc/configure.ac: Remove file.
19060         * sysdeps/powerpc/configure: Likewise.
19062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19063         [sysdep_routines]: Remove wordcopy-power6 object.
19064         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19065         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19067         (__memmove_ppc32): Likewise.
19068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19069         file.
19070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19071         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19072         Remove preprocessor.
19074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19075         [sysdep_routines]: Remove wide chars objects.
19076         [wcsmbs]: New rule for wide char objects.
19078         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19079         Remove wordcopy-power6 obejct.
19080         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19081         Use local call for wordcopy and memcpy symbols.
19082         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19084         implementation for loader.
19085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19087         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19088         Remove wordcopy-power7 object.
19089         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19090         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19091         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19092         (_wordcopy_fwd_dest_aligned): Likewise.
19093         (_wordcopy_bwd_aligned): Likewise.
19094         (_wordcopy_bwd_dest_aligned): Likewise.
19096         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19097         Rewrite to call __memmove_ppc instead of include default
19098         implementation.
19100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19101         Remove wide chars objects.
19102         [wcsmbs]: New rule for wide char objects.
19104 2015-02-09  Andreas Schwab  <schwab@suse.de>
19106         [BZ #17912]
19107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19108         in terms of __O_DIRECTORY.
19110 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19112         * time/getdate.c: Include <stdbool.h>.
19113         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19114         call PTR_MANGLE.
19115         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19116         PTR_DEMANGLE.
19118 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19120         Add ersatz _Static_assert on older C hosts
19121         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19122         pre-C11 C platform that is not known to support _Static_assert.
19124 2015-02-07  Richard Braun  <rbraun@sceen.net>
19126         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19127         sigstate.
19128         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19130 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19132         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19133         priority against unexistent AIO_PRIO_DELTA_MAX.
19134         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19135         instead of int.
19136         * misc/fchflags.c (fchflags): Likewise.
19137         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19138         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19139         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19140         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19141         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19142         Declare macros.
19143         [__USE_MISC] (chflags, fchflags): Declare functions.
19144         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19145         EINVAL when nfds is greater than FD_SETSIZE.
19146         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19147         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19148         45.
19149         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19150         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19151         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19152         MACH_RCV_TIMED_OUT.
19153         * hurd/hurd/signal.h (_hurd_self_sigstate,
19154         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19155         Explicit casts from void *.
19156         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19157         * abi-tags: Rename gnu-gnu os into gnu.
19159         [BZ #4719]
19160         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19161         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19162         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19163         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19164         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19165         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19167         [BZ #17944]
19168         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19169         duplicates ADDR->sun_path with sockaddr LEN limitation.
19170         * sysdeps/mach/hurd/connect.c: Include <string.h>
19171         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19172         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19173         * sysdeps/mach/hurd/sendto.c: Likewise.
19174         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19175         implementing it by hand.
19177 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19179         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19180         Use sfi_breg on ldr.
19181         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19182         Likewise.
19184         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19185         it's defined.
19186         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19187         Test SIGSETXID only if it's defined.
19189         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19191         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19192         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19194         * nptl/tst-align2.c: Moved ...
19195         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19196         * nptl/Makefile (tests): Remove tst-align2.
19197         * sysdeps/unix/sysv/linux/Makefile
19198         [$(subdir) = nptl] (tests): Add tst-align-clone.
19199         * nptl/tst-getpid1.c: Moved ...
19200         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19201         * nptl/tst-getpid2.c: Moved ...
19202         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19203         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19204         * sysdeps/unix/sysv/linux/Makefile
19205         [$(subdir) = nptl] (tests): ... here.
19206         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19207         * sysdeps/unix/sysv/linux/Makefile
19208         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19210         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19211         Drop trailing \n from perror argument.  Use return rather than exit.
19213         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19214         on [SA_SIGINFO].
19215         * nptl/tst-cancel21.c (do_test): Likewise.
19216         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19217         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19218         [!SA_SIGINFO]: Make it a stub test.
19220         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19221         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19223         * posix/tst-getlogin.c: Move to ...
19224         * login/tst-getlogin.c: ... here.
19225         * posix/Makefile (tests): Move tst-getlogin to ...
19226         * login/Makefile (tests): ... here.
19228         * libio/tst-atime.c (do_test): Move local variables SV and E
19229         inside [ST_NOATIME] conditional.
19231         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19233         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19235         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19236         (wait_code): New function replaces macro.
19237         Call nanosleep rather than syscall.
19239         * nptl/pt-system.c: Rewritten.  Put everything under
19240         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19241         Use IFUNC to redirect when possible.
19243         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19244         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19245         Use IFUNC to redirect when possible.
19247         * nptl/pt-fork.c: Rewritten.  Put everything under
19248         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19249         Use IFUNC to redirect when possible.
19250         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19253         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19254         unconditionally nowadays.  This included the only reference to
19255         __vdso_clock_gettime that appears outside libc proper.
19256         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19257         Remove version set (containing only __vdso_clock_gettime).
19258         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19259         Add attribute_hidden.
19260         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19261         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19262         libc_hidden_data_def.
19263         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19266         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19267         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19268         setrpcent, and getrpcport to ...
19269         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19270         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19271         getrpcbynumber_r, and getrpcent_r to ...
19272         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19273         * inet/getrpcbyname.c: Moved ...
19274         * sunrpc/getrpcbyname.c: ... here.
19275         * inet/getrpcbyname_r.c: Moved ...
19276         * sunrpc/getrpcbyname_r.c: ... here.
19277         * inet/getrpcbynumber.c: Moved ...
19278         * sunrpc/getrpcbynumber.c: ... here.
19279         * inet/getrpcbynumber_r.c: Moved ...
19280         * sunrpc/getrpcbynumber_r.c: ... here.
19281         * inet/getrpcent.c: Moved ...
19282         * sunrpc/getrpcent.c: ... here.
19283         * inet/getrpcent_r.c: Moved ...
19284         * sunrpc/getrpcent_r.c: ... here.
19285         * inet/Makefile (routines): Move those to ...
19286         * sunrpc/Makefile (routines): ... here.
19287         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19288         the $(subdirs) list.
19289         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19290         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19291         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19292         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19294         * elf/Makefile (routines): Include $(all-dl-routines), not just
19295         $(dl-routines).
19296         (rtld-routines): Likewise.  Use = rather than :=.
19297         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19298         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19299         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19300         * sysdeps/arm/Makefile: Likewise.
19301         * sysdeps/i386/Makefile: Likewise.
19302         * sysdeps/x86_64/Makefile: Likewise.
19303         * sysdeps/hppa/Makefile [$(subdir) = elf]
19304         (sysdep_routines, sysdep-rtld-routines): Don't add
19305         $(sysdep-dl-routines) to these.
19306         * sysdeps/ia64/Makefile: Likewise.
19307         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19308         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19309         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19310         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19311         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19312         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19313         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19314         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19315         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19316         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19317         these; sysdep-dl-routines alone is enough.
19319 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19321         [BZ #17932]
19322         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19323         where multiplication results in zero and third argument is finite
19324         and nonzero.
19325         * math/auto-libm-test-in: Add more tests of fma.
19326         * math/auto-libm-test-out: Regenerated.
19328         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19329         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19330         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19331         (_FP_CMP_EQ): Likewise.
19332         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19334         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19335         extra argument CHECK_NAN.  Redefine as wrapper around
19336         _FP_EXTEND_CNAN.
19338 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19340         * version.h (RELEASE): Set to "stable".
19341         (VERSION): Set to "2.21"
19342         * include/features.h (__GLIBC_MINOR__): Set to 21.
19344         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19346 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19347             Paul Eggert  <eggert@cs.ucla.edu>
19349         [BZ #16618]
19350         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19351         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19352         size in bytes. Store needed elements in wpmax. Use needed size
19353         in bytes for extend_alloca.
19355 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19357         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19358         binutls 2.25, and texinfo 5.2.
19359         * INSTALL: Regenerate.
19360         * sysdeps/nios2/configure: Regenerate.
19361         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19362         * manual/contrib.texi: Update.
19363         * po/be.po: Update.
19364         * po/bg.po: Update.
19365         * po/ca.po: Update.
19366         * po/cs.po: Update.
19367         * po/da.po: Update.
19368         * po/de.po: Update.
19369         * po/el.po: Update.
19370         * po/eo.po: Update.
19371         * po/es.po: Update.
19372         * po/fi.po: Update.
19373         * po/fr.po: Update.
19374         * po/gl.po: Update.
19375         * po/hr.po: Update.
19376         * po/hu.po: Update.
19377         * po/ia.po: Update.
19378         * po/id.po: Update.
19379         * po/it.po: Update.
19380         * po/ja.po: Update.
19381         * po/ko.po: Update.
19382         * po/lt.po: Update.
19383         * po/nb.po: Update.
19384         * po/nl.po: Update.
19385         * po/pl.po: Update.
19386         * po/pt_BR.po: Update.
19387         * po/ru.po: Update.
19388         * po/rw.po: Update.
19389         * po/sk.po: Update.
19390         * po/sl.po: Update.
19391         * po/sv.po: Update.
19392         * po/tr.po: Update.
19393         * po/uk.po: Update.
19394         * po/vi.po: Update.
19395         * po/zh_CN.po: Update.
19396         * po/zh_TW.po: Update.
19398         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19399         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19400         * sysdeps/hppa/dl-irel.h: Remove #warning.
19401         * sysdeps/hppa/entry.h: Provide prototype for
19402         __canonicalize_funcptr_for_compare and cast argument.
19403         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19404         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19405         * sysdeps/hppa/sotruss-lib.c: New file.
19406         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19407         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19408         (atomic_compare_and_exchange_bool_acq): Likewise.
19409         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19410         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19412         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19413         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19414         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19416 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19418         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19419         called function in non-PIC case.
19421 2015-01-31  David S. Miller  <davem@davemloft.net>
19423         * sysdeps/sparc/sparc32/bits/atomic.h
19424         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19425         unlock not after it.
19426         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19427         volatile register usage warnings from the compiler.
19429         * sysdeps/sparc/nptl/sem_init.c: Delete.
19430         * sysdeps/sparc/nptl/sem_post.c: Delete.
19431         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19432         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19433         * sysdeps/sparc/sparc32/sem_init.c: New file.
19434         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19435         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19436         padding explicitly initialized.
19437         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19438         padding for in-semaphore spinlock.
19439         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19440         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19441         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19442         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19443         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19444         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19445         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19446         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19447         version.
19448         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19449         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19451 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19453         [BZ #17801]
19454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19455         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19456         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19457         New.
19458         (index_AVX_Fast_Unaligned_Load): Likewise.
19459         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19460         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19461         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19462         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19463         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19464         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19465         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19466         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19467         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19469 2015-01-29  Andreas Schwab  <schwab@suse.de>
19471         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19473 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19475         [BZ #17892]
19476         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19478 2015-01-28  Martin Sebor  <msebor@redhat.com>
19480         * math/README.libm-test: Clarify. Add "How to read the test output."
19482 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19484         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19485         Define to 0.
19487 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19490         (__HAVE_64B_ATOMICS): Define to 0.
19492 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19494         [BZ #17885]
19495         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19496         value to set as new flag.
19498         [BZ #16576]
19499         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19500         and use _ARCH_PPCSQ instead.
19501         (__ieee754_sqrt): Likewise.
19502         (__ieee754_sqrtf): Likewise.
19503         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19504         _ARCH_PPCSQ is defined.
19505         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19506         fsqrt instruction.
19507         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19508         _ARCH_PPCSQ is defined.
19509         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19510         fsqrts instruction.
19511         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19513 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19515         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19516         bug (GCC BZ #64739).
19518 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19520         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19521         Mark _retval as used.
19522         (lll_futex_wake_unlock): Likewise.
19523         (lll_futex_timed_wait_requeue_pi): Likewise.
19525         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19526         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19527         register variables.
19529         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19530         libm_hidden_def.
19532         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19533         (__bswap_64): Mark as __always_inline.
19535 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19537         [BZ #15378]
19538         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19539         when none of the search directories exist.
19541 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19543         [BZ #17869]
19544         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19545         power8 in .machine directive.
19547         [BZ #17868]
19548         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19549         set dependency from opd value.
19551 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19554         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19555         architecture.
19557 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19559         [BZ #17870]
19560         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19561         with uint64_t.
19562         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19563         (uint64_t) 1.
19564         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19565         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19566         Replace 1UL with (uint64_t) 1.
19567         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19568         int with uint64_t.
19570 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19572         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19573         (if_freenameindex): Likewise.
19575         * resource/getrlimit64.c: Add missing libc_hidden_def.
19577 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19579         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19580         __label__.
19581         (_FP_FMA): Likewise.
19582         (_FP_TO_INT_ROUND): Likewise.
19583         (_FP_FROM_INT): Likewise.
19585 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19587         [BZ #16418]
19588         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19589         Make code racy and cancel safe.
19591 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19593         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19594         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19595         attribution.
19597         * pwd/tst-getpw.c: Rewrite.
19599         [BZ #17702]
19600         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19601         (modules-names): Add moddummy1 and moddummy2.
19602         ($(objpfx)tst-rec-dlopen): Define.
19603         * dlfcn/moddummy1.c: New file.
19604         * dlfcn/moddummy2.c: New file.
19605         * dlfcn/tst-rec-dlopen.c: New file.
19606         * elf/dl-cache.c (_dl_load_cache_lookup):
19607         Return char*. Copy result with alloca/strcpy/strdup.
19608         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19609         returns char*. Free cached. If not saving realname
19610         free cached.
19611         * elf/dl-open.c (dl_open_worker): Do not assert that
19612         _r_debug->r_state is RT_CONSISTENT.
19613         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19614         returns char*.
19616 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19617             Carlos O'Donell  <carlos@redhat.com>
19619         [BZ #12674]
19620         * nptl/sem_waitcommon.c: New file.
19621         * nptl/sem_wait.c: Include sem_waitcommon.c.
19622         (__sem_wait_cleanup, do_futex_wait): Remove.
19623         (__new_sem_wait): Adapt.
19624         (__new_sem_trywait): New function.
19625         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19626         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19627         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19628         (sem_timedwait): Adapt.
19629         * nptl/sem_post.c (__new_sem_post): Adapt.
19630         (futex_wake): New function.
19631         (__old_sem_post): Add release MO fence.
19632         * nptl/sem_open.c (sem_open): Adapt.
19633         * nptl/sem_init.c (__new_sem_init): Adapt.
19634         (futex_private_if_supported): New function.
19635         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19636         (__old_sem_getvalue): Add using previous code.
19637         * sysdeps/nptl/internaltypes.h: Adapt.
19638         * nptl/tst-sem13.c (do_test): Adapt.
19639         * nptl/tst-sem11.c (main): Adapt.
19640         * nptl/sem_trywait.c: Remove.
19641         * nptl/DESIGN-sem.txt: Remove.
19642         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19643         (gen-as-const-headers): Remove structsem.sym.
19644         * nptl/structsem.sym: Remove.
19645         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19646         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19647         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19648         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19649         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19650         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19651         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19652         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19653         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19654         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19655         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19656         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19657         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19658         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19659         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19660         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19661         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19662         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19663         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19664         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19665         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19666         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19668 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19670         * INSTALL: Regenerated.
19672         * po/libc.pot: Regenerated.
19674 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19675             Sandra Loosemore  <sandra@codesourcery.com>
19676             Andrew Jenner  <andrew@codesourcery.com>
19677             Joseph Myers  <joseph@codesourcery.com>
19678             Nathan Sidwell  <nathan@codesourcery.com>
19680         * NEWS: Mention new Nios II port.
19681         * sysdeps/nios2/Implies: New file.
19682         * sysdeps/nios2/Makefile: New file.
19683         * sysdeps/nios2/Subdirs: New file.
19684         * sysdeps/nios2/Versions: New file.
19685         * sysdeps/nios2/__longjmp.S: New file.
19686         * sysdeps/nios2/abort-instr.h: New file.
19687         * sysdeps/nios2/backtrace.c: New file.
19688         * sysdeps/nios2/bits/endian.h: New file.
19689         * sysdeps/nios2/bits/fenv.h: New file.
19690         * sysdeps/nios2/bits/link.h: New file.
19691         * sysdeps/nios2/bits/setjmp.h: New file.
19692         * sysdeps/nios2/bsd-_setjmp.S: New file.
19693         * sysdeps/nios2/bsd-setjmp.S: New file.
19694         * sysdeps/nios2/configure: New generated file.
19695         * sysdeps/nios2/configure.ac: New file.
19696         * sysdeps/nios2/crti.S: New file.
19697         * sysdeps/nios2/crtn.S: New file.
19698         * sysdeps/nios2/dl-init.c: New file.
19699         * sysdeps/nios2/dl-machine.h: New file.
19700         * sysdeps/nios2/dl-sysdep.h: New file.
19701         * sysdeps/nios2/dl-tls.h: New file.
19702         * sysdeps/nios2/dl-trampoline.S: New file.
19703         * sysdeps/nios2/gccframe.h: New file.
19704         * sysdeps/nios2/gmp-mparam.h: New file.
19705         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19706         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19707         * sysdeps/nios2/ldsodefs.h: New file.
19708         * sysdeps/nios2/libc-tls.c: New file.
19709         * sysdeps/nios2/libm-test-ulps: New file.
19710         * sysdeps/nios2/machine-gmon.h: New file.
19711         * sysdeps/nios2/math-tests.h: New file.
19712         * sysdeps/nios2/math_private.h: New file.
19713         * sysdeps/nios2/memusage.h: New file.
19714         * sysdeps/nios2/nptl/Makefile: New file.
19715         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19716         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19717         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19718         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19719         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19720         * sysdeps/nios2/nptl/tls.h: New file.
19721         * sysdeps/nios2/preconfigure: New file.
19722         * sysdeps/nios2/s_fma.c: New file.
19723         * sysdeps/nios2/s_fmaf.c: New file.
19724         * sysdeps/nios2/setjmp.S: New file.
19725         * sysdeps/nios2/sfp-machine.h: New file.
19726         * sysdeps/nios2/sotruss-lib.c: New file.
19727         * sysdeps/nios2/stackguard-macros.h: New file.
19728         * sysdeps/nios2/stackinfo.h: New file.
19729         * sysdeps/nios2/start.S: New file.
19730         * sysdeps/nios2/sysdep.h: New file.
19731         * sysdeps/nios2/tls-macros.h: New file.
19732         * sysdeps/nios2/tst-audit.h: New file.
19733         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19734         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19735         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19736         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19737         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19738         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19739         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19740         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19741         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19742         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19743         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19744         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19745         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19746         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19747         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19748         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19749         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19750         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19751         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19752         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19753         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19754         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19755         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19756         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19757         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19758         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19759         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19760         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19761         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19762         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19763         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19764         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19765         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19766         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19767         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19768         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19769         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19770         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19771         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19772         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19773         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19774         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19775         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19776         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19778 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19780         [BZ #17844]
19781         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19782         (getutent): Use weak_alias in non SHARED case
19783         and default_symbol_version in SHARED case.
19784         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19785         (getutent_r, pututline): Likewise.
19786         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19787         (getutid): Likewise.
19788         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19789         (getutid_r): Likewise.
19790         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19791         (getutline): Likewise.
19792         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19793         (getutline_r): Likewise.
19794         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19795         (updwtmp): Likewise.
19797 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19799         [BZ #17848]
19800         * sysdeps/s390/s390-32/memcmp.S
19801         (memcmp_g5): Rename to __memcmp_g5.
19802         * sysdeps/s390/s390-32/memcpy.S
19803         (memcpy_g5): Rename to __memcpy_g5.
19804         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19805         (memcpy_mvcle) Rename to __memcpy_mvcle.
19806         * sysdeps/s390/s390-32/memset.S
19807         (memset_g5): Rename to __memset_g5.
19808         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19809         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19810         and use prefixed functions.
19811         * sysdeps/s390/s390-32/multiarch/memcmp.S
19812         (memcmp_z196): Rename to __memcmp_z196.
19813         (memcmp_z10): Rename to __memcmp_z10.
19814         (memcmp): Set alias to __memcmp_g5.
19815         (bcmp): Set alias to __memcmp_g5.
19816         * sysdeps/s390/s390-32/multiarch/memcpy.S
19817         (memcpy_z196): Rename to __memcpy_z196.
19818         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19819         (memcpy_z10): Rename to __memcpy_z10.
19820         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19821         (memcpy): Set alias to __memcpy_g5.
19822         * sysdeps/s390/s390-32/multiarch/memset.S
19823         (memset_z196): Rename to __memset_z196.
19824         Jump to __memset_mvcle instead of memset_mvcle.
19825         (memset_z10): Rename to __memset_z10.
19826         Jump to __memset_mvcle instead of memset_mvcle.
19827         (memset_mvcle) Rename to __memset_mvcle.
19828         (memset): Set alias to __memset_g5.
19829         * sysdeps/s390/s390-64/memcmp.S
19830         (memcmp_z900): Rename to __memcmp_z900.
19831         * sysdeps/s390/s390-64/memcpy.S
19832         (memcpy_z900): Rename to __memcpy_z900.
19833         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19834         (memcpy_mvcle) Rename to __memcpy_mvcle.
19835         * sysdeps/s390/s390-64/memset.S
19836         (memset_z900): Rename to __memset_z900.
19837         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19838         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19839         and use prefixed functions.
19840         * sysdeps/s390/s390-64/multiarch/memcmp.S
19841         (memcmp_z196): Rename to __memcmp_z196.
19842         (memcmp_z10): Rename to __memcmp_z10.
19843         (memcmp): Set alias to __memcmp_z900.
19844         (bcmp): Set alias to __memcmp_z900.
19845         * sysdeps/s390/s390-64/multiarch/memcpy.S
19846         (memcpy_z196): Rename to __memcpy_z196.
19847         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19848         (memcpy_z10): Rename to __memcpy_z10.
19849         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19850         (memcpy): Set alias to __memcpy_z900.
19851         * sysdeps/s390/s390-64/multiarch/memset.S
19852         (memset_z196): Rename to __memset_z196.
19853         Jump to __memset_mvcle instead of memset_mvcle.
19854         (memset_z10): Rename to __memset_z10.
19855         Jump to __memset_mvcle instead of memset_mvcle.
19856         (memset_mvcle) Rename to __memset_mvcle.
19857         (memset): Set alias to __memset_z900.
19859 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19861         [BZ #17748]
19862         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19863         __fesetenv instead of fesetenv.
19865 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19867         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19868         macro.
19870 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19872         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19873         regression on LE.
19875         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19876         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19878         strncmp-power8 object.
19879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19880         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19881         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19882         * NEWS: Update.
19884 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19885             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19887         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19888         trailing byte check.
19890 2015-01-13  David S. Miller  <davem@davemloft.net>
19892         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19894 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19896         * login/logout.c (logout): Use memset rather than bzero.
19897         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19898         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19899         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19900         (_gethtbyaddr): Likewise.
19901         * locale/programs/simple-hash.c (bcopy): Macro removed.
19903 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19906         Add strcmp-power8 object.
19907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19908         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19909         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19910         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19911         __strcmp_power8 implementation.
19912         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19913         * NEWS: Update.
19915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19916         Add strncpy-power8 and stpncpy-power8 objects.
19917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19918         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19919         implementations.
19920         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19921         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19922         __stpncpy_power8 implementation.
19923         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19924         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19925         __strncpy_power8 implementation.
19926         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19927         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19928         * NEWS: Update.
19930         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19931         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19932         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19934         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19935         strncat-power8 object.
19936         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19937         __strcat_power8 implementation.
19938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19939         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19940         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19941         optimized strcat for power8.
19943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19944         strcpy-power8 and stpcpy-power8 objects.
19945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19946         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19947         implementations.
19948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19949         multiarch stpcpy implementation for POWER8.
19950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19951         multiarch strcpy implementation for POWER8.
19952         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19953         __strcpy_power8 function.
19954         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19955         stpcpy for POWER8.
19956         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19957         strcpy for POWER8.
19958         * NEWS: Update.
19960 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19962         [BZ #16009]
19963         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19964         weights and rules. Use do_xfrm_cached if data fits in cache,
19965         do_xfrm otherwise.  Moved former main loop to...
19966         * (do_xfrm_cached): New function.
19967         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19968         find_idx, find_position and stack_push.
19969         * (find_idx): New function.
19970         * (find_position): Likewise.
19971         * localedata/sort-test.sh: Added test run for do_xfrm.
19972         * localedata/xfrm-test.c (main): Added command line option
19973         -nocache to run the test with strings that are too large for
19974         the STRXFRM cache.
19976 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19978         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19979         variable to lll_futex_wake call, not the value itself.
19981 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19983         [BZ #17803]
19984         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19985         twom64.  Adjust value to 0x1p-64L.
19986         (__scalblnl): Only return standard underflowing result for K <=
19987         -64 not K <= -63; adjust exponent for underflowing result by 64
19988         not 63.
19989         * math/libm-test.inc (scalbn_test_data): Add more tests.
19990         (scalbln_test_data): Likewise.
19992         [BZ #17834]
19993         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19994         0x1p63L.
19995         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19996         not HX.
19997         * math/libm-test.inc (scalbn_test_data): Add more tests.
19998         (scalbln_test_data): Likewise.
20000 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20001             Stefani Seibold  <stefani@seibold.net>
20003         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20004         (sysdep_routines): Add dl-vdso here, ...
20005         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20006         (sysdep_routines): ... not here.
20007         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20008         fallback when vDSO is not presented.
20009         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20010         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20011         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20012         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20013         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20014         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20015         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20016         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20017         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20019         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20020         fallback configurable symbol when vDSO is not available.
20021         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20022         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20023         be able to redefine fallback symbol when vDSO is not available.
20024         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20025         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20027 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20029         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20030         (TLS_INIT_TP): Add tm_capable initialization.
20031         (TLS_DEFINE_INIT_TP): Likewise.
20032         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20033         TCB.
20034         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20035         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20036         calculation.
20037         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20038         transactoion is lock elision is built and TCB tm_capable is set.
20039         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20041         (INTERNAL_SYSCALL_NCS): Likewise.
20042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20043         (INTERNAL_SYSCALL_NCS): Likewise.
20044         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20046         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20047         for powerpc.
20048         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20049         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20050         and remove it for 32 bits case.
20051         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20053         initialization.
20054         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20055         Disable lock elision with rdlocks if elision is not available.
20057         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20058         (sysdep_routines): Add lock elision objects.
20059         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20060         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20061         [pthread_mutex_t] (__elision): Add field.
20062         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20063         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20064         elision definitions for powerpc.
20065         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20066         implementation of lock elision for powerpc.
20067         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20068         implementation of timed lock elision for powerpc.
20069         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20070         implementation of trylock with lock elision for powerpc.
20071         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20072         implementaion of unlock for lock elision for powerpc.
20073         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20074         automatic enable lock elision for mutexes.
20075         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20076         transaction execution definitions for powerpc.
20077         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20078         definitions.
20079         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20080         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20081         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20082         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20083         * NEWS: Update.
20085 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20087         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20088         for #include of <shm-directory.h>.
20090 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20092         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20093         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20095 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20097         [BZ #17791]
20098         * NEWS: Mention bug fix.
20099         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20100         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20101         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20103 2015-01-09  Torvald Riegel <triegel@redhat.com>
20105         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20107 2015-01-09  Torvald Riegel <triegel@redhat.com>
20109         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20111 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20113         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20114         pointer and cast to uintptr_t.
20116 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20118         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20119         removed.
20120         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20122 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20124         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20125         of 0.
20127 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20129         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20130         <nptl/pthreadP.h> instead.
20131         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20133         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20134         already defined.
20135         [__SIGRTMIN] (init): Function removed.
20136         [__SIGRTMIN] (initialized): Variable removed.
20137         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20138         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20139         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20140         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20141         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20142         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20143         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20144         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20145         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20146         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20147         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20148         * sysdeps/nptl/allocrtsig.c: New file.
20149         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20150         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20151         * sysdeps/generic/testrtsig.h: File removed.
20153         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20154         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20156         * nptl/nptl-init.c (pthread_functions): Conditionalize
20157         .ptr__nptl_setxid initialization on [SIGSETXID].
20159         * sysdeps/nptl/sys/procfs.h: New file.
20160         * nptl_db/Makefile (headers): Add it.
20161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20163         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20164         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20165         * nptl/pthread_attr_setaffinity.c: Include it.
20166         * nptl/pthread_setattr_default_np.c: Likewise.
20167         * nptl/check-cpuset.h: New file.
20169 2015-01-08  Richard Henderson  <rth@redhat.com>
20171         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20172         (CFLAGS-tst-execstack-prog.c): Likewise.
20173         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20175 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20176             Sandra Loosemore  <sandra@codesourcery.com>
20177             Andrew Jenner  <andrew@codesourcery.com>
20178             Joseph Myers  <joseph@codesourcery.com>
20179             Nathan Sidwell  <nathan@codesourcery.com>
20181         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20182         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20183         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20184         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20185         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20186         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20187         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20188         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20189         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20190         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20191         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20192         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20193         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20194         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20195         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20196         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20197         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20199 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20201         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20202         timespec struct member in syscall macro.
20203         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20204         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20205         first timeval struct member in syscall macro.
20206         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20208 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20210         [BZ #17748]
20211         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20212         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20213         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20214         __feupdateenv and define as weak alias of __feupdateenv.  Use
20215         libm_hidden_weak.
20216         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20217         libm_hidden_def.
20218         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20219         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20220         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20221         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20222         libm_hidden_def.
20223         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20224         __feupdateenv and define as weak alias of __feupdateenv.  Use
20225         libm_hidden_weak.
20226         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20227         libm_hidden_def.
20228         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20229         __feupdateenv and define as weak alias of __feupdateenv.  Use
20230         libm_hidden_weak.
20231         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20232         libm_hidden_def.
20233         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20234         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20235         (__feupdateenv): Likewise.
20236         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20237         __feupdateenv and define as weak alias of __feupdateenv.  Use
20238         libm_hidden_weak.
20239         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20240         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20241         libm_hidden_def.
20242         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20243         function.
20244         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20245         libm_hidden_def.
20246         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20247         __feupdateenv instead of feupdateenv.
20248         (default_libc_feupdateenv_test): Likewise.
20249         (libc_feresetround_ctx): Likewise.
20251 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20254         prototype.
20256 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20258         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20259         COLL_SYM in a couple of places to avoid uninitialized variable
20260         wanings on tilegx gcc 4.8.2.
20262 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20264         * sysdeps/aarch64/strcpy.S: New file.
20265         * sysdeps/aarch64/stpcpy.S: New file.
20266         * NEWS: Updated.
20268 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20270         * sysdeps/aarch64/strrchr.S: New file.
20271         * NEWS: Updated.
20273 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20275         [BZ #17658]
20276         * stdlib/setenv.c: Fix memory leak when setting large,
20277         duplicate string.
20279 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20281         [BZ #17273]
20282         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20283         and tabs from buffer before parsing fstab entry.
20284         * misc/tst-mntent.c (main): Add test for mount entry with
20285         trailing spaces and tabs.
20287 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20289         [BZ #17748]
20290         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20291         * math/fesetround.c (fesetround): Rename to __fesetround and
20292         define as weak alias of __fesetround.  Use libm_hidden_weak.
20293         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20294         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20295         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20296         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20297         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20298         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20299         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20300         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20301         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20302         __fesetround_inline.
20303         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20304         __fesetround_inline instead of __fesetround.
20305         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20306         __fesetround and define as weak alias of __fesetround.  Use
20307         libm_hidden_weak.  Call __fesetround_inline instead of
20308         __fesetround.
20309         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20310         __fesetround and define as weak alias of __fesetround.  Use
20311         libm_hidden_weak.
20312         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20313         Likewise.
20314         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20315         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20316         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20317         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20318         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20319         __fesetround and define as weak alias of __fesetround.  Use
20320         libm_hidden_weak.
20321         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20322         __fesetround instead of fesetround.
20323         (default_libc_feholdexcept_setround): Likewise.
20324         (libc_feholdsetround_ctx): Likewise.
20325         (libc_feholdsetround_noex_ctx): Likewise.
20327         [BZ #17748]
20328         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20329         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20330         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20331         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20332         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20333         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20334         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20335         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20336         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20337         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20338         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20339         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20340         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20341         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20342         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20343         libm_hidden_def.
20344         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20345         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20346         Likewise.
20347         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20348         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20349         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20350         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20351         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20352         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20353         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20354         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20355         __fesetenv instead of fesetenv.
20356         (libc_feresetround_noex_ctx): Likewise.
20357         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20358         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20359         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20360         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20361         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20362         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20363         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20364         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20365         (__feupdateenv): Likewise.
20366         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20367         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20368         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20369         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20371 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20373         [BZ #17806]
20374         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20375         addresses have been freed.
20377 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20379         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20380         and nservall.
20382 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20384         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20385         Clean up check_pf allocation pattern. addresses
20387 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20389         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20390         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20391         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20392         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20393         * nptl/pthread_join.c (pthread_join): Likewise.
20394         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20395         * sysdeps/posix/waitid.c (__waitid): Likewise.
20396         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20397         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20398         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20399         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20401         Likewise.
20402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20403         (__libc_pread64): Likewise.
20404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20405         (__libc_pwrite): Likewise.
20406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20407         (__libc_pwrite64): Likewsie.
20408         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20409         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20410         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20411         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20412         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20413         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20414         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20416         Likewise.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20418         (__libc_pread64): Likewise.
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20420         Likewise.
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20422         (__libc_pwrite64): Likewise.
20423         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20424         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20425         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20426         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20427         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20428         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20429         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20430         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20431         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20432         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20433         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20434         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20435         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20436         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20437         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20438         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20439         Likewise.
20441 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20443         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20444         (CFLAGS-test-double.c): Likewise.
20445         (CFLAGS-test-ldouble.c): Likewise.
20446         (CPPFLAGS-test-ifloat.c): Likewise.
20447         (CPPFLAGS-test-idouble.c): Likewise.
20448         (CPPFLAGS-test-ildoubl.c): Likewise.
20449         (CFLAGS-test-test-fenv.c): Remove variable.
20450         (CFLAGS-test-misc.c): Likewise.
20452 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20454         [BZ #17797]
20455         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20456         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20457         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20458         CLOCKS_PER_SEC == 1000000.
20459         * time/clocktest.c (main): Replace %ld with %jd and cast to
20460         intmax_t.
20462 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20464         * sysdeps/generic/unwind-resume.h: New file.
20465         * sysdeps/gnu/unwind-resume.c: Include it.
20466         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20467         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20468         argument list.
20469         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20470         global rather than static.
20471         (_Unwind_Resume): Update user.
20472         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20473         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20474         rather than static.  Add __attribute__ ((cold)).
20475         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20476         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20477         * sysdeps/arm/arm-unwind-resume.S: New file.
20478         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20479         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20480         * sysdeps/arm/Makefile [$(subdir) = csu]
20481         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20482         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20483         Add rt-arm-unwind-resume.
20484         [$(subdir) = nptl]
20485         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20486         Add pt-arm-unwind-resume.
20487         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20488         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20490 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20492         [BZ #17748]
20493         * include/fenv.h (__feholdexcept): Declare.  Use
20494         libm_hidden_proto.
20495         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20496         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20497         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20498         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20499         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20500         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20501         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20502         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20503         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20504         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20505         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20506         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20507         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20508         (feholdexcept): Likewise.
20509         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20510         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20511         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20512         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20513         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20514         __feholdexcept instead of feholdexcept.
20515         (default_libc_feholdexcept_setround): Likewise.
20517 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20519         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20520         to avoid using stl/str to align destination.
20522 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20524         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20526 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20528         [BZ #17796]
20529         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20530         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20531         Define as weak alias not strong alias.
20533 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20535         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20536         bltzal with addiupc.
20537         (RTLD_START): Ditto.
20539 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20541         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20542         for __vdso_* functions in declarations.
20543         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20544         definitions.
20545         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20546         INTERNAL_VSYSCALL): Use struct return types to check for error.
20548         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20549         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20550         function with cast from llround().
20551         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20552         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20553         Define.
20555 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20557         [BZ #17793]
20558         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20559         Define as weak alias not strong alias.
20561         [BZ #17635]
20562         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20563         ...
20564         * ctype/ctype-extn.c: ... here.
20565         (__isblank_l): Move to ...
20566         * ctype/ctype-c99_l.c: ... here.  New file.
20567         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20568         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20569         Remove variable.
20570         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20571         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20572         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20573         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20574         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20576         [BZ #17777]
20577         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20578         (posix_fadvise64): Define as weak alias not strong alias.
20579         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20580         (posix_fallocate64): Likewise.
20581         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20582         Remove variable.
20583         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20584         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20585         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20586         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20587         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20589 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20591         [BZ #16191]
20592         * NEWS: Mention bug fix.
20593         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20594         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20595         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20596         (HOST_STACK_END_ADDR): Likewise.
20598 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20600         [BZ #17748]
20601         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20602         * math/fegetround.c (fegetround): Rename to __fegetround and
20603         define as weak alias of __fegetround.  Use libm_hidden_weak.
20604         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20605         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20606         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20607         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20608         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20609         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20610         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20611         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20612         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20613         Undefine after rather than before function definition; use
20614         parentheses around function name in definition.
20615         (__fegetround): Also undefine macro after function definition.
20616         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20617         __fegetround and define as weak alias of __fegetround.  Use
20618         libm_hidden_weak.  Do not undefine as macro.
20619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20620         Likewise.
20621         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20622         __fegetround and define as weak alias of __fegetround.  Use
20623         libm_hidden_weak.
20624         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20625         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20626         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20627         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20628         __fegetround and define as weak alias of __fegetround.  Use
20629         libm_hidden_weak.
20630         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20631         __fegetround instead of fegetround.
20633         [BZ #17782]
20634         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20635         Condition macro definition on [__USE_MISC].
20637         [BZ #17781]
20638         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20639         (struct sigaction): Change type of sa_flags field to int.
20641         [BZ #17780]
20642         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20643         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20644         __glibc_reserved0.
20646         * nptl/version.c (banner): Use single year in copyright notice.
20648         * NEWS: Update copyright dates.
20649         * catgets/gencat.c (print_version): Likewise.
20650         * csu/version.c (banner): Likewise.
20651         * debug/catchsegv.sh: Likewise.
20652         * debug/pcprofiledump.c (print_version): Likewise.
20653         * debug/xtrace.sh (do_version): Likewise.
20654         * elf/ldconfig.c (print_version): Likewise.
20655         * elf/ldd.bash.in: Likewise.
20656         * elf/pldd.c (print_version): Likewise.
20657         * elf/sotruss.sh: Likewise.
20658         * elf/sprof.c (print_version): Likewise.
20659         * iconv/iconv_prog.c (print_version): Likewise.
20660         * iconv/iconvconfig.c (print_version): Likewise.
20661         * locale/programs/locale.c (print_version): Likewise.
20662         * locale/programs/localedef.c (print_version): Likewise.
20663         * login/programs/pt_chown.c (print_version): Likewise.
20664         * malloc/memusage.sh (do_version): Likewise.
20665         * malloc/memusagestat.c (print_version): Likewise.
20666         * malloc/mtrace.pl: Likewise.
20667         * manual/libc.texinfo: Likewise.
20668         * nptl/version.c (banner): Likewise.
20669         * nscd/nscd.c (print_version): Likewise.
20670         * nss/getent.c (print_version): Likewise.
20671         * nss/makedb.c (print_version): Likewise.
20672         * posix/getconf.c (main): Likewise.
20673         * scripts/test-installation.pl: Likewise.
20674         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20676 2015-01-02  Will Newton  <will.newton@linaro.org>
20678         * sysdeps/arm/armv7/configure: Removed.
20679         * sysdeps/arm/armv7/configure.ac: Likewise.
20681 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20683         * All files with FSF copyright notices: Update copyright dates
20684         using scripts/update-copyrights.
20685         * intl/plural.c: Regenerated.
20686         * locale/programs/charmap-kw.h: Likewise.
20687         * locale/programs/locfile-kw.h: Likewise.
20689 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20691         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20693 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20695         [BZ #17748]
20696         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20697         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20698         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20699         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20700         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20701         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20702         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20703         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20704         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20705         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20706         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20707         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20708         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20709         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20710         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20711         libm_hidden_def.
20712         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20713         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20714         Likewise.
20715         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20716         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20717         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20718         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20719         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20720         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20721         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20722         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20723         __fegetenv instead of fegetenv.
20724         (libc_feholdsetround_noex_ctx): Likewise.
20726 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20728         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20729         (Elf_MIPS_ABIFlags_v0): New structure.
20730         (EF_MIPS_FP64): Define.
20731         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20732         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20733         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20734         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20735         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20736         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20737         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20738         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20739         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20740         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20741         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20742         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20743         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20744         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20745         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20746         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20747         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20748         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20749         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20750         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20751         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20752         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20753         field.
20754         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20755         EF_MIPS_FP64.
20756         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20757         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20758         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20759         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20760         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20761         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20762         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20763         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20764         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20765         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20766         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20767         record the current FP ABI extension.
20768         (mips-mode-switch): Define to show if kernel headers support mode
20769         switching.
20770         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20771         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20772         supported SYSV ABI version to 3.
20773         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20774         feature.
20776 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20777             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20779         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20780         path.
20781         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20783 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20785         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20786         __fegetround and redefine to call __fegetround.  Remove condition
20787         on [!__NO_MATH_INLINES].
20788         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20789         function.
20790         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20791         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20792         Remove macro.
20793         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20794         instead of <fenv_libc.h>.
20795         (__llrintl): Call fegetround instead of __fegetround.
20796         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20797         instead of <fenv_libc.h>.
20798         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20799         (__lrintl): Call fegetround instead of __fegetround.
20800         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20801         instead of <fenv_libc.h>.
20802         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20803         (__rintl): Call fegetround instead of __fegetround.
20805 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20807         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20808         arrays.
20810 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20812         [BZ #17775]
20813         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20814         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20815         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20817 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20819         * sysdeps/i386/tls-macros.h: Include <features.h>.
20820         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20821         (TLS_IE): Likewise.
20822         (TLS_LD): Likewise.
20823         (TLS_GD): Likewise.
20824         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20825         define for GCC >= 5.0.
20827 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20829         * math/test-fenv.c (test_single_exception, set_single_exc,
20830         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20831         feexcp_mask_test, feenable_test, fe_single_test): Add
20832         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20833         case where they are not used.
20834         * math/libm-test.inc: Likewise.
20835         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20836         unused in the absence of FP rounding/exception support.
20837         * stdio-common/tst-printf-round.c: Likewise.
20838         * stdlib/tst-strtod-round.c: Likewise.
20839         * stdlib/tst-strtod-underflow.c: Likewise.
20841 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20843         [BZ #17723]
20844         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20845         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20846         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20847         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20848         libm_hidden_weak.
20849         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20850         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20851         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20852         libm_hidden_def.
20853         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20854         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20855         libm_hidden_weak.
20856         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20857         Likewise.
20858         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20859         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20860         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20861         libm_hidden_weak.
20862         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20863         libm_hidden_def.
20864         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20865         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20866         (__feraiseexcept): Likewise.
20867         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20868         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20869         libm_hidden_weak.
20870         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20871         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20872         libm_hidden_def.
20873         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20874         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20875         Use libm_hidden_def.
20876         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20877         libm_hidden_def.
20878         (feraiseexcept): Define as weak not strong alias.  Use
20879         libm_hidden_weak.
20880         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20881         New inline function.  Factored out of ...
20882         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20883         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20884         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20885         feraiseexcept.
20886         * math/w_acos.c (__acos): Likewise.
20887         * math/w_asin.c (__asin): Likewise.
20888         * math/w_ilogb.c (__ilogb): Likewise.
20889         * math/w_j0.c (y0): Likewise.
20890         * math/w_j1.c (y1): Likewise.
20891         * math/w_jn.c (yn): Likewise.
20892         * math/w_log.c (__log): Likewise.
20893         * math/w_log10.c (__log10): Likewise.
20894         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20895         * sysdeps/aarch64/fpu/math_private.h
20896         (libc_feupdateenv_test_aarch64): Likewise.
20897         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20898         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20899         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20900         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20901         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20902         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20903         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20904         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20905         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20906         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20908 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20910         [BZ #17732]
20911         * io/test-utime.c (main): Replace %ld with %jd and cast to
20912         intmax_t.
20913         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20914         * nptl/tst-mutex5.c: Include <stdint.h>.
20915         (do_test): Replace %ld with %jd and cast to intmax_t.
20916         * posix/tst-regex.c (run_test): Likewise.
20917         (run_test_backwards): Likewise.
20918         * rt/tst-clock.c: Include <stdint.h>.
20919         (clock_test): Replace %ld with %jd and cast to intmax_t.
20920         * rt/tst-cpuclock1.c: Include <stdint.h>.
20921         (do_test): Replace %lu with %ju and cast to uintmax_t.
20922         * rt/tst-cpuclock2.c: Include <stdint.h>.
20923         (do_test): Replace %lu with %ju and cast to uintmax_t.
20924         * rt/tst-mqueue1.c: Include <stdint.h>.
20925         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20926         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20927         intmax_t.
20928         * rt/tst-mqueue4.c (do_test): Likewise.
20929         * rt/tst-timer4.c: Include <stdint.h>.
20930         (check_ts): Replace %ld with %jd and cast to intmax_t.
20931         (do_test): Likewise.
20932         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20933         and cast to intmax_t.
20934         * sysdeps/pthread/tst-timer.c (main): Likewise.
20935         * time/clocktest.c (main): Likewise.
20936         * time/tst-posixtz.c (do_test): Likewise.
20937         * timezone/tst-timezone.c (main): Likewise.
20939 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20940             H.J. Lu  <hongjiu.lu@intel.com>
20942         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20943         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20944         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20945         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20946         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20947         version if bit_Fast_Unaligned_Load is set.
20948         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20949         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20950         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20951         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20952         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20953         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20955         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20956         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20957         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20958         to 4.
20959         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20960         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20961         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20962         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20964 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20966         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20967         instead of #if to avoid a Wundef warning.
20968         * stdlib/tst-limits.c (do_test): Likewise.
20970         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20971         parallel other exception macros.
20972         (fegetenv): Convert from macro to extern inline so that it applies
20973         retroactively to inline functions already seen by the compiler.
20974         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20976         * posix/Makefile (before-compile): Use $(objpfx) for
20977         posix-conf-vars-def.h.
20979 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20981         * posix/getconf.c (main): Use size_t for type of I.
20982         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20983         NSPEC.
20985         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20986         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20987         * posix/posix-envs.def: Likewise.
20988         * sysdeps/posix/sysconf.c: Likewise.
20989         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20990         (specs): Remove array.
20991         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20992         array.
20994         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20995         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20996         (__sysconf): Use CONF_IS_* macros.
20998         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20999         ($(objpfx)posix-conf-vars-def.h): New target.
21000         * posix/posix-conf-vars.list: New file.
21001         * posix/posix-conf-vars.h: New file.
21002         * posix/confstr.c: Include posix-conf-vars.h.
21003         (confstr): Use CONF_IS_* macros.
21004         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21005         CONF_IS_* macros.
21006         * scripts/gen-posix-conf-vars.awk: New file.
21008 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21010         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21011         fegetround): Add no-op macros to avoid linknamespace issues.
21013         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21014         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21016         * sysdeps/unix/sysv/linux/tile/sysdep.h
21017         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21018         assembly-specific section to avoid a redefinition warning.
21020         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21021         long before casting to pointer to avoid a cast warning.
21023 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21025         * sysdeps/tile/tilegx/Implies: New file.
21027 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21029         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21031 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21033         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21035 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21038         not define.
21039         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21040         <kernel-features.h>.
21041         (__utimes) [__NR_utimes]: Make code unconditional.
21042         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21043         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21044         (__ASSUME_UTIMES): Do not undefine.
21045         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21046         (__ASSUME_UTIMES): Likewise.
21047         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21048         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21049         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21050         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21052 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21054         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21056 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21058         [BZ #17747]
21059         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21060         alias to weak alias for j0l, y0l.
21061         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21062         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21064         [BZ #17746]
21065         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21066         conversion.
21068 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21070         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21071         to zero if not already defined.
21073 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #17724]
21076         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21077         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21078         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21079         (char *) casts added.
21080         * sysdeps/ieee754/k_standardf.c: New file.
21081         * sysdeps/ieee754/k_standardl.c: Likewise.
21082         * math/Makefile (libm-support): Remove k_standard.
21083         (libm-calls): Add k_standard.
21085 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21087         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21088         Optimize to avoid an unnecessary FPCR read.
21090 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21092         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21093         Optimize to reduce FPCR/FPSR accesses.
21095 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21097         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21098         Call libc_fetestexcept_aarch64.
21100 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21102         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21103         Call libc_fesetround_aarch64.
21105 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21107         [BZ #17733]
21108         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21109         (__bind): Do not define as weak alias.
21110         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21111         define.
21112         (__getsockname): Do not define as weak alias.
21114 2014-12-22  Will Newton  <will.newton@linaro.org>
21116         * manual/install.texi: Document that we require bison 2.7
21117         or above.
21118         * INSTALL: Regenerate.
21119         * configure.ac: Use AC_CHECK_PROG_VER instead of
21120         AC_PATH_PROG when checking for bison and check for
21121         version 2.7 or above.
21122         * configure: Regenerate.
21124 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21126         [BZ #17745]
21127         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21128         * sysdeps/tile/ffsll.c (ffsll): To here.
21130         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21132 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21134         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21135         if not defined.
21136         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21137         definition.
21138         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21139         hidden ___tls_get_addr.
21140         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21141         hidden __tls_get_addr.
21142         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21143         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21144         Likewise.
21146 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21148         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21149         _dl_init call.
21151 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21153         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21154         from "call _dl_init@PLT".
21155         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21157 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21159         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21160         guarantees.
21162 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21164         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21166 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21168         [BZ #17744]
21169         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21170         strnlen.
21172 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21174         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21175         of multu on MIPSr6.
21176         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21177         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21178         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21179         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21180         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21182 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21184         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21185         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21186         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21187         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21188         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21189         mips32r6/mips64r6.
21190         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21192 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21194         * string/strncat.c (STRNCAT): Simplify implementation.
21196 2014-12-19  David S. Miller  <davem@davemloft.net>
21198         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21199         access the quad as both a long double and as a series of 4 words.
21201         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21202         link_map->l_info array access.
21204 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21206         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21208         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21209         * math/atest-exp2.c (TIMEOUT): Likewise.
21210         * math/atest-sincos.c (TIMEOUT): Likewise.
21212 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21214         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21215         -Wno-error with -fno-builtin-lround.
21217 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21219         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21220         Contains futex constants and functions moved over from ...
21221         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21222         <lowlevellock-futex.h>.
21223         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21224         (lll_timedwait_tid): Add comments and parentheses around macro
21225         arguments.
21227 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21229         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21230         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21231         (__lll_private_flag): Remove.
21232         (lll_futex_wait): Likewise.
21233         (lll_futex_timed_wait): Likewise.
21234         (lll_futex_wake): Likewise.
21235         (lll_futex_requeue): Likewise.
21236         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21237         (__lll_timedwait_tid): Spell out argument names.
21238         (lll_timedwait_tid): Add comments and parentheses around macro
21239         arguments.
21240         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21241         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21243 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21245         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21246         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21247         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21248         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21249         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21250         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21251         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21252         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21253         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21254         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21255         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21256         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21257         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21258         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21259         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21260         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21261         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21262         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21263         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21265 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21267         * sysdeps/x86_64/x32/Makefile: New file.
21269 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21271         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21272         1L with (mp_limb_t) 1.
21274 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21276         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21277         * nptl/libc_pthread_init.c: ... here.
21278         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21279         * nptl/register-atfork.c: ... here.
21281         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21282         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21283         Use assert_perror to check its return value.
21284         (__gai_create_helper_thread): Likewise.
21286         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21288         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21290 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21292         [BZ #17725]
21293         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21294         __profil_counter.
21295         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21296         Likewise.
21297         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21298         Likewise.
21299         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21300         Likewise.
21301         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21302         (profil_counter): Likewise.
21303         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21304         (profil_counter): Likewise.
21305         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21306         Likewise.
21307         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21308         Likewise.
21309         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21310         (profil_counter): Likewise.
21311         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21312         Likewise.
21313         [!__profil_counter] (profil_counter): Define as weak alias of
21314         __profil_counter.
21315         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21316         (profil_counter): Rename to __profil_counter.
21317         [!__profil_counter] (profil_counter): Define as weak alias of
21318         __profil_counter.
21319         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21320         (profil_counter): Rename to __profil_counter.
21321         [!__profil_counter] (profil_counter): Define as weak alias of
21322         __profil_counter.
21323         * sysdeps/posix/profil.c: Update comment referring to
21324         profil_counter.
21325         (__profil): Use __profil_counter instead of profil_counter.
21326         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21327         __profil_counter.  Use __profil_counter_ushort and
21328         __profil_counter_uint in definitions.
21329         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21330         instead of profil_counter_uint and profil_counter_ushort.
21332         [BZ #17722]
21333         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21334         define as weak alias of __inet_makeaddr.
21335         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21336         as weak alias of __inet_addr.
21337         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21338         as weak alias of __inet_pton.  Use libc_hidden_weak.
21339         * include/arpa/inet.h (__inet_pton): Declare.  Use
21340         libc_hidden_proto.
21341         (inet_makeaddr): Don't use libc_hidden_proto.
21342         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21343         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21344         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21345         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21346         Remove variable.
21347         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21348         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21350 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21352         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21354 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21356         * stdio-common/bug-vfprintf-nargs.c (do_test):
21357         Cast value to intptr_t to avoid format warning
21358         for usage with PRIdPTR printing macro.
21360 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21362         * libio/tst-widetext.c (do_test):
21363         Use format type %td instead of %Zd for ptrdiff_t
21364         in order to avoid format warning.
21366 2014-12-17  Andreas Schwab  <schwab@suse.de>
21368         * nscd/mem.c (gc): Add size_t cast to match printf format.
21370 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21372         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21373         (init): Apply PTR_MANGLE to pointers before storing them.
21374         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21375         before using them.
21377 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21379         [BZ #17719]
21380         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21381         define as weak alias of __memrchr.
21382         (__memrchr): Do not define as strong alias of memrchr.
21383         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21384         Remove variable.
21385         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21386         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21387         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21389         [BZ #17717]
21390         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21391         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21392         (if_indextoname): Rename to __if_indextoname and define as weak
21393         alias of __if_indextoname.  Use libc_hidden_weak.
21394         (if_freenameindex): Rename to __if_freenameindex and define as
21395         weak alias of __if_freenameindex.
21396         (if_nameindex): Rename to __if_nameindex and define as weak alias
21397         of __if_nameindex.
21398         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21399         __if_nametoindex and define as weak alias of __if_nametoindex.
21400         Use libc_hidden_weak.
21401         (if_freenameindex): Rename to __if_freenameindex and define as
21402         weak alias of __if_freenameindex.
21403         (if_nameindex): Rename to __if_nameindex and define as weak alias
21404         of __if_nameindex.
21405         (if_indextoname): Rename to __if_indextoname and define as weak
21406         alias of __if_indextoname.  Use libc_hidden_weak.
21407         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21408         __if_nametoindex and define as weak alias of __if_nametoindex.
21409         Use libc_hidden_weak.
21410         (if_freenameindex): Rename to __if_freenameindex and define as
21411         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21412         (if_nameindex_netlink): Use __if_freenameindex instead of
21413         if_freenameindex.
21414         (if_nameindex): Rename to __if_nameindex and define as weak alias
21415         of __if_nameindex.  Use libc_hidden_weak.
21416         (if_indextoname): Rename to __if_indextoname and define as weak
21417         alias of __if_indextoname.  Use libc_hidden_weak.
21418         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21419         libc_hidden_proto.
21420         [!_ISOMAC] (__if_freenameindex): Likewise.
21421         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21422         if_nametoindex.
21423         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21424         variable.
21425         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21426         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21427         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21428         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21429         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21430         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21431         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21433         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21434         Remove variable.
21435         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21436         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21438 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21440         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21441         subscript above bounds'
21443         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21444         bounds.
21446 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21448         * libio/tst-fopenloc.c: Use test-skeleton.c.
21450         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21451         (entry): Rename to ITEM.
21452         (do_test, comp): Adjust.
21454         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21456 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21458         * string/tester.c: Include <libc-internal.h>.
21459         (test_memset): Ignore -Wmemset-transposed-args.
21461 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21463         * misc/tst-mntent2.c (do_test): Fix warning.
21465 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21467         * elf/tst-unique4lib.cc(a): Mark as used.
21469 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21471         [BZ #17630]
21472         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21473         names.
21475 2014-12-16  Allan McRae  <allan@archlinux.org>
21477         * stdio-common/Makefile (tests): Re-add bug26.
21479 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21481         [BZ #17657]
21482         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21483         static array.
21485 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21487         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21488         (__lll_lock_wait): Likewise.
21489         (__lll_timedlock_wait): Likewise.
21490         (__lll_timedwait_tid): Likewise.
21491         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21492         (__lll_robust_timedlock_wait): Likewise.
21493         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21494         (lll_cond_trylock): Likewise.
21495         (__lll_lock): Likewise.
21496         (__lll_robust_lock): Likewise.
21497         (__lll_cond_lock): Likewise.
21498         (lll_robust_cond_lock): Likewise.
21499         (__lll_timedlock): Likewise.
21500         (__lll_robust_timedlock): Likewise.
21501         (__lll_unlock): Likewise.
21502         (__lll_robust_unlock): Likewise.
21503         (lll_wait_tid): Likewise.
21504         (lll_timedwait_tid): Likewise.
21506 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21508         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21510 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21512         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21514 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21516         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21517         * stdio-common/tst-sprintf.c: Likewise.
21519 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21521         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21523 2014-12-15  Jeff Law  <law@redhat.com>
21525         [BZ #16617]
21526         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21527         on the heap.  (CVE-2012-3406)
21528         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21529         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21530         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21532 2014-12-15  Will Newton  <will.newton@linaro.org>
21534         * manual/install.texi: Bump required version of texinfo
21535         to 4.7 from 4.5.
21536         * INSTALL: Regenerated.
21537         * configure.ac: Check for makeinfo version 4.7 and above.
21538         * configure: Regenerated.
21540 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21542         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21543         PREFIX, string constant to insert between directory and name.
21544         * sysdeps/posix/shm_open.c: Update caller.
21545         * sysdeps/posix/shm_unlink.c: Likewise.
21546         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21547         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21548         (SEM_SHM_PREFIX): New macro.
21549         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21550         [$(have-thread-library) = no].
21551         * nptl/Makefile (libpthread-routines): Add shm-directory.
21552         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21553         * sysdeps/nptl/shm-directory.h: New file.
21554         * sysdeps/posix/shm-directory.c
21555         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21556         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21557         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21558         INTERNAL_SYSCALL.
21559         (__where_is_shmfs): Function removed.
21560         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21561         Variables removed.
21562         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21563         Use SHM_GET_NAME.
21564         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21566         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21567         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21568         unconditional for use inside libpthread.
21569         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21571 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21573         * nptl/pthread_getaffinity.c: New file.
21574         * nptl/pthread_setaffinity.c: New file.
21575         * nptl/pthread_getname.c: New file.
21576         * nptl/pthread_setname.c: New file.
21578         * nptl/pthread_create.c (START_THREAD_DEFN)
21579         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21581 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21582             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21584         * resolv/res_send.c (send_vc): Disable warning resplen may
21585         be used uninitialized.
21587 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21589         * nptl/tst-mutex6.c
21590         (ATTR_NULL): New define checks ATTR against NULL.
21591         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21592         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21594 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21596         [BZ #17581]
21597         * malloc/hooks.c
21598         (mem2mem_check): Revert my previous change.
21599         (malloc_check_get_size): Revert my previous change.
21600         (mem2chunk_check): Revert my previous change.
21602 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21604         * sysdeps/posix/shm-directory.c: New file.
21605         * sysdeps/posix/shm-directory.h: New file.
21606         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21607         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21608         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21609         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21610         Transmute EPERM to EACCES.
21611         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21612         from ...
21613         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21614         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21616 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21618         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21619         pointer and cast to uintptr_t.
21620         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21621         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21622         Add cast to avoid warning.
21623         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21625 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21627         * nptl/semaphore.h: Move to ...
21628         * sysdeps/pthread/semaphore.h: ... here.
21629         * Makefile (installed-headers): Change nptl/semaphore.h to
21630         sysdeps/pthread/semaphore.h.
21632 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21634         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21635         generated error format strings.
21637         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21638         -Wformat-extra-args warnings for scanf formats.
21639         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21640         test of zero-length format (duh).
21641         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21642         corner-case scanf format test.
21643         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21644         generated fprintf format string.
21645         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21646         corner-case sprintf format tests.
21647         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21648         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21649         -Wformat-extra-args warnings throughout.
21650         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21651         (CFLAGS-scanf4.c): Likewise.
21652         (CFLAGS-scanf7.c): Likewise.
21653         (CFLAGS-tst-sprintf.c): Likewise.
21654         (CFLAGS-tst-printf.c): Likewise.
21655         (CFLAGS-tst-printfsz.c): Likewise.
21657 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21659         * include/cpio.h: New file.
21660         * include/fmtmsg.h: Likewise.
21662         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21663         corresponding format argument to size_t.
21664         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21665         arguments.
21666         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21667         corresponding format argument to size_t.
21668         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21669         arguments.
21670         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21671         corresponding format argument to size_t.
21672         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21673         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21674         (CFLAGS-tst-mbswcs2.c): Likewise.
21675         (CFLAGS-tst-mbswcs3.c): Likewise.
21676         (CFLAGS-tst-mbswcs4.c): Likewise.
21677         (CFLAGS-tst-mbswcs5.c): Likewise.
21678         (CFLAGS-tst-trans.c): Likewise.
21680 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21682         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21683         rather than assuming they won't contain any '%'s.
21685 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21687         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21688         inhibit_loop_to_libcall to avoid recursive calls.
21689         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21690         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21692 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21694         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21695         prototype.
21697 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21699         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21700         integer value instead of boolean.
21702 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21704         * malloc/malloc.c: Fix powerof2 check.
21706 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21708         * locale/programs/locfile.h (maybe_swap_uint32):
21709         Remove inline and add unused attribute.
21711 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21714         Truncating assembler expression to a .long expression.
21716 2014-12-11  Andreas Schwab  <schwab@suse.de>
21718         * elf/rtld.c (struct map_args): Constify str member.
21719         (do_preload): Constify fname argument.
21721 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21724         constants definition.
21726 2014-12-11  Andreas Schwab  <schwab@suse.de>
21728         [BZ #16657]
21729         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21730         FORCE_ELISION instead of DO_ELISION.
21731         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21732         Remove.
21733         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21734         Likewise.
21736         * iconvdata/gconv-modules: Remove duplicate entry.
21738 2014-12-11  Will Newton  <will.newton@linaro.org>
21740         Merge gettext 0.19.3 into intl/.
21742         This involves a number of cosmetic changes to comments
21743         and ANSI function definitions and prototypes throughout
21744         all the files. The gettext copyright header is used but
21745         with the date ranges taken from the glibc copy.
21747         * NEWS: Add gettext merge to 2.21.
21748         * intl/bindtextdom.c: Switch to gettext copyright.
21749         Use ANSI definitions and prototypes.
21750         Use gl_* locking primitives rather than __libc_* ones.
21751         Use __builtin_expect rather than __glibc_likely/unlikely.
21752         * intl/dcgettext.c: Switch to gettext copyright.
21753         Use ANSI definitions and prototypes.
21754         * intl/dcigettext.c: Switch to gettext copyright.
21755         Use ANSI definitions and prototypes.
21756         (INTDIV0_RAISES_SIGFPE): New define.
21757         Use gl_* locking primitives rather than __libc_* ones.
21758         Include eval-plural.h instead of plural-eval.c.
21759         Use __builtin_expect rather than __glibc_likely/unlikely.
21760         * intl/dcngettext.c: Switch to gettext copyright.
21761         Use ANSI definitions and prototypes.
21762         * intl/dgettext.c: Likewise.
21763         * intl/dngettext.c: Likewise.
21764         * intl/plural-eval.c: Renamed to...
21765         * intl/eval-plural.h: ...this.
21766         * intl/explodename.c: Switch to gettext copyright.
21767         Use ANSI definitions and prototypes.
21768         (_nl_explode_name): Use strchr instead of __rawmemchr.
21769         * intl/finddomain.c: Switch to gettext copyright.
21770         Use ANSI definitions and prototypes.
21771         Use gl_* locking primitives rather than __libc_* ones.
21772         (_nl_find_domain): Use malloc rather than alloca for
21773         allocation of temporary locale name.
21774         * intl/gettext.c: Switch to gettext copyright.
21775         Use ANSI definitions and prototypes.
21776         * intl/gettextP.h: Switch to gettext copyright.
21777         Use ANSI definitions and prototypes.
21778         Use gl_* locking primitives rather than __libc_* ones.
21779         * intl/gmo.h: Switch to gettext copyright.
21780         (struct sysdep_string): Move struct segment_pair outside of
21781         struct definition.
21782         * intl/hash-string.c: Use ANSI definitions and prototypes.
21783         * intl/hash-string.h: Switch to gettext copyright.
21784         Use ANSI definitions and prototypes.
21785         * intl/l10nflist.c: Switch to gettext copyright.
21786         Use ANSI definitions and prototypes.
21787         (_nl_normalize_codeset): Avoid integer overflow.
21788         * intl/loadinfo.h: Switch to gettext copyright.
21789         Use ANSI definitions and prototypes.
21790         (LIBINTL_DLL_EXPORTED): New define.
21791         (PATH_SEPARATOR): New define.
21792         * intl/loadmsgcat.c: Switch to gettext copyright.
21793         * intl/localealias.c: Switch to gettext copyright.
21794         Use ANSI definitions and prototypes.
21795         (_nl_expand_alias): Use PATH_SEPARATOR.
21796         * intl/ngettext.c: Switch to gettext copyright.
21797         Use ANSI definitions and prototypes.
21798         * intl/plural-exp.c: Likewise.
21799         * intl/plural-exp.h: Switch to gettext copyright.
21800         Use ANSI definitions and prototypes.
21801         (struct expression): Move definition of enum operator outside
21802         of struct definition.
21803         * intl/plural.c: Regenerate.
21804         * intl/plural.y: Switch to gettext copyright.
21805         Use ANSI definitions and prototypes.
21806         Port to bison 3.0.
21807         * intl/textdomain.c: Switch to gettext copyright.
21808         Use ANSI definitions and prototypes.
21809         Use gl_* locking primitives rather than __libc_* ones.
21811 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21813         * debug/warning-nop.c: Add used atrribute.
21815 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21817         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21819         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21820         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21821         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21823 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21824             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21826         [BZ #17634]
21827         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21828         Undefine after defining function.  Define as weak alias of
21829         __wcschr.  Use libc_hidden_weak.
21830         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21831         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21832         (libc_hidden_def): Also define __GI___wcschr alias.
21833         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21834         __wcschr and define as weak alias of __wcschr.
21835         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21836         __wcschr.
21837         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21838         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21839         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21840         libc_hidden_weak.  Do not use libc_hidden_def.
21841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21842         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21843         __GI___wcschr alias.
21844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21845         [IS_IN (libc)] (wcschr): Define as macro expanding to
21846         __redirect_wcschr.
21847         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21848         [IS_IN (libc)] (__wcschr_power6): Likewise.
21849         [IS_IN (libc)] (__wcschr_power7): Likewise.
21850         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21851         instead of wcschr.
21852         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21853         __libc_wcschr.
21854         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21855         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21856         __wcschr and define as weak alias of __wcschr.  Use
21857         libc_hidden_builtin_def.
21858         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21859         as weak alias of __wcschr.  Use libc_hidden_weak.
21860         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21861         wcschr.
21862         * time/era.c (_nl_init_era_entries): Likewise.
21863         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21864         variable.
21865         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21866         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21868 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21870         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21871         format for long int variable.
21873 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21875         [BZ #10672]
21876         * manual/search.texi: (Array Sort Function): Remove claim how to make
21877         qsort stable.
21879 2014-12-10  Andreas Schwab  <schwab@suse.de>
21881         [BZ #12847]
21882         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21883         user-controlled locks.
21885 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21887         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21888         register.
21890 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21892         * configure.ac (--disable-werror): New configure option.
21893         (enable_werror): New AC_SUBST.
21894         * configure: Regenerated.
21895         * config.make.in (enable-werror): New variable.
21896         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21897         -Wno-error=undef.
21898         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21899         * manual/install.texi (Configuring and compiling): Document
21900         --disable-werror.
21901         * INSTALL: Regenerated.
21902         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21903         (CFLAGS-tst-chk2.c): Likewise.
21904         (CFLAGS-tst-chk3.c): Likewise.
21905         (CFLAGS-tst-chk4.cc): Likewise.
21906         (CFLAGS-tst-chk5.cc): Likewise.
21907         (CFLAGS-tst-chk6.cc): Likewise.
21908         (CFLAGS-tst-lfschk1.c): Likewise.
21909         (CFLAGS-tst-lfschk2.c): Likewise.
21910         (CFLAGS-tst-lfschk3.c): Likewise.
21911         (CFLAGS-tst-lfschk4.cc): Likewise.
21912         (CFLAGS-tst-lfschk5.cc): Likewise.
21913         (CFLAGS-tst-lfschk6.cc): Likewise.
21915         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21916         (main): Disable -Wdeprecated-declarations around calls to
21917         register_printf_function.
21919         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21920         (do_test): Disable -Wdiv-by-zero around some calls to
21921         fwrite_unlocked and fread_unlocked.
21923         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21924         (DIAG_POP_NEEDS_COMMENT): Likewise.
21925         (_DIAG_STR1): Likewise.
21926         (_DIAG_STR): Likewise.
21927         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21928         * stdio-common/bug21.c: Include <libc-internal.h>.
21929         (do_test): Disable -Wformat around call to sscanf.
21930         * stdio-common/scanf14.c: Include <libc-internal.h>.
21931         (main): Disable -Wformat around some calls to scanf functions.
21933 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21935         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21937 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21939         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21940         stack variable alignment.
21942 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21944         [BZ #17682]
21945         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21946         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21947         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21948         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21949         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21950         __getrlimit instead of getrlimit.
21951         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21952         __gettimeofday instead of gettimeofday.
21953         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21954         Likewise.
21955         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21956         Likewise.
21957         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21958         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21959         Remove variable.
21960         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21961         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21963 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21965         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21966         for wide-character tests.
21968 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21970         * io/openat64.c: #include <libc-internal.h>
21971         (__openat64): Prototypify.  Use ignore_value on MODE.
21972         * io/openat.c: Likewise.
21973         * misc/reboot.c: #include <libc-internal.h>
21974         (reboot): Prototypify.  Use ignore_value on HOWTO.
21975         * misc/ptrace.c: #include <libc-internal.h>
21976         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21978 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21980         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21981         XPG4, UNIX98 and XOPEN2K.
21982         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21983         Remove variable.
21984         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21986 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21988         * libio/fileops.c: Use ISO C style for function definitions.
21989         * libio/iofopen.c: Likewise.
21990         * libio/wfileops.c: Likewise.
21992         [BZ #17653]
21993         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21994         offset on EOF.
21995         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21996         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21997         (fgets_func): Function pointer to fgets and fgetws.
21998         (do_ftell_test): Add test to verify ftell value after read
21999         EOF.
22000         (do_test): Set fgets_func.
22002         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22003         O_TRUNC flag for w and w+ modes.
22004         (do_rewind_test): Likewise.
22005         (do_ftell_test): Likewise.
22006         (do_write_test): Likewise.
22008         [BZ #17647]
22009         * libio/fileops.c (do_ftell): Seek only when there are
22010         unflushed writes.
22011         * libio/wfileops.c (do_ftell_wide): Likewise.
22012         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22013         test case.
22014         (do_one_test): Call it.
22016 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22018         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22019         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22020         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22021         Remove variable.
22022         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22023         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22024         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22026 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22028         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22029         Remove variable.
22030         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22032         [BZ #17668]
22033         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22034         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22035         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22036         __freeifaddrs.  Use libc_hidden_weak.
22037         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22038         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22039         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22040         __freeifaddrs.  Use libc_hidden_weak.
22041         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22042         __getifaddrs and define as weak alias of __getifaddrs.  Use
22043         libc_hidden_weak.
22044         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22045         __freeifaddrs.  Use libc_hidden_weak.
22046         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22047         Remove variable.
22048         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22049         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22051 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22053         [BZ #17601]
22054         * sysdeps/mips/start.S (__start): Use indirect jump to call
22055         __libc_start_main.
22057 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22059         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22061         * nptl/tst-mutex1.c: Include <stdbool.h>.
22062         [!ATTR] (ATTR_NULL): New macro.
22063         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22064         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22065         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22067         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22068         to char *.
22070         [BZ #17665]
22071         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22072         Change conditional to [__USE_MISC].
22074         [BZ #17664]
22075         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22076         fgets_unlocked.
22077         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22078         __fgets_unlocked.
22079         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22080         fgets_unlocked.
22081         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22082         Remove variable.
22083         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22084         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22085         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22086         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22087         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22088         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22089         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22090         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22091         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22093         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22095 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22098         Remove strpbrk objects.
22099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22100         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22101         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22102         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22103         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22104         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22107         Remove strcspn objects.
22108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22109         (__libc_ifunc_impl_list): Remove strcspn implementation.
22110         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22111         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22112         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22113         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22115         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22116         Remove strspn objetcs.
22117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22118         (__libc_ifunc_impl_list): Remove strspn implementation.
22119         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22120         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22121         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22122         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22124 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22126         [BZ #17581]
22127         * malloc/hooks.c
22128         (mem2mem_check): Add a terminator to the chain of checking blocks.
22129         (malloc_check_get_size): Use it here.
22130         (mem2chunk_check): Ditto.
22132 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22134         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22135         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22137 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22139         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22141         * nptl/nptl-init.c: Include libc-internal.h.
22142         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22144         * elf/ldconfig.c (search_dir): Expand comment.
22146 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22148         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22149         variable.
22150         (linknamespace-symlist-stdlibs-tests): Likewise.
22151         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22152         instead of $(objpfx)symlist-stdlibs.
22153         (linknamespace-libs-isoc): New variable.
22154         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22155         (linknamespace-libs-ISO): New variable.
22156         (linknamespace-libs-ISO99): Likewise.
22157         (linknamespace-libs-ISO11): Likewise.
22158         (linknamespace-libs-XPG3): Likewise.
22159         (linknamespace-libs-XPG4): Likewise.
22160         (linknamespace-libs-POSIX): Likewise.
22161         (linknamespace-libs-UNIX98): Likewise.
22162         (linknamespace-libs-XOPEN2K): Likewise.
22163         (linknamespace-libs-POSIX2008): Likewise.
22164         (linknamespace-libs-XOPEN2K8): Likewise.
22165         ($(objpfx)symlist-stdlibs): Replace by
22166         $(linknamespace-symlist-stdlibs-tests).  Use
22167         $(linknamespace-libs-$*) as set of libraries.
22168         ($(linknamespace-header-tests)): Update dependencies.  Use
22169         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22170         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22171         * conform/linknamespace.pl: Remove comment about considering
22172         definitions of symbols from irrelevant libraries.
22174 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22176         [BZ #13862]
22177         * elf/dl-tls.c: Include <atomic.h>.
22178         (oom): Remove #ifdef SHARED/#endif.
22179         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22180         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22181         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22182         big enough.
22183         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22184         * nptl/Makefile (tests): Add tst-stack4.
22185         (modules-names): Add tst-stack4mod.
22186         ($(objpfx)tst-stack4): New.
22187         (tst-stack4mod.sos): Likewise.
22188         ($(objpfx)tst-stack4.out): Likewise.
22189         ($(tst-stack4mod.sos)): Likewise.
22190         (clean): Likewise.
22191         * nptl/tst-stack4.c: New file.
22192         * nptl/tst-stack4mod.c: Likewise.
22194 2014-11-27  J. Brown  <jb999@gmx.de>
22196         * sysdeps/x86/bits/string.h: Add recent CPUs.
22198 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22200         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22201         sigblock.
22203         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22204         feof.
22206         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22207         variable.
22209 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22211         * nscd/connections.c: Include libc-internal.h because of macro
22212         usage ignore_value.
22214 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22216         * string/bits/string3.h (__warn_memset_zero_len): Don't
22217         declare for gcc newer than 5.0.
22218         (memset): Don't test for zero-length __LEN for gcc newer than
22219         5.0.
22221 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22223         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22224         size_t for %zu format.
22226         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22227         difference, not %ju.
22229 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22231         * include/libc-internal.h (ignore_value): New macro.
22232         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22233         with ignore_value.
22235         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22236         definition.
22238         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22239         pthread_cleanup_push to void *.
22241         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22242         Undefine.
22244         [BZ #16619]
22245         [BZ #16740]
22246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22247         instead of 1L << 52.
22249         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22250         * libio/bug-rewind2.c (do_test): Likewise.
22252         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22253         * debug/test-strcpy_chk-ifunc.c: Likewise.
22254         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22255         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22256         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22257         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22258         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22259         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22260         * Rules [$(multi-arch) = no] (tests): Do not filter out
22261         $(tests-ifunc).
22262         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22263         * debug/Makefile (tests-ifunc): Remove variable.
22264         (tests): Do not add $(tests-ifunc).
22265         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22266         (tests): Do not add $(tests-ifunc).
22267         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22268         [TEST_IFUNC]: Remove conditionals.
22269         * string/test-string.h (TEST_IFUNC): Remove macro.
22270         [TEST_IFUNC]: Remove conditionals.
22272         * string/test-strchr.c [!WIDE] (L): New macro.
22273         [WIDE] (L): Likewise.
22274         (check1): Use CHAR instead of char.  Use L on string and character
22275         constants.
22277 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22279         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22280         tests.
22281         * sysdeps/powerpc/bits/atomic.h
22282         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22283         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22284         (atomic_exchange_and_add_acq): Likewise.
22285         (atomic_exchange_and_add_rel): Likewise.
22286         * sysdeps/powerpc/powerpc32/bits/atomic.h
22287         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22288         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22289         * sysdeps/powerpc/powerpc64/bits/atomic.h
22290         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22291         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22293 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22295         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22296         Change synchronization of __sched_fifo_min_prio and
22297         __sched_fifo_max_prio.
22298         * nptl/pthread_mutexattr_getprioceiling.c
22299         (pthread_mutexattr_getprioceiling): Likewise.
22300         * nptl/pthread_mutexattr_setprioceiling.c
22301         (pthread_mutexattr_setprioceiling): Likewise.
22302         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22303         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22304         Likewise.
22306 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22308         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22309         void.
22311 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22313         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22314         third argument const.
22316 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22318         fnmatch: work around GCC compiler warning bug with uninit var
22319         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22320         This works around a bug with x86-64 GCC 4.9.2 and earlier
22321         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22322         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22323         used uninitialized in this function [-Wmaybe-uninitialized]".
22325 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22327         * posix/bug-regex31.c (main): Return RES not 0.
22329 2014-11-25  Anton Blanchard <anton@samba.org>
22331         * sysdeps/powerpc/bits/atomic.h
22332         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22334 2014-11-24  Sterling Augustine  <saugustine@google.com>
22336         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22338 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22340         [BZ #17608]
22341         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22343 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22345         [BZ #17633]
22346         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22347         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22348         variable.
22349         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22350         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22352 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22354         * string/strncpy.c (strncpy): Improve performance by using memset.
22356 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22358         * string/strcpy.c (strcpy):
22359         Improve performance by using strlen and memcpy.
22361 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22363         * string/strcoll_l.c (get_next_seq): __always_inline.
22364         * string/strcoll_l.c (do_compare): __always_inline.
22366 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22368         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22369         defined.
22370         * include/mqueue.h: Likewise.
22371         * include/stdlib.h: Likewise.
22373         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22374         (get_null_defines): Adjust.
22375         * sunrpc/Makefile: Adjust comment.
22376         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22377         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22378         (CFLAGS-interp.c): Likewise.
22379         (CFLAGS-ldconfig.c): Likewise.
22380         (CPPFLAGS-.os): Likewise.
22381         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22382         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22383         * extra-modules.mk (extra-modules.mk): Likewise.
22384         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22385         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22386         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22387         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22388         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22389         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22390         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22391         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22392         * iconvdata/Makefile (CPPFLAGS): Likewise.
22393         (cpp-srcs-left): Add libof for all iconvdata routines.
22394         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22395         * include/assert.h: Likewise.
22396         * include/ctype.h: Likewise.
22397         * include/errno.h: Likewise.
22398         * include/libc-symbols.h: Likewise.
22399         * include/math.h: Likewise.
22400         * include/netdb.h: Likewise.
22401         * include/resolv.h: Likewise.
22402         * include/stdio.h: Likewise.
22403         * include/stdlib.h: Likewise.
22404         * include/string.h: Likewise.
22405         * include/sys/stat.h: Likewise.
22406         * include/wctype.h: Likewise.
22407         * intl/l10nflist.c: Likewise.
22408         * libidn/idn-stub.c: Likewise.
22409         * libio/libioP.h: Likewise.
22410         * nptl/libc_multiple_threads.c: Likewise.
22411         * nptl/pthreadP.h: Likewise.
22412         * posix/regex_internal.h: Likewise.
22413         * resolv/res_hconf.c: Likewise.
22414         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22415         * sysdeps/arm/memmove.S: Likewise.
22416         * sysdeps/arm/sysdep.h: Likewise.
22417         * sysdeps/generic/_itoa.h: Likewise.
22418         * sysdeps/generic/symbol-hacks.h: Likewise.
22419         * sysdeps/gnu/errlist.awk: Likewise.
22420         * sysdeps/gnu/errlist.c: Likewise.
22421         * sysdeps/i386/i586/memcpy.S: Likewise.
22422         * sysdeps/i386/i586/memset.S: Likewise.
22423         * sysdeps/i386/i686/memcpy.S: Likewise.
22424         * sysdeps/i386/i686/memmove.S: Likewise.
22425         * sysdeps/i386/i686/mempcpy.S: Likewise.
22426         * sysdeps/i386/i686/memset.S: Likewise.
22427         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22428         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22429         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22430         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22431         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22432         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22433         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22434         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22435         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22437         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22438         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22439         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22440         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22441         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22442         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22443         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22444         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22445         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22446         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22447         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22448         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22449         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22450         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22451         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22452         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22453         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22454         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22456         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22457         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22462         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22463         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22464         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22465         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22467         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22468         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22469         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22470         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22471         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22472         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22474         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22475         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22479         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22482         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22483         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22484         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22485         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22486         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22487         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22488         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22489         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22490         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22491         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22492         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22493         * sysdeps/posix/closedir.c: Likewise.
22494         * sysdeps/posix/opendir.c: Likewise.
22495         * sysdeps/posix/readdir.c: Likewise.
22496         * sysdeps/posix/rewinddir.c: Likewise.
22497         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22498         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22501         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22503         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22505         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22508         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22509         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22510         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22511         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22512         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22513         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22514         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22516         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22517         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22518         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22519         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22520         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22522         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22524         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22525         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22529         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22532         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22533         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22535         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22536         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22537         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22538         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22539         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22541         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22542         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22543         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22544         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22545         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22546         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22547         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22548         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22551         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22554         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22555         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22556         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22557         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22558         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22560         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22561         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22562         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22563         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22564         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22565         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22566         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22567         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22568         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22569         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22570         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22571         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22573         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22574         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22575         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22577         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22579         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22581         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22582         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22583         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22584         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22585         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22586         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22587         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22588         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22589         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22593         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22594         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22595         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22596         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22597         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22598         * sysdeps/unix/alpha/sysdep.S: Likewise.
22599         * sysdeps/unix/alpha/sysdep.h: Likewise.
22600         * sysdeps/unix/make-syscalls.sh: Likewise.
22601         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22603         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22604         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22605         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22606         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22607         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22608         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22609         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22610         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22611         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22612         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22613         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22614         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22615         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22616         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22617         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22618         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22619         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22620         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22621         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22622         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22623         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22624         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22625         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22626         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22627         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22630         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22631         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22635         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22638         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22639         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22640         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22641         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22642         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22643         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22644         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22648         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22651         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22652         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22653         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22654         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22656         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22657         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22659         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22660         * sysdeps/x86_64/memcpy.S: Likewise.
22661         * sysdeps/x86_64/memmove.c: Likewise.
22662         * sysdeps/x86_64/memset.S: Likewise.
22663         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22664         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22665         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22666         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22667         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22668         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22670         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22671         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22672         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22673         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22674         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22675         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22676         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22677         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22678         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22679         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22680         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22681         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22682         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22683         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22684         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22685         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22686         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22687         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22688         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22689         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22690         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22691         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22692         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22693         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22694         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22695         * sysdeps/x86_64/strcmp.S: Likewise.
22697         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22699         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22700         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22701         * elf/rtld-Rules: Likewise.
22702         * elf/setup-vdso.h: Likewise.
22703         * include/assert.h: Likewise.
22704         * include/bits/stdlib-float.h: Likewise.
22705         * include/errno.h: Likewise.
22706         * include/sys/stat.h: Likewise.
22707         * include/unistd.h: Likewise.
22708         * sysdeps/aarch64/setjmp.S: Likewise.
22709         * sysdeps/alpha/setjmp.S: Likewise.
22710         * sysdeps/arm/__longjmp.S: Likewise.
22711         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22712         * sysdeps/arm/setjmp.S: Likewise.
22713         * sysdeps/arm/sysdep.h: Likewise.
22714         * sysdeps/generic/_itoa.h: Likewise.
22715         * sysdeps/generic/dl-sysdep.h: Likewise.
22716         * sysdeps/generic/ldsodefs.h: Likewise.
22717         * sysdeps/i386/dl-tls.h: Likewise.
22718         * sysdeps/i386/setjmp.S: Likewise.
22719         * sysdeps/m68k/setjmp.c: Likewise.
22720         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22721         * sysdeps/mach/hurd/opendir.c: Likewise.
22722         * sysdeps/posix/getcwd.c: Likewise.
22723         * sysdeps/posix/opendir.c: Likewise.
22724         * sysdeps/posix/profil.c: Likewise.
22725         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22726         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22727         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22728         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22729         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22730         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22731         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22732         * sysdeps/s390/dl-tls.h: Likewise.
22733         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22734         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22735         * sysdeps/sh/sh3/setjmp.S: Likewise.
22736         * sysdeps/sh/sh4/setjmp.S: Likewise.
22737         * sysdeps/unix/alpha/sysdep.h: Likewise.
22738         * sysdeps/unix/arm/sysdep.S: Likewise.
22739         * sysdeps/unix/i386/sysdep.S: Likewise.
22740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22741         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22742         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22743         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22745         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22746         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22747         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22748         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22749         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22750         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22751         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22752         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22759         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22760         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22763         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22764         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22765         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22767         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22768         * sysdeps/x86_64/setjmp.S: Likewise.
22770         * include/math.h: Use IS_IN instead of IS_IN_libm.
22771         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22772         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22773         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22774         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22776         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22778         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22779         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22780         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22781         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22782         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22783         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22784         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22785         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22786         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22787         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22788         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22789         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22790         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22791         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22792         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22793         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22794         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22795         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22796         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22797         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22798         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22799         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22800         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22801         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22802         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22803         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22805         Likewise.
22806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22807         Likewise.
22808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22809         Likewise.
22810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22811         Likewise.
22812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22813         Likewise.
22814         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22815         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22816         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22817         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22818         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22819         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22825         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22826         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22827         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22828         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22829         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22830         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22831         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22832         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22833         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22834         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22835         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22836         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22838         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22840         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22842         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22843         * nptl/pthreadP.h: Likewise.
22844         * nptl_db/structs.def: Likewise.
22845         * sysdeps/arm/sysdep.h: Likewise.
22846         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22847         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22848         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22849         * sysdeps/unix/alpha/sysdep.h: Likewise.
22850         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22852         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22853         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22854         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22855         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22857         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22858         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22859         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22860         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22861         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22862         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22863         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22867         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22868         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22871         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22872         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22873         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22874         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22875         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22877         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22878         * nptl/pthreadP.h: Likewise.
22879         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22880         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22881         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22882         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22883         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22884         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22885         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22886         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22887         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22888         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22889         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22890         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22892         Likewise.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22894         Likewise.
22895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22897         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22900         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22901         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22902         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22904         * dlfcn/dladdr.c: Use IS_IN.
22905         * dlfcn/dladdr1.c: Likewise.
22906         * dlfcn/dlclose.c: Likewise.
22907         * dlfcn/dlerror.c: Likewise.
22908         * dlfcn/dlinfo.c: Likewise.
22909         * dlfcn/dlmopen.c: Likewise.
22910         * dlfcn/dlopen.c: Likewise.
22911         * dlfcn/dlsym.c: Likewise.
22912         * dlfcn/dlvsym.c: Likewise.
22914         * include/ifaddrs.h: Use IS_IN.
22915         * inet/check_pf.c: Likewise.
22916         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22917         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22919         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22920         IS_IN_ldconfig.
22921         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22922         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22924         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22925         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22926         IS_IN (libc).
22928         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22930         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22931         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22932         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22933         * include/libc-symbols.h (IS_IN_LIB): New macro.
22934         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22935         * include/netdb.h: Likewise.
22936         * include/stap-probe.h: Remove all uses of IN_LIB.
22938         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22939         instead of IN_MODULE.
22940         * include/libc-symbols.h (IN_MODULE): Define using
22941         MODULE_NAME.
22942         (PASTE_NAME, PASTE_NAME1): New macros.
22943         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22944         of IN_LIB.
22945         (STAP_PROBE_ASM): Likewise.
22947 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22949         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22950         __mach_init in dlopened libc.
22952 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22954         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22955         * sysdeps/arm/preconfigure: Regenerate.
22957 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22959         * nptl/pthread_create.c (__pthread_create_2_1): Set
22960         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22961         when copying values from IATTR into PD.
22963 2014-11-21  Will Newton  <will.newton@linaro.org>
22964             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22966         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22967         Refactor inline-asm.  Also add comment.
22969         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22970         ElfW macro instead of hardcoded Elf64 types.
22971         (la_aarch64_gnu_pltenter): Likewise.
22972         * sysdeps/aarch64/dl-machine.h
22973         (elf_machine_runtime_setup): Use ElfW(Addr).
22975         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22976         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22977         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22978         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22979         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22980         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22981         (R_AARCH64_TLS_DTPMOD): This.
22982         (R_AARCH64_TLS_DTPREL64): Rename to ...
22983         (R_AARCH64_TLS_DTPREL): This.
22984         (R_AARCH64_TLS_TPREL64): Rename to ...
22985         (R_AARCH64_TLS_TPREL): This.
22986         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22987         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22988         R_AARCH64_TLS_TPREL64.
22989         (elf_machine_rela): Likewise.
22991 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22993         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22994         by setting it to 0.  64b atomics are not supported currently.
22996 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22998         [BZ #16469]
22999         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23000         search domain names.
23002 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23004         [BZ #16469]
23005         * NEWS: Update.
23006         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23007         trailing dot.
23008         * posix/tst-getaddrinfo5.c: New.
23009         * posix/Makefile (tests): Add it.
23011 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23013         [BZ #14498]
23014         * NEWS: Fixed.
23015         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23016         after parsing line but before break_if_match.
23017         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23018         if there is a protocol mismatch.
23020 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23022         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23023         because the potential race is on the user-supplied stream.
23025 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23027         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23028         string literal if not passed a buffer.
23029         * manual/job.texi (ctermid): Update reasoning, note deviation
23030         from posix, suggest mtasurace when not passed a buffer, for
23031         future non-preliminary safety notes.
23033 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23035         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23036         of not passing it a buffer.
23037         Reported by Peng Haitao.
23039 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23041         * manual/Makefile ($(objpfx)stamp-summary): Require
23042         check-safety.sh to pass.
23043         * manual/check-safety.sh: Wish for verification that every
23044         @deftypefn and @deftypefun is followed by a @safety remark.
23046 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23048         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23050         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23051         PTHREAD_CANCEL_ASYNCHRONOUS.
23052         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23053         send SIGCANCEL.
23055         * nptl/default-sched.h: New file.
23056         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23057         * nptl/pthread_create.c: Include it.
23058         (__pthread_create_2_1): Use collect_default_sched instead of making
23059         Linux syscalls here directly.
23061 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23063         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23064         __pthread_once): Use C11 atomics.
23066 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23068         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23070 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23072         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23073         atomic_thread_fence_acquire, atomic_thread_fence_release,
23074         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23075         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23076         atomic_compare_exchange_weak_relaxed,
23077         atomic_compare_exchange_weak_acquire,
23078         atomic_compare_exchange_weak_release,
23079         atomic_exchange_acquire, atomic_exchange_release,
23080         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23081         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23082         atomic_fetch_and_acquire,
23083         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23085 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23087         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23088         USE_ATOMIC_COMPILER_BUILTINS): Define.
23089         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23090         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23091         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23092         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23093         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23094         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23095         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23096         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23097         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23099         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23101         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23103         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23105         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23107         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23109         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23111         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23113         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23115         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23117         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23119         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23121         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23123         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23124         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23125         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23127         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23130 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23132         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23133         the sched_priority value here.  It was already checked when the user
23134         called pthread_attr_setschedparam.
23136         * nptl/tst-bad-schedattr.c: New file.
23137         * nptl/Makefile (tests): Add it.
23139 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23140             Florian Weimer  <fweimer@redhat.com>
23141             Joseph Myers  <joseph@codesourcery.com>
23142             Adam Conrad  <adconrad@0c3.net>
23143             Andreas Schwab  <schwab@suse.de>
23144             Brooks  <bmoses@google.com>
23146         [BZ #17625]
23147         * wordexp-test.c (__dso_handle): Add prototype.
23148         (__register_atfork): Likewise.
23149         (__app_register_atfork): New function.
23150         (registered_forks): New global.
23151         (register_fork): New function.
23152         (test_case): Add 3 new tests for WRDE_CMDSUB.
23153         (main): Call __app_register_atfork.
23154         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23155         fork count is non-zero fail the test.
23156         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23157         is set.
23158         (parse_dollars): Remove check for WRDE_NOCMD.
23159         (parse_dquote): Likewise.
23161 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23163         * Makeconfig (built-modules): List non-library modules to be
23164         built.
23165         (module-cppflags): Include libc-modules.h for
23166         everything except shlib-versions.v.i.
23167         (CPPFLAGS): Use it.
23168         (before-compile): Add libc-modules.h.
23169         ($(common-objpfx)libc-modules.h,
23170         $(common-objpfx)libc-modules.stmp): New targets.
23171         (common-generated): Add libc-modules.h and libc-modules.stmp.
23172         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23173         * include/libc-symbols.h: Don't include libc-modules.h.
23174         * include/libc-modules.h: Remove file.
23175         * scripts/gen-libc-modules.awk: New script to generate
23176         libc-modules.h.
23177         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23178         Depend on libc-modules.stmp.
23180         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23182         * Makeconfig (in-module): Get value of libof set for the
23183         translation unit.
23184         (CPPFLAGS): Use $(in-module).
23185         * Makerules: Don't suffix routine names for nonlib.
23186         * include/libc-modules.h: New file.
23187         * include/libc-symbols.h: Include libc-modules.h
23188         (IS_IN): New macro to replace IS_IN_* macros.
23189         * elf/Makefile: Set libof-* for each routine.
23190         * elf/rtld-Rules: Likewise.
23191         * extra-modules.mk: Likewise.
23192         * iconv/Makefile: Likewise.
23193         * iconvdata/Makefile: Likewise.
23194         * locale/Makefile: Likewise.
23195         * malloc/Makefile: Likewise.
23196         * nss/Makefile: Likewise.
23197         * sysdeps/gnu/Makefile: Likewise.
23198         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23199         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23200         * sysdeps/s390/s390-64/Makefile: Likewise.
23201         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23202         CPPFLAGS for nscd instead of nonlib.
23204 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23206         * nptl/createthread.c: New file.
23208         * nptl/createthread.c: Moved ...
23209         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23211         * nptl/createthread.c: Add proper top-line comment.
23212         (do_clone): Folded into ...
23213         (create_thread): ... here.  Take new arguments STOPPED_START and
23214         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23215         increment __nptl_threads, do event-reporting logic, do
23216         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23217         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23218         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23219         just send SIGCANCEL.
23220         * nptl/pthread_create.c: Forward-declare create_thread before
23221         including createthread.c.
23222         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23223         declaration, and new macro START_THREAD_SELF to replace argument.
23224         Remove return statement.
23225         (report_thread_creation): New function.
23226         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23227         synchronization logic, and __nptl_nthreads increment here, around
23228         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23229         PD->parent_cancelhandling here, before create_thread.  When
23230         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23231         __deallocate_stack, and ENOMEM translation here.
23233 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23235         [BZ #17616]
23236         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23237         (mptwo): Rename to __mptwo.
23238         (__inv): Use __mptwo instead of mptwo.
23239         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23240         (mptwo): Rename to __mptwo.
23241         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23242         of mpone and __mptwo instead of mptwo.
23243         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23244         instead of mpone.
23245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23246         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23247         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23248         of mpone and __mptwo instead of mptwo.
23249         (__mpranred): Use __mpone instead of mpone.
23250         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23251         variable.
23252         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23253         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23254         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23255         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23256         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23257         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23258         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23259         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23260         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23261         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23262         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23263         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23264         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23265         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23266         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23267         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23268         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23269         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23270         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23272 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23274         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23275         replace BSD Handler xref with BSD Signal Handling.
23277 2014-11-17  Richard Henderson  <rth@redhat.com>
23279         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23280         (_FP_PACK_RAW_2): Remove.
23281         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23282         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23283         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23284         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23285         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23286         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23287         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23288         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23289         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23290         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23291         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23292         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23293         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23294         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23295         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23296         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23298 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23300         * signal/signal.h [__USE_MISC]
23301         (struct sigvec): Remove type.
23302         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23303         (sigvec): Remove declaration.
23304         * sysdeps/posix/sigvec.c: Moved ...
23305         * signal/sigvec.c: ... here, replacing old file.
23306         (struct sigvec): New type, copied from old signal.h definition.
23307         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23308         (__sigvec): Convert definition to prototype.
23309         (sigvec): Replace weak_alias with compat_symbol.
23310         * signal/Versions (libc: GLIBC_2.21): New version set.
23311         * include/signal.h: Remove __sigvec declaration.
23312         * sysdeps/unix/bsd/sigvec.c: Remove file.
23313         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23314         * manual/signal.texi (BSD Handler): Remove subsection.
23315         Move siginterrupt up to ...
23316         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23317         (Blocking in BSD): Fold subsection into its parent.
23318         * NEWS: Mention sigvec removal.
23320 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23322         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23323         (DLA_FMS): Make definition conditional only on [__FMA4__].
23324         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23325         definition.
23327         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23328         Make definition conditional only on [PROF].
23329         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23330         definition.
23331         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23332         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23334         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23335         !__GNUC__].
23336         * include/signal.h (__sigpause): Move declaration above call to
23337         libc_hidden_proto.
23338         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23339         variable.
23340         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23341         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23343 2014-11-14  David S. Miller  <davem@davemloft.net>
23345         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23346         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23348 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23350         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23351         * configure: Regenerated.
23352         * manual/install.texi (Tools for Compilation): Document a
23353         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23354         compiler verified to work.
23355         * INSTALL: Regenerated.
23357         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23358         redeclare with asm name.
23359         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23360         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23361         including <string.h>.
23362         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23363         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23364         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23365         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23366         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23368         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23370 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23372         * stdlib/strtol.c (__strtol): Use prototype definition.
23374         [BZ #17594]
23375         * stdlib/strtol.c (SYM__): New macro.
23376         (SYM__1): Likewise.
23377         (__strtol): Likewise.
23378         (strtol): Rename to __strtol and define as weak alias of
23379         __strtol.  Use libc_hidden_weak.
23381 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23383         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23384         Use numbered labels in inline assembly.
23386 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23388         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23389         Add setjmp LIBC_PROBE.
23390         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23391         Likewise.
23392         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23393         Add longjmp, longjmp_target LIBC_PROBE.
23394         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23395         Likewise.
23397 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23399         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23400         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23401         to get rid of unused variable warning.
23403 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23405         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23406         Check for unwind_backtrace ==  NULL only in SHARED case.
23407         (__backchain_backtrace): Compile only in SHARED case.
23408         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23409         Likewise.
23410         (__backchain_backtrace): Declare as static.
23412 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23414         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23415         (__libc_multiple_threads_ptr): Variable moved ...
23416         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23418 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23420         * conform/GlibcConform.pm: New file.
23421         * conform/conformtest.pl: Use GlibcConform module.
23422         * conform/linknamespace.pl: New file.
23423         * conform/list-header-symbols.pl: Likewise.
23424         * conform/Makefile (linknamespace-symlists-base): New variable.
23425         (linknamespace-symlists-tests): Likewise.
23426         (linknamespace-header-base): Likewise.
23427         (linknamespace-header-tests): Likewise.
23428         (tests-special): Add new tests.
23429         ($(linknamespace-symlists-tests)): New rule.
23430         (linknamespace-libs): New variable.
23431         ($(objpfx)symlist-stdlibs): New rule.
23432         ($(linknamespace-header-tests)): Likewise.
23433         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23434         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23435         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23436         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23437         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23438         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23439         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23440         (test-xfail-ISO/math.h/linknamespace): Likewise.
23441         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23442         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23443         (test-xfail-ISO/time.h/linknamespace): Likewise.
23444         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23445         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23446         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23447         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23448         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23449         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23450         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23451         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23452         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23453         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23454         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23455         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23456         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23457         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23458         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23459         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23460         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23461         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23462         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23463         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23464         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23465         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23466         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23467         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23468         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23469         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23470         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23471         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23472         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23473         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23474         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23475         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23476         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23477         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23478         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23479         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23480         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23481         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23482         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23483         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23484         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23485         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23486         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23487         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23488         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23489         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23490         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23491         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23492         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23493         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23494         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23495         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23496         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23497         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23498         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23499         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23500         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23501         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23502         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23503         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23504         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23505         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23506         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23507         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23508         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23509         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23510         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23511         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23512         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23513         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23514         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23515         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23516         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23517         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23518         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23519         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23520         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23521         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23522         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23523         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23524         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23525         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23526         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23527         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23528         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23529         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23530         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23531         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23532         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23533         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23534         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23535         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23536         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23537         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23538         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23539         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23540         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23541         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23542         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23543         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23544         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23545         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23546         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23547         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23548         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23549         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23550         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23551         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23552         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23553         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23554         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23555         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23556         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23557         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23558         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23559         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23560         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23561         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23562         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23563         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23564         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23565         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23566         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23567         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23568         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23569         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23570         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23571         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23572         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23573         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23574         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23575         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23576         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23577         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23578         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23579         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23580         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23581         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23582         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23583         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23584         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23585         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23586         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23587         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23588         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23589         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23590         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23591         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23592         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23593         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23595         [BZ #17589]
23596         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23597         of fgets_unlocked.
23599         [BZ #17585]
23600         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23601         (memmem): Rename to __memmem and define as weak alias of
23602         __memmem.  Use libc_hidden_weak.
23603         (__memmem): Use libc_hidden_def.
23604         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23605         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23606         memmem.
23608         [BZ #17582]
23609         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23610         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23611         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23612         and define as weak alias of __fgets_unlocked.  Use
23613         libc_hidden_weak.
23614         (__fgets_unlocked): Use libc_hidden_def.
23615         * include/stdio.h (__fgets_unlocked): Declare.  Use
23616         libc_hidden_proto.
23617         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23618         __fgets_unlocked instead of fgets_unlocked.
23619         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23620         (GET_NPROCS_CONF_PARSER): Likewise.
23621         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23622         (GET_NPROCS_CONF_PARSER): Likewise.
23624         [BZ #17574]
23625         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23626         weak alias of __wmemset.  Use libc_hidden_weak.
23627         (__wmemset): Use libc_hidden_def.
23628         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23629         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23630         of wmemset.
23632         [BZ #17573]
23633         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23634         with asm name __mempcpy.
23635         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23637         [BZ #17572]
23638         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23639         and define as weak alias of __rawmemchr.
23640         (__rawmemchr): Do not define as strong alias of rawmemchr.
23642         [BZ #17571]
23643         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23644         alias of __qsort_r.
23645         (qsort): Call __qsort_r instead of qsort_r.
23646         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23647         (__qsort_r): Declare.  Call libc_hidden_proto.
23648         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23649         instead of qsort_r.
23650         * nscd/gai.c (__qsort_r): Define to qsort_r.
23651         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23652         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23653         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23655         [BZ #17570]
23656         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23657         define as weak alias of __malloc_info.
23659         [BZ #17584]
23660         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23661         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23662         (__rewinddir): Use libc_hidden_def.
23663         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23664         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23665         (__rewinddir): Use libc_hidden_def.
23666         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23667         weak alias of __rewinddir.  Don't use libc_hidden_def.
23668         (__rewinddir): Use libc_hidden_def.
23669         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23670         (__rewinddir): Use libc_hidden_proto.
23671         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23672         rewinddir.
23673         (__getcwd): Use __rewinddir instead of rewinddir.
23675         [BZ #17583]
23676         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23677         alias of __fileno.  Use libc_hidden_weak.
23678         (__fileno): Use libc_hidden_def.
23679         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23680         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23681         alias of __ftello.
23682         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23683         __ftello.
23684         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23685         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23686         libc_hidden_def.
23687         (fread_unlocked): Don't use libc_hidden_ver.
23688         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23689         and define as weak alias of __fread_unlocked.  Don't use
23690         libc_hidden_def.
23691         (__fread_unlocked): Use libc_hidden_def.
23692         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23693         (ftello): Don't use libc_hidden_proto.
23694         (__ftello): Declare.  Use libc_hidden_proto.
23695         (fread_unlocked): Don't use libc_hidden_proto.
23696         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23697         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23698         and __ftello instead of fileno, fread_unlocked and ftello.
23700 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23702         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23703         GOT12.
23704         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23705         Likewise.
23706         (_dl_start_user): Likewise.
23707         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23709 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23710             Siddhesh Poyarekar  <siddhesh@redhat.com>
23712         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23713         Move argv and envp down instead of moving argc up.
23714         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23716 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23718         [BZ #17506]
23719         * test-skeleton.c (main): Return successful if one of
23720         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23721         * string/tst-strcoll-overflow.c: Define expected status.
23723 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23725         [BZ #17475]
23726         * locale/iso-639.def: Define Bhili and Tulu language codes.
23728 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23730         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23732 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23734         [BZ #17555]
23735         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23737 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23739         * configure.ac: Updated check of minimal required version to
23740         2.22.
23741         * manual/install.texi (Tools for Compilation): Updated version
23742         number.
23743         * configure: Regenerated.
23744         * INSTALL: Likewise.
23746 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23748         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23749         __tls_get_addr.
23751 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23753         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23754         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23755         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23756         libc_hidden_weak.
23757         (waitpid): Define as alias of __waitpid.
23758         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23759         __waitpid.
23760         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23761         libc_hidden_weak.
23762         (waitpid): Define as alias of __waitpid.
23763         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23764         __libc_waitpid alias.
23765         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23766         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23767         Likewise.
23768         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23769         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23770         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23771         alias.
23772         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23773         __waitpid.
23774         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23775         libc_hidden_weak.
23776         (waitpid): Define as alias of __waitpid.
23778 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23780         * manual/llio.texi: Add comment that write safety has been
23781         fixed in Linux.
23783         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23784         (localplt-build-dso): Add elf/ld.so.
23785         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23786         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23787         and free for ld.so.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23789         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23791         Likewise.
23792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23793         Likewise.
23794         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23795         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23796         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23797         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23798         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23799         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23800         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23801         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23802         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23803         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23804         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23806 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23808         [BZ #14132]
23809         * include/libc-symbols.h (INTUSE): Remove macro.
23810         (INTDEF): Likewise.
23811         (INTVARDEF): Likewise.
23812         (_INTVARDEF): Likewise.
23813         (INTDEF2): Likewise.
23814         (INTVARDEF2): Likewise.
23815         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23816         rtld_hidden_def instead of INTVARDEF.
23817         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23818         (_dl_starting_up_internal): Remove declaration.
23819         (_dl_starting_up): Use rtld_hidden_proto.
23820         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23821         declaration.
23822         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23823         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23824         _dl_starting_up.
23825         * elf/dl-writev.h (_dl_writev): Likewise.
23826         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23827         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23828         _dl_starting_up_internal.
23830 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23832         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23833         test-skeleton.c.
23835 2014-11-05  Will Newton  <will.newton@linaro.org>
23837         * benchtests/Makefile: (bench-malloc): Add malloc thread
23838         scalability benchmark.
23839         * benchtests/bench-malloc-threads.c: New file.
23841 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23843         * sysdeps/aarch64/strchrnul.S: New file.
23845 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23847         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23848         definition.
23849         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23850         Likwise.
23851         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23852         Likewise.
23853         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23854         Likewise.
23855         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23856         Likewise.
23857         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23858         Likewise.
23860 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23862         * catgets/test-gencat.c: Use test-skeleton.c.
23863         * catgets/tst-catgets.c: Likewise.
23864         * csu/tst-empty.c: Likewise.
23865         * elf/tst-audit2.c: Likewise.
23866         * elf/tst-global1.c: Likewise.
23867         * elf/tst-pathopt.c: Likewise.
23868         * elf/tst-piemod1.c: Likewise.
23869         * elf/tst-tls10.c: Likewise.
23870         * elf/tst-tls11.c: Likewise.
23871         * elf/tst-tls12.c: Likewise.
23872         * gnulib/tst-gcc.c: Likewise.
23873         * iconvdata/tst-e2big.c: Likewise.
23874         * iconvdata/tst-loading.c: Likewise.
23875         * iconv/tst-iconv1.c: Likewise.
23876         * iconv/tst-iconv2.c: Likewise.
23877         * inet/test-inet6_opt.c: Likewise.
23878         * inet/tst-gethnm.c: Likewise.
23879         * inet/tst-network.c: Likewise.
23880         * inet/tst-ntoa.c: Likewise.
23881         * intl/tst-codeset.c: Likewise.
23882         * intl/tst-gettext2.c: Likewise.
23883         * intl/tst-gettext3.c: Likewise.
23884         * intl/tst-ngettext.c: Likewise.
23885         * intl/tst-translit.c: Likewise.
23886         * io/test-stat.c: Likewise.
23887         * libio/test-fmemopen.c: Likewise.
23888         * libio/tst-freopen.c: Likewise.
23889         * libio/tst-sscanf.c: Likewise.
23890         * libio/tst-ungetwc1.c: Likewise.
23891         * libio/tst-ungetwc2.c: Likewise.
23892         * libio/tst-widetext.c: Likewise.
23893         * localedata/tst-ctype.c: Likewise.
23894         * localedata/tst-digits.c: Likewise.
23895         * localedata/tst-leaks.c: Likewise.
23896         * localedata/tst-mbswcs1.c: Likewise.
23897         * localedata/tst-mbswcs2.c: Likewise.
23898         * localedata/tst-mbswcs3.c: Likewise.
23899         * localedata/tst-mbswcs4.c: Likewise.
23900         * localedata/tst-mbswcs5.c: Likewise.
23901         * localedata/tst-setlocale.c: Likewise.
23902         * localedata/tst-trans.c: Likewise.
23903         * localedata/tst-wctype.c: Likewise.
23904         * localedata/tst-xlocale1.c: Likewise.
23905         * login/tst-grantpt.c: Likewise.
23906         * malloc/tst-calloc.c: Likewise.
23907         * malloc/tst-malloc.c: Likewise.
23908         * malloc/tst-mallocstate.c: Likewise.
23909         * malloc/tst-mcheck.c: Likewise.
23910         * malloc/tst-mtrace.c: Likewise.
23911         * malloc/tst-obstack.c: Likewise.
23912         * math/atest-exp2.c: Likewise.
23913         * math/atest-exp.c: Likewise.
23914         * math/atest-sincos.c: Likewise.
23915         * math/test-matherr.c: Likewise.
23916         * math/test-misc.c: Likewise.
23917         * math/test-powl.c: Likewise.
23918         * math/tst-definitions.c: Likewise.
23919         * misc/tst-dirname.c: Likewise.
23920         * misc/tst-efgcvt.c: Likewise.
23921         * misc/tst-fdset.c: Likewise.
23922         * misc/tst-hsearch.c: Likewise.
23923         * misc/tst-mntent2.c: Likewise.
23924         * nptl/tst-sem7.c: Likewise.
23925         * nptl/tst-sem8.c: Likewise.
23926         * nptl/tst-sem9.c: Likewise.
23927         * nss/test-netdb.c: Likewise.
23928         * posix/tst-fnmatch.c: Likewise.
23929         * posix/tst-getlogin.c: Likewise.
23930         * posix/tst-gnuglob.c: Likewise.
23931         * posix/tst-mmap.c: Likewise.
23932         * pwd/tst-getpw.c: Likewise.
23933         * resolv/tst-inet_ntop.c: Likewise.
23934         * rt/tst-timer.c: Likewise.
23935         * stdio-common/test-fseek.c: Likewise.
23936         * stdio-common/test-popen.c: Likewise.
23937         * stdio-common/test-vfprintf.c: Likewise.
23938         * stdio-common/tst-cookie.c: Likewise.
23939         * stdio-common/tst-fileno.c: Likewise.
23940         * stdio-common/tst-gets.c: Likewise.
23941         * stdio-common/tst-obprintf.c: Likewise.
23942         * stdio-common/tst-perror.c: Likewise.
23943         * stdio-common/tst-sprintf2.c: Likewise.
23944         * stdio-common/tst-sprintf3.c: Likewise.
23945         * stdio-common/tst-sprintf.c: Likewise.
23946         * stdio-common/tst-swprintf.c: Likewise.
23947         * stdio-common/tst-tmpnam.c: Likewise.
23948         * stdio-common/tst-unbputc.c: Likewise.
23949         * stdio-common/tst-wc-printf.c: Likewise.
23950         * stdlib/tst-environ.c: Likewise.
23951         * stdlib/tst-fmtmsg.c: Likewise.
23952         * stdlib/tst-limits.c: Likewise.
23953         * stdlib/tst-rand48-2.c: Likewise.
23954         * stdlib/tst-rand48.c: Likewise.
23955         * stdlib/tst-random2.c: Likewise.
23956         * stdlib/tst-random.c: Likewise.
23957         * stdlib/tst-strtol.c: Likewise.
23958         * stdlib/tst-strtoll.c: Likewise.
23959         * stdlib/tst-tls-atexit.c: Likewise.
23960         * stdlib/tst-xpg-basename.c: Likewise.
23961         * string/test-ffs.c: Likewise.
23962         * string/tst-bswap.c: Likewise.
23963         * string/tst-inlcall.c: Likewise.
23964         * string/tst-strtok.c: Likewise.
23965         * string/tst-strxfrm.c: Likewise.
23966         * sysdeps/x86_64/tst-audit10.c: Likewise.
23967         * sysdeps/x86_64/tst-audit3.c: Likewise.
23968         * sysdeps/x86_64/tst-audit4.c: Likewise.
23969         * sysdeps/x86_64/tst-audit5.c: Likewise.
23970         * time/tst-ftime_l.c: Likewise.
23971         * time/tst-getdate.c: Likewise.
23972         * time/tst-mktime3.c: Likewise.
23973         * time/tst-mktime.c: Likewise.
23974         * time/tst-posixtz.c: Likewise.
23975         * time/tst-strptime2.c: Likewise.
23976         * time/tst-strptime3.c: Likewise.
23977         * wcsmbs/tst-btowc.c: Likewise.
23978         * wcsmbs/tst-mbrtowc.c: Likewise.
23979         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23980         * wcsmbs/tst-wchar-h.c: Likewise.
23981         * wcsmbs/tst-wcpncpy.c: Likewise.
23982         * wcsmbs/tst-wcrtomb.c: Likewise.
23983         * wcsmbs/tst-wcsnlen.c: Likewise.
23984         * wcsmbs/tst-wcstof.c: Likewise.
23986 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23988         [BZ #14132]
23989         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23990         INTDEF.
23991         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23992         declaration.
23993         (_dl_mcount): Use rtld_hidden_proto.
23994         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23995         _dl_mcount.
23996         * elf/rtld.c (_rtld_global_ro): Likewise.
23998         [BZ #14132]
23999         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24000         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24001         of _dl_init_internal.
24002         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24003         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24004         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24005         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24006         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24007         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24008         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24009         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24010         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24011         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24012         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24013         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24014         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24015         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24016         * sysdeps/tile/dl-start.S (_start): Likewise.
24017         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24018         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24020         [BZ #14132]
24021         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24022         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24023         (rtld_progname): Make macro definition unconditional.
24024         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24025         INTDEF.
24026         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24027         (dl_main): Likewise.
24028         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24029         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24030         instead of _dl_argv_internal.
24031         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24032         __GI__dl_argv instead of INTUSE(_dl_argv).
24033         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24034         __GI__dl_argv instead of _dl_argv_internal.
24036         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24037         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24038         macro.
24039         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24040         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24041         New macro.
24042         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24043         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24044         macro.
24045         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24046         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24048 2014-11-04  Andreas Schwab  <schwab@suse.de>
24050         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24052 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24054         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24055         mtvsrd instruction in binary form.
24057 2014-11-03  Andreas Schwab  <schwab@suse.de>
24059         [BZ #17522]
24060         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24061         for less than MB_LEN_MAX use a local buffer of that size.
24062         * libio/tst-fputws.c: New file.
24063         * libio/Makefile (tests): Add tst-fputws.
24065 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24067         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24068         the size of the fpu_fr.fpu_dregs[] array.
24070 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24072         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24073         (__nanosleep): Do not define as alias.
24074         (nanosleep): Define as alias of __nanosleep.
24075         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24076         __libc_nanosleep name.
24078 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24080         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24081         install.texi in comment.
24083 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24085         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24086         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24087         ... add here and use lwsync or sync ...
24088         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24089         ... and add here using lwsync.
24091 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24093         * elf/dl-machine-reject-phdr.h: New file.
24094         * elf/dl-load.c: #include that.
24095         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24096         if that returned true.
24098 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24100         [BZ #17496]
24101         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24102         gen-as-const-headers chunk.  Add a big scare comment after the last
24103         safe place to touch before-compile.
24105 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24107         * manual/install.texi (Tools for Compilation): Update autoconf
24108         version requirements.
24109         * INSTALL: Regenerated.
24111         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24112         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24113         (__libc_pselect): Likewise.
24115         [BZ #14138]
24116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24121 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24123         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24124         correct barrier instruction.
24125         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24126         Likewise.
24127         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24128         Likewise.
24130 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24132         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24133         after defining inlines.  Instead, just use parens to defeat macro
24134         expansion of __isctype in its declaration.
24136 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24138         * include/sys/uio.h (__libc_readv): Remove declaration.
24139         (__libc_writev): Likewise.
24140         * misc/readv.c (__libc_readv): Rename to __readv.
24141         (__readv): Do not define as alias.
24142         (readv): Define as alias of __readv.
24143         * misc/writev.c (__libc_writev): Rename to __writev.
24144         (__writev): Do not define as alias.
24145         (writev): Define as alias of __writev.
24146         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24147         (__readv): Do not define as alias.
24148         (readv): Define unconditionally as alias of __readv.
24149         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24150         (__writev): Do not define as alias.
24151         (writev): Define unconditionally as alias of __writev.
24152         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24153         name.
24154         (writev): Do not define __libc_writev name.
24156 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24158         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24159         (convert_charseq): New function, broken out of ...
24160         (use_from_charmap): ... here.  Call it.
24161         (use_to_charmap): Use convert_charseq and free instead of duplicating
24162         its code with a variable-length stack struct.
24164 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24166         * include/fcntl.h (__libc_creat): Remove declaration.
24167         * io/creat.c (__libc_creat): Rename to creat.
24168         (creat): Do not define as alias.
24169         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24170         of creat instead of __libc_creat.
24171         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24172         to creat.
24173         (creat): Do not define as alias.
24174         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24175         __libc_creat.
24176         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24177         __libc_creat name.
24178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24179         Likewise.
24181 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24183         * manual/llio.texi: Add comments discussing why write() may be
24184         considered MT-unsafe on Linux.
24186 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24188         * dl-load.c (local_strdup): Remove.
24189         (expand_dynamic_string_token): Use __strdup.
24190         (decompose_rpath): Likewise.
24191         (_dl_map_object): Likewise.
24193 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #14132]
24196         * sysdeps/generic/unwind-dw2-fde.c
24197         (__register_frame_info_bases_internal): Do not declare.
24198         (__register_frame_info_table_bases_internal): Likewise.
24199         (__deregister_frame_info_bases_internal): Likewise.
24200         (__register_frame_info_bases): Declare and use hidden_proto before
24201         definition.  Use hidden_def instead of INTDEF.
24202         (__register_frame_info_table_bases): Likewise.
24203         (__deregister_frame_info_bases): Likewise.
24204         (__register_frame_info): Do not use INTUSE.
24205         (__register_frame): Likewise.
24206         (__register_frame_info_table): Likewise.
24207         (__register_frame_table): Likewise.
24208         (__deregister_frame_info): Likewise.
24209         (__deregister_frame): Likewise.
24211 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24213         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24214         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24215         not undefine.
24216         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24217         Likewise.
24218         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24219         Likewise.
24221 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24223         [BZ #14138]
24224         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24225         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24226         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24227         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24228         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24229         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24230         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24231         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24232         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24233         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24235         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24236         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24237         syscall.
24238         (setfsuid): Likewise.
24239         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24240         (setfsuid): Likewise.
24241         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24242         (setfsuid): Likewise.
24243         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24244         Likewise.
24245         (setfsuid): Likewise.
24246         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24247         (setfsuid): Likewise.
24248         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24249         Likewise.
24250         (setfsuid): Likewise.
24252 2014-10-27  Andreas Schwab  <schwab@suse.de>
24254         [BZ #17501]
24255         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24256         check for Slow_SSE4_2 feature bit.
24257         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24258         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24259         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24260         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24262 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24264         * configure.ac: Validate compiler version with a empirical test of
24265         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24266         $CC -v output.
24267         * configure: Regenerated.
24269         * inet/htons.c (htons): Prototypify.
24270         * inet/htonl.c (htonl): Likewise.
24272 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24274         * string/strncat.c (strncat): Improve performance by using strlen.
24276 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24278         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24280 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24282         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24283         Call libc_fetestexcept_aarch64.
24285 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24287         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24288         Call libc_feholdexcept_aarch64.
24290 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24292         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24293         Call get_rounding_mode.
24295 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24297         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24298         Simplify logic.
24300 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24302         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24303         Simplify logic.
24305 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24307         [BZ #14138]
24308         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24309         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24310         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24311         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24312         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24313         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24314         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24315         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24316         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24317         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24318         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24319         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24321         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24322         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24323         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24324         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24325         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24326         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24327         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24328         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24329         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24330         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24331         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24332         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24333         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24334         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24335         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24336         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24337         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24338         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24339         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24340         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24341         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24342         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24343         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24344         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24345         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24346         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24347         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24348         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24349         syscall.
24350         (geteuid): Likewise.
24351         (getgid): Likewise.
24352         (getuid): Likewise.
24353         (getresgid): Likewise.
24354         (getresuid): Likewise.
24355         (getgroups): Likewise.
24356         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24357         (geteuid): Likewise.
24358         (getgid): Likewise.
24359         (getuid): Likewise.
24360         (getresgid): Likewise.
24361         (getresuid): Likewise.
24362         (getgroups): Likewise.
24363         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24364         (geteuid): Likewise.
24365         (getgid): Likewise.
24366         (getuid): Likewise.
24367         (getresgid): Likewise.
24368         (getresuid): Likewise.
24369         (getgroups): Likewise.
24370         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24371         Likewise.
24372         (geteuid): Likewise.
24373         (getgid): Likewise.
24374         (getuid): Likewise.
24375         (getresgid): Likewise.
24376         (getresuid): Likewise.
24377         (getgroups): Likewise.
24378         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24379         (geteuid): Likewise.
24380         (getgid): Likewise.
24381         (getuid): Likewise.
24382         (getresgid): Likewise.
24383         (getresuid): Likewise.
24384         (getgroups): Likewise.
24385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24386         Likewise.
24387         (geteuid): Likewise.
24388         (getgid): Likewise.
24389         (getuid): Likewise.
24390         (getgroups): Likewise.
24392         [BZ #14138]
24393         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24394         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24395         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24396         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24397         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24398         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24399         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24400         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24401         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24402         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24403         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24404         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24405         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24406         __chown.
24407         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24408         (lchown): Likewise.
24409         (fchown): Likewise.
24410         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24411         Likewise.
24412         (lchown): Likewise.
24413         (fchown): Likewise.
24414         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24415         (lchown): Likewise.
24416         (fchown): Likewise.
24417         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24418         Likewise.
24419         (lchown): Likewise.
24420         (fchown): Likewise.
24422 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24424         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24425         Simplify logic.
24427 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24429         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24430         Cleanup logic.
24432 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24434         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24435         Remove unused include.
24437 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24439         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24440         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24441         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24442         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24444 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24445             Helge Deller <deller@gmx.de>
24447         [BZ #17508]
24448         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24449         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24450         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24452 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24454         [BZ #14132]
24455         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24456         Remove macro definition.
24457         (__ashrdi3_v_glibc20): Likewise.
24458         (__lshrdi3_v_glibc20): Likewise.
24459         (__cmpdi2_v_glibc20): Likewise.
24460         (__ucmpdi2_v_glibc20): Likewise.
24461         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24462         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24463         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24464         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24465         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24466         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24468 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24470         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24471         old GNU extension [0] syntax.
24472         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24473         alloca rather than an array member with variable length.
24474         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24475         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24476         (parse_opt): ... here.  Likewise use alloca there.
24477         Validate the -i argument before checking for rootness.
24478         (send_shutdown): New function, broken out of ...
24479         (parse_opt): ... here.
24481 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24483         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24484         macro to get at the _rt_local_ro field.
24485         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24486         ([PIC] case) or _dl_hwcap ([!PIC] case).
24487         * sysdeps/arm/setjmp.S: Likewise.
24489         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24490         * sysdeps/arm/configure.ac: New check to define it.
24491         * sysdeps/arm/configure: Regenerated.
24492         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24493         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24494         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24495         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24496         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24497         Use move/movt pair instead of a load.
24498         (LDST_GLOBAL): Macro removed.
24499         (LDR_GLOBAL): New macro replaces it.
24500         (LDR_HIDDEN): New macro.
24501         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24502         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24504         * setjmp/tst-setjmp-static.c: New file.
24505         * setjmp/Makefile (tests): Add it.
24506         (tests-static): New variable.
24508 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24510         [BZ #17485]
24511         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24513 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24515         [BZ #14132]
24516         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24518 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24520         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24522 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24524         * io/fts.c (dirent_not_directory): New function.
24525         (fts_build): Call it.
24527 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24529         * nptl/version.c (__nptl_main): Use normal __write rather than
24530         INTERNAL_SYSCALL.
24531         (banner): Update copyright years.
24533         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24534         gettimeofday.
24535         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24536         * nptl/pthread_cond_timedwait.c: Likewise.
24537         * nptl/pthread_mutex_timedlock.c: Likewise.
24538         * nptl/sem_timedwait.c: Likewise.
24540         * sysdeps/nptl/bits/libc-lock.h
24541         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24542         (__libc_lock_init_recursive): Return void, not 0.
24543         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24544         (__libc_rwlock_init): Likewise.
24545         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24547 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24549         [BZ #15215]
24550         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24551         (__pthread_once_slow): ... here.
24552         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24553         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24555 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24557         [BZ #15215]
24558         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24559         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24560         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24561         * nptl/pthread_once.c (__pthread_once): Likewise.
24562         Update comments.
24564 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #14138]
24567         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24568         name.
24569         (writev): Use __libc_writev as strong name.
24570         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24571         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24573 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24575         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24577         * sysdeps/i386/nptl/tls.h
24578         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24579         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24580         New macros.
24581         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24582         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24583         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24584         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24585         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24586         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24588         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24589         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24590         on [__NR_futex].
24591         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24592         broken out of ...
24593         (__pthread_mutex_init): ... here.  Call it.
24594         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24595         Conditionalize PI cases on [__NR_futex].
24596         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24597         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24598         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24600         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24601         conditional on [SIGSETXID].
24602         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24603         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24604         is defined.  Likewise for SIGSETXID.
24605         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24606         Conditionalize definitions on [SIGSETXID].
24607         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24608         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24609         unblocking on [SIGCANCEL].
24611         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24612         [__NR_set_robust_list].
24614 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24616         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24617         (do_compare): Likewise.
24619 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24621         [BZ #15884]
24622         * string/strcoll_l.c: Don't include stdio.h.
24623         (coll_seq): Remove members idxarr and rulearr.
24624         (get_next_seq_cached): Remove function.
24625         (get_next_seq): Likewise.
24626         (get_next_seq_nocache): Rename to get_next_seq.
24627         (do_compare): Remove function.
24628         (do_compare_nocache): Rename to do_compare.
24629         (STRCOLL): Remove weight and rules cache.
24631 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24633         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24634         * sysdeps/arm/sfp-machine.h: ... to here.
24635         * sysdeps/arm/Implies: Remove arm/soft-fp.
24637 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24639         * conform/data/sys/utsname.h-data (*_t): Allow.
24640         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24641         [POSIX] (WEXITED): Do not expect constant.
24642         [POSIX] (WSTOPPED): Likewise.
24643         [POSIX] (WNOHANG): Likewise.
24644         [POSIX] (WNOWAIT): Likewise.
24645         [POSIX] (siginfo_t): Do not expect type or elements.
24646         [POSIX] (pid_t): Do not expect type.
24647         [POSIX] (signal.h): Do not allow header.
24648         [POSIX] (sys/resource.h): Likewise.
24649         [POSIX] (si_*): Do not allow pattern.
24650         [POSIX] (W*): Likewise.
24651         [POSIX] (P_*): Likewise.
24652         [POSIX] (BUS_*): Likewise.
24653         [POSIX] (CLD_*): Likewise.
24654         [POSIX] (FPE_*): Likewise.
24655         [POSIX] (ILL_*): Likewise.
24656         [POSIX] (POLL_*): Likewise.
24657         [POSIX] (SEGV_*): Likewise.
24658         [POSIX] (SI_*): Likewise.
24659         [POSIX] (TRAP_*): Likewise.
24660         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24661         variable.
24663 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24665         [BZ #12926]
24666         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24667         infinite loop when __recvmsg returns 0.
24669 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24671         * CANCEL-FCT-WAIVE: Remove file.
24672         * CANCEL-FILE-WAIVE: Likewise.
24674         [BZ #14132]
24675         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24676         instead of INTVARDEF.
24677         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24678         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24679         rtld_hidden_data_def instead of INTVARDEF.
24680         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24681         * elf/dl-deps.c (expand_dst): Likewise.
24682         * elf/dl-load.c (_dl_dst_count): Likewise.
24683         (_dl_dst_substitute): Likewise.
24684         (decompose_rpath): Likewise.
24685         (_dl_init_paths): Likewise.
24686         (open_path): Likewise.
24687         (_dl_map_object): Likewise.
24688         * elf/rtld.c (dl_main): Likewise.
24689         (process_dl_audit): Likewise.
24690         (process_envvars): Likewise.
24691         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24692         Remove declaration.
24693         (__libc_enable_secure): Use rtld_hidden_proto.
24695 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24697         * elf/dl-load.c
24698         (add_path): New function broken out of _dl_rtld_di_serinfo.
24699         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24701 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24703         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24704         parentheses around macro arguments.
24705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24709         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24710         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24711         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24716         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24717         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24718         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24719         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24720         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24721         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24727         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24734         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24735         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24736         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24737         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24738         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24739         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24740         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24741         Likewise.
24742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24749         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24753         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24754         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24762         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24763         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24764         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24765         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24766         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24767         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24768         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24769         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24770         (_FP_FRAC_SRS_1): Likewise.
24771         (_FP_FRAC_CLZ_1): Likewise.
24772         (_FP_MUL_MEAT_1_imm): Likewise.
24773         (_FP_MUL_MEAT_1_wide): Likewise.
24774         (_FP_MUL_MEAT_1_hard): Likewise.
24775         (_FP_SQRT_MEAT_1): Likewise.
24776         (_FP_FRAC_ASSEMBLE_1): Likewise.
24777         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24778         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24779         (__FP_CLZ_2): Likewise.
24780         (_FP_MUL_MEAT_2_wide): Likewise.
24781         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24782         (_FP_MUL_MEAT_2_gmp): Likewise.
24783         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24784         (_FP_SQRT_MEAT_2): Likewise.
24785         (_FP_FRAC_ASSEMBLE_2): Likewise.
24786         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24787         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24788         (_FP_FRAC_CLZ_4): Likewise.
24789         (_FP_MUL_MEAT_4_wide): Likewise.
24790         (_FP_MUL_MEAT_4_gmp): Likewise.
24791         (_FP_SQRT_MEAT_4): Likewise.
24792         (_FP_FRAC_ASSEMBLE_4): Likewise.
24793         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24794         * soft-fp/op-common.h (_FP_CMP): Likewise.
24795         (_FP_CMP_EQ): Likewise.
24796         (_FP_CMP_UNORD): Likewise.
24797         (_FP_TO_INT): Likewise.
24798         (_FP_FROM_INT): Likewise.
24799         [!__FP_CLZ] (__FP_CLZ): Likewise.
24800         (_FP_DIV_HELP_imm): Likewise.
24801         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24802         Likewise.
24803         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24804         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24807         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24808         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24809         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24811         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24812         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24813         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24814         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24815         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24816         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24817         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24818         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24819         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24820         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24821         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24832         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24833         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24836         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24837         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24838         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24839         (FP_UNPACK_RAW_SP): Likewise.
24840         (FP_PACK_RAW_S): Likewise.
24841         (FP_PACK_RAW_SP): Likewise.
24842         (FP_UNPACK_S): Likewise.
24843         (FP_UNPACK_SP): Likewise.
24844         (FP_UNPACK_SEMIRAW_S): Likewise.
24845         (FP_UNPACK_SEMIRAW_SP): Likewise.
24846         (FP_PACK_S): Likewise.
24847         (FP_PACK_SP): Likewise.
24848         (FP_PACK_SEMIRAW_S): Likewise.
24849         (FP_PACK_SEMIRAW_SP): Likewise.
24850         (_FP_SQRT_MEAT_S): Likewise.
24851         (FP_CMP_S): Likewise.
24852         (FP_CMP_EQ_S): Likewise.
24853         (FP_CMP_UNORD_S): Likewise.
24854         (FP_TO_INT_S): Likewise.
24855         (FP_FROM_INT_S): Likewise.
24857         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24859         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24860         (FP_EX_INVALID_IMZ): Likewise.
24861         (FP_EX_INVALID_IMZ_FMA): Likewise.
24862         (FP_EX_INVALID_ISI): Likewise.
24863         (FP_EX_INVALID_ZDZ): Likewise.
24864         (FP_EX_INVALID_IDI): Likewise.
24865         (FP_EX_INVALID_SQRT): Likewise.
24866         (FP_EX_INVALID_CVI): Likewise.
24867         (FP_EX_INVALID_VC): Likewise.
24868         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24869         "invalid" exceptions.
24870         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24871         (_FP_ADD_INTERNAL): Likewise.
24872         (_FP_MUL): Likewise.
24873         (_FP_FMA): Likewise.
24874         (_FP_DIV): Likewise.
24875         (_FP_CMP_CHECK_NAN): Likewise.
24876         (_FP_SQRT): Likewise.
24877         (_FP_TO_INT): Likewise.
24878         (FP_EXTEND): Likewise.
24880 2014-10-09  Allan McRae  <allan@archlinux.org>
24882         * po/fr.po: Update French translation from translation project.
24884 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24886         [BZ #14132]
24887         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24888         of INTDEF.
24889         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24890         (__cxa_atexit): Use libc_hidden_proto.
24891         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24893         [BZ #14132]
24894         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24895         declaration.
24896         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24897         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24898         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24899         [!_ISOMAC] (__iswctype_internal): Likewise.
24900         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24901         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24902         alias.
24903         (fcntl): Remove __fcntl_internal alias.
24904         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24905         __connect_internal alias.
24906         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24907         Likewise.
24909         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24910         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24911         FP_DENORM_ZERO.
24912         (_FP_CHECK_FLUSH_ZERO): New macro.
24913         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24914         (_FP_CMP): Likewise.
24915         (_FP_CMP_EQ): Likewise.
24916         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24917         FP_DENORM_ZERO.
24918         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24919         (FP_TRUNC): Likewise.
24921         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24922         treated as invalid conversion, not as normal exponent.
24924         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24925         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24926         (_FP_CMP_EQ): Likewise.
24927         (_FP_CMP_UNORD): Likewise.
24928         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24929         (FP_CMP_EQ_D): Likewise.
24930         (FP_CMP_UNORD_D): Likewise.
24931         * soft-fp/extended.h (FP_CMP_E): Likewise.
24932         (FP_CMP_EQ_E): Likewise.
24933         (FP_CMP_UNORD_E): Likewise.
24934         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24935         (FP_CMP_EQ_Q): Likewise.
24936         (FP_CMP_UNORD_Q): Likewise.
24937         * soft-fp/single.h (FP_CMP_S): Likewise.
24938         (FP_CMP_EQ_S): Likewise.
24939         (FP_CMP_UNORD_S): Likewise.
24940         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24941         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24942         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24943         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24944         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24945         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24946         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24947         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24948         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24949         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24950         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24951         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24952         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24953         to FP_CMP_Q.
24954         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24955         FP_CMP_Q.
24956         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24957         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24958         FP_CMP_EQ_Q.
24959         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24960         FP_CMP_Q.
24961         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24962         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24963         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24964         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24965         FP_CMP_EQ_Q.
24966         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24967         FP_CMP_Q.
24968         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24969         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24970         FP_CMP_EQ_Q.
24971         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24972         FP_CMP_Q.
24973         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24974         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24975         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24976         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24977         FP_CMP_EQ_Q.
24979         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24980         a subnormal result, set the underflow exception if trapping on
24981         underflow is enabled.
24982         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24983         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24984         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24985         redefine to 0.
24986         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24987         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24988         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24989         * soft-fp/extendxftf2.c (__extendxftf2): Use
24990         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24992         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24993         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24994         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24995         FP_HANDLE_EXCEPTIONS.
24996         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24997         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24998         FP_HANDLE_EXCEPTIONS.
24999         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25000         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25001         FP_HANDLE_EXCEPTIONS.
25002         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25003         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25004         FP_HANDLE_EXCEPTIONS.
25006 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25008         [BZ #14132]
25009         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25010         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25011         use INTUSE.
25012         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25013         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25014         Remove alias.
25015         (__adjtimex): Define using libc_hidden_ver.
25016         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25017         Remove declaration.
25018         (ntp_gettime): Call __adjtimex directly.
25019         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25020         Remove declaration.
25021         (ntp_gettimex): Call __adjtimex directly.
25022         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25023         __adjtimex_internal alias.
25025 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25027         [BZ #17460]
25028         * nscd/nscd.c (more_help): Rewrite list of tables collection
25029         using xstrdup and asprintf.
25031         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25033 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25034             Roland McGrath  <roland@hack.frob.com>
25036         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25037         (do_lookup_unique): ... local function 'enter' here; update callers.
25039 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25041         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25042         compat_symbol calls on [SHARED].
25043         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25044         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25045         Remove.
25046         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25047         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25048         (oldsetrlimit): Remove.
25049         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25051         (lchown): New syscall entry.
25052         (oldsetrlimit): Remove.
25053         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25054         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25055         (oldsetrlimit): Remove.
25056         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25058         [BZ #14138]
25059         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25060         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25061         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25062         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25063         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25064         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25065         (fchown): Likewise.
25066         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25067         (fchown): Likewise.
25068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25069         Likewise.
25071 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25073         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25074         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25075         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25076         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25077         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25078         Likewise.
25079         (__old_sem_post): Likewise.
25081 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25083         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25084         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25085         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25086         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25087         Use INLINE_VSYSCALL macro.
25088         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25089         __vdso_clock_gettime.
25090         * sysdeps/unix/sysv/linux/tile/init-first.c
25091         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25092         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25093         __vdso_clock_gettime.
25095         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25096         to set up frame more cleanly.
25098         * sysdeps/tile/memcmp.c: New file.
25100         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25102         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25103         * sysdeps/tile/tilegx/strcasestr.c: New file.
25104         * sysdeps/tile/tilegx/strnlen.c: New file.
25105         * sysdeps/tile/tilegx/strstr.c: New file.
25107         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25109 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25111         * nptl/tst-setuid3.c: Write errors to stdout.
25113 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25115         * elf/dl-deps.c
25116         (preload): New functions broken out of _dl_map_object_deps.
25117         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25119 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25121         [BZ #14138]
25122         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25123         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25125 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25127         * sysdeps/mips/strcmp.S: New.
25129 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #14138]
25132         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25133         (linkat): Likewise.
25134         (mkdirat): Likewise.
25135         (readlinkat): Likewise.
25136         (renameat): Likewise.
25137         (symlinkat): Likewise.
25138         (unlinkat): Likewise.
25139         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25140         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25141         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25142         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25143         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25144         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25145         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25147 2014-09-30  Will Newton  <will.newton@linaro.org>
25149         * math/math.h: Define long double math functions if
25150         _LIBC_TEST is defined.
25151         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25153         * localedata/Makefile: Move assignment to tests-special
25154         into an ifdef testing run-built-tests.
25155         * timezone/Makefile: Likewise.
25157 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25159         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25160         with $(BASH) not $(SHELL).
25162 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25163             Matthew LeGendre  <legendre1@llnl.gov>
25165         [BZ #17411]
25166         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25167         l_reloc_result.
25169 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25171         * stdio-common/printf_fp.c
25172         (hack_digit): New function, broken out of ...
25173         (__printf_fp): ... local function here.  Update call sites.
25174         hack_digit now takes an additional parameter that is a pointer
25175         to a struct of the referenced locals.  Those locals moved inside
25176         the struct and references updated.
25178 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25180         * aclocal.m4: Require autoconf 2.69.
25181         * configure: Regenerated.
25182         * sysdeps/aarch64/configure: Likewise.
25183         * sysdeps/alpha/configure: Likewise.
25184         * sysdeps/arm/armv7/configure: Likewise.
25185         * sysdeps/arm/configure: Likewise.
25186         * sysdeps/ia64/configure: Likewise.
25187         * sysdeps/mach/configure: Likewise.
25188         * sysdeps/mips/configure: Likewise.
25189         * sysdeps/s390/configure: Likewise.
25190         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25193         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25194         file.
25195         * sysdeps/ia64/configure.ac: Likewise.
25197 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25200         specify symbol version for ld.so.  Do not include entry for
25201         libpthread.
25202         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25203         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25204         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25206         [BZ #14171]
25207         * Makeconfig [$(build-shared) = yes]
25208         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25209         makefiles.
25210         [$(build-shared) = yes && $(soversions.mk-done) = t]
25211         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25212         [$(build-shared) = yes && $(soversions.mk-done) = t]
25213         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25214         to Makerules.
25215         [$(build-shared) = yes && $(soversions.mk-done) = t]
25216         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25217         here.
25218         [$(build-shared) = yes && $(soversions.mk-done) = t]
25219         (common-generated): Don't append gnu/lib-names.h and
25220         gnu/lib-names.stmp here.
25221         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25222         (lib-names-h-abi): New variable.
25223         [$(build-shared) = yes && $(soversions.mk-done) = t]
25224         (lib-names-stmp-abi): Likewise.
25225         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25226         abi-variants] (before-compile): Append
25227         $(common-objpfx)$(lib-names-h-abi).
25228         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25229         abi-variants] (common-generated): Append gnu/lib-names.h.
25230         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25231         abi-variants] (install-others-nosubdir): Depend on
25232         $(inst_includedir)/$(lib-names-h-abi).
25233         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25234         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25235         [$(build-shared) = yes && $(soversions.mk-done) = t]
25236         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25237         [$(build-shared) = yes && $(soversions.mk-done) = t]
25238         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25239         [$(build-shared) = yes && $(soversions.mk-done) = t]
25240         (common-generated): Append $(lib-names-h-abi) and
25241         $(lib-names-stmp-abi).
25242         * scripts/lib-names.awk: Do not handle multi being set.
25243         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25244         Remove variable.
25245         (abi-lp64_be-ld-soname): Likewise.
25246         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25247         Likewise.
25248         (abi-hard-ld-soname): Likewise.
25249         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25250         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25251         Remove variable.
25252         (abi-o32_hard-ld-soname): Likewise.
25253         (abi-o32_soft_2008-ld-soname): Likewise.
25254         (abi-o32_hard_2008-ld-soname): Likewise.
25255         (abi-n32_soft-ld-soname): Likewise.
25256         (abi-n32_hard-ld-soname): Likewise.
25257         (abi-n32_soft_2008-ld-soname): Likewise.
25258         (abi-n32_hard_2008-ld-soname): Likewise.
25259         (abi-n64_soft-ld-soname): Likewise.
25260         (abi-n64_hard-ld-soname): Likewise.
25261         (abi-n64_soft_2008-ld-soname): Likewise.
25262         (abi-n64_hard_2008-ld-soname): Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25264         Likewise.
25265         (abi-64-v2-ld-soname): Likewise.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25267         ld.so entries.
25268         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25269         variable.
25270         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25271         entry.
25272         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25273         variable.
25274         (abi-64-ld-soname): Likewise.
25275         (abi-x32-ld-soname): Likewise.
25276         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25277         entry.
25278         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25280 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25282         [BZ #14138]
25283         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25284         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25285         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25286         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25287         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25288         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25289         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25290         syscall entry for GLIBC_2.2 symbol version.
25291         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25292         Likewise.
25293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25294         (setrlimit): Likewise.
25295         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25296         Likewise.
25298 2014-09-23  Will Newton  <will.newton@linaro.org>
25300         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25301         _LINUX_ARM_SYSDEP_H include guard too.
25302         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25303         define.
25305 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25307         * sysdeps/unix/sysv/linux/eventfd.c:
25308         Make first argument unsigned.
25309         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25310         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25312 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25314         [BZ #16852]
25315         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25316         * socket/sys/socket.h: Likewise.
25317         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25319 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25321         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25323 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25325         * time/tst-ftime.c: New test.
25326         * time/Makefile (tests): Add tst-ftime.
25328 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25330         * soft-fp/extended.h: Fix comment formatting.
25331         * soft-fp/op-1.h: Likewise.
25332         * soft-fp/op-2.h: Likewise.
25333         * soft-fp/op-4.h: Likewise.
25334         * soft-fp/op-8.h: Likewise.
25335         * soft-fp/op-common.h: Likewise.
25336         * soft-fp/soft-fp.h: Likewise.
25338         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25340 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25342         [BZ #6652]
25343         * Makeconfig (soversions-default-setname): Remove variable.
25344         ($(common-objpfx)soversions.i): Don't pass default_setname to
25345         soversions.awk.
25346         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25347         oldest_abi to abi-versions.awk.
25348         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25349         * config.make.in (oldest-abi): Remove variable.
25350         * configure.ac (--enable-oldest-abi): Remove configure option.
25351         * configure: Regenerated.
25352         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25353         text.
25354         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25355         * scripts/soversions.awk: Do not handle default_setname variable.
25356         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25357         variable.
25358         * sysdeps/mach/hurd/configure: Regenerated.
25359         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25360         variable.
25361         * sysdeps/unix/sysv/linux/configure: Regenerated.
25363 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25365         * elf/Makefile (CFLAGS-interp.c): Remove.
25366         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25367         path string.
25368         * elf/interp.c: Include generated runtime-linker.h
25370         * Makerules (lib%.so): Don't include $(+interp) in
25371         prerequisites.
25372         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25373         * dlfcn/eval.c: Remove file.
25375         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25376         macros.
25378         [BZ #17266]
25379         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25380         4.2 and newer.
25382         [BZ #17370]
25383         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25385 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25386             Jakub Jelinek  <jakub@redhat.com>
25388         [BZ #17266]
25389         * libio/stdio.h: Check definition of __fortify_function
25390         instead of __extern_always_inline to include bits/stdio2.h.
25391         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25392         check if __extern_always_inline is defined.
25393         [__USE_MISC || __USE_XOPEN]: Likewise.
25394         [__USE_ISOC99] Likewise.
25395         * misc/sys/cdefs.h (__fortify_function): Define only if
25396         __extern_always_inline is defined.
25397         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25398         __extern_always_inline and __extern_inline only for g++-4.3
25399         and newer or a compatible gcc.
25401 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25403         [BZ #17371]
25404         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25405         last change to handle zero prefix length.
25407 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25409         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25410         _SC_REGEX_VERSION.
25412         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25413         _POSIX_RAW_SOCKETS.
25415 2014-09-13  Allan McRae  <allan@archlinux.org>
25417         * po/ru.po: Update Russian translation from translation project.
25419 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25421         * locale/programs/locale.c (show_locale_vars): Inline local function
25422         into its sole call site.  Clean up some style nits.
25423         (print_item): New function, broken out of ...
25424         (show_info): ... local function here.  Clean up style nits.
25426         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25427         out of ...
25428         (set_class_defaults): ... local function set_default here.
25429         Define set_default as a macro locally to pass constant parameters.
25430         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25431         rather than a shared local.
25433         * stdlib/rpmatch.c (try): New function, broken out of ...
25434         (rpmatch): ... local function here.  Also, prototypify definition.
25436 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25438         * scripts/soversions.awk: Do not handle configuration names.
25439         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25440         vendor and os variables to soversions.awk.
25441         * configure.ac: Do not modify gnu-* host_os.
25442         * configure: Regenerated
25443         * shlib-versions: Remove first column with configuration names.
25444         * nptl/shlib-versions: Likewise.
25445         * nptl_db/shlib-versions: Likewise.
25446         * sysdeps/hppa/shlib-versions: Likewise.
25447         * sysdeps/m68k/shlib-versions: Likewise.
25448         * sysdeps/mach/hurd/shlib-versions: Likewise.
25449         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25450         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25451         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25452         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25453         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25454         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25455         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25456         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25458         Likewise.
25459         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25460         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25461         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25462         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25463         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25464         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25465         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25466         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25469         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25471         Regenerated.
25472         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25474         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25476         * shlib-versions: Remove OS-specific entries.  Moved to files in
25477         sysdeps.
25478         * sysdeps/mach/hurd/shlib-versions: New file.
25479         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25481         * nptl/shlib-versions: Remove architecture-specific entries.
25482         Moved to files in sysdeps.
25483         * shlib-versions: Likewise.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25485         file.
25486         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25487         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25488         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25489         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25491         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25492         (UDP_NO_CHECK6_RX): Likewise.
25494 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25496         * sysdeps/posix/sysconf.c (__sysconf): Spell
25497         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25499 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25501         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25502         loading.
25503         * iconv/Versions (__gconv_transliterate): Export for use from
25504         gconv modules.
25505         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25506         (struct __gconv_trans_data, __gconv_trans_fct,
25507         __gconv_trans_context_fct, __gconv_trans_query_fct,
25508         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25509         definitions.
25510         (struct __gconv_step_data): Remove __trans member.
25511         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25512         longer hidden.  Remove unused trans_data argument.
25513         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25514         (__gconv_translit_find): Remove declaration.
25515         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25516         prototype.
25517         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25518         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25519         trans_data argument.  Add hidden definition.
25520         (__gconv_translit_find): Remove.
25521         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25522         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25523         * iconv/skeleton.c: Remove transliteration initialization.
25524         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25525         __gconv_step_data initialization.
25526         * libio/iofwide.c (__libio_translit_): Remove.
25527         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25528         * wcsmbs/btowc.c (__btowc): Likewise.
25529         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25530         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25531         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25532         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25533         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25534         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25535         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25536         * wcsmbs/wctob.c (wctob): Likewise.
25538 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540         [BZ #16194]
25541         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25542         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25543         register usage.
25544         * sysdeps/x86/Makefile: Adjust.
25546 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25547             Roland McGrath  <roland@hack.frob.com>
25549         * locale/weight.h: Add include guard.
25550         (findidx): Make static rather than auto; take new parameters
25551         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25552         * locale/weightwc.h: Likewise.
25553         * posix/fnmatch_loop.c
25554         (FCT): Change type of EXTRA from int32_t to wint_t.
25555         Don't include either header inside the function.
25556         Call FINDIDX rather than findidx, and pass new arguments.
25557         #undef FINDIDX at the end of the file.
25558         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25559         FINDIDX before including fnmatch_loop.c for the non-wide version.
25560         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25561         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25562         for the wide version.
25563         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25564         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25565         Pass new arguments to findidx.
25566         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25567         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25568         Don't #include it inside the function.  Pass new arguments to findidx.
25569         * posix/regex_internal.h
25570         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25571         (re_string_elem_size_at): Don't #include it inside the function.
25572         Pass new arguments to findidx.
25573         * string/strcoll_l.c: #include WEIGHT_H at top level.
25574         (get_next_seq): Don't #include it inside the function.
25575         Pass new arguments to findidx.
25576         (get_next_seq_nocache): Likewise.
25577         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25578         (STRXFRM): Don't #include it inside the function.
25579         Pass new arguments to findidx.
25581 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25583         [BZ #17344]
25584         * malloc/malloc.c (unlink): Turn asserts into a call to
25585         malloc_printerr.
25587 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25589         [BZ #17370]
25590         * libio/wfileops (do_ftell_wide): Free OUT.
25592 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25594         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25596 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25598         [BZ #17363]
25599         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25600         group if the current group is empty.
25602 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25604         * benchtests/bench-memset.c (test_main): Add more test from size
25605         from 32 to 512 bytes.
25606         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25607         Add POWER8 memset object.
25608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25609         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25610         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25611         implementation.
25612         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25613         Likewise.
25614         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25615         multiarch POWER8 memset optimization.
25616         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25617         POWER8 memset optimization.
25619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25620         Remove bzero multiarch objects.
25621         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25622         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25623         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25624         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25625         Remove define.
25626         [__bzero]: Redefine to specific name.
25627         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25628         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25629         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25630         define.
25631         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25632         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25634 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25636         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25637         warnings into errors.
25639         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25640         __cxa_thread_atexit_impl prototype.
25642 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25644         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25645         Fix capitalization of error message.
25647 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25649         * sysdeps/mips/preconfigure: Modify ABI tests.
25651 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25653         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25655 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25656             Carlos O'Donell  <carlos@systemhalted.org>
25658         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25659         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25660         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25661         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25662         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25663         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25664         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25665         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25666         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25667         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25668         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25669         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25670         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25671         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25672         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25675         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25676         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25679         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25680         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25681         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25682         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25683         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25684         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25685         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25686         Deconditionalize the code that was previously under [RESET_PID].
25687         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25688         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25689         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25690         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25691         include sysdep.h.
25693 2014-09-08  Allan McRae  <allan@archlinux.org>
25695         * version.h (RELEASE): Set to "development".
25696         (VERSION): Set to "2.20.90"
25698 2014-09-07  Allan McRae  <allan@archlinux.org
25700         * version.h (RELEASE): Set to "stable".
25701         (VERSION): Set to "2.20"
25702         * include/features.h (__GLIBC_MINOR__): Set to 20.
25704         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25705         Liebler.
25707         * po/ko.po: Update Korean translation from translation project.
25709 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25711         [BZ #17354]
25712         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25713         macro for handling signed relocations.
25715 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25717         [BZ #17325]
25718         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25719         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25720         assert.
25721         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25722         * iconvdata/ibm935.c (BODY): Likewise.
25723         * iconvdata/ibm937.c (BODY): Likewise.
25724         * iconvdata/ibm939.c (BODY): Likewise.
25725         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25726         assert.
25727         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25728         script.
25729         * iconvdata/run-iconv-test.sh: New test loop for checking for
25730         decoder crashers.
25732 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25734         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25735         libm_hidden_ver.
25737 2014-09-01  Allan McRae  <allan@archlinux.org>
25739         * po/eo.po: Update Esperanto translation from translation project.
25741         * po/ca.po: Update Catalan translation from translation project.
25743 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25745         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25746         __proc_dostop call.
25748 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25750         [BZ #17319]
25751         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25752         to call set_thread_area instead of hand written asm.
25753         (__NR_set_thread_area): Removed define.
25754         (TLS_FLAG_WRITABLE): Likewise.
25755         (__ASSUME_SET_THREAD_AREA): Remove check.
25756         (TLS_EBX_ARG): Remove define.
25757         (TLS_LOAD_EBX): Likewise.
25759 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25761         Simplify atomicity of socket creation in bind.
25763         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25764         looking up the name after linking the file.
25766 2014-08-27  Allan McRae  <allan@archlinux.org>
25768         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25770 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25772         [BZ #17187]
25773         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25774         trans_compare, open_translit, __gconv_translit_find):
25775         Remove module loading code.
25777 2014-08-26  Allan McRae  <allan@archlinux.org>
25779         * po/vi.po: Update Vietnamese translation from translation project.
25781         * po/uk.po: Update Ukrainian translation from translation project.
25783         * po/fr.po: Update French translation from translation project.
25785         * po/ru.po: Update Russian translation from translation project.
25787         * po/pl.po: Update Polish translation from translation project.
25789         * po/cs.po: Update Czech translation from translation project.
25791         * po/de.po: Update German translation from translation project.
25793         * po/bg.po: Update Bulgarian translation from translation project.
25795         * po/sv.po: Update Sweedish translation from translation project.
25797         * po/nl.po: Update Dutch translation from translation project.
25799         * po/es.po: Update Spanish translation from translation project.
25801 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25803         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25805         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25806         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25807         (CPPFLAGS-iconvconfig): Likewise.
25808         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25810         * include/libc-symbols.h: Remove unnecessary check for
25811         NOT_IN_libc.
25812         * nptl/pthreadP.h: Likewise.
25813         * sysdeps/aarch64/setjmp.S: Likewise.
25814         * sysdeps/alpha/setjmp.S: Likewise.
25815         * sysdeps/arm/sysdep.h: Likewise.
25816         * sysdeps/i386/setjmp.S: Likewise.
25817         * sysdeps/m68k/setjmp.c: Likewise.
25818         * sysdeps/posix/getcwd.c: Likewise.
25819         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25820         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25821         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25822         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25823         * sysdeps/sh/sh3/setjmp.S: Likewise.
25824         * sysdeps/sh/sh4/setjmp.S: Likewise.
25825         * sysdeps/unix/alpha/sysdep.h: Likewise.
25826         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25828         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25834         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25837         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25839         * sysdeps/x86_64/setjmp.S: Likewise.
25841 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25843         [BZ #17263]
25844         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25845         <stdint.h>.
25846         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25847         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25849 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25851         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25853         [BZ #17262]
25854         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25855         and __x86_64__ when disabling x87 inline functions.
25857 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25859         [BZ #17259]
25860         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25861         asm statement with __cpuid_count.
25863 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25865         * configure.ac: Change __ehdr_start code to dereference the struct.
25866         Run readelf on the output to look for relocations.
25867         * configure: Regenerated.
25869 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25871         [BZ #17261]
25872         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25873         value to 0.
25874         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25876 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25878         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25880 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25882         [BZ #16892]
25883         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25884         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25886 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25888         * malloc/malloc.c: Fix typo in comment.
25890 2014-08-09  Allan McRae  <allan@archlinux.org>
25892         * Regenerate libc.po.
25894 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25896         * intl/tst-gettext2.sh: Check every lang file for creation.
25898 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25900         * sysdeps/aarch64/fpu/math_private.h
25901         (libc_feholdsetround_noex_aarch64_ctx): New function.
25903 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25905         * sysdeps/arm/armv6/strcpy.S (strcpy):
25906         Fix performance issue in misaligned cases.
25908 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25910         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25911         Move definition from termios.h.
25912         (struct termio): Likewise.
25913         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25914         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25915         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25916         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25917         Likewise.
25918         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25919         Move definition to ioctl-types.h
25920         (struct termio): Likewise.
25921         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25922         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25923         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25924         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25925         Likewise.
25927 2014-08-05  Richard Henderson  <rth@redhat.com>
25929         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25930         exceptions.
25931         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25932         Add fraiseexcpt.
25933         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25934         Use __feraiseexcept.
25935         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25936         Protect libm symbols with IS_IN_libm.
25938         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25940 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25942         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25944 2014-08-04  Will Newton  <will.newton@linaro.org>
25946         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25947         file.
25949 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25951         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25952         variants for each function.
25954 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25956         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25957         appended ...
25958         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25959         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25960         appended ...
25961         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25962         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25963         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25964         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25965         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25966         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25967         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25968         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25969         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25970         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25971         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25972         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25973         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25974         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25975         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25977         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25978         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25979         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25980         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25981         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25982         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25983         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25984         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25985         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25986         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25987         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25988         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25989         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25990         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25991         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25992         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25993         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25994         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25995         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25996         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25997         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25998         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26000         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26001         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26002         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26003         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26005         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26007         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26008         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26009         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26010         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26011         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26012         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26013         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26014         Update #include.
26015         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26016         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26018 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26021         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26022         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26023         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26024         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26025         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26027 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26029         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26030         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26031         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26032         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26034 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26036         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26037         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26038         (__libc_vfork): Define function under this name.
26039         (__vfork): Define as an alias.
26040         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26041         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26043 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26045         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26046         that was previously under [RESET_PID].
26047         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26049 2014-08-04  Andreas Schwab  <schwab@suse.de>
26051         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26053 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26055         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26056         (main): Likewise.
26058 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26060         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26062 2014-08-01  Richard Henderon  <rth@redhat.com>
26064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26065         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26066         typo in exact zero test.
26067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26068         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26071 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26073         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26074         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26075         * sysdeps/arm/sysdep.h: ... here.
26076         [!__ASSEMBLER__]: Include <stdint.h>.
26078 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26080         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26081         (HAVE_WCTYPE_H): Likewise.
26082         (HAVE_ISWCTYPE): Likewise.
26083         (ENABLE_NLS): Likewise.
26084         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26085         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26087         * posix/regex_internal.c: Check if DEBUG is defined and is
26088         set.
26090         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26091         (HAVE_MBSRTOWCS): Likewise.
26092         * posix/fnmatch.c: Include string.h unconditionally.
26094 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26096         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26097         reversal.
26099 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26101         * sysdeps/generic/safe-fatal.h: New file.
26102         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26103         * nptl/forward.c: Include it.
26104         (__pthread_unwind): Use __safe_fatal as default action, rather
26105         than a bogus use of INTERNAL_SYSCALL that could never work.
26107         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26108         * configure.ac (libc_cv_builtin_trap): New test.
26109         * configure: Regenerated.
26110         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26111         (ABORT_INSTRUCTION): Define using __builtin_trap.
26113         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26114         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26115         * sysdeps/nptl/nptl-signals.h: New file.
26116         * nptl/pthreadP.h: Include <nptl-signals.h>.
26118 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26120         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26121         (ONE_DIRECTION): Define.
26122         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26123         (ONE_DIRECTION): Define.
26124         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26125         (ONE_DIRECTION): Define.
26127 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26129         * sysdeps/s390/Makefile: Delete file.
26130         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26131         * sysdeps/s390/__longjmp.c: Delete file.
26132         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26133         Remove fields __flags and __reserved.
26134         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26135         and add versioning.
26136         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26137         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26138         * sysdeps/s390/rtld-setjmp.S: Likewise.
26139         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26140         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26141         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26142         * sysdeps/s390/s390-32/setjmp.S: ... here.
26143         Add versioning.
26144         (__sigsetjmp): Remove setting __flags field.
26145         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26146         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26147         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26148         * sysdeps/s390/s390-64/setjmp.S: ... here.
26149         Add versioning.
26150         (__sigsetjmp): Remove setting __flags field.
26151         * sysdeps/s390/setjmp.S: Delete file.
26152         * sysdeps/s390/sigjmp.c: Likewise.
26153         * sysdeps/s390/v1-longjmp.c: Likewise.
26154         * sysdeps/s390/v1-setjmp.h: Likewise.
26155         * sysdeps/s390/v1-sigjmp.c: Likewise.
26156         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26157         Remove v1-longjmp_chk.
26158         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26159         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26160         Include debug/longjmp_chk.c and add versioning.
26161         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26162         Include nptl/pt-longjmp.c and add versioning.
26163         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26164         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26165         Include __longjmp.c.
26166         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26167         Move to ...
26168         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26169         (__getcontext): Remove setting __flags field.
26170         Add versioning.
26171         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26172         Don't restore upper high grps.
26173         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26174         Likewise.
26175         (__swapcontext): Remove setting uc_flags field.
26176         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26177         Delete file.
26178         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26179         Include __longjmp.c.
26180         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26181         Move to ...
26182         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26183         (__getcontext): Remove setting __flags field.
26184         Add versioning.
26185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26186         (__swapcontext): Remove setting uc_flags field.
26187         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26188         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26189         Remove fields uc_high_gprs and __reserved.
26190         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26191         New file with reverted content.
26192         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26193         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26194         Regenerated.
26195         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26196         Regenerated.
26198 2014-07-31  Andreas Schwab  <schwab@suse.de>
26200         * config.h.in (HAVE_IFUNC): Define to 0.
26201         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26202         definedness.
26204 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26207         memmove-avx-unaligned, memcpy-avx-unaligned and
26208         mempcpy-avx-unaligned.
26209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26210         Add tests for AVX memcpy functions.
26211         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26212         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26213         memcpy_chk.
26214         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26215         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26216         memmove_chk.
26217         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26219         mempcpy_chk.
26220         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26221         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26222         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26224 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26226         [BZ #17213]
26227         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26228         powerpc64le.
26230 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26232         [BZ #16839]
26233         * manual/llio.texi: Add section about open file description locks.
26234         * manual/examples/ofdlocks.c: Example of open file description
26235         lock usage.
26236         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26237         F_OFD_SETLK, and F_OFD_SETLKW.
26239 2014-07-23  Allan McRae  <allan@archlinux.org>
26241         * po/es.po: Update Spanish translation from translation project.
26243 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26245         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26247 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26249         [BZ #17078]
26250         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26251         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26252         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26254 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26256         [BZ #17088]
26257         * math/fesetenv.c (__fesetenv)
26258         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26259         * math/feupdateenv.c (__feupdateenv)
26260         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26262         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26263         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26264         (__ASSUME_SOCKETCALL): Do not define.
26266         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26267         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26268         (__ASSUME_SOCKETCALL): Do not define.
26269         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26270         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26271         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26272         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26273         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26274         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26275         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26276         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26278         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26279         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26280         (__ASSUME_SOCKETCALL): Do not define.
26281         (__ASSUME_IPC64): Define unconditionally.
26282         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26283         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26284         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26285         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26286         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26287         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26288         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26289         Likewise.
26291         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26292         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26293         (__ASSUME_SOCKETCALL): Do not define.
26294         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26295         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26296         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26297         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26298         (__ASSUME_REQUEUE_PI): Define unconditionally.
26299         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26300         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26301         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26302         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26303         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26304         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26306         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26307         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26308         (__ASSUME_SOCKETCALL): Do not define.
26309         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26310         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26311         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26312         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26314         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26316         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26317         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26318         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26319         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26321         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26322         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26323         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26324         (__ASSUME_GETCPU_SYSCALL): Likewise.
26326         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26327         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26328         cases for individual architectures.
26329         * sysdeps/gnu/configure: Regenerated.
26330         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26331         LIBC_SLIBDIR_RTLDDIR.
26332         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26333         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26334         LIBC_SLIBDIR_RTLDDIR.
26335         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26337         LIBC_SLIBDIR_RTLDDIR.
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26339         Regenerated.
26340         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26341         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26342         file.
26343         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26344         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26345         file.
26346         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26347         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26348         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26349         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26351         * sysdeps/aarch64/shlib-versions: Move to ...
26352         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26353         * sysdeps/alpha/shlib-versions: Move to ...
26354         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26355         * sysdeps/arm/shlib-versions: Move to ...
26356         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26357         * sysdeps/hppa/shlib-versions: Move all contents except for
26358         libgcc_s entry to ...
26359         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26360         entry from ...
26361         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26362         * sysdeps/ia64/shlib-versions: Move to ...
26363         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26364         entry from ...
26365         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26366         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26367         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26368         * sysdeps/microblaze/shlib-versions: Move to ...
26369         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26370         * sysdeps/mips/shlib-versions: Move to ...
26371         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26372         entry from ...
26373         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26374         * sysdeps/tile/shlib-versions: Move to ...
26375         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26376         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26377         from ...
26378         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26380         entry from ...
26381         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26383 2014-07-17  Will Newton  <will.newton@linaro.org>
26385         * sysdeps/arm/bits/atomic.h
26386         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26387         (__arch_compare_and_exchange_bool_16_int): Likewise.
26388         (__arch_compare_and_exchange_bool_64_int): Likewise.
26390         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26391         into an #else block.
26393 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26395         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26396         just Linux configurations.  Test empirically that the compiler sets
26397         __ARM_EABI__, rather than using the tuple to decide.
26398         * sysdeps/arm/preconfigure: Regenerated.
26399         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26400         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26401         contents appended ...
26402         * sysdeps/arm/configure.ac: ... here.
26403         * sysdeps/arm/configure: Regenerated.
26405 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26407         * nptl/pthread_kill.c: New file.
26408         * nptl/pthread_sigmask.c: New file.
26409         * nptl/pthread_sigqueue.c: New file.
26411         * sysdeps/nptl/lowlevellock.h: New file.
26412         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26413         * sysdeps/nptl/lowlevellock-futex.h: New file.
26415         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26416         Remove dead declarations.
26418 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26420         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26421         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26422         config-cflags-avx2.
26423         * sysdeps/x86_64/configure.ac: Likewise.
26424         * sysdeps/i386/configure: Regenerated.
26425         * sysdeps/x86_64/configure: Likewise.
26426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26427         memset-avx2 only if config-cflags-avx2 is yes.
26428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26429         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26430         defined.
26431         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26432         only if HAVE_AVX2_SUPPORT is defined.
26433         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26435 2014-07-14  Alan Modra  <amodra@gmail.com>
26437         [BZ #17153]
26438         * elf/elf.h (DT_PPC64_NUM): Correct value.
26439         * NEWS: Add to fixed bug list.
26441 2014-07-13  Jim Meyering  <meyering@fb.com>
26443         [BZ 17150]
26444         regex: don't deref NULL upon heap allocation failure
26445         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26446         failure in one more place.
26447         To trigger the segfault, configure grep -with-included-regex,
26448         build it, and run these commands:
26449         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26451 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26453         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26455 2014-07-11  Richard Henderson  <rth@redhat.com>
26457         * sysdeps/aarch64/libm-test-ulps: Update.
26459 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26461         [BZ #17135]
26462         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26463         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26464         (__nptl_setxid): Initialize error member.  Call
26465         __nptl_setxid_error.
26466         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26467         * nptl/descr.h (struct xid_command): Add error member.
26468         * nptl/tst-setuid3.c: New file.
26469         * nptl/Makefile (tests): Add it.
26471 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26473         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26474         New define.
26475         (__lll_trylock): Use __lll_base_trylock.
26476         (__lll_cond_trylock): Likewise.
26478 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26480         * nptl/pthread_create.c (start_thread): Use atomic_or and
26481         lll_futex_wake directly rather than lll_robust_dead.
26482         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26483         (lll_robust_dead): Macro removed.
26484         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26485         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26486         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26487         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26489         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26490         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26491         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26492         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26494         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26495         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26496         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26497         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26498         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26500         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26501         Use atomic_compare_and_exchange_val_acq directly rather than
26502         lll_robust_trylock.
26503         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26504         (__lll_robust_trylock, lll_robust_trylock): Removed.
26505         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26506         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26507         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26508         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26509         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26510         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26511         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26512         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26513         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26514         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26515         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26516         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26517         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26518         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26520 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26522         * manual/locale.texi (Locale Names): New section documenting
26523         locale name syntax.  Adjust menu and node chaining accordingly.
26524         (Choosing Locale): Reference Locale Names, Locale Categories.
26525         Mention setting LC_ALL=C.  Reflect that name syntax is now
26526         documented.
26527         (Locale Categories): New section title.  Reference Locale Names.
26528         LC_ALL is an environment variable, but not a category.
26529         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26530         description, now in Locale Name.  Reference that section.  Locale
26531         name syntax is now documented.
26533 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26535         [BZ #17137]
26536         * locale/findlocale.c (name_present, valid_locale_name): New
26537         functions.
26538         (_nl_find_locale): Use the loc_name variable to store name
26539         candidates.  Call name_present and valid_locale_name to check and
26540         validate locale names.  Return an error if the locale is invalid.
26542 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26544         * locale/setlocale.c (setlocale): Use strdup for allocating
26545         composite name copy.
26547 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26549         Sync up with gnulib.
26550         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26551         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26552         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26553         and _GL_ARG_NONNULL.
26554         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26555         [!_LIBC]: Include code for Windows and Cygwin.
26556         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26557         Include prototype for int strerror_r.
26558         [!_LIBC] (is_open): New function.
26559         (flush_stdout): New function.
26560         (print_errno_message): Use it.
26561         (error): Likewise.
26562         (error_at_line): Likewise.
26563         (error_tail) Add function attribute macros.  Use
26564         __builtin_expect.
26566         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26568         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26570         * io/ftw.c: Include sys/param.h unconditionally.
26572         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26574         [BZ #17125]
26575         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26576         libc_freeres_ptr.
26577         (freecache): New function to free CACHE on exit.
26579         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26580         initialization.
26582 2014-07-09  David S. Miller  <davem@davemloft.net>
26584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26586         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26587         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26588         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26589         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26590         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26591         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26592         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26593         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26594         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26595         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26596         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26597         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26598         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26600 2014-07-09  Andreas Schwab  <schwab@suse.de>
26602         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26603         output.
26604         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26605         (do_test): Likewise.
26607         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26609 2014-07-09  Will Newton  <will.newton@linaro.org>
26611         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26612         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26613         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26614         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26615         * sysdeps/hppa/start.S (_start): Likewise.
26617 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26619         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26621         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26622         defined.
26624 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26627         after checking that it is non-NULL.
26629         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26631 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26633         * sysdeps/powerpc/memmove.c: Remove file.
26634         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26635         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26636         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26637         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26638         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26639         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26640         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26641         string memmove instead of removed powerpc one.
26643         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26644         [weak_alias]: Fix compiler warning due trailing data.
26645         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26646         [weak_alias]: Likewise.
26647         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26648         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26651         (__libc_ifunc_impl_list): Add memmove functions.
26653 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26655         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26656         Remove code.
26657         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26658         Likewise.
26659         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26660         Likewise.
26661         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26662         Likewise.
26663         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26664         Likewise.
26665         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26666         Likewise.
26667         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26668         Likewise.
26669         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26670         Likewise.
26671         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26672         Likewise.
26673         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26674         Likewise.
26675         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26676         Likewise.
26677         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26678         Likewise.
26679         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26680         Likewise.
26681         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26682         Likewise.
26683         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26684         Likewise.
26685         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26686         Likewise.
26687         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26688         Likewise.
26690 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26692         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26693         to avoid alignment traps in non-cacheable memory.
26694         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26697         multiarch objects.
26698         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26699         file: multiarch power7 memmove.
26700         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26701         multiarch default memmove.
26702         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26703         multiarch memove for powerpc32/power4.
26705         * string/bcopy.c: Use full path to include memmove.c.
26706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26707         multiarch objects.
26708         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26709         bcopy for powerpc64.
26710         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26711         bcopy for powerpc64.
26712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26713         and memmove implementations.
26714         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26715         optimized multiarch memmove for POWER7/powerpc64.
26716         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26717         default multiarch memmove for powerpc64.
26718         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26719         multiarch for powerpc64.
26720         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26721         for POWER7/powerpc64.
26722         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26723         memmove for POWER7/powerpc64.
26725         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26726         glibc default one.
26728         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26729         __ELF_NATIVE_CLASS equal to 64.
26731 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26733         * sysdeps/nptl/lowlevellock.h: File removed.
26735         * NEWS: NPTL is no longer an add-on!
26736         * nptl/internaltypes.h: Moved ...
26737         * sysdeps/nptl/internaltypes.h: ... here.
26738         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26739         * sysdeps/nptl/fork.c: Likewise.
26740         * sysdeps/nptl/gai_misc.h: Likewise.
26741         * sysdeps/nptl/librt-cancellation.c: Likewise.
26742         * sysdeps/nptl/jmp-unwind.c: Likewise.
26743         * sysdeps/nptl/setxid.h: Likewise.
26744         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26745         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26746         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26747         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26748         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26749         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26750         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26751         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26752         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26753         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26754         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26755         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26756         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26757         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26758         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26759         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26760         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26761         * nptl/Makeconfig: Moved ...
26762         * sysdeps/nptl/Makeconfig: ... here.
26763         * nptl/configure: File removed.
26764         * nptl/ANNOUNCE: File removed.
26765         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26766         * sysdeps/unix/sysv/linux/configure: Regenerated.
26768         * nptl/Makefile (routines): Add libc_pthread_init,
26769         libc_multiple_threads, register-atfork and unregister-atfork.
26770         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26771         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26772         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26773         pthread-pi-defines.sym, structsem.sym.
26774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26775         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26776         [$(subdir) = nptl] (tests): Add tst-setgetname.
26777         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26778         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26779         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26780         [!LIBC_SIGACTION]: Remove aliases.
26781         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26782         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26783         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26784         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26785         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26786         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26788         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26789         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26790         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26791         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26792         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26793         __libc_allocate_rtsig_private.
26794         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26795         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26796         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26797         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26798         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26799         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26800         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26801         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26802         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26803         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26804         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26805         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26806         * nptl/internaltypes.h: ... here.
26807         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26808         * sysdeps/nptl/jmp-unwind.c: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26810         * nptl/libc-lowlevellock.c: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26812         * nptl/libc_multiple_threads.c: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26814         * nptl/libc_pthread_init.c: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26816         * nptl/lowlevelbarrier.sym: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26818         * nptl/lowlevelcond.sym: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26820         * nptl/lowlevellock.c: ... here.
26821         * nptl/lowlevellock.h: Moved ...
26822         * sysdeps/nptl/lowlevellock.h: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26824         * nptl/lowlevelrobustlock.c: ... here.
26825         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26826         * nptl/lowlevelrobustlock.sym: ... here.
26827         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26828         * nptl/lowlevelrwlock.sym: ... here.
26829         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26830         * nptl/pt-fork.c: ... here.
26831         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26832         * nptl/pthread-pi-defines.sym: ... here.
26833         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26834         * nptl/pthread_attr_getaffinity.c: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26836         * nptl/pthread_attr_setaffinity.c: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26838         * nptl/pthread_mutex_cond_lock.c: ... here.
26839         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26840         Update #include.
26841         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26842         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26843         * nptl/pthread_once.c: ... here, replacing old file.
26844         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26845         * nptl/pthread_yield.c: ... here.
26846         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26847         * nptl/register-atfork.c: ... here.
26848         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26849         * nptl/sem_post.c: ... here.
26850         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26851         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26852         * nptl/sem_timedwait.c: ... here.
26853         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26854         * nptl/sem_trywait.c: ... here.
26855         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26856         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26857         * nptl/sem_wait.c: ... here.
26858         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26859         * nptl/structsem.sym: ... here.
26860         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26861         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26862         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26863         * nptl/unregister-atfork.c: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26865         * nptl/unwindbuf.sym: ... here.
26866         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26867         * sysdeps/nptl/fork.c: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26869         * sysdeps/nptl/fork.h: ... here.
26870         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26871         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26872         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26873         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26874         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26876         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26877         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26878         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26879         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26880         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26881         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26882         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26883         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26884         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26885         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26886         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26887         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26888         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26889         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26890         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26892         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26893         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26894         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26895         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26896         * sysdeps/unix/sysv/linux/raise.c: ... here.
26897         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26898         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26899         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26900         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26901         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26902         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26903         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26904         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26905         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26906         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26907         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26908         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26909         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26910         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26911         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26913 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * sysdeps/generic/memcopy.h: Add comment for
26916         MEMCPY_OK_FOR_FWD_MEMMOVE.
26918 2014-07-04  Will Newton  <will.newton@linaro.org>
26920         * string/memchr.c: Merge from gnulib.
26921         [_LIBC]: Remove conditionals.
26922         (__ptr_t): Remove define.
26923         (LONG_MAX_32_BITS): Likewise.
26924         (LONG_MAX): Likewise.
26925         (MEMCHR): Use ANSI prototype and optimize algorithm.
26927         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26929 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26931         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26932         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26934         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26935         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26936         in a bare environment with no <stdlib.h> installed.
26937         * sysdeps/nptl/configure: Regenerated.
26939         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26941         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26942         AC_EGREP_CPP for kernel header checks, so they only succeed if
26943         including <linux/version.h> actually works right.
26944         * sysdeps/unix/sysv/linux/configure: Regenerated.
26946         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26947         value so it's not diagnosed as unused.
26949         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26950         thing) with "ifeq ($(subdir),rt)".
26952 2014-07-03  Richard Henderson  <rth@redhat.com>
26954         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26955         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26956         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26958         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26959         (math_force_eval): New.
26961         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26962         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26964         * sysdeps/alpha/fpu/s_round.c: Remove file.
26965         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26967         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26968         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26969         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26970         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26971         (_dl_start, print_statistics): Likewise.
26972         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26973         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26975         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26976         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26977         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26978         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26979         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26980         (HP_SMALL_TIMING_AVAIL): Define.
26981         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26983         (HP_SMALL_TIMING_AVAIL): Define.
26984         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26985         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26987         * sysdeps/aarch64/hp-timing.h: New file.
26989         * sysdeps/generic/hp-timing.h: Remove dead comment.
26990         * sysdeps/generic/hp-timing-common.h: New file.
26991         * sysdeps/alpha/hp-timing.h: Include it.
26992         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26993         * sysdeps/i386/i686/hp-timing.h: Likewise.
26994         * sysdeps/ia64/hp-timing.h: Likewise.
26995         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26996         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26997         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26998         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26999         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27000         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27001         (hp_timing_t): New.
27003         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27004         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27005         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27006         * elf/rtld.c (_dl_start_final): Likewise.
27007         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27008         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27009         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27010         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27011         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27012         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27013         (HP_TIMING_DIFF_INIT): Remove.
27014         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27016         (HP_TIMING_DIFF_INIT): Remove.
27017         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27018         * sysdeps/i386/i686/hp-timing.c: Remove file.
27019         * sysdeps/x86_64/hp-timing.c: Remove file.
27020         * sysdeps/ia64/hp-timing.c: Remove file.
27021         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27022         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27023         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27024         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27026         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27027         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27028         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27029         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27031         (HP_TIMING_ACCUM): Remove.
27032         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27034         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27036         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27037         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27038         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27039         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27041         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27042         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27043         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27045         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27047 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27049         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27051 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27053         Sync up with gettext.
27054         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27055         [_MSC_VER]: Include malloc.h
27056         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27057         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27058         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27059         TEMP_FAILURE_RETRY.  Cast return of alloca.
27060         [!_LIBC] Call gl_rwlock_init.
27061         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27063 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27065         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27066         before checking its value.
27068 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27070         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27072         * debug/memcpy_chk.c: Don't include pagecopy.h.
27073         * debug/mempcpy_chk.c: Likewise.
27074         * string/memcpy.c: Likewise.
27075         * string/memmove.c: Likewise.
27076         * sysdeps/powerpc/memmove.c: Likewise.
27077         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27078         definition of PAGE_COPY_FWD_MAYBE here...
27079         * sysdeps/generic/pagecopy.h: ... from here.
27080         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27082 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27085         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27087         optimizations.
27088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27089         (__libc_ifunc_impl_list): Likewise.
27090         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27091         multiarch strcat for PPC64.
27092         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27093         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27095 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27097         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27099 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27101         * intl/loadmsgcat.c: Remove declaration of
27102         get_sysdep_segment_value.
27103         (get_sysdep_segment_value): Use ISO C style.
27104         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27105         semicolon.  Fix typo and formatting in comment.
27106         (_nl_unload_domain): Use ISO C style.
27108         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27110 2014-07-02  Will Newton  <will.newton@linaro.org>
27112         * malloc/obstack.c: Merge from gnulib master.
27113         [HAVE_CONFIG_H]: Remove conditional code.
27114         [!_LIBC]: Include config.h.
27115         [!ELIDE_CODE]: Don't include inttypes.h, include
27116         stdint.h unconditionally.
27117         (print_and_abort): Mark as _Noreturn.
27118         (_obstack_allocated_p): Mark as __attribute_pure__.
27119         (obstack_free): Rename to __obstack_free.
27120         [!__attribute__]: Remove conditional code.
27121         * malloc/obstack.h: Merge from gnulib master.
27122         [__cplusplus]: Move conditional down.
27123         [!__attribute_pure__]: Define __attribute_pure__ here
27124         if it is not already defined.
27125         (_obstack_memory_used): Mark as __attribute_pure__.
27126         [!__obstack_free]: Define as obstack_free.
27127         [__GNUC__]: Remove check for ancient NeXT gcc.
27129 2014-07-02  Will Newton  <will.newton@linaro.org>
27130             Paul Eggert  <eggert@cs.ucla.edu>
27132         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27134 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27136         * resolv/gethnamaddr.c: Add comment warning that the file is
27137         not maintained.
27139 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27141         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27142         entries.
27144         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27145         entry for aio_cancel and aio_cancel64.
27146         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27147         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27148         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27149         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27150         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27151         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27152         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27153         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27154         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27155         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27156         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27157         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27158         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27160 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27162         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27163         * nptl/pthread_mutex_lock.c: Likewise.
27164         * nptl/pthread_mutex_timedlock.c: Likewise.
27165         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27167 2014-07-01  Richard henderson  <rth@redhat.com>
27169         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27170         (__isnan, __isnanl): Remove.
27171         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27173         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27175 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27179 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27181         * resolv/nss_dns/dns-host.c (getanswer_r)
27182         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27184 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27187         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27188         undefine.
27189         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27190         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27192 2014-07-01  Roland McGrath <roland@hack.frob.com>
27194         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27195         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27197         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27198         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27200         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27201         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27202         ... here.
27203         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27204         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27206         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27207         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27208         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27209         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27211         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27212         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27213         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27214         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27215         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27216         Moved ...
27217         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27218         ... here.
27219         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27220         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27221         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27222         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27224         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27225         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27226         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27227         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27228         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27229         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27230         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27231         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27232         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27234         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27235         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27236         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27238         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27239         ... here.
27240         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27241         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27242         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27243         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27244         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27245         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27246         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27247         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27249 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27251         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27252         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27253         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27254         Add sysdep.
27256 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27260 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27262         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27263         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27265         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27267         * sysdeps/arm/libm-test-ulps: Regenerated.
27269 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27270             Roland McGrath <roland@hack.frob.com>
27272         * test-skeleton.c (signal_handler): Kill the whole process group
27273         before killing the child individually.
27274         (main): Report any failure on `setpgid'.
27276 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27278         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27279         from _TLS_H to _ARM_NPTL_TLS_H.
27280         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27281         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27283 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #16539]
27286         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27287         (__expm1l): Return argument unchanged when small but not
27288         subnormal.
27290         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27291         include macro name.
27292         (_FP_UNPACK_RAW_1_P): Likewise.
27293         (_FP_PACK_RAW_1): Likewise.
27294         (_FP_PACK_RAW_1_P): Likewise.
27295         (_FP_MUL_MEAT_1_wide): Likewise.
27296         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27297         (_FP_MUL_MEAT_1_hard): Likewise.
27298         (_FP_DIV_MEAT_1_imm): Likewise.
27299         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27300         (_FP_DIV_MEAT_1_udiv): Likewise.
27301         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27302         (_FP_UNPACK_RAW_2): Likewise.
27303         (_FP_UNPACK_RAW_2_P): Likewise.
27304         (_FP_PACK_RAW_2): Likewise.
27305         (_FP_PACK_RAW_2_P): Likewise.
27306         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27307         (_FP_MUL_MEAT_2_wide): Likewise.
27308         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27309         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27310         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27311         (_FP_MUL_MEAT_2_gmp): Likewise.
27312         (_FP_DIV_MEAT_2_udiv): Likewise.
27313         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27314         (_FP_FRAC_SRL_4): Likewise.
27315         (_FP_FRAC_SRST_4): Likewise.
27316         (_FP_FRAC_SRS_4): Likewise.
27317         (_FP_UNPACK_RAW_4): Likewise.
27318         (_FP_UNPACK_RAW_4_P): Likewise.
27319         (_FP_PACK_RAW_4): Likewise.
27320         (_FP_PACK_RAW_4_P): Likewise.
27321         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27322         (_FP_MUL_MEAT_4_wide): Likewise.
27323         (_FP_MUL_MEAT_4_gmp): Likewise.
27324         (umul_ppppmnnn): Likewise.
27325         (_FP_DIV_MEAT_4_udiv): Likewise.
27326         (__FP_FRAC_ADD_4): Likewise.
27327         (__FP_FRAC_SUB_3): Likewise.
27328         (__FP_FRAC_SUB_4): Likewise.
27329         (__FP_FRAC_DEC_3): Likewise.
27330         (__FP_FRAC_DEC_4): Likewise.
27331         (__FP_FRAC_ADDI_4): Likewise.
27332         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27333         (_FP_FRAC_SRL_8): Likewise.
27334         (_FP_FRAC_SRS_8): Likewise.
27336         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27337         include macro name.
27338         (FP_UNPACK_RAW_EP): Likewise.
27339         (FP_PACK_RAW_E): Likewise.
27340         (FP_PACK_RAW_EP): Likewise.
27341         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27342         (_FP_ISSIGNAN): Likewise.
27343         (_FP_ADD_INTERNAL): Likewise.
27344         (_FP_FMA): Likewise.
27345         (_FP_CMP): Likewise.
27346         (_FP_SQRT): Likewise.
27347         (_FP_TO_INT): Likewise.
27348         (_FP_FROM_INT): Likewise.
27349         (FP_EXTEND): Likewise.
27350         (_FP_DIV_MEAT_N_loop): Likewise.
27352 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27354         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27355         throughout.
27357 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27359         [BZ #17097]
27360         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27361         result with correct sign in case of exponents that produce
27362         overflow except for X very close to 1.
27364 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27366         mktime: merge #if/#ifdef usage from glibc
27367         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27368         as that works with both Glibc's and Gnulib's style.
27369         See thread starting at Siddhesh Poyarekar's bug report at:
27370         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27372 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27374         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27375         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27376         * sysdeps/tile/tilegx/memmove.c: Remove file.
27378 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27380         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27381         abi-name definition.
27382         * scripts/soversions.awk: Do not handle or generate ABI lines.
27383         * shlib-versions: Remove ABI entries.
27384         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27385         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27387 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27390         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27391         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27396         Moved ...
27397         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27398         ... here.
27399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27400         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27402         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27404         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27406         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27408         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27410         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27412         Moved ...
27413         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27415         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27417         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27418         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27419         Moved ...
27420         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27422         Moved ...
27423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27427         Moved ...
27428         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27430         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27432         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27434         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27436         Moved ...
27437         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27439         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27440         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27441         Moved ...
27442         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27444         Moved ...
27445         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27446         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27447         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27448         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27449         Moved ...
27450         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27451         ... here.
27452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27453         Identical file removed.
27454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27455         Moved ...
27456         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27458         Identical file removed.
27459         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27462         Moved ...
27463         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27465         Identical file removed.
27466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27467         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27468         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27469         Identical file removed.
27470         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27471         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27473         Identical file removed.
27474         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27475         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27477         Identical file removed.
27478         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27479         Moved ...
27480         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27481         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27482         Identical file removed.
27483         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27484         Moved ...
27485         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27487         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27489         Identical file removed.
27490         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27491         Moved ...
27492         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27493         ... here.
27494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27495         Identical file removed.
27496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27497         Moved ...
27498         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27500         Identical file removed.
27501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27502         Moved ...
27503         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27505         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27507         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27508         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27509         Moved ...
27510         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27511         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27512         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27514         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27515         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27516         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27517         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27518         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27520 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27522         [BZ #17092]
27523         * nscd/nscd.c (monitor_child): Return exit status of child
27524         instead of return value from wait syscall.
27526 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27528         * configure.ac (libc_commonpagesize): Remove variable.
27529         (libc_relro_required): Likewise.
27530         (libc_cv_z_relro): Remove configure test.
27531         * configure: Regenerated.
27532         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27533         variable.
27534         (libc_relro_required): Likewise.
27535         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27536         (libc_relro_required): Likewise.
27537         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27538         (libc_relro_required): Likewise.
27539         * sysdeps/arm/preconfigure: Regenerated.
27540         * sysdeps/ia64/preconfigure: Remove file.
27541         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27542         variable.
27543         (libc_relro_required): Likewise.
27545         [BZ #16561]
27546         [BZ #16562]
27547         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27548         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27549         recompute overflowing results in original rounding mode.
27550         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27551         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27552         recompute overflowing results in original rounding mode.
27553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27554         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27555         recompute overflowing results in original rounding mode.
27556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27557         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27558         recompute overflowing results in original rounding mode.
27559         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27560         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27561         recompute overflowing results in original rounding mode.
27562         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27563         (libc_feholdsetround_ctx): New macro.
27564         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27565         * sysdeps/i386/fpu/libm-test-ulps: Update.
27566         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27568 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27570         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27571         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27572         corresponding .cpsetup call.
27574 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27576         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27577         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27578         * sysdeps/arm/Makefile [$(subdir) = csu]
27579         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27580         (static-only-routines): Add aeabi_read_tp here.
27581         (shared-only-routines): Add libc-aeabi_read_tp here.
27582         (CFLAGS-libc-start.c): Add -fexceptions here.
27583         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27584         (sysdep_routines, static-only-routines, shared-only-routines):
27585         Don't add to these here.
27586         (CFLAGS-libc-start.c): Likewise.
27588         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27589         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27590         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27591         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27592         * sysdeps/arm/Makefile [$(subdir) = rt]
27593         (librt-sysdep_routines, librt-shared-only-routines):
27594         Append rt-aeabi_unwind_cpp_pr1 here.
27595         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27596         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27597         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27598         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27599         Append nptl-aeabi_unwind_cpp_pr1 here.
27600         (tests): Filter out tst-cleanupx4 here.
27601         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27602         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27603         Don't do those here.
27605 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27607         * scripts/list-sources.sh: Do not handle ports specially.
27609 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27611         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27612         * sysdeps/arm/feupdateenv.c: Likewise.
27614         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27616 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27618         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27619         trailing whitespace removed.
27620         * scripts/config.guess: Update to version 2014-03-23.
27621         * scripts/config.sub: Update to version 2014-05-01
27622         * scripts/install-sh: Update to version 2013-12-25.23.
27623         * scripts/move-if-change: Update from gnulib.
27625 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27627         * debug/memmove_chk.c: Remove pagecopy.h include.
27629 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27631         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27632         identical to gnulib mktime.
27634 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27636         * configure.ac: Do not test for machine being rs6000.  Do not test
27637         for powerpc*-*soft.
27638         * configure: Regenerated.
27640         [BZ #11505]
27641         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27642         test.
27643         * configure: Regenerated.
27644         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27645         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27646         Remove configure test.
27647         * sysdeps/arm/configure: Regenerated.
27648         * sysdeps/nptl/configure.ac: Do not check
27649         libc_cv_asm_cfi_directives.
27650         * sysdeps/nptl/configure: Regenerated.
27651         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27652         * sysdeps/x86_64/nptl/configure: Remove generated file.
27653         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27654         unconditional.
27655         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27657 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27659         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27660         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27661         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27662         it is defined.
27664         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27665         instead of whether it is defined.
27666         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27667         * sysdeps/hppa/dl-machine.h: Likewise.
27668         * sysdeps/ia64/dl-machine.h: Likewise.
27669         * sysdeps/m68k/dl-machine.h: Likewise.
27670         * sysdeps/microblaze/dl-machine.h: Likewise.
27671         * sysdeps/mips/dl-machine.: Likewise.
27672         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27673         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27674         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27675         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27676         * sysdeps/sh/dl-machine.h: Likewise.
27677         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27678         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27679         * sysdeps/tile/dl-machine.h: Likewise.
27680         * sysdeps/x86_64/dl-machine.h: Likewise.
27682         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27683         code.
27684         (verify_persistent_db): Likewise.
27686 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27689         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27691         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27693         Moved ...
27694         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27695         ... here.
27696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27697         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27699         Identical file removed.
27700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27703         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27705         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27709         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27711         Moved ...
27712         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27714         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27716         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27718         Moved ...
27719         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27721         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27723         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27725         Identical file removed.
27726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27727         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27729         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27731         Moved ...
27732         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27733         ... here.
27734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27735         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27737         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27739         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27741         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27743         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27745         Moved ...
27746         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27748         Moved ...
27749         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27751         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27753         Moved ...
27754         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27756         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27758         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27759         folded into ...
27760         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27761         * sysdeps/unix/sysv/linux/s390/Versions
27762         (libpthread: GLIBC_2.19): New version set.
27763         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27764         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27765         (librt: GLIBC_2.3.3): New version set.
27766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27767         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27768         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27769         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27770         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27772         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27774         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27775         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27776         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27777         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27778         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27779         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27780         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27782         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27784         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27786         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27788         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27789         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27790         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27792         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27794         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27795         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27796         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27797         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27798         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27801         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27802         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27804         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27806         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27808         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27810         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27812         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27813         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27814         (__libc_vfork): Define the function under this name.
27815         [!NOT_IN_libc] (__vfork): Make this an alias.
27816         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27818         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27819         (__libc_vfork): Define the function under this name.
27820         [!NOT_IN_libc] (__vfork): Make this an alias.
27821         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27822         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27823         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27826         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27828         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27829         code that was previously under [RESET_PID].
27830         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27831         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27834         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27835         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27836         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27837         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27838         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27839         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27840         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27841         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27842         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27843         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27844         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27845         Moved ...
27846         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27847         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27848         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27849         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27850         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27851         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27852         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27853         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27854         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27855         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27856         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27857         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27858         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27859         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27860         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27861         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27862         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27864         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27865         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27866         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27867         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27868         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27869         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27870         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27871         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27872         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27874         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27876 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27878         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27879         that was previously under [RESET_PID].
27880         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27882 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27884         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27885         not undefine and redefine.
27886         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27887         [O_CLOEXEC]: Make code unconditional.
27888         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27889         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27890         <kernel-features.h>.
27891         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27892         conditional variable definition.
27893         (shm_open) [O_CLOEXEC]: Make code unconditional.
27894         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27895         code.
27897         * configure.ac (USE_REGPARMS): Don't define here.
27898         * configure: Regenerated.
27899         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27900         * sysdeps/i386/configure: Regenerated.
27902         * nptl/createthread.c: Don't include kernel-features.h.
27903         * nptl/pthread_cancel.c: Likewise.
27904         * nptl/pthread_condattr_setclock.c: Likewise.
27905         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27906         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27907         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27908         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27909         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27910         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27911         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27914         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27915         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27916         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27917         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27918         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27919         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27920         * nscd/gai.c: Likewise.
27921         * nss/nss_db/db-open.c: Likewise.
27922         * sysdeps/generic/ldsodefs.h: Likewise.
27923         * sysdeps/sh/nptl/tls.h: Likewise.
27924         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27925         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27926         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27927         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27928         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27929         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27930         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27931         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27932         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27933         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27934         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27935         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27936         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27937         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27938         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27939         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27940         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27941         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27942         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27943         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27945         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27946         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27947         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27948         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27952         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27953         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27954         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27955         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27956         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27957         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27958         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27959         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27960         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27961         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27962         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27963         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27964         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27965         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27966         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27967         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27968         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27969         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27970         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27971         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27972         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27973         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27974         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27975         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27976         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27977         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27978         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27979         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27980         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27981         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28004         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28005         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28006         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28007         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28008         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28009         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28010         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28011         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28012         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28013         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28014         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28015         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28016         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28017         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28018         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28019         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28020         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28021         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28022         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28023         * sysdeps/unix/sysv/linux/system.c: Likewise.
28024         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28025         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28026         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28027         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28028         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28029         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28030         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28032         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28033         * configure: Regenerated.
28034         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28036         * configure.ac (base_machine): Do not set specially for particular
28037         machines here.
28038         * configure: Regenerated.
28039         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28040         settings from configure.ac.
28041         * sysdeps/i386/preconfigure: New file.
28042         * sysdeps/s390/preconfigure: Likewise.
28043         * sysdeps/sh/preconfigure: Likewise.
28044         * sysdeps/sparc/preconfigure: Likewise.
28046 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28048         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28049         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28050         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28051         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28052         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28053         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28054         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28055         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28056         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28057         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28058         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28059         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28060         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28061         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28062         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28063         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28064         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28065         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28066         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28068         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28069         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28070         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28071         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28072         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28073         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28074         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28075         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28076         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28077         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28078         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28079         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28080         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28081         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28082         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28083         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28084         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28085         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28086         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28087         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28088         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28089         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28091         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28092         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28093         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28094         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28095         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28096         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28097         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28098         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28099         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28100         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28101         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28102         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28103         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28104         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28105         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28108         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28110         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28112         Moved ...
28113         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28114         ... here.
28115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28116         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28118         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28120         Moved ...
28121         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28123         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28125         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28127         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28132         Moved ...
28133         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28135         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28137         Moved ...
28138         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28140         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28142         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28144         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28146         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28148         Moved ...
28149         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28150         ... here.
28151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28152         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28154         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28156         Moved ...
28157         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28159         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28161         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28163         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28165         Moved ...
28166         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28168         Moved ...
28169         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28171         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28173         Moved ...
28174         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28176         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28178         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28180 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28182         * timezone/checktab.awk: Update from tzcode 2014e.
28183         * timezone/private.h: Likewise.
28184         * timezone/tzfile.h: Likewise.
28185         * timezone/zdump.c: Likewise.
28186         * timezone/zic.c: Likewise.
28188         * sysdeps/unix/sysv/linux/kernel-features.h
28189         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28190         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28191         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28192         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28193         Remove conditional code.
28195 2014-06-25  Will Newton  <will.newton@linaro.org>
28197         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28198         (_dl_arm_cap_flags): Add HWCAP2 values.
28199         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28200         (_DL_HWCAP_COUNT): Increase to 37.
28201         (_DL_HWCAP_LAST): New define.
28202         (_DL_HWCAP2_LAST): New define.
28203         (_dl_procinfo): Add support for printing
28204         AT_HWCAP2 entries.
28205         (_dl_string_hwcap): Use _dl_hwcap_string.
28207 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28211 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28213         * README: Do not mention ports directory.
28215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28216         Remove macro.
28217         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28218         <kernel-features.h>.
28219         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28220         conditional variable definition.
28221         (__futimes): Update comment.
28222         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28223         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28225         [BZ #16560]
28226         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28227         arguments close to 0.
28228         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28229         Likewise.
28230         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28231         Likewise.
28232         * math/auto-libm-test-in: Add more tests of exp10.
28233         * math/auto-libm-test-out: Regenerated.
28234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28236         * sysdeps/unix/sysv/linux/kernel-features.h
28237         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28238         * sysdeps/unix/sysv/linux/readv.c: Do not include
28239         <kernel-features.h>.
28240         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28241         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28242         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28243         unconditional.
28244         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28245         conditional code.
28246         * sysdeps/unix/sysv/linux/writev.c: Do not include
28247         <kernel-features.h>.
28248         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28249         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28250         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28251         unconditional.
28252         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28253         conditional code.
28255 2014-06-25  Will Newton  <will.newton@linaro.org>
28257         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28258         comment changes throughout the file.  Remove checks
28259         for HAVE_*_H definitions that are not required.
28260         (__gen_tempname): Call abort if an unknown kind value is
28261         passed.
28263 2014-06-25  Andreas Schwab  <schwab@suse.de>
28265         [BZ #17086]
28266         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28267         scalbln, scalblnf, scalblnl in libc.
28269 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28271         [BZ #17086]
28272         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28273         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28274         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28276 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28278         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28279         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28280         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28281         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28282         Update #include.
28283         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28284         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28285         Update #include.
28286         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28288         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28289         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28290         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28291         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28292         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28293         * sysdeps/x86/bits/semaphore.h: ... here.
28294         * sysdeps/x86/nptl/elide.h: Moved ...
28295         * sysdeps/x86/elide.h: ... here.
28296         * sysdeps/x86_64/nptl/Implies: File removed.
28297         * sysdeps/i386/nptl/Implies: File removed.
28299 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28301         [BZ #16539]
28302         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28303         return the argument for normal arguments with exponent below -64.
28304         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28305         Likewise.
28306         * math/auto-libm-test-in: Add another test of expm1.
28307         * math/auto-libm-test-out: Regenerated.
28309         [BZ #16287]
28310         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28311         calling __erfcl for arguments at least 16.
28312         * math/auto-libm-test-in: Add more tests of erf.
28313         * math/auto-libm-test-out: Regenerated.
28315         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28316         individual architectures.
28317         * sysdeps/unix/sysv/linux/configure: Regenerated.
28318         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28319         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28320         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28321         (ldd_rewrite_script): Define variable.
28322         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28324         file.
28325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28326         generated file.
28327         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28328         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28329         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28330         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28331         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28332         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28333         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28334         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28336 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28338         [BZ #17084]
28339         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28340         Rename member __data.d to __data.__elision_data.
28342 2014-06-24  Wilco  <wdijkstr@arm.com>
28344         * NEWS: Add 16918 to fixed bug list.
28346 2014-06-24  Wilco  <wdijkstr@arm.com>
28348         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28350 2014-06-24  Wilco  <wdijkstr@arm.com>
28352         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28353         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28354         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28355         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28356         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28357         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28358         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28359         Use _FPU_MASK_RM.
28361 2014-06-24  Wilco  <wdijkstr@arm.com>
28363         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28365 2014-06-24  Wilco  <wdijkstr@arm.com>
28367         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28368         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28369         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28370         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28372 2014-06-24  Wilco  <wdijkstr@arm.com>
28374         [BZ #16918]
28375         * sysdeps/arm/feupdateenv.c (feupdateenv):
28376         Rewrite to reduce FPSCR accesses and fix return value.
28378 2014-06-24  Wilco  <wdijkstr@arm.com>
28380         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28381         Optimize to avoid unnecessary FPSCR writes.
28382         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28383         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28384         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28385         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28387 2014-06-24  Wilco  <wdijkstr@arm.com>
28389         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28390         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28391         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28392         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28393         Call libc_fetestexcept_vfp.
28394         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28395         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28396         __SOFTFP__ ifdef so that they can be built for softfp.
28398 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28401         argument type signed char.
28403         * Makerules (check-abi): Dump diff of symlist if the test
28404         fails.
28406 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28408         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28409         using abort.
28411         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28412         Remove unused variable ST.
28414 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28416         [BZ #16354]
28417         [BZ #17061]
28418         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28419         small arguments before calling __expm1.
28420         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28421         small arguments before calling __expm1f.
28422         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28423         small arguments before calling __expm1l.
28424         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28425         Likewise.
28426         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28427         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28428         spurious underflow for some cosh tests.
28429         * math/auto-libm-test-out: Regenerated.
28430         * sysdeps/i386/fpu/libm-test-ulps: Update.
28432         [BZ #17050]
28433         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28434         (__ieee754_y1): Set errno if return value overflows.
28435         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28436         (__ieee754_y1f): Set errno if return value overflows.
28437         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28438         (__ieee754_y1l): Set errno if return value overflows.
28439         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28440         (__ieee754_y1l): Set errno if return value overflows.
28441         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28442         * math/auto-libm-test-out: Regenerated.
28444         * math/gen-auto-libm-tests.c: Document use of
28445         ignore-zero-inf-sign.
28446         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28447         (input_flags): Add ignore-zero-inf-sign.
28448         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28449         * math/gen-libm-test.pl (generate_testfile): Handle
28450         ignore-zero-inf-sign.
28451         * math/auto-libm-test-in: Mark some cpow tests with
28452         ignore-zero-inf-sign and some with xfail-rounding.
28453         * math/auto-libm-test-out: Regenerated.
28454         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28455         * sysdeps/i386/fpu/libm-test-ulps: Update.
28456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28458         [BZ #16315]
28459         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28460         overflowing or underflowing operations take place with sign of
28461         result.
28462         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28463         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28464         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28465         (__ieee754_pow): Recompute overflowing and underflowing results in
28466         original rounding mode.
28467         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28468         (__powl_helper): Allow negative argument X and scale negated value
28469         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28470         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28471         overflowing or underflowing operations take place with sign of
28472         result.
28473         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28474         Include <math.h>.
28475         * math/auto-libm-test-in: Add more tests of pow.
28476         * math/auto-libm-test-out: Regenerated.
28477         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28478         (pow_tonearest_test_data): Remove.
28479         (pow_test_tonearest): Likewise.
28480         (pow_towardzero_test_data): Likewise.
28481         (pow_test_towardzero): Likewise.
28482         (pow_downward_test_data): Likewise.
28483         (pow_test_downward): Likewise.
28484         (pow_upward_test_data): Likewise.
28485         (pow_test_upward): Likewise.
28486         (main): Don't call removed functions.
28487         * sysdeps/i386/fpu/libm-test-ulps: Update.
28488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28490 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28493         Moved ...
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28496         Moved ...
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28499         Moved ...
28500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28502         Moved ...
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28505         File removed.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28507         File removed.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28509         File removed.
28510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28511         File removed.
28512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28513         File removed.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28515         File removed.
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28517         File removed.
28518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28519         File removed.
28520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28521         File removed.
28522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28523         File removed.
28524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28525         File removed.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28527         File removed.
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28529         Moved ...
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28532         Moved ...
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28534         ... here.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28536         Moved ...
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28539         Moved ...
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28542         Moved ...
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28545         Moved ...
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28548         Moved ...
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28551         Moved ...
28552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28554         Moved ...
28555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28558         ... here.
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28560         Moved ...
28561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28563         Moved ...
28564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28565         ... here.
28566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28567         Moved ...
28568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28569         ... here.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28571         Moved ...
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28573         ... here.
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28575         Moved ...
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28578         Moved ...
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28583         Moved ...
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28585         ... here.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28587         Moved ...
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28589         ... here.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28591         Moved ...
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28594         Moved ...
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28600         Moved ...
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28603         Moved ...
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28605         ... here.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28607         Moved ...
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28610         Moved ...
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28613         Moved ...
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28616         Moved ...
28617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28621         Moved ...
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28624         Moved ...
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28627         Moved ...
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28629         ... here.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28631         Moved ...
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28633         ... here.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28635         Moved ...
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28637         ... here.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28639         Moved ...
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28642         Moved ...
28643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28645         Moved ...
28646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28648         Moved ...
28649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28650         ... here.
28651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28652         Moved ...
28653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28654         ... here.
28655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28656         Moved ...
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28658         ... here.
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28660         Moved ...
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28663         Moved ...
28664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28666 2014-06-23  Will Newton  <will.newton@linaro.org>
28667             Wilco  <wdijkstr@arm.com>
28669         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28670         implementation.  Include get-rounding-mode.h.
28671         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28672         [!libc_feholdsetround_noex_ctx]: Define
28673         libc_feholdsetround_noex_ctx.
28674         [!libc_feholdsetround_noexf_ctx]: Define
28675         libc_feholdsetround_noexf_ctx.
28676         [!libc_feholdsetround_noexl_ctx]: Define
28677         libc_feholdsetround_noexl_ctx.
28678         (libc_feholdsetround_ctx): New function.
28679         (libc_feresetround_ctx): New function.
28680         (libc_feholdsetround_noex_ctx): New function.
28681         (libc_feresetround_noex_ctx): New function.
28683 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28685         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28686         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28687         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28688         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28689         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28690         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28692         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28693         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28694         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28695         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28696         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28697         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28698         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28699         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28700         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28701         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28702         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28703         Moved ...
28704         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28705         ... here.
28706         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28707         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28709         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28710         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28711         Moved ...
28712         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28714         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28716         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28720         Moved ...
28721         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28723         Moved ...
28724         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28733         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28734         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28735         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28736         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28737         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28738         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28739         Moved ...
28740         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28741         ... here.
28742         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28743         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28744         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28745         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28746         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28747         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28749         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28751         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28755         Moved ...
28756         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28758         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28759         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28760         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28761         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28762         Moved ...
28763         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28767         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28769         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28770         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28771         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28778         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28780         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28781         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28786         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28787         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28788         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28789         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28790         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28791         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28792         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28793         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28794         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28795         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28796         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28798 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28801         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28802         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28803         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28804         (IPV6_PMTUDISC_INTERFACE): Likewise.
28805         (IPV6_PMTUDISC_OMIT): Likewise.
28807 2014-06-23  Andreas Schwab  <schwab@suse.de>
28809         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28810         Remove unused errout label.
28812 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28814         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28815         macro: hardware supports Vector Crypto instructions.
28817 2014-06-23  Will Newton  <will.newton@linaro.org>
28819         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28820         rather than __builtin_expect.
28822         * elf/dl-lookup.c (undefined_msg): Remove variable.
28823         (_dl_lookup_symbol_x): Replace undefined_msg with string
28824         literal.
28826         * elf/dl-lookup.c (do_lookup_unique): New function.
28827         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28828         to a separate function.
28830 2014-06-23  Andreas Schwab  <schwab@suse.de>
28832         [BZ #17079]
28833         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28834         before reading the next line.
28836 2014-06-23  Will Newton  <will.newton@linaro.org>
28838         * test-skeleton.c (signal_handler): Use printf and %m
28839         rather than perror.  Use printf rather than fprintf to
28840         stderr.  Use puts rather than fputs to stderr.
28841         (main): Likewise.
28843 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28845         * nscd/nscd.c (thread_info_t): Remove typedef.
28846         (thread_info): Remove variable.
28848 2014-06-21  Allan McRae  <allan@archlinux.org>
28850         * NEWS: Mention CVE-2014-4043.
28852 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28854         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28855         * nptl/smp.h: ... here.
28857         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28859         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28860         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28861         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28862         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28864         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28865         * nptl/stack-aliasing.h: New file.
28866         * sysdeps/i386/i686/stack-aliasing.h: New file.
28867         * sysdeps/i386/i686/nptl/Makefile: File removed.
28868         * sysdeps/x86_64/stack-aliasing.h: New file.
28869         * sysdeps/x86_64/nptl/Makefile
28870         (CFLAGS-pthread_create.c): Variable removed.
28872         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28873         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28874         old file.
28875         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28876         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28877         old file.
28879 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28881         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28882         (__ASSUME_SIGFRAME_V2): Remove macro.
28883         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28884         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28885         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28886         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28887         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28888         Declare as function.  Remove conditional macro definitions.
28889         (__default_rt_sa_restorer): Likewise.
28890         (__default_sa_restorer_v1): Remove declaration.
28891         (__default_sa_restorer_v2): Likewise.
28892         (__default_rt_sa_restorer_v1): Likewise.
28893         (__default_rt_sa_restorer_v2): Likewise.
28894         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28895         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28896         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28898 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28900         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28901         (libpthread-routines): Add sysdep.
28902         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28903         * sysdeps/unix/sysv/linux/sparc/Versions
28904         (libpthread: GLIBC_2.3.3): New version set.
28905         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28906         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28907         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28908         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28909         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28910         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28911         Moved ...
28912         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28914         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28916         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28917         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28918         * sysdeps/sparc/nptl/sem_init.c: ... here.
28919         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28920         * sysdeps/sparc/nptl/sem_post.c: ... here.
28921         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28922         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28923         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28924         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28925         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28927         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28928         (libpthread-routines): Add cpu_relax.
28929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28930         File removed.
28931         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28932         (librt: GLIBC_2.3.3): New version set.
28933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28934         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28935         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28936         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28939         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28941         Moved ...
28942         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28944         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28946         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28948         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28950         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28952         Moved ...
28953         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28954         Update #include.
28955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28956         Moved ...
28957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28958         Update #include.
28959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28960         Moved ...
28961         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28962         Update #include.
28963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28964         Moved ...
28965         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28966         Update #include.
28967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28968         Moved ...
28969         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28970         Update #include.
28971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28972         Moved ...
28973         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28974         Update #include.
28975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28976         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28978         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28982         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28984         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28986         Moved ...
28987         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28989         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28991         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28993 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28995         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28996         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28997         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28998         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28999         * nscd/nscd.c: Likewise.
29000         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29001         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29002         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29003         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29005         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29006         <kernel-features.h>.
29007         (init_mq_netlink): Remove conditional have_sock_cloexec
29008         definitions.  Remove code conditional on have_sock_cloexec < 0.
29009         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29010         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29011         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29012         <kernel-features.h>.
29013         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29014         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29016 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29019         Add tests for memset_chk and memset.
29021         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29022         with AVX2_Usable.
29024 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29026         [BZ #16046]
29027         * elf/tst-dl-iter-static.c: New file.
29028         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29030         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29031         error.
29033 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29035         * sysdeps/unix/sysv/linux/kernel-features.h
29036         (__ASSUME_F_GETOWN_EX): Remove macro.
29037         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29038         <kernel-features.h>.
29039         (miss_F_GETOWN_EX): Remove variable or macro.
29040         (do_fcntl): Do not check miss_F_GETOWN_EX.
29041         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29044         Remove macro.
29045         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29046         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29047         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29049         * sysdeps/unix/sysv/linux/kernel-features.h
29050         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29051         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29052         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29053         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29055 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29057         [BZ #17075]
29058         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29059         Fix calculation of the symbol's value.
29060         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29061         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29062         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29063         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29064         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29065         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29066         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29067         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29068         (modules-names): Add `tst-armtlsdescmod',
29069         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29070         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29071         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29072         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29073         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29074         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29075         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29076         ($(objpfx)tst-armtlsdescloc): New dependency.
29077         ($(objpfx)tst-armtlsdescextnow): Likewise.
29078         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29079         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29080         TLS scheme support.
29081         * sysdeps/arm/configure: Regenerate.
29083 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29085         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29086         (__atfct_seterrno_2): Likewise.
29087         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29088         <kernel-features.h>.
29089         (__ASSUME_ATFCTS): Do not undefine and redefine.
29090         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29091         (__have_atfcts): Remove conditional definition.
29092         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29093         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29094         unreachable if [__ASSUME_ATFCTS].
29095         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29096         not undefine and redefine.
29097         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29098         <kernel-features.h>.
29099         (faccessat) [__NR_faccessat]: Make code unconditional.
29100         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29101         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29102         <kernel-features.h>.
29103         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29104         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29105         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29106         <kernel-features.h>.
29107         (fchownat) [__NR_fchownat]: Make code unconditional.
29108         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29109         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29110         <kernel-features.h>.
29111         (futimesat) [__NR_futimesat]: Make code unconditional.
29112         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29113         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29114         <kernel-features.h>.
29115         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29116         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29117         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29118         <kernel-features.h>.
29119         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29120         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29121         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29122         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29123         <kernel-features.h>.
29124         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29125         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29126         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29127         <kernel-features.h>.
29128         (linkat) [__NR_linkat]: Make code unconditional.
29129         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29130         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29131         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29132         <kernel-features.h>.
29133         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29134         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29135         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29136         <kernel-features.h>.
29137         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29138         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29139         * sysdeps/unix/sysv/linux/openat.c: Do not include
29140         <kernel-features.h>.
29141         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29142         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29143         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29144         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29145         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29146         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29147         <kernel-features.h>.
29148         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29149         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29150         result of INLINE_SYSCALL directly, not via int variable.
29151         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29152         <kernel-features.h>.
29153         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29154         (renameat) [__NR_renameat]: Make code unconditional.
29155         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29156         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29157         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29158         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29159         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29160         (__ASSUME_ATFCTS): Do not undefine and redefine.
29161         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29162         <kernel-features.h>.
29163         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29164         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29165         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29166         <kernel-features.h>.
29167         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29168         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29169         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29170         (__ASSUME_ATFCTS): Do not undefine and redefine.
29171         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29172         <kernel-features.h>.
29173         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29174         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29175         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29176         <kernel-features.h>.
29177         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29178         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29180 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29184 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29186         [BZ #17069]
29187         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29188         constructed tree before returning error.
29189         * posix/bug-regexp36.c: Expand test case.
29191 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29193         [BZ #6803]
29194         * math/libm-test.inc (scalbln_test_date):
29195         Add errno expectations.
29196         * math/w_scalblnf.c: New File.
29197         Add wrapper which checks for setting errno to ERANGE.
29198         Add weak_alias for corresponding scalbln function.
29199         * math/w_scalbln.c: Likewise.
29200         * math/w_scalblnl.c: Likewise.
29201         * math/Makefile (libm-calls): Add w_scalbln.
29202         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29203         Remove weak_alias for corresponding scalbln function.
29204         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29206         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29207         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29208         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29209         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29210         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29211         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29212         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29213         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29214         Remove long_double_symbol for scalblnl function in libm, libc.
29215         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29216         Add wrapper which checks for setting errno to ERANGE.
29217         Add long_double_symbol for scalblnl function in libm, libc.
29218         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29219         Remove long_double_symbol for scalblnl in libm.
29220         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29221         Add wrapper which checks for setting errno to ERANGE.
29222         Add long_double_symbol for scalblnl function in libm.
29223         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29224         Do not use wrapper because of own implementation.
29226 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29228         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29229         3 bytes for __pad1 for x32.
29230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29232 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29233             H.J. Lu  <hongjiu.lu@intel.com>
29235         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29236         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29237         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29238         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29239         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29241 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29243         [BZ #17069]
29244         * posix/regcomp.c (parse_expression): Deallocate partially
29245         constructed tree before returning error.
29246         * posix/Makefile.c (tests): Add bug-regex36.
29247         (generated): Add bug-regex36.mtrace.
29248         (tests-special): Add $(objpfx)bug-regex36-mem.out
29249         (bug-regex36-ENV): New variable.
29250         ($(objpfx)bug-regex36-mem.out): New rule.
29251         * posix/bug-regex36.c: New file.
29253 2014-06-19  Will Newton  <will.newton@linaro.org>
29255         * malloc/malloc.c (systrim): If extra is zero then return
29256         early.
29258 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29260         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29262 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29264         * sysdeps/aarch64/strchr.S: New file.
29266 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29268         [BZ #17022]
29269         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29270         from arguments -2 or below.
29271         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29272         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29274 2014-06-18  Andreas Schwab  <schwab@suse.de>
29276         [BZ #17062]
29277         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29278         of a bracket expr not to run off the end of the string.
29279         * posix/Makefile (tests): Add tst-fnmatch3.
29280         * posix/tst-fnmatch3.c: New file.
29282 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29284         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29285         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29286         [$(cross-compiling) = no]: Likewise.
29287         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29288         [$(cross-compiling) = no]: Likewise.
29290 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29292         [BZ #17031]
29293         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29294         double, adjusted for any remainder from the high double.
29295         * math/libm-test.inc (nearbyint): Add tests.
29296         (rint): Likewise.
29298 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29300         * nptl/sysdeps/powerpc/Makefile: Moved ...
29301         * sysdeps/powerpc/nptl/Makefile: ... here.
29302         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29303         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29304         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29305         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29306         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29307         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29308         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29309         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29310         * nptl/sysdeps/powerpc/tls.h: Moved ...
29311         * sysdeps/powerpc/nptl/tls.h: ... here.
29313 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29315         [BZ #16681]
29316         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29317         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29318         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29319         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29320         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29321         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29322         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29323         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29324         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29326 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29328         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29330 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29332         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29333         defined operator.
29335         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29336         $TIMEOUTFACTOR.
29338 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29340         [BZ #17058]
29341         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29342         non-executed part of the test.
29344 2014-06-16  Andreas Schwab  <schwab@suse.de>
29346         * string/bits/string2.h (strdup, strndup): Update feature guard.
29348 2014-06-14  David S. Miller  <davem@davemloft.net>
29350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29352 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29354         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29355         that was previously under [RESET_PID].
29356         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29358         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29359         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29360         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29361         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29362         (__libc_vfork): New strong alias.
29363         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29365 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29367         * sysdeps/generic/elide.h: New file.
29369 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29371         * Makefile (installed-headers): Adjust path of pthread.h header.
29373 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29375         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29376         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29377         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29378         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29380         * nptl/sysdeps/s390/Makefile: Moved ...
29381         * sysdeps/s390/nptl/Makefile: ... here.
29382         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29383         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29384         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29385         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29386         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29387         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29388         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29389         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29390         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29391         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29392         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29393         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29394         * nptl/sysdeps/s390/tls.h: Moved ...
29395         * sysdeps/s390/nptl/tls.h: ... here.
29397         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29398         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29400 2014-06-13  David S. Miller  <davem@davemloft.net>
29402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29405         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29409         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29410         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29411         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29412         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29413         Remove RESET_PID cpp guards.
29414         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29415         Remove RESET_PID cpp guards.
29416         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29418 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29420         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29421         __sp to uintptr_t.
29423 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29426         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29427         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29428         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29429         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29432         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29433         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29434         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29437         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29438         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29439         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29440         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29441         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29442         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29443         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29444         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29446         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29447         (pthread_rwlock_rdlock): Add elision.
29448         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29449         (pthread_rwlock_wrlock): Add elision.
29450         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29451         (pthread_rwlock_trywrlock): Add elision.
29452         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29453         (pthread_rwlock_tryrdlock): Add elision.
29454         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29455         (pthread_rwlock_tryrdlock): Add elision unlock.
29456         * nptl/sysdeps/pthread/pthread.h:
29457         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29458         (PTHREAD_RWLOCK_INITIALIZER,
29459         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29460         Handle new elision field.
29461         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29462         * sysdeps/arm/nptl/bits/pthreadtypes.h
29463         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29464         * sysdeps/sh/nptl/bits/pthreadtypes.h
29465         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29466         * sysdeps/tile/nptl/bits/pthreadtypes.h
29467         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29468         * sysdeps/a/nptl/bits/pthreadtypes.h
29469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29470         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29472         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29474         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29476         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29478         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29480         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29482         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29484         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29486         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29487         (elision_init): Set try_xbegin to zero when no RTM.
29488         * sysdeps/x86/nptl/bits/pthreadtypes.h
29489         (pthread_rwlock_t): Change __pad1 to __rwelision.
29490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29492 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29494         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29495         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29496         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29497         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29499 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29501         [BZ #16996]
29502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29503         that the cached result has been set before returning it.
29505 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29507         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29508         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29509         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29510         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29511         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29512         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29514         * nptl/sysdeps/sparc/Makefile: Moved ...
29515         * sysdeps/sparc/nptl/Makefile: ... here.
29516         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29517         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29518         * nptl/sysdeps/sparc/tls.h: Moved ...
29519         * sysdeps/sparc/nptl/tls.h: ... here.
29520         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29521         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29522         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29523         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29524         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29525         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29526         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29527         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29528         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29529         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29530         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29531         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29532         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29533         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29534         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29535         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29536         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29537         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29538         Update #include.
29539         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29540         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29541         Update #include.
29542         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29543         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29544         Update #include.
29545         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29547         Update #include.
29549         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29551         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29552         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29554         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29555         (struct list_links): Type removed.
29556         (struct thread_node, struct timer_node): Replace struct list_links
29557         with struct list_head.
29558         (list_unlink_ip): Likewise.
29559         * sysdeps/pthread/timer_routines.c
29560         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29561         (list_append, list_insbefore): Likewise.
29562         (list_init): Function removed.
29563         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29564         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29565         * sysdeps/pthread/Makefile: ... here, new file.
29567         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29568         * sysdeps/nptl/Implies: ... here.
29569         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29570         * nptl/sysdeps/pthread/list.h: Moved ...
29571         * include/list.h: ... here.
29572         * nptl/sysdeps/pthread/createthread.c: Moved ...
29573         * nptl/createthread.c: ... here.
29574         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29575         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29576         * nptl/pt-longjmp.c: ... here.
29577         * nptl/sysdeps/pthread/Makefile: Moved ...
29578         * sysdeps/nptl/Makefile: ... here.
29579         * nptl/sysdeps/pthread/Subdirs: Moved ...
29580         * sysdeps/nptl/Subdirs: ... here.
29581         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29582         * sysdeps/nptl/aio_misc.h: ... here.
29583         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29584         * sysdeps/nptl/bits/libc-lock.h: ... here.
29585         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29586         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29587         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29588         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29589         * nptl/sysdeps/pthread/configure: Moved ...
29590         * sysdeps/nptl/configure: ... here.
29591         * nptl/sysdeps/pthread/configure.ac: Moved ...
29592         * sysdeps/nptl/configure.ac: ... here.
29593         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29594         * sysdeps/nptl/gai_misc.h: ... here.
29595         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29596         * sysdeps/nptl/librt-cancellation.c: ... here.
29597         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29598         * sysdeps/nptl/malloc-machine.h: ... here.
29599         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29600         * sysdeps/nptl/pthread-functions.h: ... here.
29601         * nptl/sysdeps/pthread/pthread.h: Moved ...
29602         * sysdeps/nptl/pthread.h: ... here.
29603         * nptl/sysdeps/pthread/setxid.h: Moved ...
29604         * sysdeps/nptl/setxid.h: ... here.
29605         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29606         * sysdeps/nptl/sigfillset.c: ... here.
29607         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29608         * sysdeps/nptl/tcb-offsets.h: ... here.
29609         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29610         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29611         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29612         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29613         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29614         * sysdeps/pthread/allocalim.h: ... here.
29615         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29616         * sysdeps/pthread/bits/sigthread.h: ... here.
29617         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29618         * sysdeps/pthread/flockfile.c: ... here.
29619         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29620         * sysdeps/pthread/ftrylockfile.c: ... here.
29621         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29622         * sysdeps/pthread/funlockfile.c: ... here.
29623         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29624         * sysdeps/pthread/posix-timer.h: ... here.
29625         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29626         * sysdeps/pthread/timer_create.c: ... here.
29627         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29628         * sysdeps/pthread/timer_delete.c: ... here.
29629         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29630         * sysdeps/pthread/timer_getoverr.c: ... here.
29631         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29632         * sysdeps/pthread/timer_gettime.c: ... here.
29633         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29634         * sysdeps/pthread/timer_routines.c: ... here.
29635         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29636         * sysdeps/pthread/timer_settime.c: ... here.
29637         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29638         * sysdeps/pthread/tst-timer.c: ... here.
29639         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29640         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29642         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29643         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29645         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29646         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29647         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29648         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29649         Update #include target.
29650         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29651         * sysdeps/i386/i686/nptl/Makefile: ... here.
29652         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29653         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29654         Update #include target.
29655         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29656         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29657         * nptl/sysdeps/i386/Makefile: Moved ...
29658         * sysdeps/i386/nptl/Makefile: ... here.
29659         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29660         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29661         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29662         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29663         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29664         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29665         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29666         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29667         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29668         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29669         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29670         * nptl/sysdeps/i386/tls.h: Moved ...
29671         * sysdeps/i386/nptl/tls.h: ... here.
29673         * sysdeps/sh/Makefile [$(subdir) = csu]
29674         (gen-as-const-headers): Add tcb-offsets.sym.
29675         * nptl/sysdeps/sh/Makefile: File removed.
29676         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29677         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29678         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29679         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29680         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29681         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29682         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29683         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29684         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29685         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29686         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29687         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29688         * nptl/sysdeps/sh/tls.h: Moved ...
29689         * sysdeps/sh/nptl/tls.h: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29691         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29693         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29694         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29695         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29696         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29697         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29698         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29699         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29700         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29701         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29702         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29703         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29704         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29705         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29707         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29709         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29711         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29713         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29714         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29715         Moved ...
29716         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29717         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29718         Moved ...
29719         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29721         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29723         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29724         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29725         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29726         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29727         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29728         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29729         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29730         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29731         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29732         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29733         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29735         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29737         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29739 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29741         * posix/spawn_faction_addopen.c: Include string.h.
29743 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29745         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29746         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29747         * nptl/sysdeps/x86_64/Makefile: Moved ...
29748         * sysdeps/x86_64/nptl/Makefile: ... here.
29749         * nptl/sysdeps/x86_64/configure: Moved ...
29750         * sysdeps/x86_64/nptl/configure: ... here.
29751         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29752         * sysdeps/x86_64/nptl/configure.ac: ... here.
29753         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29754         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29755         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29756         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29757         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29758         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29759         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29760         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29761         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29762         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29763         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29764         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29765         * nptl/sysdeps/x86_64/tls.h: Moved ...
29766         * sysdeps/x86_64/nptl/tls.h: ... here.
29767         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29768         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29769         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29770         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29772         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29774 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29778 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29780         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29781         type.
29782         [POSIX] (off_t): Likewise.
29783         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29784         [POSIX] (S_ISBLK): Require macro.
29785         [POSIX] (S_ISCHR): Likewise.
29786         [POSIX] (S_ISDIR): Likewise.
29787         [POSIX] (S_ISFIFO): Likewise.
29788         [POSIX] (S_ISREG): Likewise.
29789         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29790         optional-macro.
29791         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29792         type.
29793         [POSIX] (time_t): Likewise.
29794         [POSIX] (timer_t): Likewise.
29796 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29798         [BZ #17048]
29799         * posix/spawn_int.h (struct __spawn_action): Make the path string
29800         non-const to support deallocation.
29801         * posix/spawn_faction_addopen.c
29802         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29803         * posix/spawn_faction_destroy.c
29804         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29805         path in all spawn_do_open actions.
29806         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29807         posix_spawn_file_actions_addopen.
29809 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29811         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29812         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29813         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29814         conditional code always true.
29815         (__libc_vfork): New alias.
29817 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29819         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29820         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29822         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29824         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29825         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29827         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29828         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29830         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29831         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29833 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29835         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29836         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29837         multiarch strcmp for PPC64.
29838         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29839         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29841         multiarch optimizations.
29842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29843         (__libc_ifunc_impl_list): Likewise.
29845 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29847         * benchtests/scripts/validate_benchout.py: New script.
29848         * benchtests/Makefile (bench-func): Call it.
29849         * benchtests/scripts/benchout.schema.json: New file.
29851 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29853         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29854         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29855         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29856         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29857         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29858         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29859         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29860         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29861         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29862         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29863         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29864         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29865         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29866         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29867         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29868         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29870         Moved ...
29871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29872         ... here.
29873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29874         Moved ...
29875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29877         Moved ...
29878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29879         ... here.
29880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29881         Moved ...
29882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29883         ... here.
29884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29885         Moved ...
29886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29888         Moved ...
29889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29890         ... here.
29891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29892         Moved ...
29893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29894         ... here.
29895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29896         Moved ...
29897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29899         Moved ...
29900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29901         ... here.
29902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29903         Moved ...
29904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29905         ... here.
29906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29907         Moved ...
29908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29909         ... here.
29910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29911         Moved ...
29912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29914         Moved ...
29915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29916         ... here.
29917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29918         Moved ...
29919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29920         ... here.
29921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29922         Moved ...
29923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29924         ... here.
29925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29929         Moved ...
29930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29931         ... here.
29932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29933         Moved ...
29934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29935         ... here.
29936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29937         Moved ...
29938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29940         Moved ...
29941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29942         ... here.
29943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29944         Moved ...
29945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29947         Moved ...
29948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29952         ... here.
29953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29954         Moved ...
29955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29956         ... here.
29957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29958         Moved ...
29959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29960         ... here.
29961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29962         Moved ...
29963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29965         Moved ...
29966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29967         ... here.
29968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29969         Moved ...
29970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29971         ... here.
29972         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29973         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29974         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29975         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29976         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29977         Moved ...
29978         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29979         ... here.
29980         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29981         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29982         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29983         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29985         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29987         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29988         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29989         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29990         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29991         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29993         Moved ...
29994         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29996         Moved ...
29997         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29999         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30001         Moved ...
30002         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30004         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30005         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30006         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30007         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30008         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30010 2014-06-10  Wilco  <wdijkstr@arm.com>
30012         * math/test-fenv-return.c: New file.
30013         * math/Makefile: Add new test test-fenv-return.
30015 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30017         [BZ #17042]
30018         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30019         when x - 1 is zero.
30020         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30021         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30022         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30023         0.0L for an argument of 1.0L.
30024         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30025         Likewise.
30026         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30027         value when x - 1 is zero.
30028         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30029         * sysdeps/i386/fpu/libm-test-ulps: Update.
30030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30032 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30034         [BZ #15119]
30035         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30037 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30039         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30040         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30042 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30044         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30045         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30047         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30048         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30050         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30051         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30053         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30054         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30056         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30057         if not already defined.
30058         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30059         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30060         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30061         (TLS_INIT_TP): Use it.
30062         (TLS_DEFINE_INIT_TP): New macro.
30063         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30065 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30067         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30068         constant.
30069         [POSIX] (IXANY): Likewise.
30070         [POSIX] (OLCUC): Likewise.
30071         [POSIX || POSIX2008] (CBAUD): Do not allow.
30072         [POSIX || POSIX2008] (DEFECHO): Likewise.
30073         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30074         [POSIX || POSIX2008] (ECHOKE): Likewise.
30075         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30076         [POSIX || POSIX2008] (EXTA): Likewise.
30077         [POSIX || POSIX2008] (EXTB): Likewise.
30078         [POSIX || POSIX2008] (FLUSHO): Likewise.
30079         [POSIX || POSIX2008] (LOBLK): Likewise.
30080         [POSIX || POSIX2008] (PENDIN): Likewise.
30081         [POSIX || POSIX2008] (SWTCH): Likewise.
30082         [POSIX || POSIX2008] (VDISCARD): Likewise.
30083         [POSIX || POSIX2008] (VDSUSP): Likewise.
30084         [POSIX || POSIX2008] (VLNEXT): Likewise.
30085         [POSIX || POSIX2008] (VREPRINT): Likewise.
30086         [POSIX || POSIX2008] (VSTATUS): Likewise.
30087         [POSIX || POSIX2008] (VWERASE): Likewise.
30088         (B*): Change to B[0123456789]*.
30089         * conform/data/time.h-data [POSIX || UNIX98]
30090         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30091         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30092         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30093         [POSIX] (tm_*): Do not allow.
30095 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30097         * Makefile (install): Don't set LANGUAGE.
30098         * Makefile.in (install): Likewise.
30099         * assert/Makefile (test-assert-ENV): Remove variable.
30100         (test-assert-perr-ENV): Likewise.
30101         * elf/Makefile (neededtest4-ENV): Likewise.
30102         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30103         [$(cross-compiling) = no]: Don't set LANGUAGE.
30104         * io/ftwtest-sh (LANG): Remove variable.
30105         * libio/Makefile (tst-widetext-ENV): Likewise.
30106         * manual/install.texi (Running make install): Don't refer to
30107         environment settings for make install.
30108         * INSTALL: Regenerated.
30109         * nptl/tst-tls6.sh: Don't set LANG.
30110         * posix/globtest.sh (LANG): Remove variable.
30111         * string/Makefile (tester-ENV): Likewise.
30112         (inl-tester-ENV): Likewise.
30113         (noinl-tester-ENV): Likewise.
30114         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30115         [$(cross-compiling) = no]: Don't set LANGUAGE.
30116         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30117         without explicit environment settings.
30119 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30121         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30122         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30123         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30124         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30126 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30128         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30129         other files in the crypt directory.
30130         * crypt/crypt.c: Remove duplicate includes.
30131         * crypt/crypt-entry.c: Likewise.
30132         * crypt/crypt_util.c: Likewise.
30134 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30136         * Makeconfig (run-program-env): New variable.
30137         (run-program-prefix-before-env): Likewise.
30138         (run-program-prefix-after-env): Likewise.
30139         (run-program-prefix): Define in terms of new variables.
30140         (built-program-cmd-before-env): New variable.
30141         (built-program-cmd-after-env): Likewise.
30142         (built-program-cmd): Define in terms of new variables.
30143         (test-program-prefix-before-env): New variable.
30144         (test-program-prefix-after-env): Likewise.
30145         (test-program-prefix): Define in terms of new variables.
30146         (test-program-cmd-before-env): New variable.
30147         (test-program-cmd-after-env): Likewise.
30148         (test-program-cmd): Define in terms of new variables.
30149         * Rules (make-test-out): Use $(run-program-env).
30150         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30151         (help): Do not mention environment variables.  Mention
30152         --timeoutfactor option.
30153         (timeoutfactor): New variable.
30154         (blacklist_exports): Remove function.
30155         (exports): Remove variable.
30156         (command): Do not include ${exports}.
30157         * manual/install.texi (Configuring and compiling): Do not mention
30158         test wrappers preserving environment variables.  Mention that last
30159         assignment to a variable must take precedence.
30160         * INSTALL: Regenerated.
30161         * benchtests/Makefile (run-bench): Use $(run-program-env).
30162         * catgets/Makefile ($(objpfx)test1.cat): Use
30163         $(built-program-cmd-before-env), $(run-program-env) and
30164         $(built-program-cmd-after-env).
30165         ($(objpfx)test2.cat): Do not specify environment variables
30166         explicitly.
30167         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30168         $(run-program-env) and $(built-program-cmd-after-env).
30169         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30170         $(run-program-env) and $(test-program-cmd-after-env).
30171         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30172         explicitly.
30173         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30174         run_program_env and test_program_cmd_after_env arguments.
30175         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30176         * elf/tst-pathopt.sh: Use run_program_env argument.
30177         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30178         $(test-wrapper-env) and $(run-program-env).
30179         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30180         run_program_env arguments.
30181         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30182         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30183         $(test-program-prefix-before-env), $(run-program-env) and
30184         $(test-program-prefix-after-env).
30185         ($(objpfx)tst-gettext2.out): Likewise.
30186         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30187         run_program_env and test_program_prefix_after_env arguments.
30188         * intl/tst-gettext2.sh: Likewise.
30189         * intl/tst-gettext4.sh: Do not set environment variables
30190         explicitly.
30191         * intl/tst-gettext6.sh: Likewise.
30192         * intl/tst-translit.sh: Likewise.
30193         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30194         $(test-program-prefix-before-env), $(run-program-env) and
30195         $(test-program-prefix-after-env).
30196         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30197         run_program_env and test_program_prefix_after_env arguments.
30198         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30199         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30200         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30201         explicitly with each use of ${test_wrapper_env}.
30202         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30203         $(test-program-prefix-before-env), $(run-program-env) and
30204         $(test-program-prefix-after-env).
30205         * posix/tst-getconf.sh: Do not set environment variables
30206         explicitly.
30207         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30208         run_program_env and test_program_prefix_after_env arguments.
30209         * stdio-common/tst-printf.sh: Do not set environment variables
30210         explicitly.
30211         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30212         $(test-program-prefix-before-env), $(run-program-env) and
30213         $(test-program-prefix-after-env).
30214         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30215         run_program_env and test_program_prefix_after_env arguments.
30216         Split $test calls into $test_pre and $test.
30217         * timezone/Makefile (build-testdata): Use
30218         $(built-program-cmd-before-env), $(run-program-env) and
30219         $(built-program-cmd-after-env).
30221 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30223         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30224         strlen for non SHARED builds.
30226 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30228         * nptl/allocatestack.c (check_list): Inlined function...
30229         (__reclaim_stacks): ... here.
30231 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30233         [BZ #15698]
30234         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30235         memory overrun.
30237 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30239         * Rules (make-test-out): Include
30240         LOCPATH=$(common-objpfx)localedata in default environment.
30241         * debug/Makefile (tst-chk1-ENV): Remove variable.
30242         (tst-chk2-ENV): Likewise.
30243         (tst-chk3-ENV): Likewise.
30244         (tst-chk4-ENV): Likewise.
30245         (tst-chk5-ENV): Likewise.
30246         (tst-chk6-ENV): Likewise.
30247         (tst-lfschk1-ENV): Likewise.
30248         (tst-lfschk2-ENV): Likewise.
30249         (tst-lfschk3-ENV): Likewise.
30250         (tst-lfschk4-ENV): Likewise.
30251         (tst-lfschk5-ENV): Likewise.
30252         (tst-lfschk6-ENV): Likewise.
30253         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30254         (tst-iconv7-ENV): Likewise.
30255         * intl/Makefile (LOCPATH-ENV): Likewise.
30256         (tst-codeset-ENV): Likewise.
30257         (tst-gettext3-ENV): Likewise.
30258         (tst-gettext5-ENV): Likewise.
30259         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30260         (tst-fopenloc-ENV): Likewise.
30261         (tst-fgetws-ENV): Remove variable.
30262         (tst-ungetwc1-ENV): Likewise.
30263         (tst-ungetwc2-ENV): Likewise.
30264         (bug-ungetwc2-ENV): Likewise.
30265         (tst-swscanf-ENV): Likewise.
30266         (bug-ftell-ENV): Likewise.
30267         (tst-fgetwc-ENV): Likewise.
30268         (tst-fseek-ENV): Likewise.
30269         (tst-ftell-partial-wide-ENV): Likewise.
30270         (tst-ftell-active-handler-ENV): Likewise.
30271         (tst-ftell-append-ENV): Likewise.
30272         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30273         (tst-regexloc-ENV): Likewise.
30274         (bug-regex1-ENV): Likewise.
30275         (tst-regex-ENV): Likewise.
30276         (tst-regex2-ENV): Likewise.
30277         (bug-regex5-ENV): Likewise.
30278         (bug-regex6-ENV): Likewise.
30279         (bug-regex17-ENV): Likewise.
30280         (bug-regex18-ENV): Likewise.
30281         (bug-regex19-ENV): Likewise.
30282         (bug-regex20-ENV): Likewise.
30283         (bug-regex22-ENV): Likewise.
30284         (bug-regex23-ENV): Likewise.
30285         (bug-regex25-ENV): Likewise.
30286         (bug-regex26-ENV): Likewise.
30287         (bug-regex30-ENV): Likewise.
30288         (bug-regex32-ENV): Likewise.
30289         (bug-regex33-ENV): Likewise.
30290         (bug-regex34-ENV): Likewise.
30291         (bug-regex35-ENV): Likewise.
30292         (tst-rxspencer-ENV): Likewise.
30293         (tst-rxspencer-no-utf8-ENV): Likewise.
30294         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30295         (tst-sscanf-ENV): Likewise.
30296         (tst-swprintf-ENV): Likewise.
30297         (tst-swscanf-ENV): Likewise.
30298         (test-vfprintf-ENV): Likewise.
30299         (scanf13-ENV): Likewise.
30300         (bug14-ENV): Likewise.
30301         (tst-grouping-ENV): Likewise.
30302         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30303         (tst-strtod3-ENV): Likewise.
30304         (tst-strtod4-ENV): Likewise.
30305         (tst-strtod5-ENV): Likewise.
30306         (testmb2-ENV): Likewise./
30307         * string/Makefile (tst-strxfrm-ENV): Likewise.
30308         (tst-strxfrm2-ENV): Likewise.
30309         (bug-strcoll1-ENV): Likewise.
30310         (test-strcasecmp-ENV): Likewise.
30311         (test-strncasecmp-ENV): Likewise.
30312         * time/Makefile (tst-strptime-ENV): Likewise.
30313         (tst-ftime_l-ENV): Likewise.
30314         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30315         (tst-mbrtowc-ENV): Likewise.
30316         (tst-wcrtomb-ENV): Likewise.
30317         (tst-mbrtowc2-ENV): Likewise.
30318         (tst-c16c32-1-ENV): Likewise.
30319         (tst-mbsnrtowcs-ENV): Likewise.
30321 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30323         * manual/resource.texi (How to get information about the memory
30324         subsystem?): Fix typo.
30325         Reported by Peon de la Parra Ivan <peon@keba.com>
30327 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30329         [BZ #16882]
30330         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30331         (pthread_spin_lock): Branch out of spin loop to proper location.
30332         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30333         (pthread_spin_lock): Likewise.
30335         * nptl/tst-spin4.c: New test.
30336         * nptl/Makefile (tests): Add tst-spin4.
30338 2014-06-03  Andreas Schwab  <schwab@suse.de>
30340         [BZ #15946]
30341         * resolv/res_send.c (send_dg): Reload file descriptor after
30342         calling reopen.
30344 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30346         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30348 2014-06-03  Richard Henderson  <rth@redhat.com>
30350         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30351         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30352         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30353         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30354         in the SAVE_PID block.
30355         (__libc_vfork): New alias.
30356         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30358         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30359         child in registers, not on the stack.  Remove RESET_PID conditionals.
30360         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30362 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30364         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30366 2014-06-03  Wilco  <wdijkstr@arm.com>
30368         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30369         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30370         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30371         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30372         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30373         Likewise.
30375 2014-06-03  Wilco  <wdijkstr@arm.com>
30377         * sysdeps/aarch64/fpu/math_private.h
30378         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30379         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30380         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30381         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30382         Fix declarations.
30384 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30386         * crypt/crypt-private.h: Include ufc-crypt.h.
30387         (__b64_from_24bit): Declare extern.
30388         * crypt/crypt_util.c(__b64_from_24bit): New function.
30389         (b64t): New static const variable.
30390         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30391         (b64t): Remove variable.
30392         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30393         * crypt/sha256-crypt.c: Include crypt-private.h.
30394         (b64t): Remove variable.
30395         (__sha256_crypt_r): Remove b64_from_24bit and replace
30396         with __b64_from_24bit.
30397         * crypt/sha512-crypt.c: Likewise.
30399 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30401         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30402         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30403         Label the code __libc_vfork rather than __vfork.
30404         [!NOT_IN_libc] (vfork): Define as weak alias.
30405         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30406         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30407         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30409 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30411         * malloc/malloc.c (malloc_info): Fix format specifier for
30412         n_mmaps.
30414 2014-06-02  Wilco  <wdijkstr@arm.com>
30416         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30417         FPCR write.
30419 2014-06-02  Wilco  <wdijkstr@arm.com>
30421         [BZ #17009]
30422         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30423         Rewrite to reduce FPCR/FPSR accesses.
30425 2014-06-01  David S. Miller  <davem@davemloft.net>
30427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429 2014-05-31  David S. Miller  <davem@davemloft.net>
30431         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30432         to occur in round to nearest mode when |x| >= 2.0
30434 2014-05-30  Richard Henderson  <rth@twiddle.net>
30436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30437         (PSEUDO_RET_NOERRNO): Remove.
30438         (ret): Don't redefine.
30439         (ret_NOERRNO): Define in terms of ret.
30440         (ret_ERRVAL): Likewise.
30442         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30443         use of PSEUDO_RET; perform the error check directly.
30445 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30447         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30448         with __int128_t.
30450 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30452         * malloc/malloc (malloc_info): Fix formatting.
30454 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30455             Roland McGrath  <roland@hack.frob.com>
30457         * malloc/malloc (malloc_info): Also print mmapped statistics.
30459 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30461         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30462         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30464 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30466         * malloc/malloc.c (malloc_info): Inline mi_arena.
30468 2014-05-29  Richard Henderson  <rth@twiddle.net>
30470         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30471         Remove comma before expanding ASM_ARGS_##nr.
30472         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30473         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30474         of ASM_ARGS_##nr.
30475         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30476         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30477         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30478         (ASM_ARGS_1): Add leading comma.
30480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30481         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30482         to __errno_location.
30483         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30484         Remove the expected plt for __errno_location.
30486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30487         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30488         call to __read_tp.
30490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30491         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30492         it and break it down.
30493         (DOCARGS_0, DOCARGS_1): Do nothing.
30494         (DOCARGS_2): Update to store into the new stack frame.
30495         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30496         (UNDOCARGS_1): Update to restore from the new stack frame.
30497         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30498         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30501         (SINGLE_THREAD_P): New parameter for result regno.
30502         (PSEUDO): Update to match; use cbz instead of beq.
30504         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30505         Use ENTRY to define the _nocancel entry point.  Share the syscall
30506         and syscall error check paths with the cancel path.
30507         (PSEUDO_END): New.
30509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30510         whitespace; tabs before and after asm mnemonics.
30512 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30514         [BZ #15132]
30515         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30516         Call fstat64 or stat64 internally, depending on arguments passed.
30517         Replace stat buffer argument with file descriptor argument.
30518         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30519         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30520         Pass fd to __internal_statvfs instead of calling fstat64.
30521         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30522         Pass fd to __internal_statvfs64 instead of calling fstat64.
30523         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30524         Pass -1 to __internal_statvfs instead of calling stat64.
30525         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30526         Pass -1 to __internal_statvfs64 instead of calling stat64.
30528 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30530         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30531         that was previously under [RESET_PID].
30532         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30534         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30535         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30537 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30539         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30541         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30542         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30544 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30546         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30548 2014-05-27  Andreas Schwab  <schwab@suse.de>
30550         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30551         TLS_INIT_TP macro.
30552         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30553         * elf/rtld.c (init_tls, dl_main): Likewise.
30554         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30555         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30556         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30557         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30558         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30559         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30560         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30561         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30562         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30563         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30564         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30565         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30566         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30567         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30568         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30569         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30570         * sysdeps/generic/tls.h: Update description.
30572 2014-05-27  Will Newton  <will.newton@linaro.org>
30574         [BZ #16990]
30575         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30576         and restore r2 rather than just restoring.
30578 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30580         [BZ #16724]
30581         * libio/tst-ftell-append.c: New test case.
30582         * libio/Makefile (tests): Add test case.
30583         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30584         append mode.
30585         * libio/wfileops.c (do_ftell_wide): Likewise.
30587 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30591         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30592         ...
30593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30595         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30596         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30598         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30599         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30600         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30602         Moved ...
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30605         Moved ...
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30607         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30608         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30609         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30610         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30611         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30612         ...
30613         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30615         Moved ...
30616         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30617         here.
30618         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30619         ...
30620         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30621         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30622         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30625         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30627         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30630         merge into ...
30631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30633         ...
30634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30636         ...
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30639         Moved ...
30640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30641         here.
30642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30643         Moved ...
30644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30646         Moved ...
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30650         conditional [RESET_PID].
30651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30653         removed.
30654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30655         removed.
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30658         <tcb-offsets.h>.
30659         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30660         (__libc_vfork): New strong alias.
30661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30662         removed.
30663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30664         Removed.
30666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30667         <tcb-offsets.h>.
30668         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30669         (__libc_vfork): New strong alias.
30670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30671         removed.
30672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30673         removed.
30675 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30677         * malloc/malloc.c (mi_arena): New function.
30678         (malloc_info): Remove nested function mi_arena. Call non-nosted
30679         function mi_arena.
30681 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30683         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30684         by insrwi.
30685         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30686         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30687         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30688         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30689         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30690         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30691         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30693 2014-05-26  Andreas Schwab  <schwab@suse.de>
30695         [BZ #16984]
30696         * locale/programs/repertoire.c (repertoire_read): Add slash
30697         between I18NPATH element and file name.
30698         * locale/programs/locfile.c (locfile_read): Likewise.
30700 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30702         * nptl/pthread_mutexattr_settype.c
30703         (__pthread_mutexattr_settype):
30704         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30706 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30708         * nptl/tst-mutex5 (do_test):
30709         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30711 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30713         * benchtests/README: Document 'init' directive.
30714         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30715         BENCH_INIT.
30716         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30717         (parse_file): Recognize 'init' directive.
30719 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30721         [BZ #16796]
30722         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30723         alignment of struct pthread.
30725 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30727         [BZ #16878]
30728         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30729         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30730         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30731         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30733 2014-05-25  Richard Henderson  <rth@twiddle.net>
30735         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30736         (SINGLE_THREAD_P_PIC): Remove.
30737         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30738         (SINGLE_THREAD_P_PIC): Remove.
30740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30741         branch to syscall error ...
30742         (PSEUDO): ... here.
30743         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30744         from __local_syscall_error to .Lsyscall_error.
30745         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30746         (SYSCALL_ERROR): Update label name.
30748         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30749         Do not use DOARGS/UNDOARGS.
30750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30751         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30752         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30753         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30754         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30757         block comment.
30759         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30760         define if !NOT_IN_libc.
30761         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30762         define with non-default symbol versions.
30764 2014-05-23  Richard Henderson  <rth@twiddle.net>
30766         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30767         (vfork, __vfork): Define via compat_symbol.
30769         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30770         [!HAVE_IFUNC] (vfork_compat): Remove.
30771         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30773 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30775         [BZ #16978]
30776         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30777         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30778         variable.
30780 2014-05-23  Richard Henderson  <rth@twiddle.net>
30782         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30783         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30784         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30785         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30787         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30788         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30789         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30790         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30791         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30792         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30793         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30794         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30795         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30796         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30797         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30798         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30799         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30800         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30802         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30803         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30804         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30805         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30806         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30807         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30808         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30809         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30812         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30813         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30814         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30815         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30816         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30817         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30818         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30820         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30821         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30822         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30823         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30824         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30825         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30826         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30827         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30828         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30829         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30830         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30831         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30832         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30833         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30834         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30835         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30836         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30837         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30838         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30839         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30840         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30841         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30842         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30844         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30845         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30846         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30847         before exiting on error.
30848         (__libc_vfork): New strong alias.
30849         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30850         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30852         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30853         that was previously under [RESET_PID].
30854         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30856         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30858 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30860         [BZ #16977]
30861         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30862         value when x - 1 is zero.
30863         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30864         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30865         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30866         0.0L for an argument of 1.0L.
30867         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30868         Likewise.
30869         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30870         value when x - 1 is zero.
30871         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30875 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30877         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30878         alphasort and versionsort.
30880 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30882         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30883         macro.
30884         [copysignf]: Likewise.
30886 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30888         * crypt/md5-crypt.c: Fix formatting.
30890 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30892         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30893         (b64_from_24bit): New function.
30895 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30897         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30898         libc_hidden_builtin_def to ifunc.
30899         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30900         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30902 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30904         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30905         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30907 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30909         * nscd/Depend (linuxthreads): Remove.
30910         (nptl): Add.
30911         * resolv/Depend (linuxthreads): Remove.
30912         * rt/Depend (linuxthreads): Remove.
30914         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30915         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30916         $(common-objpfx)elf/.
30917         (link-libc-before-gnulib): Likewise.
30918         (elfobjdir): Remove variable.
30919         * Makefile (install): Use $(elf-objpfx) instead of
30920         $(common-objpfx)elf/.
30921         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30922         $(elfobjdir)/.
30923         (link-libc-deps): Likewise.
30924         ($(common-objpfx)libc.so): Likewise.
30925         ($(common-objpfx)linkobj/libc.so): Likewise.
30926         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30927         instead of $(common-objpfx)elf/.
30928         (symbolic-link-list): Likewise.
30929         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30930         [$(cross-compiling) = no]: Likewise.
30931         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30932         $(elfobjdir)/.
30933         (static-gnulib-arch): Likewise.
30934         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30935         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30936         $(common-objpfx)elf/.
30938 2014-05-21  Richard Henderson  <rth@redhat.com>
30940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30941         (SINGLE_THREAD_P): Use the correct width load.  Fold
30942         into the ldr offset.
30944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30945         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30947 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30949         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30950         (libgcc_s_resume): Use __attribute_used__.
30951         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30952         Likewise.
30954 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30956         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30957         optimization when used with float constants.
30959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30961 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30963         [BZ #16915]
30964         * locale/nl_langinfo_l.c: Make direct reference to every
30965         _nl_current_CATEGORY symbol.
30966         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30967         (tests-static): Add tst-langinfo-static.
30968         (tests-special): Add tst-langinfo-static.out.
30969         ($(objpfx)tst-langinfo.out): Redirect output.
30970         ($(objpfx)tst-langinfo-static.out): New.
30971         * localedata/tst-langinfo.sh: Send output to stdout.
30972         * localedata/tst-langinfo-static.c: New file.
30974         [BZ #16965]
30975         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30976         when the shift amount is modulo the limb size.
30978 2014-05-20  Richard Henderson  <rth@redhat.com>
30980         [BZ #16967]
30981         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30982         Change type of sa_flags from unsigned int to int.
30984         [BZ #16966]
30985         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30987         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30989 2014-05-20  Will Newton  <will.newton@linaro.org>
30991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30992         Test the return value of the system call in the nocancel case.
30994 2014-05-20  Will Newton  <will.newton@linaro.org>
30995             Yvan Roux  <yvan.roux@linaro.org>
30997         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30998         #include of asm/ptrace.h.
30999         (PTRACE_GET_THREAD_AREA): Remove #undef.
31000         (PTRACE_GETHBPREGS): Likewise.
31001         (PTRACE_SETHBPREGS): Likewise.
31002         (struct user_regs_struct): New structure.
31003         (struct user_fpsimd_struct): New structure.
31004         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31005         #include of asm/ptrace.h and second #include of sys/user.h.
31006         (PTRACE_GET_THREAD_AREA): Remove #undef.
31007         (PTRACE_GETHBPREGS): Likewise.
31008         (PTRACE_SETHBPREGS): Likewise.
31009         (ELF_NGREG): Use new struct user_regs_struct.
31010         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31012 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31017 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31019         [BZ #16958]
31020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31021         membar to avoid block loads/stores to overlap previous stores.
31023 2014-05-17  Richard Henderson  <rth@redhat.com>
31025         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31026         Create the __##syscall_name##_nocancel entry point.
31027         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31028         Remove; let the sysdep-cancel.h code create it.
31030 2014-05-17  David S. Miller  <davem@davemloft.net>
31032         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31033         Protect with __USE_GNU.
31034         (TIOCSET_TEMPT): Likewise.
31035         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31036         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31037         these are already provided in bits/ioctl-types.h
31039 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31041         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31042         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31044         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31045         Use wait4 regardless of [__NR_waitpid].
31047 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31049         PR libgcc/60166
31050         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31051         (_FP_NANSIGN_Q): Set the quiet bit.
31053 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31055         * benchtests/Makefile
31056         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31057         not $(common-objpfx)math/libm.so.
31058         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31059         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31060         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31061         $(common-objpfx)dlfcn/libdl.so.
31062         ($(objpfx)tst-audit8): Depend on $(libm), not
31063         $(common-objpfx)math/libm.so.
31064         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31065         not $(common-objpfx)dlfcn/libdl.so.
31066         * math/Makefile
31067         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31068         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31069         [$(build-shared) = yes].
31070         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31071         $(common-objpfx)nptl/libpthread.so.
31072         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31073         $(common-objpfx)math/libm.so$(libm.so-version) or
31074         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31075         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31076         $(common-objpfx)dlfcn/libdl.so.
31077         * setjmp/Makefile (link-libm): Remove variable.
31078         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31079         * stdio-common/Makefile (link-libm): Remove variable.
31080         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31081         * stdlib/Makefile (link-libm): Remove variable.
31082         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31083         ($(objpfx)tst-strtod-round): Likewise.
31084         ($(objpfx)tst-tininess): Likewise.
31085         ($(objpfx)tst-strtod-underflow): Likewise.
31086         ($(objpfx)tst-strtod6): Likewise.
31087         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31088         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31089         $(common-objpfx)dlfcn/libdl.so.
31091 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31093         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31094         BSD terminal modes definitions.
31096 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31098         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31099         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31101         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31102         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31103         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31104         Don't do #include_next.
31105         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31106         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31107         Don't do #include_next.
31108         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31109         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31110         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31111         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31113 2014-05-16  Allan McRae  <allan@archlinux.org>
31115         * po/sv.po: Update Swedish translation from translation project.
31117         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31118         in sed expression.
31120 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31122         [BZ #16917]
31123         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31124         errno if the TIOCGPTN ioctl fails with an error different than
31125         EINVAL.
31126         * login/tst-ptsname.c: New file.
31127         * login/Makefile (tests): Add tst-ptsname.
31129         [BZ #16943]
31130         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31131         and prlimit64.
31133 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31135         [BZ #16849]
31136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31137         herrno to return EAI_AGAIN.
31139 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31141         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31142         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31143         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31144         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31146         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31147         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31148         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31149         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31150         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31162         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31170         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31172         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31174         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31176         Moved ...
31177         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31187         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31199         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31201         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31203         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31205         Moved ...
31206         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31210         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31212         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31214         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31216         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31218         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31220         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31222         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31224         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31226         Moved ...
31227         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31229         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31231         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31232         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31233         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31234         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31235         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31236         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31237         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31238         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31239         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31240         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31241         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31243         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31245         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31247         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31248         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31249         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31251         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31252         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31253         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31255         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31257         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31259         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31260         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31261         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31263         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31264         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31266         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31267         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31268         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31269         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31270         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31271         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31272         Moved ...
31273         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31274         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31275         Moved ...
31276         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31277         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31278         Moved ...
31279         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31281         Moved ...
31282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31283         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31284         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31285         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31286         Moved ...
31287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31288         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31289         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31291         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31292         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31293         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31294         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31295         Moved ...
31296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31297         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31298         Moved ...
31299         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31300         ... here.
31301         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31302         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31303         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31304         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31305         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31306         Moved ...
31307         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31308         ... here.
31309         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31310         Moved ...
31311         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31312         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31313         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31315         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31317         Moved ...
31318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31320         Moved ...
31321         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31323         Moved ...
31324         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31326         Moved ...
31327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31328         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31329         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31330         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31331         Moved ...
31332         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31334         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31336         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31337         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31338         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31339         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31340         Moved ...
31341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31343         Moved ...
31344         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31345         ... here.
31346         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31347         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31348         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31349         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31350         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31351         Moved ...
31352         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31353         ... here.
31354         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31357         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31358         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31359         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31360         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31361         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31362         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31363         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31364         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31365         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31366         Moved ...
31367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31368         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31369         Moved ...
31370         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31372         Moved ...
31373         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31375         Moved ...
31376         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31377         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31378         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31379         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31380         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31382         Moved ...
31383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31384         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31385         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31387         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31389         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31391         Moved ...
31392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31394         Moved ...
31395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31396         ... here.
31397         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31398         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31399         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31400         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31402         Moved ...
31403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31404         ... here.
31405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31408         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31409         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31410         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31411         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31412         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31413         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31415         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31417         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31419         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31420         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31422         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31423         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31425         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31426         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31427         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31428         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31429         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31430         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31431         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31432         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31433         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31434         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31437         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31439         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31441         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31443         Moved ...
31444         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31448         Moved ...
31449         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31451         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31453         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31455         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31457         Moved ...
31458         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31460         Moved ...
31461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31467         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31469         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31471         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31473         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31475         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31477         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31480         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31481         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31482         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31483         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31485         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31486         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31488         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31489         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31490         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31491         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31492         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31493         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31494         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31499         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31500         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31502         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31504         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31505         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31506         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31507         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31508         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31509         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31510         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31511         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31512         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31514         Update #include.
31515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31516         Likewise.
31517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31518         Likewise.
31519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31520         Likewise.
31521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31522         Likewise.
31523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31524         Likewise.
31525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31526         Likewise.
31527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31528         Likewise.
31529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31530         Likewise.
31531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31532         Likewise.
31533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31535         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31537         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31539         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31540         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31541         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31542         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31543         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31544         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31545         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31546         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31547         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31549         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31550         that was previously under [RESET_PID].
31551         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31552         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31553         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31555         * sysdeps/i386/nptl/Implies: New file.
31556         * sysdeps/x86_64/nptl/Implies: New file.
31557         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31558         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31559         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31560         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31562         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31563         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31564         (__libc_vfork): New strong alias.
31565         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31566         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31568         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31569         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31570         (__libc_vfork): New strong alias.
31571         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31572         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31574         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31575         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31576         (__libc_vfork): New strong alias.
31577         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31578         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31579         * nptl/pt-vfork.c: New file.
31580         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31581         (libpthread: GLIBC_2.20): New version set (empty).
31583 2014-05-14  Will Newton  <will.newton@linaro.org>
31585         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31586         rather than #if.
31588 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31590         [BZ #16564]
31591         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31592         arguments with exponent 65 or above.
31593         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31594         arguments 0x1p113L or above.
31595         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31596         to arguments 0x1p107L or above.
31597         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31598         positive arguments with exponent 65 or above.
31599         * math/auto-libm-test-in: Add more tests of log1p.
31600         * math/auto-libm-test-out: Regenerated.
31602         [BZ #16928]
31603         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31604         non-finite arguments is +0.
31605         * math/s_cacosf.c (__cacosf): Likewise.
31606         * math/s_cacosl.c (__cacosl): Likewise.
31607         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31608         * sysdeps/i386/fpu/libm-test-ulps: Update.
31609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31611         [BZ #16927]
31612         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31613         value.
31614         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31615         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31616         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31617         for explicit high bit of mantissa when testing for argument equal
31618         to 1.
31619         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31620         * sysdeps/i386/fpu/libm-test-ulps: Update.
31621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31623         [BZ #16516]
31624         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31625         (__erf): Scale by 16 instead of 8 in potentially underflowing
31626         case.  Ensure exception if result actually underflows.
31627         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31628         (__erff): Scale by 16 instead of 8 in potentially underflowing
31629         case.  Ensure exception if result actually underflows.
31630         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31631         (efx8): Remove variable.
31632         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31633         case.  Ensure exception if result actually underflows.
31634         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31635         (efx8): Remove variable.
31636         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31637         case.  Ensure exception if result actually underflows.
31638         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31639         (efx8): Remove variable.
31640         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31641         case.  Ensure exception if result actually underflows.
31642         * math/auto-libm-test-in: Add more tests of erf.
31643         * math/auto-libm-test-out: Regenerated.
31645 2014-05-14  Andreas Schwab  <schwab@suse.de>
31647         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31648         Remove code conditionalized on USE___THREAD.
31650         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31651         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31652         not definedness.
31654 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31657         Define unconditionally.
31658         (__ASSUME_O_CLOEXEC): Likewise.
31659         (__ASSUME_SOCK_CLOEXEC): Likewise.
31660         (__ASSUME_IN_NONBLOCK): Likewise.
31661         (__ASSUME_PIPE2): Likewise.
31662         (__ASSUME_EVENTFD2): Likewise.
31663         (__ASSUME_SIGNALFD4): Likewise.
31664         (__ASSUME_DUP3): Likewise.
31665         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31666         (__ASSUME_DUP3): Do not define.
31667         (__ASSUME_EVENTFD2): Likewise.
31668         (__ASSUME_IN_NONBLOCK): Likewise.
31669         (__ASSUME_O_CLOEXEC): Likewise.
31670         (__ASSUME_PIPE2): Likewise.
31671         (__ASSUME_SIGNALFD4): Likewise.
31672         (__ASSUME_SOCK_CLOEXEC): Likewise.
31673         (__ASSUME_UTIMES): Undefine.
31674         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31675         (__ASSUME_UTIMES): Do not define.
31676         (__ASSUME_O_CLOEXEC): Likewise.
31677         (__ASSUME_SOCK_CLOEXEC): Likewise.
31678         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31679         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31680         0x020621].
31681         (__ASSUME_PIPE2): Likewise.
31682         (__ASSUME_EVENTFD2): Likewise.
31683         (__ASSUME_SIGNALFD4): Likewise.
31684         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31685         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31686         Do not define.
31687         (__ASSUME_EVENTFD2): Likewise.
31688         (__ASSUME_SIGNALFD4): Likewise.
31689         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31690         (__ASSUME_32BITUIDS): Likewise.
31691         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31692         (__ASSUME_IPC64): Likewise.
31693         (__ASSUME_ST_INO_64_BIT): Likewise.
31694         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31695         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31696         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31697         (__ASSUME_UTIMES): Do not define.
31698         (__ASSUME_PSELECT): Likewise.
31699         (__ASSUME_PPOLL): Likewise.
31700         (__ASSUME_O_CLOEXEC): Likewise.
31701         (__ASSUME_SOCK_CLOEXEC): Likewise.
31702         (__ASSUME_IN_NONBLOCK): Likewise.
31703         (__ASSUME_PIPE2): Likewise.
31704         (__ASSUME_EVENTFD2): Likewise.
31705         (__ASSUME_SIGNALFD4): Likewise.
31706         (__ASSUME_DUP3): Likewise.
31707         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31708         (__ASSUME_UTIMES): Likewise.
31709         (__ASSUME_O_CLOEXEC): Likewise.
31710         (__ASSUME_SOCK_CLOEXEC): Likewise.
31711         (__ASSUME_IN_NONBLOCK): Likewise.
31712         (__ASSUME_PIPE2): Likewise.
31713         (__ASSUME_EVENTFD2): Likewise.
31714         (__ASSUME_SIGNALFD4): Likewise.
31715         (__ASSUME_DUP3): Likewise.
31716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31717         (__ASSUME_UTIMES): Likewise.
31718         (__ASSUME_O_CLOEXEC): Likewise.
31719         (__ASSUME_SOCK_CLOEXEC): Likewise.
31720         (__ASSUME_IN_NONBLOCK): Likewise.
31721         (__ASSUME_PIPE2): Likewise.
31722         (__ASSUME_EVENTFD2): Likewise.
31723         (__ASSUME_SIGNALFD4): Likewise.
31724         (__ASSUME_DUP3): Likewise.
31725         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31726         Likewise.
31727         (__ASSUME_UTIMES): Likewise.
31728         (__ASSUME_EVENTFD2): Likewise.
31729         (__ASSUME_SIGNALFD4): Likewise.
31730         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31731         (__ASSUME_O_CLOEXEC): Likewise.
31732         (__ASSUME_SOCK_CLOEXEC): Likewise.
31733         (__ASSUME_IN_NONBLOCK): Likewise.
31734         (__ASSUME_PIPE2): Likewise.
31735         (__ASSUME_EVENTFD2): Likewise.
31736         (__ASSUME_SIGNALFD4): Likewise.
31737         (__ASSUME_DUP3): Likewise.
31738         (__ASSUME_UTIMES): Undefine.
31740         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31741         feclearexcept.  Remove symbol versioning code.
31742         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31743         symbol versioning code.
31744         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31745         symbol versioning code.
31746         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31747         feupdateenv.  Remove symbol versioning code.
31748         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31749         fegetexceptflag.  Remove symbol versioning code.
31750         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31751         fesetexceptflag.  Remove symbol versioning code.
31752         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31753         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31754         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31755         (__posix_fadvise64_l32): Remove prototype.
31756         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31757         code.
31759 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31761         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31762         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31763         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31764         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31766 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31768         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31769         current working directory
31771 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31773         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31774         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31775         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31776         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31777         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31778         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31779         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31780         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31782         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31783         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31786         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31787         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31788         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31789         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31790         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31792         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31793         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31794         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31796         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31802         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31803         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31806         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31807         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31808         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31809         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31810         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31811         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31812         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31813         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31814         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31816         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31817         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31819         * sysdeps/unix/sysv/linux/arm/Makefile
31820         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31821         Add rt-aeabi_unwind_cpp_pr1.
31822         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31823         Add nptl-aeabi_unwind_cpp_pr1.
31824         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31825         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31826         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31827         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31828         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31829         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31831         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31832         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31833         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31834         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31836         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31837         Deconditionalize the code that was previously under [RESET_PID].
31838         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31840         * sysdeps/generic/exit-thread.h: New file.
31841         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31842         * include/unistd.h (__exit_thread): Remove declaration.
31843         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31844         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31845         * csu/libc-start.c: Include <exit-thread.h>.
31846         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31847         * nptl/pthread_create.c: Include <exit-thread.h>.
31848         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31849         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31850         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31851         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31852         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31853         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31854         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31855         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31856         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31857         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31858         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31859         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31860         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31861         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31862         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31863         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31864         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31866 2014-05-13  Andreas Schwab  <schwab@suse.de>
31868         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31870 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31872         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31873         (__ASSUME_UTIMES): Do not condition on kernel version.
31874         (__ASSUME_PSELECT): Define unconditionally.
31875         (__ASSUME_PPOLL): Likewise.
31876         (__ASSUME_ATFCTS): Likewise.
31877         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31878         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31879         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31880         (__ASSUME_UTIMENSAT): Define unconditionally.
31881         (__ASSUME_PRIVATE_FUTEX): Likewise.
31882         (__ASSUME_FALLOCATE): Likewise.
31883         (__ASSUME_O_CLOEXEC): Likewise.
31884         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31885         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31886         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31887         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31888         (__ASSUME_IN_NONBLOCK): Likewise.
31889         (__ASSUME_PIPE2): Likewise.
31890         (__ASSUME_EVENTFD2): Likewise.
31891         (__ASSUME_SIGNALFD4): Likewise.
31892         (__ASSUME_DUP3): Likewise.
31893         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31894         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31895         (__ASSUME_AT_RANDOM): Likewise.
31896         (__ASSUME_PREADV): Likewise.
31897         (__ASSUME_PWRITEV): Likewise.
31898         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31899         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31900         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31901         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31902         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31903         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31904         (__ASSUME_O_CLOEXEC): Define unconditionally.
31905         (__ASSUME_PSELECT): Do not undefine conditionally.
31906         (__ASSUME_PPOLL): Likewise.
31907         (__ASSUME_ATFCTS): Likewise.
31908         (__ASSUME_SET_ROBUST_LIST): Likewise.
31909         (__ASSUME_UTIMENSAT): Likewise.
31910         (__ASSUME_FDATASYNC): Define unconditionally.
31911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31912         (__ASSUME_SIGFRAME_V2): Likewise.
31913         )__ASSUME_EVENTFD2): Likewise.
31914         (__ASSUME_SIGNALFD4): Likewise.
31915         (__ASSUME_PSELECT): Do not undefine conditionally.
31916         (__ASSUME_PPOLL): Likewise.
31917         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31918         (__ASSUME_PSELECT): Define unconditionally.
31919         (__ASSUME_PPOLL): Likewise.
31920         (__ASSUME_O_CLOEXEC): Likewise.
31921         (__ASSUME_SOCK_CLOEXEC): Likewise.
31922         (__ASSUME_IN_NONBLOCK): Likewise.
31923         (__ASSUME_PIPE2): Likewise.
31924         (__ASSUME_EVENTFD2): Likewise.
31925         (__ASSUME_SIGNALFD4): Likewise.
31926         (__ASSUME_DUP3): Likewise.
31927         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31928         (__ASSUME_O_CLOEXEC): Likewise.
31929         (__ASSUME_SOCK_CLOEXEC): Likewise.
31930         (__ASSUME_IN_NONBLOCK): Likewise.
31931         (__ASSUME_PIPE2): Likewise.
31932         (__ASSUME_EVENTFD2): Likewise.
31933         (__ASSUME_SIGNALFD4): Likewise.
31934         (__ASSUME_DUP3): Likewise.
31935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31936         (__ASSUME_EVENTFD2): Likewise.
31937         (__ASSUME_SIGNALFD4): Likewise.
31938         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31940 2014-05-12  Andreas Schwab  <schwab@suse.de>
31942         [BZ #16932]
31943         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31944         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31945         than maximum RPC packet size.
31946         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31947         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31948         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31949         (_nss_nis_getservbyport_r): Likewise.
31951 2014-05-12  Will Newton  <will.newton@linaro.org>
31953         * malloc/Makefile (tests): Add tst-mallopt.
31954         * malloc/tst-mallopt.c: New file.
31956 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31958         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31959         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31961 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31963         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31964         (tst-tlsmod6.so): Likewise.
31966 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31970 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31972         [BZ #16064]
31973         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31974         and <dl-procinfo.h>.
31975         (__fegetenv): Save SSE state in envp->__eip if supported.
31976         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31977         envp->__eip if supported.
31978         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31979         and <dl-procinfo.h>.
31980         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31981         __data_offset and __data_selector in environment to 0.  Set SSE
31982         state if supported.
31983         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31984         test-fenv-sse.
31985         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31986         -mfpmath=sse.
31987         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31989 2014-05-09  Will Newton  <will.newton@linaro.org>
31991         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31992         and libc_relro_required for ARM.
31993         * sysdeps/arm/preconfigure: Regenerate.
31995 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31996             Stefan Liebler  <stli@linux.vnet.ibm.com>
31998         * config.make.in (enable-lock-elision): New Makefile variable.
31999         * configure.ac: Likewise.
32000         * configure: Regenerate.
32001         * sysdeps/s390/configure.ac:
32002         Add check for gcc transactions support.
32003         * sysdeps/s390/configure: Regenerate.
32004         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32005         Build elision files if enabled.
32006         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32007         Add lock elision support for s390.
32008         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32009         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32010         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32011         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32012         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32013         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32014         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32015         Likewise.
32016         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32017         Likewise.
32018         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32019         Likewise.
32020         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32021         Likewise.
32022         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32023         (__lll_timedlock_elision, __lll_lock_elision)
32024         (__lll_unlock_elision, __lll_trylock_elision)
32025         (lll_timedlock_elision, lll_lock_elision)
32026         (lll_unlock_elision, lll_trylock_elision): Add.
32027         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32028         (pthread_mutex_t): Add lock elision support for s390.
32030 2014-05-14  Wilco  <wdijkstr@arm.com>
32032         * sysdeps/arm/fclrexcpt.c: Cleanup.
32033         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32034         * sysdeps/arm/feenablxcpt.c: Cleanup.
32035         * sysdeps/arm/fegetenv.c: Cleanup.
32036         * sysdeps/arm/fegetexcept.c: Cleanup.
32037         * sysdeps/arm/fegetround.c: Cleanup.
32038         * sysdeps/arm/feholdexcpt.c: Cleanup.
32039         * sysdeps/arm/fesetenv.c: Cleanup.
32040         * sysdeps/arm/fesetround.c: Cleanup.
32041         * sysdeps/arm/feupdateenv.c: Cleanup.
32042         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32043         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32044         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32045         * sysdeps/arm/ftestexcept.c: Cleanup.
32046         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32047         * sysdeps/arm/setfpucw.c: Cleanup.
32049 2014-05-09  Will Newton  <will.newton@linaro.org>
32051         * sysdeps/arm/armv7/strcmp.S: New file.
32052         * NEWS: Mention addition of ARMv7 optimized strcmp.
32054 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32056         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32057         look for %.ac rather than %.in.
32059         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32060         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32061         * sysdeps/mach/hurd/configure: Regenerated.
32062         * sysdeps/unix/sysv/linux/configure: Regenerated.
32064         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32066 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32068         [BZ# 16922]
32069         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32070         (LONG_SUB): Ditto.
32071         (PTR_SUB): Ditto.
32073 2014-05-07  Andreas Schwab  <schwab@suse.de>
32075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32076         when skipping over non-matching result from nscd.
32078 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32080         [BZ #16876]
32081         * nptl/sockperf.c (client): Check socket return value.
32083         [BZ #16877]
32084         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32085         nscd security class.
32087 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32089         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32090         * sysdeps/arm/unwind.h: ... here.
32092 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32094         [BZ# 16916]
32095         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32096         Define.
32098 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32100         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32101         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32102         multiarch strncpy for PPC64.
32103         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32104         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32106         multiarch optimizations.
32107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32108         (__libc_ifunc_impl_list): Likewise.
32109         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32110         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32111         multiarch stpncpy for PPC64.
32112         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32113         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32115 2014-05-06  Andreas Schwab  <schwab@suse.de>
32117         [BZ #16912]
32118         * gmon/mcount.c (_MCOUNT_DECL): Use
32119         atomic_compare_and_exchange_bool_acq instead of
32120         catomic_compare_and_exchange_bool_acq.
32122 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32124         * elf/Makefile (others, install-bin): Remove pldd.
32125         (pldd-modules): Variable removed.
32126         ($(objpfx)pldd): Target removed.
32127         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32128         (others, install-bin): Append pldd here.
32129         ($(objpfx)pldd): New target.
32131         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32132         to 0, so the first #if test emitted later doesn't see it undefined.
32133         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32134         * sysdeps/gnu/errlist.c: Regenerated.
32136 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32138         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32139         [libc_hidden_builtin_def]: Define to empty value.
32140         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32141         [libc_hidden_builtin_def]: Likewise.
32142         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32143         [libc_hidden_builtin_def]: Likewise.
32144         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32145         [libc_hidden_builtin_def]: Likewise.
32146         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32147         __redirect_memcpy and define ifunc as default hidden symbol.
32148         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32149         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32151 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32153         * locale/iso-4217.def: Reintroduce XDR currency.
32155 2014-05-04  Allan McRae  <allan@archlinux.org>
32157         * po/eo.po: Update Esperanto translation from translation project.
32159 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32161         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32162         and FEATURE_INDEX_MAX to 1.
32163         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32165 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32167         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32168         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32169         * iconvdata/big5.c (ONE_DIRECTION): Define.
32170         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32171         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32172         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32173         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32174         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32175         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32176         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32177         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32178         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32179         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32180         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32181         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32182         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32183         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32184         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32185         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32186         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32187         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32188         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32189         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32190         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32191         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32192         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32193         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32194         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32195         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32196         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32197         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32198         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32199         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32200         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32201         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32202         * iconvdata/johab.c (ONE_DIRECTION): Define.
32203         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32204         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32205         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32206         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32207         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32208         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32209         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32210         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32211         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32212         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32214 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32216         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32217         (_IO_JUMPS_OFFSET): Define to 0.
32219         * nptl/sysdeps/pthread/bits/libc-lock.h
32220         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32221         (__libc_lock_define_initialized_recursive): Always define using
32222         initializer.  Modern compilers treat uninitialized (implicit zero) and
32223         explicit zero initializers the same (i.e. put the datum in bss).
32225 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32227         * nscd/nscd-client.h: Include <string.h>.
32229 2014-05-01  David S. Miller  <davem@davemloft.net>
32231         [BZ #16885]
32232         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32233         multiple zero bytes exist at the end of a string.
32234         Reported by Aurelien Jarno <aurelien@aurel32.net>
32236         * string/test-strcmp.c (check): Add explicit test for situations where
32237         there are multiple zero bytes after the first.
32239 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32241         [BZ #16890]
32242         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32243         when compiling wprintf.
32244         * stdio-common/tstdiomisc.c (t3): New function.
32245         (main): Call it.
32247 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32249         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32250         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32251         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32252         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32254 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32256         * stdlib/longlong.h: Updated from GCC.
32258 2014-05-01  Will Newton  <will.newton@linaro.org>
32259             Bernard Ogden  <bernie.ogden@linaro.org>
32261         * NEWS: Update fixed bug list.
32263         [BZ #15119]
32264         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32266 2014-04-30  David S. Miller  <davem@davemloft.net>
32268         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32269         (libc_feholdexcept_setround_sparc_ctx): New function.
32270         (libc_fesetenv_sparc_ctx): Likewise.
32271         (libc_feupdateenv_sparc_ctx): Likewise.
32272         (libc_feholdsetround_sparc_ctx): Likewise.
32273         (libc_feholdexcept_setround_ctx): Define.
32274         (libc_feholdexcept_setroundf_ctx): Likewise.
32275         (libc_feholdexcept_setroundl_ctx): Likewise.
32276         (libc_fesetenv_ctx): Likewise.
32277         (libc_fesetenvf_ctx): Likewise.
32278         (libc_fesetenvl_ctx): Likewise.
32279         (libc_feupdateenv_ctx): Likewise.
32280         (libc_feupdateenvf_ctx): Likewise.
32281         (libc_feupdateenvl_ctx): Likewise.
32282         (libc_feresetround_ctx): Likewise.
32283         (libc_feresetroundf_ctx): Likewise.
32284         (libc_feresetroundl_ctx): Likewise.
32285         (libc_feholdsetround_ctx): Likewise.
32286         (libc_feholdsetroundf_ctx): Likewise.
32287         (libc_feholdsetroundl_ctx): Likewise.
32289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32290         with __USE_GNU instead of XOPEN cpp guards.
32292         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32293         0.
32295         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32296         with XOPEN cpp guards.
32298 2014-04-30  Julian Brown  <julian@codesourcery.com>
32300         [BZ #16888]
32301         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32302         handling.
32304 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32306         [BZ #9894]
32307         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32308         Change to 2.6.32.
32309         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32310         * sysdeps/unix/sysv/linux/configure: Regenerated.
32311         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32312         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32313         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32314         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32315         * README: Update reference to required Linux kernel version.
32316         * manual/install.texi (Linux): Update reference to required Linux
32317         kernel headers version.
32318         * INSTALL: Regenerated.
32320         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32321         header inclusion.
32322         [POSIX] (limits.h): Likewise.
32323         [POSIX] (math.h): Likewise.
32324         [POSIX] (sys/wait.h): Likewise.
32325         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32326         function.
32327         [POSIX] (stddef.h): Do not allow header inclusion.
32329 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32331         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32333 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32335         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32336         Return immediately after lll_futex_wake.
32338 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32340         [BZ #16791]
32341         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32342         structure.
32343         (datahead_init_pos): Call datahead_init_common early.
32344         (datahead_init_neg): Likewise.
32346         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32347         datahead_init_neg): New functions.
32348         * nscd/aicache.c (addhstaiX): Use them.
32349         * nscd/grpcache.c (cache_addgr): Likewise.
32350         * nscd/hstcache.c (cache_addhst): Likewise.
32351         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32352         * nscd/netgroupcache.c (do_notfound): Likewise.
32353         (addgetnetgrentX): Likewise.
32354         (addinnetgrX): Likewise.
32355         * nscd/pwdcache.c (cache_addpw): Likewise.
32356         * nscd/servicescache.c (cache_addserv): Likewise.
32358 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32359             Atsushi Onoe  <atsushi@onoe.org>
32361         [BZ #14308]
32362         [BZ #12994]
32363         [BZ #13651]
32364         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32365         one response is valid.
32366         * resolv/res_send.c (send_dg): Check for validity of other
32367         response if the current response is a referral.
32369 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32371         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32373 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32375         [BZ #16823]
32376         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32377         Always divide by positive zero when computing -Inf result.
32378         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32379         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32381 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32383         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32384         FPSCR if value do not change.
32385         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32386         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32387         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32388         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32389         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32390         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32391         function.
32393 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32395         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32396         * sysdeps/unix/sysv/linux/hppa: Move directory from
32397         ports/systeps/unix/sysv/linux/hppa.
32398         * README: Update listing for hppa-*-linux-gnu.
32400 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32402         [BZ #16754]
32403         * manual/stdio.texi (Hook functions): Fix types of stream hook
32404         functions.
32405         [BZ #16854]
32406         * socket/sys/socket.h: Fix typo in comment.
32408 2014-04-28  Wilco  <wdijkstr@arm.com>
32410         * sysdeps/arm/fenv_private.h: New file.
32411         * sysdeps/arm/math_private.h: New file.
32412         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32414 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32416         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32417         with __int128_t.
32418         (La_x86_64_retval): Likewise.
32420 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32422         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32423         fpsr if value didn't change.
32424         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32425         to fpcr if value didn't change.
32426         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32427         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32428         fpsr or fpcr if value didn't change.
32429         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32430         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32431         fpcr if value didn't change.
32432         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32433         to fpsr if value didn't change.
32435 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32437         * nptl/tst-sem3.c: Use test-skeleton.c
32438         (main): Rename to do_test.  Use return instead of
32439         exit.
32440         * nptl/tst-sem4.c: Use test-skeleton.c
32441         (main): Rename to do_test.
32443 2014-04-22  David S. Miller  <davem@davemloft.net>
32445         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32446         (struct sigaction): New struct member __glibc_reserved0, change
32447         type of sa_flags to int.
32449 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32451         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32452         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32454 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32456         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32457         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32459 2014-04-22  Will Newton  <will.newton@linaro.org>
32460             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32462         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32463         (__longjmp): Add longjmp and longjmp_target SystemTap
32464         probes.
32465         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32466         (__sigsetjmp): Add setjmp SystemTap probe.
32468 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32470         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32471         match manual order.
32473 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32475         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32477         * sysdeps/powerpc/fpu/fenv_private.h
32478         (libc_feholdexcept_setroundl_ctx): Define to
32479         libc_feholdexcept_setround_ppc_ctx.
32480         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32481         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32482         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32483         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32485 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32487         * sysdeps/aarch64/math-tests.h: New file.
32489 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32491         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32492         New.
32493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32494         Check and set bit_AVX2_Usable.
32495         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32496         macro.
32497         (bit_AVX2): Likewise.
32498         (index_AVX2_Usable): Likewise.
32499         (CPUID_AVX2): Likewise.
32500         (HAS_AVX2): Likewise.
32502 2014-04-17  Will Newton  <will.newton@linaro.org>
32504         * manual/setjmp.texi (System V contexts): Add note that
32505         calling setcontext on a context created by a call to a
32506         signal handler is undefined.  Update text to note that
32507         setcontext from a signal handler is possible but not
32508         recommended.
32510         [BZ #16629]
32511         * stdlib/tst-setcontext.c: Include signal.h.
32512         (main): Check that the signal stack before and
32513         after swapcontext is the same.
32515         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32516         Re-implement to restore registers in user code and avoid
32517         rt_sigreturn system call.
32519 2014-04-17  Wilco  <wdijkstr@arm.com>
32521         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32522         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32523         * math/test-fenv.c: Skip exception trap tests on targets which only
32524         support non-stop mode.
32526 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32527             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32529         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32530         (libc_feholdsetround_aarch64_ctx)
32531         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32532         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32533         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32534         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32535         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32536         (libc_feresetround_noexl_ctx): Define.
32538 2014-04-16  Richard Henderson  <rth@redhat.com>
32540         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32542         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32543         unwind tables.
32545         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32546         const from the non-libc, non-ldso copy.
32548         * sysdeps/alpha/libm-test-ulps: Regenerate.
32550 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32551             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32553         * sysdeps/aarch64/fpu/math_private.h: New file.
32555 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32557         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32559 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32561         [BZ #16275]
32562         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32563         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32564         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32565         Intel MPX bound registers before _dl_profile_fixup.
32566         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32567         registers after _dl_profile_fixup.  Save and restore bound
32568         registers bnd0/bnd1 when calling _dl_call_pltexit.
32569         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32570         (LR_BND_OFFSET): Likewise.
32571         (LRV_BND0_OFFSET): Likewise.
32572         (LRV_BND1_OFFSET): Likewise.
32574 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32576         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32577         to...
32578         * sysdeps/mach/hurd/i386/tls.h: ... here.
32579         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32580         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32581         fields.
32583 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32585         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32587 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32589         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32591 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32593         [BZ #14770]
32594         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32595         * sysdeps/s390/configure: Regenerate.
32597         [BZ #16824]
32598         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32599         Set round-to-nearest internally to reduce error accumulation.
32601 2014-04-16  Alan Modra  <amodra@gmail.com>
32603         [BZ #16740]
32604         [BZ #16619]
32605         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32606         * math/libm-test.inc (frexp_test_data): Add tests.
32607         * NEWS: Update fixed bug list.
32609 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32611         * benchtests/Makefile: Depend on libraries in build directory.
32612         (bench-math): Separate out math tests.
32613         (bench-pthread): Separate out pthread tests.
32614         (bench): Include math and pthread tests.
32616 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32618         [BZ #16831]
32619         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32620         _dl_debug_initialize.
32622         * configure.ac: Remove SELinux header check.
32623         * configure: Regenerate.
32624         * nscd/selinux.c (perms): Array of const char* to permission names.
32625         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32626         default policy. Call string_to_security_class and string_to_av_perm to
32627         translate strings. Enforce default policy and call avs_has_perm with
32628         results of translated strings.
32630 2014-04-13  David S. Miller  <davem@davemloft.net>
32632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32634 2014-04-12  Allan McRae  <allan@archlinux.org>
32636         [BZ #16838]
32637         * manual/string.texi (Collation Functions): Fix qsort argument
32638         order in example.
32639         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32641 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32643         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32644         Make the test a no-op if there are no exceptions defined.
32646 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32648         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32649         enable-hardcoded-path-in-tests
32651 2014-04-11  Will Newton  <will.newton@linaro.org>
32653         * benchtests/Makefile (extra-objs): Add json-lib.o.
32654         (bench-func): Tidy up JSON output.
32655         * benchtests/bench-skeleton.c: Include json-lib.h.
32656         (main): Use JSON library functions to do output of
32657         benchmark results.
32658         * benchtests/bench-timing-type.c (main): Output the
32659         timing type simply, leaving formatting to the user.
32660         * benchtests/json-lib.c: New file.
32661         * benchtests/json-lib.h: Likewise.
32663 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32665         [BZ #15215]
32666         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32667         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32668         memory barriers.  Add comments.
32669         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32670         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32671         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32672         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32673         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32674         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32676 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32678         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32679         * sysdeps/s390/s390-64/configure.ac: ... this ...
32680         * sysdeps/s390/configure.ac: ... to here.
32681         * sysdeps/s390/s390-32/configure: Delete file.
32682         * sysdeps/s390/s390-64/configure: Delete file.
32683         * sysdeps/s390/configure: Regenerate.
32685 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32687         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32689 2014-04-11  Will Newton  <will.newton@linaro.org>
32691         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32692         to zero if it is not defined elsewhere.  (mtrim): Test
32693         the value of MALLOC_DEBUG with #if rather than #ifdef.
32695 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32697         * benchtests/pthread_once-inputs: New file.
32698         * benchtests/pthread_once-source.c: New file.
32699         * benchtests/README: Update documentation.
32701 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32702             H.J. Lu  <hongjiu.lu@intel.com>
32704         [BZ #16275]
32705         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32706         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32707         * sysdeps/x86_64/configure: Regenerated.
32708         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32709         macro.
32710         (REGISTER_SAVE_RAX): Likewise.
32711         (REGISTER_SAVE_RCX): Likewise.
32712         (REGISTER_SAVE_RDX): Likewise.
32713         (REGISTER_SAVE_RSI): Likewise.
32714         (REGISTER_SAVE_RDI): Likewise.
32715         (REGISTER_SAVE_R8): Likewise.
32716         (REGISTER_SAVE_R9): Likewise.
32717         (REGISTER_SAVE_BND0): Likewise.
32718         (REGISTER_SAVE_BND1): Likewise.
32719         (REGISTER_SAVE_BND2): Likewise.
32720         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32721         bound registers when calling _dl_fixup.
32723 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32725         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32726         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32727         of its definition.
32728         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32729         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32730         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32731         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32732         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32733         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32734         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32736 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32738         [BZ #15514]
32739         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32740         pathconf(_PC_NAME_MAX).
32742 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32744         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32745         Remove macro usage.
32746         (__PTHREAD_SPINS): Move definition to ...
32747         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32748         (__PTHREAD_SPINS): ... here.
32749         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32750         (__PTHREAD_SPIN): Likewise.
32751         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32752         (__PTHREAD_SPIN): Likewise.
32753         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32754         (__PTHREAD_SPIN): Likewise.
32755         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32756         (__PTHREAD_SPIN): Likewise.
32757         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32758         (__PTHREAD_SPIN): Likewise.
32759         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32760         (__PTHREAD_SPIN): Likewise.
32761         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32762         (__PTHREAD_SPIN): Likewise.
32763         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32764         (__PTHREAD_SPIN): Likewise.
32765         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32766         (__PTHREAD_SPIN): Likewise.
32767         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32768         (__PTHREAD_SPIN): Likewise.
32769         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32770         (__PTHREAD_SPIN): Likewise.
32771         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32772         (__PTHREAD_SPIN): Likewise.
32774         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32775         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32776         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32777         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32778         imply folder.
32779         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32780         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32781         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32782         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32783         correct imply path.
32784         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32785         strlen symbol for non multi-arch builds.
32786         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32787         missing hidden_def and weak_alias.
32789 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32791         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32793 2014-04-07  Will Newton  <will.newton@linaro.org>
32795         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32796         and contents.  [!_LIBC] Remove #ifndef and contents.
32797         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32798         * string/memccpy.c (__memccpy): Use ANSI prototype.
32799         * string/memfrob.c (memfrob): Likewise.
32800         * string/strcoll.c (STRCOLL): Likewise.
32801         * string/strlen.c (strlen): Likewise.
32802         * string/strtok.c (STRTOK): Likewise.
32803         * string/strcat.c: Remove unused #include of memcopy.h.
32804         (strcat): Use ANSI prototype.
32805         * string/strchr.c: Remove unused #include of memcopy.h.
32806         (strchr): Use ANSI prototype.
32807         * string/strcmp.c: Remove unused #include of memcopy.h.
32808         (strcmp): Use ANSI prototype.
32809         * string/strcpy.c: Remove unused #include of memcopy.h.
32810         (strcpy): Use ANSI prototype.
32812 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32814         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32815         * config.make.in (config-extra-cppflags): Set it from
32816         libc_extra_cppflags.
32817         * configure.ac (libc_extra_cflags): Make it accumulate over
32818         configure fragments.
32819         (libc_extra_cppflags): New flag.
32820         * configure. Regenerate.
32821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32822         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32823         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32826         [BZ #16815]
32827         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32828         result for FE_DOWNWARD rounding mode.
32829         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32830         Likewise.
32831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32833 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32835         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32836         in function argument name.
32838 2014-04-03  David Svoboda  <svoboda@cert.org>
32840         [BZ #5666]
32841         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32842         explicitly.
32844 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32846         * elf/dl-unmap-segments.h: New file.
32847         * sysdeps/generic/ldsodefs.h
32848         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32849         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32850         * elf/dl-fptr.c: Likewise.
32851         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32852         * sysdeps/aarch64/tlsdesc.c: Likewise.
32853         * sysdeps/arm/tlsdesc.c: Likewise.
32854         * sysdeps/i386/tlsdesc.c: Likewise.
32855         * sysdeps/tile/dl-runtime.c: Likewise.
32856         * sysdeps/x86_64/tlsdesc.c: Likewise.
32857         * elf/dl-load.h: New file.
32858         * elf/dl-load.c: Include it.
32859         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32860         Macros moved to dl-load.h.
32861         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32862         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32863         Use _dl_unmap_segments in place of __munmap.
32864         Break out segment-mapping loop into ...
32865         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32867 2014-04-03  Will Newton  <will.newton@linaro.org>
32869         * elf/dl-lookup.c (do_lookup_x): Remove comment
32870         referring to nested function and move variable
32871         declarations down to before first use.
32873 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32875         [BZ #16799]
32876         [BZ #16800]
32877         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32878         with 0 numerator.
32879         * math/s_catanf.c (__catanf): Likewise.
32880         * math/s_catanh.c (__catanh): Likewise.
32881         * math/s_catanhf.c (__catanhf): Likewise.
32882         * math/s_catanhl.c (__catanhl): Likewise.
32883         * math/s_catanl.c (__catanl): Likewise.
32884         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32885         by positive zero when computing -Inf result.
32886         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32887         (catanh_test): Likewise.
32888         * sysdeps/i386/fpu/libm-test-ulps: Update.
32889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32891         [BZ #16789]
32892         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32893         instead of using underflowing value in computing result.
32894         * math/s_clog10.c (__clog10): Likewise.
32895         * math/s_clog10f.c (__clog10f): Likewise.
32896         * math/s_clog10l.c (__clog10l): Likewise.
32897         * math/s_clogf.c (__clogf): Likewise.
32898         * math/s_clogl.c (__clogl): Likewise.
32899         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32900         (clog10_test): Likewise.
32901         * sysdeps/i386/fpu/libm-test-ulps: Update.
32902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32904 2014-04-02  Alan Modra  <amodra@gmail.com>
32906         [BZ #16739]
32907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32908         output when value is near a power of two.  Use int64_t for lx and
32909         remove casts.  Use decimal rather than hex exponent constants.
32910         Don't use long double multiplication when double will suffice.
32911         * math/libm-test.inc (nextafter_test_data): Add tests.
32912         * NEWS: Add 16739 and 16786 to bug list.
32914         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32916         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32918 2014-04-01  Will Newton  <will.newton@linaro.org>
32920         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32921         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32923 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32925         [BZ #13347]
32926         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32927         * nptl/tst-setuid2.c: New file.
32928         * nptl/Makefile (xtests): Add tst-setuid2.
32930 2014-04-01  Alan Modra  <amodra@gmail.com>
32932         [BZ #16786]
32933         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32935 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32937         [BZ #6803]
32938         [BZ #6804]
32939         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32940         set errno as appropriate.
32941         * math/w_scalbf.c (__scalbf): Likewise.
32942         * math/w_scalbl.c (__scalbl): Likewise.
32943         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32944         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32945         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32946         Add more NaN tests.
32948         [BZ #16349]
32949         * math/w_atan2.c: Include <errno.h>.
32950         (__atan2): Set errno for result underflowing to zero.
32951         * math/w_atan2f.c: Include <errno.h>.
32952         (__atan2f): Set errno for result underflowing to zero.
32953         * math/w_atan2l.c: Include <errno.h>.
32954         (__atan2l): Set errno for result underflowing to zero.
32955         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32956         tests.
32957         * math/auto-libm-test-out: Regenerated.
32959 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32961         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32962         Encode instruction correctly in little endian.
32963         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32964         Likewise.
32965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32966         Likewise.
32967         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32968         Likewise.
32969         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32970         Likewise.
32972 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32974         [BZ #9894]
32975         * sysdeps/unix/sysv/linux/kernel-features.h
32976         [__sparc__ && !__arch64__ && !__sparc_v9__]
32977         (__ASSUME_SET_ROBUST_LIST): Do not define.
32978         [__sparc__ && !__arch64__ && !__sparc_v9__]
32979         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32980         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32981         Likewise.
32982         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32983         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32984         (__ASSUME_REQUEUE_PI): Likewise.
32985         (__ASSUME_SET_ROBUST_LIST): Likewise.
32986         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32987         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32988         Undefine.
32989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32990         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32991         Likewise.
32992         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32993         Likewise.
32994         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32995         Likewise.
32996         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32997         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32998         Undefine.
32999         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33000         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33001         Likewise.
33003         [BZ #16648]
33004         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33005         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33006         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33008 2014-03-31  Will Newton  <will.newton@linaro.org>
33010         * benchtests/Makefile (bench): Add ffs and ffsll to list
33011         of tests.
33012         * benchtests/ffs-inputs: New file.
33013         * benchtests/ffsll-inputs: Likewise.
33015 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #16770]
33018         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33019         too large before casting to int.
33020         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33021         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33022         * math/libm-test.inc (scalb_test_data): Add more tests.
33024 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33026         * benchtests/Makefile (DETAILED_OPT): New make option.
33027         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33028         set.
33029         * benchtests/bench-skeleton.c: Include stdbool.h.
33030         (main): Store and print timings per input.
33031         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33032         member to each argument value.
33033         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33034         (_print_arg_data): Initialize per-input timing to 0.
33036         * benchtests/Makefile (timing-type): New binary.
33037         (bench-clean): Also remove bench-timing-type.
33038         (bench): New target for timing-type.
33039         (bench-func): Print output in JSON format.
33040         * benchtests/bench-skeleton.c (main): Print output in JSON
33041         format.
33042         * benchtests/bench-timing-type.c: New file.
33043         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33044         (TIMING_PRINT_STATS): Remove.
33045         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33046         name separately.
33048         * benchtests/bench-modf.c: Remove.
33049         * benchtests/modf-inputs: New inputs file.
33051 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33053         [BZ #16362]
33054         * math/s_clog10.c (M_PI_LOG10E): New macro.
33055         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33056         imaginary parts are 0.
33057         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33058         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33059         imaginary parts are 0.
33060         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33061         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33062         imaginary parts are 0.
33063         * math/libm-test.inc (clog10_test_data): Update expected results
33064         for when real and imaginary parts are 0.
33066 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33068         * elf/dl-load.c: Finish conversion of __builtin_expect into
33069         __glibc_{un}likely.
33071 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33073         [BZ #16348]
33074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33075         1+x for argument with exponent below -67.
33076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33077         Likewise.
33078         * math/auto-libm-test-in: Add more tests of exp.
33079         * math/auto-libm-test-out: Regenerated.
33081 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33083         [BZ #16759]
33084         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33085         (nscd_getnetgrent): Use it.
33087         [BZ #16760]
33088         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33089         of stpcpy.
33091 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33093         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33094         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33095         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33096         (lll_robust_unlock): Remove out of line section. Use cfi
33097         intrinsics.
33098         (LLL_STUB_UNWIND_INFO*): Remove.
33099         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33100         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33101         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33102         (lll_robust_unlock): Remove out of line section. Use cfi
33103         intrinsics.
33104         (LLL_STUB_UNWIND_INFO*): Remove.
33106 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33108         [BZ #16758]
33109         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33110         blank values.
33112 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33114         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33116 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33118         [BZ #16198]
33119         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33120         fnstenv.
33121         * math/test-fenv-preserve.c: New file.
33122         * math/Makefile (tests): Add test-fenv-preserve.
33124 2014-03-26  Will Newton <will.newton@linaro.org>
33126         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33128 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33130         * scripts/versionlist.awk: Partition the version sets and emit all
33131         GLIBC_* (sorted) before all others (sorted).
33133 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33135         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33136         GLIBC_2.2.5 version.
33138 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33140         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33141         calls.
33143         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33144         previous change.
33146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33148 2014-03-25  Andreas Schwab  <schwab@suse.de>
33150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33151         label to be used after in6ailist is initialized.
33153 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33155         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33156         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33158 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33160         [BZ #16357]
33161         [BZ #16599]
33162         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33163         min_plus_half.
33164         (fp_formats): Update initializers.
33165         (init_fp_formats): Initialize new field.
33166         (output_for_one_input_case): Allow underflow for results up to
33167         min_plus_half.
33168         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33169         * math/auto-libm-test-in: Don't mark some underflows from asin and
33170         atanh as spurious.
33171         * math/auto-libm-test-out: Regenerated.
33172         * sysdeps/i386/fpu/libm-test-ulps: Update.
33173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33175 2014-03-25  Andreas Schwab  <schwab@suse.de>
33177         * libio/Makefile (tst-ftell-partial-wide-ENV)
33178         (tst-ftell-active-handler-ENV): Define.
33180 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33182         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33184 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33186         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33188 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33190         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33191         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33194 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33196         [BZ #16634]
33197         * elf/dl-load.c (open_verify): Add mode parameter.
33198         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33199         (open_path): Change from boolean 'secure' to complete flag 'mode'
33200         (_dl_map_object): Adjust.
33201         * elf/Makefile (tests): Add tst-dlopen-aout.
33202         * elf/tst-dlopen-aout.c: New test.
33204 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33206         [BZ #16714]
33207         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33208         (struct stat): Rename member pad0 to __glibc_reserved0.
33210         [BZ #16712]
33211         * sysdeps/s390/s390-32/bits/wordsize.h
33212         (__WORDSIZE32_SIZE_ULONG): New define.
33213         * sysdeps/s390/s390-64/bits/wordsize.h
33214         (__WORDSIZE32_SIZE_ULONG): Likewise.
33215         * sysdeps/generic/stdint.h (SIZE_MAX):
33216         Define as UL if __WORDSIZE32_SIZE_ULONG.
33218         [BZ #16713]
33219         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33220         (__glibc_reserved0): New variable.
33221         (sa_flags): Change type to int.
33223         * posix/Makefile (before-compile): Use += before-compile instead
33224         of a :=.
33226         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33227         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33229 2014-03-20  Andreas Schwab  <schwab@suse.de>
33231         [BZ #16743]
33232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33233         non-matching result from nscd.
33235 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33237         * scripts/bench.py: Moved to ...
33238         * benchtests/scripts/bench.py: ... here.
33239         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33241 2014-03-24  Andreas Schwab  <schwab@suse.de>
33243         [BZ #16002]
33244         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33245         alloca_account and account alloca use for struct in6ailist.
33247 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33249         [BZ #16284]
33250         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33251         rounding mode to recompute results that overflow to infinity or
33252         underflow to zero.
33253         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33254         bug 16284.
33255         * math/auto-libm-test-out: Regenerated.
33256         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33257         (ccosh_test): Likewise.
33258         (csin_test_data): Use plus_oflow.
33259         (csin_test): Use ALL_RM_TEST.
33260         (csinh_test_data): Use plus_oflow.
33261         (csinh_test): Use ALL_RM_TEST.
33262         * sysdeps/i386/fpu/libm-test-ulps: Update.
33263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33265 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33267         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33268         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33269         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33271         [BZ #16731]
33272         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33273         when x - 1 is zero.
33274         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33275         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33276         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33277         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33278         argument is 1.
33279         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33280         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33281         zero.
33282         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33283         * sysdeps/i386/fpu/libm-test-ulps: Update.
33284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33286 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33288         * scripts/bench.pl: Remove file.
33289         * scripts/bench.py: New benchmark script.
33290         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33291         * benchtests/README: Mention python dependency.
33292         * scripts/pylintrc: New file.
33293         * scripts/pylint: New file.
33295         * bits/mathdef.h: Use #ifdef instead of #if.
33296         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33297         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33298         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33299         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33300         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33301         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33303 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33304             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33306         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33308         and strpbrk-ppc64 objects.
33309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33310         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33311         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33312         multiarch strpbrk for POWER7.
33313         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33314         multiarch strpbrk for PPC64.
33315         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33316         ifunc selector.
33317         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33318         strpbrk for POWER7.
33320 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33322         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33323         (atan_test): Likewise.
33324         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33325         (atanh_test): Use ALL_RM_TEST.
33326         (atan2_test_data): Likewise.
33327         (cabs_test): Likewise.
33328         (cacosh_test): Likewise.
33329         (carg_test): Likewise.
33330         (casin_test): Likewise.
33331         (casinh_test): Likewise.
33332         (cbrt_test): Likewise.
33333         (csqrt_test): Likewise.
33334         (erf_test): Likewise.
33335         (erfc_test): Likewise.
33336         (pow10_test): Likewise.
33337         (exp2_test): Likewise.
33338         (hypot_test): Likewise.
33339         (j0_test): Likewise.
33340         (j1_test): Likewise.
33341         (lgamma_test): Likewise.
33342         (gamma_test): Likewise.
33343         (sincos_test): Likewise.
33344         (tanh_test): Likewise.
33345         (y0_test): Likewise.
33346         (y1_test): Likewise.
33347         * sysdeps/i386/fpu/libm-test-ulps: Update.
33348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33350 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33352         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33354         and strcspn-ppc64 objects.
33355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33356         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33357         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33358         multiarch strcspn for POWER7.
33359         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33360         multiarch strcspn for PPC64.
33361         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33362         ifunc selector.
33363         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33364         strcspn for POWER7.
33366 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33368         * math/gen-libm-test.pl (generate_testfile): Expect only function
33369         name as argument to AUTO_TESTS_* and pass results for all rounding
33370         modes to parse_args.
33371         (parse_auto_input): Separate inputs of automatic tests from
33372         outputs before storing in %auto_tests.
33373         * math/libm-test.inc (acos_test_data): Update call to
33374         AUTO_TESTS_f_f.
33375         (acos_test): Use ALL_RM_TEST.
33376         (acos_tonearest_test_data): Remove.
33377         (acos_test_tonearest): Likewise.
33378         (acos_towardzero_test_data): Likewise.
33379         (acos_test_towardzero): Likewise.
33380         (acos_downward_test_data): Likewise.
33381         (acos_test_downward): Likewise.
33382         (acos_upward_test_data): Likewise.
33383         (acos_test_upward): Likewise.
33384         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33385         (asin_test_data): Likewise.
33386         (asin_test): Use ALL_RM_TEST.
33387         (asin_tonearest_test_data): Remove.
33388         (asin_test_tonearest): Likewise.
33389         (asin_towardzero_test_data): Likewise.
33390         (asin_test_towardzero): Likewise.
33391         (asin_downward_test_data): Likewise.
33392         (asin_test_downward): Likewise.
33393         (asin_upward_test_data): Likewise.
33394         (asin_test_upward): Likewise.
33395         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33396         (atan_test_data): Likewise.
33397         (atanh_test_data): Likewise.
33398         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33399         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33400         (carg_test_data): Likewise.
33401         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33402         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33403         (ccosh_test_data): Likewise.
33404         (cexp_test_data): Likewise.
33405         (clog_test_data): Likewise.
33406         (clog10_test_data): Likewise.
33407         (cos_test_data): Update call to AUTO_TESTS_f_f.
33408         (cos_test): Use ALL_RM_TEST.
33409         (cos_tonearest_test_data): Remove.
33410         (cos_test_tonearest): Likewise.
33411         (cos_towardzero_test_data): Likewise.
33412         (cos_test_towardzero): Likewise.
33413         (cos_downward_test_data): Likewise.
33414         (cos_test_downward): Likewise.
33415         (cos_upward_test_data): Likewise.
33416         (cos_test_upward): Likewise.
33417         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33418         (cosh_test): Use ALL_RM_TEST.
33419         (cosh_tonearest_test_data): Remove.
33420         (cosh_test_tonearest): Likewise.
33421         (cosh_towardzero_test_data): Likewise.
33422         (cosh_test_towardzero): Likewise.
33423         (cosh_downward_test_data): Likewise.
33424         (cosh_test_downward): Likewise.
33425         (cosh_upward_test_data): Likewise.
33426         (cosh_test_upward): Likewise.
33427         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33428         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33429         (ctan_test_data): Likewise.
33430         (ctan_test): Use ALL_RM_TEST.
33431         (ctan_tonearest_test_data): Remove.
33432         (ctan_test_tonearest): Likewise.
33433         (ctan_towardzero_test_data): Likewise.
33434         (ctan_test_towardzero): Likewise.
33435         (ctan_downward_test_data): Likewise.
33436         (ctan_test_downward): Likewise.
33437         (ctan_upward_test_data): Likewise.
33438         (ctan_test_upward): Likewise.
33439         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33440         (ctanh_test): Use ALL_RM_TEST.
33441         (ctanh_tonearest_test_data): Remove.
33442         (ctanh_test_tonearest): Likewise.
33443         (ctanh_towardzero_test_data): Likewise.
33444         (ctanh_test_towardzero): Likewise.
33445         (ctanh_downward_test_data): Likewise.
33446         (ctanh_test_downward): Likewise.
33447         (ctanh_upward_test_data): Likewise.
33448         (ctanh_test_upward): Likewise.
33449         (erf_test_data): Update call to AUTO_TESTS_f_f.
33450         (erfc_test_data): Likewise.
33451         (exp_test_data): Likewise.
33452         (exp_test): Use ALL_RM_TEST.
33453         (exp_tonearest_test_data): Remove.
33454         (exp_test_tonearest): Likewise.
33455         (exp_towardzero_test_data): Likewise.
33456         (exp_test_towardzero): Likewise.
33457         (exp_downward_test_data): Likewise.
33458         (exp_test_downward): Likewise.
33459         (exp_upward_test_data): Likewise.
33460         (exp_test_upward): Likewise.
33461         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33462         (exp10_test): Use ALL_RM_TEST.
33463         (exp10_tonearest_test_data): Remove.
33464         (exp10_test_tonearest): Likewise.
33465         (exp10_towardzero_test_data): Likewise.
33466         (exp10_test_towardzero): Likewise.
33467         (exp10_downward_test_data): Likewise.
33468         (exp10_test_downward): Likewise.
33469         (exp10_upward_test_data): Likewise.
33470         (exp10_test_upward): Likewise.
33471         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33472         (expm1_test_data): Likewise.
33473         (expm1_test): Use ALL_RM_TEST.
33474         (expm1_tonearest_test_data): Remove.
33475         (expm1_test_tonearest): Likewise.
33476         (expm1_towardzero_test_data): Likewise.
33477         (expm1_test_towardzero): Likewise.
33478         (expm1_downward_test_data): Likewise.
33479         (expm1_test_downward): Likewise.
33480         (expm1_upward_test_data): Likewise.
33481         (expm1_test_upward): Likewise.
33482         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33483         (fma_test): Use ALL_RM_TEST.
33484         (fma_towardzero_test_data): Remove.
33485         (fma_test_towardzero): Likewise.
33486         (fma_downward_test_data): Likewise.
33487         (fma_test_downward): Likewise.
33488         (fma_upward_test_data): Likewise.
33489         (fma_test_upward): Likewise.
33490         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33491         (j0_test_data): Update call to AUTO_TESTS_f_f.
33492         (j1_test_data): Likewise.
33493         (jn_test_data): Update call to AUTO_TESTS_if_f.
33494         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33495         (log_test_data): Update call to AUTO_TESTS_f_f.
33496         (log10_test_data): Likewise.
33497         (log1p_test_data): Likewise.
33498         (log2_test_data): Likewise.
33499         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33500         (pow_tonearest_test_data): Likewise.
33501         (sin_test_data): Update call to AUTO_TESTS_f_f.
33502         (sin_test): Use ALL_RM_TEST.
33503         (sin_tonearest_test_data): Remove.
33504         (sin_test_tonearest): Likewise.
33505         (sin_towardzero_test_data): Likewise.
33506         (sin_test_towardzero): Likewise.
33507         (sin_downward_test_data): Likewise.
33508         (sin_test_downward): Likewise.
33509         (sin_upward_test_data): Likewise.
33510         (sin_test_upward): Likewise.
33511         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33512         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33513         (sinh_test): Use ALL_RM_TEST.
33514         (sinh_tonearest_test_data): Remove.
33515         (sinh_test_tonearest): Likewise.
33516         (sinh_towardzero_test_data): Likewise.
33517         (sinh_test_towardzero): Likewise.
33518         (sinh_downward_test_data): Likewise.
33519         (sinh_test_downward): Likewise.
33520         (sinh_upward_test_data): Likewise.
33521         (sinh_test_upward): Likewise.
33522         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33523         (sqrt_test): Use ALL_RM_TEST.
33524         (sqrt_tonearest_test_data): Remove.
33525         (sqrt_test_tonearest): Likewise.
33526         (sqrt_towardzero_test_data): Likewise.
33527         (sqrt_test_towardzero): Likewise.
33528         (sqrt_downward_test_data): Likewise.
33529         (sqrt_test_downward): Likewise.
33530         (sqrt_upward_test_data): Likewise.
33531         (sqrt_test_upward): Likewise.
33532         (tan_test_data): Update call to AUTO_TESTS_f_f.
33533         (tan_test): Use ALL_RM_TEST.
33534         (tan_tonearest_test_data): Remove.
33535         (tan_test_tonearest): Likewise.
33536         (tan_towardzero_test_data): Likewise.
33537         (tan_test_towardzero): Likewise.
33538         (tan_downward_test_data): Likewise.
33539         (tan_test_downward): Likewise.
33540         (tan_upward_test_data): Likewise.
33541         (tan_test_upward): Likewise.
33542         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33543         (tgamma_test_data): Likewise.
33544         (y0_test_data): Likewise.
33545         (y1_test_data): Likewise.
33546         (yn_test_data): Update call to AUTO_TESTS_if_f.
33547         (main): Do not call removed functions.
33549 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33551         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33552         (ldexp_test_data): Remove.
33553         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33554         scalbn_test_data.
33555         (scalb_test): Use ALL_RM_TEST.
33557 2014-03-19  Andreas Schwab  <schwab@suse.de>
33559         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33561 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33563         [BZ #16649]
33564         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33565         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33566         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33568         (__ASSUME_PREADV): Undefine.
33569         (__ASSUME_PWRITEV): Likewise.
33571 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33573         * bits/mman-linux.h: Add comment about non-Linux use.
33574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33575         bits/mman-linux.h resting place.
33577         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33578         * bits/mman-linux.h: ... here.
33580 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33582         * conform/conformtest.pl: Add standard definition when calling C
33583         preprocessor on data files.
33584         (checknamespace): Remove unused variable.
33586 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33588         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33589         minus_oflow, plus_uflow and minus_uflow in expected results.
33590         * math/libm-test.inc (scalbn_test_data): Add more tests of
33591         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33592         minus_uflow.
33593         (scalbn_test): Use ALL_RM_TEST.
33594         (scalbln_test_data): Add more tests of negative arguments.  Use
33595         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33596         (scalbln_test): Use ALL_RM_TEST.
33598 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33600         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33602 2014-03-18  Will Newton  <will.newton@linaro.org>
33604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33605         inaccurate comment.
33607 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33609         * Makerules [!subdir] (check-abi): Exit with error status if a
33610         test failed.
33612 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33614         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33615         for rint.  Include results for all rounding modes.
33616         (nearbyint_test): Use ALL_RM_TEST.
33617         (rint_test_data): Include all tests used for nearbyint.
33619 2014-03-17  Will Newton  <will.newton@linaro.org>
33621         * nptl/sysdeps/pthread/pthread.h: Revert previous
33622         change.
33624         * sysdeps/generic/ldsodefs.h: Revert previous
33625         change.
33627         * libio/genops.c: Revert previous change.
33628         * libio/libioP.h: Likewise.
33629         * stdio-common/vfprintf.c: Likewise.
33631         * sysdeps/generic/math_private.h: Revert previous
33632         change.
33634         * sysdeps/generic/math_private.h: Check whether
33635         HAVE_RM_CTX is defined with #ifdef rather
33636         than #if.
33638         * argp/argp-fmtstream.h: Check whether
33639         __STRICT_ANSI__ is defined with #ifdef rather
33640         than #if.
33641         * argp/argp.h: Likewise.
33643         * libio/genops.c: Check whether
33644         _IO_JUMPS_OFFSET is defined with #ifdef rather
33645         than #if.
33646         * libio/libioP.h: Likewise.
33647         * stdio-common/vfprintf.c: Likewise.
33649         * sysdeps/generic/ldsodefs.h: Check whether
33650         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33651         than #if.
33653         * nptl/sysdeps/pthread/pthread.h: Check
33654         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33655         its value.
33657 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33659         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33660         setting O_APPEND.
33661         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33662         test case.
33664         [BZ #16680]
33665         * libio/fileops.c (_IO_file_open): Seek to end of file but
33666         don't cache the offset.
33667         (get_file_offset): Remove function.
33668         (do_ftell): Use cached offset when available.
33669         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33670         don't cache the offset.
33671         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33672         case.
33673         (do_one_test): Call it.
33674         (do_ftell_test): Fix up expected old offset for a+ mode.
33675         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33676         available.
33678         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33679         up test status with function return status.
33680         (do_write_test): Likewise.
33681         (do_append_test): Likewise.
33683         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33684         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33685         Remove.
33687 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33689         * math/gen-libm-test.pl (parse_args): Handle results specified for
33690         each rounding mode separately.
33691         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33692         tests and results from lrint_tonearest_test_data,
33693         lrint_towardzero_test_data, lrint_downward_test_data and
33694         lrint_upward_test_data.
33695         (lrint_test): Use ALL_RM_TEST.
33696         (lrint_tonearest_test_data): Remove.
33697         (lrint_test_tonearest): Likewise.
33698         (lrint_towardzero_test_data): Likewise.
33699         (lrint_test_towardzero): Likewise.
33700         (lrint_downward_test_data): Likewise.
33701         (lrint_test_downward): Likewise.
33702         (lrint_upward_test_data): Likewise.
33703         (lrint_test_upward): Likewise.
33704         (llrint_test_data): Merge in per-rounding-mode tests and results
33705         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33706         llrint_downward_test_data and llrint_upward_test_data.
33707         (llrint_test): Use ALL_RM_TEST.
33708         (llrint_tonearest_test_data): Remove.
33709         (llrint_test_tonearest): Likewise.
33710         (llrint_towardzero_test_data): Likewise.
33711         (llrint_test_towardzero): Likewise.
33712         (llrint_downward_test_data): Likewise.
33713         (llrint_test_downward): Likewise.
33714         (llrint_upward_test_data): Likewise.
33715         (llrint_test_upward): Likewise.
33716         (rint_test_data): Merge in per-rounding-mode tests and results
33717         from rint_tonearest_test_data, rint_towardzero_test_data,
33718         rint_downward_test_data and rint_upward_test_data.  Add
33719         per-rounding-mode results for tests not in those arrays.
33720         (rint_test): Use ALL_RM_TEST.
33721         (rint_tonearest_test_data): Remove.
33722         (rint_test_tonearest): Likewise.
33723         (rint_towardzero_test_data): Likewise.
33724         (rint_test_towardzero): Likewise.
33725         (rint_downward_test_data): Likewise.
33726         (rint_test_downward): Likewise.
33727         (rint_upward_test_data): Likewise.
33728         (rint_test_upward): Likewise.
33729         (main): Don't call removed functions.
33731 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33733         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33734         "Compiled on ..." crapola.  It is anti-useful.
33736 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33738         * scripts/evaluate-test.sh: Handle fourth argument to determine
33739         whether test run should stop on failure.
33740         * Makeconfig (stop-on-test-failure): New variable.
33741         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33742         $(stop-on-test-failure).
33743         * Makefile (tests): Give a summary of results from testing and
33744         exit with failure status if they include an ERROR or FAIL.
33745         (xtests): Likewise.
33746         * manual/install.texi (Configuring and compiling): Mention
33747         stop-on-test-failure=y.
33748         * INSTALL: Regenerated.
33750 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33752         * scripts/versionlist.awk: New file.
33753         * Makerules [$(build-shared) = yes]
33754         (postclean-generated): Add Versions.def, not Versions.def.v and
33755         Versions.def.v.i.
33756         ($(common-objpfx)Versions.def.v.i): Target removed.
33757         ($(common-objpfx)Versions.def): New target.
33758         ($(common-objpfx)Versions.all): Depend on that rather that
33759         $(common-objpfx)Versions.def.v.
33760         * Versions.def: File removed.
33762         * Makeconfig (+gccwarn): Add -Wundef.
33763         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33764         a dl-sysdep.h breaking its contract.
33765         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33766         * include/stackinfo.h: New file.
33767         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33768         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33769         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33770         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33771         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33772         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33773         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33774         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33775         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33776         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33777         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33778         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33779         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33780         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33781         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33783 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33785         [BZ #16707]
33786         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33787         implementation.
33788         * math/libm-test.inc (round_test_data): Add more tests.
33790         [BZ #16706]
33791         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33792         implementation.
33793         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33795         [BZ #16701]
33796         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33797         implementation.
33798         * math/libm-test.inc (ceil_test_data): Add more tests.
33800         * math/libm-test.inc (trunc_test_data): Add more tests related to
33801         BZ#16414.
33803 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33805         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33806         with #if rather than #ifdef.
33807         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33809 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33811         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33812         first.  Disable AVX-512 GCC support if assembler doesn't support
33813         it.
33814         * sysdeps/x86_64/configure: Regenerated.
33816 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33818         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33819         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33820         (__old_pthread_attr_setstack): Likewise.
33821         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33822         [!_STACK_GROWS_DOWN]: Likewise.
33824 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33826         * config.make.in (have-bash2): Delete.
33827         * configure.ac (libc_cv_have_bash2): Delete.
33828         * configure: Regenerate.
33829         * elf/Makefile (common-ldd-rewrite): Rename to ...
33830         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33831         (sh-ldd-rewrite): Delete.
33832         (bash-ldd-rewrite): Delete.
33833         (have-bash2): Delete checks.
33834         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33835         ldd-rewrite.
33837         * config.make.in (have-ksh): Delete.
33838         (KSH): Delete.
33839         * configure.ac (libc_cv_have_ksh): Delete.
33840         * configure: Regenerate.
33842         * elf/Makefile: Delete $(have-ksh) check.
33843         ($(objpfx)sotruss): Change KSH to BASH.
33844         * elf/sotruss.ksh: Rename to ...
33845         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33846         function style to match POSIX.  Drop ksh vim mode setting.
33848         * manual/time.texi (Specifying the Time Zone with TZ): Change
33849         Tuesday to Thursday.
33851         * debug/tst-longjmp_chk2.c: Update header comment.
33852         (stackoverflow_handler): Add comment.  Call assert on pass value.
33854 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33856         [BZ #16194]
33857         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33858         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33859         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33860         (La_x86_64_vector): Add zmm.
33861         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33862         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33863         ($(objpfx)tst-audit10): New target.
33864         ($(objpfx)tst-audit10.out): Likewise.
33865         (tst-audit10-ENV): New.
33866         (AVX512-CFLAGS): Likewise.
33867         (CFLAGS-tst-audit10.c): Likewise.
33868         (CFLAGS-tst-auditmod10a.c): Likewise.
33869         (CFLAGS-tst-auditmod10b.c): Likewise.
33870         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33871         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33872         * sysdeps/x86_64/configure: Regenerated.
33873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33874         AVX-512 zmm register support.
33875         (_dl_x86_64_save_sse): Likewise.
33876         (_dl_x86_64_restore_sse): Likewise.
33877         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33878         size vector registers.
33879         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33880         (ZMM_SIZE): Likewise.
33881         * sysdeps/x86_64/tst-audit10.c: New file.
33882         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33883         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33885 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33887         * configure.ac (HAVE_EHDR_START): New check.
33888         * configure: Regenerated.
33889         * config.h.in (HAVE_EHDR_START): New #undef.
33890         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33891         assuming the lowest-addressed segment maps the start of the file.
33893 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33895         * INSTALL: Regenerated.
33897 2014-03-13  Will Newton  <will.newton@linaro.org>
33899         * manual/setjmp.texi (System V contexts): Improve
33900         clarity and grammar of documentation.
33902 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33904         [BZ #16381]
33905         * elf/Makefile (tests): Add tst-pie2.
33906         (tests-pie): Add tst-pie2.
33907         * elf/tst-pie2.c: New file.
33908         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33909         for ET_EXEC.
33910         * elf/rtld.c (map_doit): Load executable as lt_executable.
33911         (dl_main): Likewise.
33913 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33915         [BZ #16642]
33916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33917         (__ASSUME_PSELECT): Undefine.
33919 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33921         [BZ #16689]
33922         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33923         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33924         static build.
33925         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33926         selector for static builds.
33928 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33930         [BZ #16695]
33931         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33932         key in the buffer.
33934 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33936         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33937         IFUNC selector for static builds.
33939 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33941         * sysdeps/mips/math_private.h [__mips_hard_float]
33942         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33943         libc_feresetround_mips_ctx.
33944         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33945         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33946         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33948         [BZ #16677]
33949         * math/s_nextafter.c (__nextafter): Do not return value from
33950         overflowing computation.
33951         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33952         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33953         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33954         Likewise.
33955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33956         Likewise.
33957         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33958         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33960 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33962         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33963         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33964         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33965         the new mov targetting sp.
33967 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33969         [BZ #16683]
33970         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33971         Define it for static builds as well.
33972         (NO_BZERO_IMPL): Likewise.
33974 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33976         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33977         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33978         multiarch strspn for PPC64.
33979         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33980         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33982         (__libc_ifunc_impl_list): Likewise.
33983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33984         multiarch optimizations
33985         * string/strspn.c (strspn): Using macro to redefine symbol name.
33987 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33988             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33990         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33991         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33992         multiarch strncat for PPC64.
33993         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33994         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33996         (__libc_ifunc_impl_list): Likewise.
33997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33998         multiarch optimizations
34000 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34002         [BZ #16639]
34003         * nscd/nscd.service: Make service type forking.
34005 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34007         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34008         sign in non default rounding modes.
34009         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34011 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34013         * math/libm-test.inc (ALL_RM_TEST): New macro.
34014         (ceil_test): Use ALL_RM_TEST.
34015         (cimag_test): Likewise.
34016         (conj_test): Likewise.
34017         (copysign_test): Likewise.
34018         (cproj_test): Likewise.
34019         (creal_test): Likewise.
34020         (fabs_test): Likewise.
34021         (floor_test): Likewise.
34022         (fmax_test): Likewise.
34023         (fmin_test): Likewise.
34024         (fmod_test): Likewise.
34025         (fpclassify_test): Likewise.
34026         (frexp_test): Likewise.
34027         (ilogb_test): Likewise.
34028         (isfinite_test): Likewise.
34029         (finite_test): Likewise.
34030         (isgreater_test): Likewise.
34031         (isgreaterequal_test): Likewise.
34032         (isinf_test): Likewise.
34033         (isless_test): Likewise.
34034         (islessequal_test): Likewise.
34035         (islessgreater_test): Likewise.
34036         (isnan_test): Likewise.
34037         (isnormal_test): Likewise.
34038         (issignaling_test): Likewise.
34039         (isunordered_test): Likewise.
34040         (logb_test): Likewise.
34041         (logb_downward_test_data): Remove.
34042         (logb_test_downward): Likewise.
34043         (lround_test): Use ALL_RM_TEST.
34044         (llround_test): Likewise.
34045         (modf_test): Likewise.
34046         (nexttoward_test): Likewise.
34047         (remainder_test): Likewise.
34048         (drem_test): Likewise.
34049         (remainder_tonearest_test_data): Likewise.
34050         (remainder_test_tonearest): Likewise.
34051         (drem_test_tonearest): Likewise.
34052         (remainder_towardzero_test_data): Likewise.
34053         (remainder_test_towardzero): Likewise.
34054         (drem_test_towardzero): Likewise.
34055         (remainder_downward_test_data): Likewise.
34056         (remainder_test_downward): Likewise.
34057         (drem_test_downward): Likewise.
34058         (remainder_upward_test_data): Likewise.
34059         (remainder_test_upward): Likewise.
34060         (drem_test_upward): Likewise.
34061         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34062         (round_test): Use ALL_RM_TEST.
34063         (signbit_test): Likewise.
34064         (trunc_test): Likewise.
34065         (significand_test): Likewise.
34066         (main): Don't call removed functions.
34068 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34070         [BZ #16674]
34071         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34072         || __USE_XOPEN2K8].
34073         (ILL_ILLOPN): Likewise.
34074         (ILL_ILLADR): Likewise.
34075         (ILL_ILLTRP): Likewise.
34076         (ILL_PRVOPC): Likewise.
34077         (ILL_PRVREG): Likewise.
34078         (ILL_COPROC): Likewise.
34079         (ILL_BADSTK): Likewise.
34080         (FPE_INTDIV): Likewise.
34081         (FPE_INTOVF): Likewise.
34082         (FPE_FLTDIV): Likewise.
34083         (FPE_FLTOVF): Likewise.
34084         (FPE_FLTUND): Likewise.
34085         (FPE_FLTRES): Likewise.
34086         (FPE_FLTINV): Likewise.
34087         (FPE_FLTSUB): Likewise.
34088         (SEGV_MAPERR): Likewise.
34089         (SEGV_ACCERR): Likewise.
34090         (BUS_ADRALN): Likewise.
34091         (BUS_ADRERR): Likewise.
34092         (BUS_OBJERR): Likewise.
34093         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34094         (TRAP_TRACE): Likewise.
34095         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34096         __USE_XOPEN2K8].
34097         (CLD_KILLED): Likewise.
34098         (CLD_DUMPED): Likewise.
34099         (CLD_TRAPPED): Likewise.
34100         (CLD_STOPPED): Likewise.
34101         (CLD_CONTINUED): Likewise.
34102         (POLL_IN): Likewise.
34103         (POLL_OUT): Likewise.
34104         (POLL_MSG): Likewise.
34105         (POLL_ERR): Likewise.
34106         (POLL_PRI): Likewise.
34107         (POLL_HUP): Likewise.
34108         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34109         Likewise.
34110         (ILL_ILLOPN): Likewise.
34111         (ILL_ILLADR): Likewise.
34112         (ILL_ILLTRP): Likewise.
34113         (ILL_PRVOPC): Likewise.
34114         (ILL_PRVREG): Likewise.
34115         (ILL_COPROC): Likewise.
34116         (ILL_BADSTK): Likewise.
34117         (FPE_INTDIV): Likewise.
34118         (FPE_INTOVF): Likewise.
34119         (FPE_FLTDIV): Likewise.
34120         (FPE_FLTOVF): Likewise.
34121         (FPE_FLTUND): Likewise.
34122         (FPE_FLTRES): Likewise.
34123         (FPE_FLTINV): Likewise.
34124         (FPE_FLTSUB): Likewise.
34125         (SEGV_MAPERR): Likewise.
34126         (SEGV_ACCERR): Likewise.
34127         (BUS_ADRALN): Likewise.
34128         (BUS_ADRERR): Likewise.
34129         (BUS_OBJERR): Likewise.
34130         (BUS_MCEERR_AR): Likewise.
34131         (BUS_MCEERR_AO): Likewise.
34132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34133         (TRAP_TRACE): Likewise.
34134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34135         __USE_XOPEN2K8].
34136         (CLD_KILLED): Likewise.
34137         (CLD_DUMPED): Likewise.
34138         (CLD_TRAPPED): Likewise.
34139         (CLD_STOPPED): Likewise.
34140         (CLD_CONTINUED): Likewise.
34141         (POLL_IN): Likewise.
34142         (POLL_OUT): Likewise.
34143         (POLL_MSG): Likewise.
34144         (POLL_ERR): Likewise.
34145         (POLL_PRI): Likewise.
34146         (POLL_HUP): Likewise.
34147         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34148         (ILL_ILLOPN): Likewise.
34149         (ILL_ILLADR): Likewise.
34150         (ILL_ILLTRP): Likewise.
34151         (ILL_PRVOPC): Likewise.
34152         (ILL_PRVREG): Likewise.
34153         (ILL_COPROC): Likewise.
34154         (ILL_BADSTK): Likewise.
34155         (FPE_INTDIV): Likewise.
34156         (FPE_INTOVF): Likewise.
34157         (FPE_FLTDIV): Likewise.
34158         (FPE_FLTOVF): Likewise.
34159         (FPE_FLTUND): Likewise.
34160         (FPE_FLTRES): Likewise.
34161         (FPE_FLTINV): Likewise.
34162         (FPE_FLTSUB): Likewise.
34163         (SEGV_MAPERR): Likewise.
34164         (SEGV_ACCERR): Likewise.
34165         (BUS_ADRALN): Likewise.
34166         (BUS_ADRERR): Likewise.
34167         (BUS_OBJERR): Likewise.
34168         (BUS_MCEERR_AR): Likewise.
34169         (BUS_MCEERR_AO): Likewise.
34170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34171         (TRAP_TRACE): Likewise.
34172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34173         __USE_XOPEN2K8].
34174         (CLD_KILLED): Likewise.
34175         (CLD_DUMPED): Likewise.
34176         (CLD_TRAPPED): Likewise.
34177         (CLD_STOPPED): Likewise.
34178         (CLD_CONTINUED): Likewise.
34179         (POLL_IN): Likewise.
34180         (POLL_OUT): Likewise.
34181         (POLL_MSG): Likewise.
34182         (POLL_ERR): Likewise.
34183         (POLL_PRI): Likewise.
34184         (POLL_HUP): Likewise.
34185         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34186         Likewise.
34187         (ILL_ILLOPN): Likewise.
34188         (ILL_ILLADR): Likewise.
34189         (ILL_ILLTRP): Likewise.
34190         (ILL_PRVOPC): Likewise.
34191         (ILL_PRVREG): Likewise.
34192         (ILL_COPROC): Likewise.
34193         (ILL_BADSTK): Likewise.
34194         (ILL_BADIADDR): Likewise.
34195         (ILL_BREAK): Likewise.
34196         (FPE_INTDIV): Likewise.
34197         (FPE_INTOVF): Likewise.
34198         (FPE_FLTDIV): Likewise.
34199         (FPE_FLTOVF): Likewise.
34200         (FPE_FLTUND): Likewise.
34201         (FPE_FLTRES): Likewise.
34202         (FPE_FLTINV): Likewise.
34203         (FPE_FLTSUB): Likewise.
34204         (FPE_DECOVF): Likewise.
34205         (FPE_DECDIV): Likewise.
34206         (FPE_DECERR): Likewise.
34207         (FPE_INVASC): Likewise.
34208         (FPE_INVDEC): Likewise.
34209         (SEGV_MAPERR): Likewise.
34210         (SEGV_ACCERR): Likewise.
34211         (SEGV_PSTKOVF): Likewise.
34212         (BUS_ADRALN): Likewise.
34213         (BUS_ADRERR): Likewise.
34214         (BUS_OBJERR): Likewise.
34215         (BUS_MCEERR_AR): Likewise.
34216         (BUS_MCEERR_AO): Likewise.
34217         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34218         (TRAP_TRACE): Likewise.
34219         (TRAP_BRANCH): Likewise.
34220         (TRAP_HWBKPT): Likewise.
34221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34222         __USE_XOPEN2K8].
34223         (CLD_KILLED): Likewise.
34224         (CLD_DUMPED): Likewise.
34225         (CLD_TRAPPED): Likewise.
34226         (CLD_STOPPED): Likewise.
34227         (CLD_CONTINUED): Likewise.
34228         (POLL_IN): Likewise.
34229         (POLL_OUT): Likewise.
34230         (POLL_MSG): Likewise.
34231         (POLL_ERR): Likewise.
34232         (POLL_PRI): Likewise.
34233         (POLL_HUP): Likewise.
34234         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34235         (ILL_ILLOPN): Likewise.
34236         (ILL_ILLADR): Likewise.
34237         (ILL_ILLTRP): Likewise.
34238         (ILL_PRVOPC): Likewise.
34239         (ILL_PRVREG): Likewise.
34240         (ILL_COPROC): Likewise.
34241         (ILL_BADSTK): Likewise.
34242         (FPE_INTDIV): Likewise.
34243         (FPE_INTOVF): Likewise.
34244         (FPE_FLTDIV): Likewise.
34245         (FPE_FLTOVF): Likewise.
34246         (FPE_FLTUND): Likewise.
34247         (FPE_FLTRES): Likewise.
34248         (FPE_FLTINV): Likewise.
34249         (FPE_FLTSUB): Likewise.
34250         (SEGV_MAPERR): Likewise.
34251         (SEGV_ACCERR): Likewise.
34252         (BUS_ADRALN): Likewise.
34253         (BUS_ADRERR): Likewise.
34254         (BUS_OBJERR): Likewise.
34255         (BUS_MCEERR_AR): Likewise.
34256         (BUS_MCEERR_AO): Likewise.
34257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34258         (TRAP_TRACE): Likewise.
34259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34260         __USE_XOPEN2K8].
34261         (CLD_KILLED): Likewise.
34262         (CLD_DUMPED): Likewise.
34263         (CLD_TRAPPED): Likewise.
34264         (CLD_STOPPED): Likewise.
34265         (CLD_CONTINUED): Likewise.
34266         (POLL_IN): Likewise.
34267         (POLL_OUT): Likewise.
34268         (POLL_MSG): Likewise.
34269         (POLL_ERR): Likewise.
34270         (POLL_PRI): Likewise.
34271         (POLL_HUP): Likewise.
34272         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34273         (ILL_ILLOPN): Likewise.
34274         (ILL_ILLADR): Likewise.
34275         (ILL_ILLTRP): Likewise.
34276         (ILL_PRVOPC): Likewise.
34277         (ILL_PRVREG): Likewise.
34278         (ILL_COPROC): Likewise.
34279         (ILL_BADSTK): Likewise.
34280         (FPE_INTDIV): Likewise.
34281         (FPE_INTOVF): Likewise.
34282         (FPE_FLTDIV): Likewise.
34283         (FPE_FLTOVF): Likewise.
34284         (FPE_FLTUND): Likewise.
34285         (FPE_FLTRES): Likewise.
34286         (FPE_FLTINV): Likewise.
34287         (FPE_FLTSUB): Likewise.
34288         (SEGV_MAPERR): Likewise.
34289         (SEGV_ACCERR): Likewise.
34290         (BUS_ADRALN): Likewise.
34291         (BUS_ADRERR): Likewise.
34292         (BUS_OBJERR): Likewise.
34293         (BUS_MCEERR_AR): Likewise.
34294         (BUS_MCEERR_AO): Likewise.
34295         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34296         (TRAP_TRACE): Likewise.
34297         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34298         __USE_XOPEN2K8].
34299         (CLD_KILLED): Likewise.
34300         (CLD_DUMPED): Likewise.
34301         (CLD_TRAPPED): Likewise.
34302         (CLD_STOPPED): Likewise.
34303         (CLD_CONTINUED): Likewise.
34304         (POLL_IN): Likewise.
34305         (POLL_OUT): Likewise.
34306         (POLL_MSG): Likewise.
34307         (POLL_ERR): Likewise.
34308         (POLL_PRI): Likewise.
34309         (POLL_HUP): Likewise.
34310         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34311         (ILL_ILLOPN): Likewise.
34312         (ILL_ILLADR): Likewise.
34313         (ILL_ILLTRP): Likewise.
34314         (ILL_PRVOPC): Likewise.
34315         (ILL_PRVREG): Likewise.
34316         (ILL_COPROC): Likewise.
34317         (ILL_BADSTK): Likewise.
34318         (FPE_INTDIV): Likewise.
34319         (FPE_INTOVF): Likewise.
34320         (FPE_FLTDIV): Likewise.
34321         (FPE_FLTOVF): Likewise.
34322         (FPE_FLTUND): Likewise.
34323         (FPE_FLTRES): Likewise.
34324         (FPE_FLTINV): Likewise.
34325         (FPE_FLTSUB): Likewise.
34326         (SEGV_MAPERR): Likewise.
34327         (SEGV_ACCERR): Likewise.
34328         (BUS_ADRALN): Likewise.
34329         (BUS_ADRERR): Likewise.
34330         (BUS_OBJERR): Likewise.
34331         (BUS_MCEERR_AR): Likewise.
34332         (BUS_MCEERR_AO): Likewise.
34333         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34334         (TRAP_TRACE): Likewise.
34335         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34336         __USE_XOPEN2K8].
34337         (CLD_KILLED): Likewise.
34338         (CLD_DUMPED): Likewise.
34339         (CLD_TRAPPED): Likewise.
34340         (CLD_STOPPED): Likewise.
34341         (CLD_CONTINUED): Likewise.
34342         (POLL_IN): Likewise.
34343         (POLL_OUT): Likewise.
34344         (POLL_MSG): Likewise.
34345         (POLL_ERR): Likewise.
34346         (POLL_PRI): Likewise.
34347         (POLL_HUP): Likewise.
34348         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34349         (ILL_ILLOPN): Likewise.
34350         (ILL_ILLADR): Likewise.
34351         (ILL_ILLTRP): Likewise.
34352         (ILL_PRVOPC): Likewise.
34353         (ILL_PRVREG): Likewise.
34354         (ILL_COPROC): Likewise.
34355         (ILL_BADSTK): Likewise.
34356         (ILL_DBLFLT): Likewise.
34357         (ILL_HARDWALL): Likewise.
34358         (FPE_INTDIV): Likewise.
34359         (FPE_INTOVF): Likewise.
34360         (FPE_FLTDIV): Likewise.
34361         (FPE_FLTOVF): Likewise.
34362         (FPE_FLTUND): Likewise.
34363         (FPE_FLTRES): Likewise.
34364         (FPE_FLTINV): Likewise.
34365         (FPE_FLTSUB): Likewise.
34366         (SEGV_MAPERR): Likewise.
34367         (SEGV_ACCERR): Likewise.
34368         (BUS_ADRALN): Likewise.
34369         (BUS_ADRERR): Likewise.
34370         (BUS_OBJERR): Likewise.
34371         (BUS_MCEERR_AR): Likewise.
34372         (BUS_MCEERR_AO): Likewise.
34373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34374         (TRAP_TRACE): Likewise.
34375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34376         __USE_XOPEN2K8].
34377         (CLD_KILLED): Likewise.
34378         (CLD_DUMPED): Likewise.
34379         (CLD_TRAPPED): Likewise.
34380         (CLD_STOPPED): Likewise.
34381         (CLD_CONTINUED): Likewise.
34382         (POLL_IN): Likewise.
34383         (POLL_OUT): Likewise.
34384         (POLL_MSG): Likewise.
34385         (POLL_ERR): Likewise.
34386         (POLL_PRI): Likewise.
34387         (POLL_HUP): Likewise.
34388         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34389         (ILL_ILLOPN): Likewise.
34390         (ILL_ILLADR): Likewise.
34391         (ILL_ILLTRP): Likewise.
34392         (ILL_PRVOPC): Likewise.
34393         (ILL_PRVREG): Likewise.
34394         (ILL_COPROC): Likewise.
34395         (ILL_BADSTK): Likewise.
34396         (FPE_INTDIV): Likewise.
34397         (FPE_INTOVF): Likewise.
34398         (FPE_FLTDIV): Likewise.
34399         (FPE_FLTOVF): Likewise.
34400         (FPE_FLTUND): Likewise.
34401         (FPE_FLTRES): Likewise.
34402         (FPE_FLTINV): Likewise.
34403         (FPE_FLTSUB): Likewise.
34404         (SEGV_MAPERR): Likewise.
34405         (SEGV_ACCERR): Likewise.
34406         (BUS_ADRALN): Likewise.
34407         (BUS_ADRERR): Likewise.
34408         (BUS_OBJERR): Likewise.
34409         (BUS_MCEERR_AR): Likewise.
34410         (BUS_MCEERR_AO): Likewise.
34411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34412         (TRAP_TRACE): Likewise.
34413         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34414         __USE_XOPEN2K8].
34415         (CLD_KILLED): Likewise.
34416         (CLD_DUMPED): Likewise.
34417         (CLD_TRAPPED): Likewise.
34418         (CLD_STOPPED): Likewise.
34419         (CLD_CONTINUED): Likewise.
34420         (POLL_IN): Likewise.
34421         (POLL_OUT): Likewise.
34422         (POLL_MSG): Likewise.
34423         (POLL_ERR): Likewise.
34424         (POLL_PRI): Likewise.
34425         (POLL_HUP): Likewise.
34426         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34427         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34429         [BZ #16670]
34430         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34431         before #include of <time.h>.
34432         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34433         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34434         (test-xfail-UNIX98/sched.h/conform): Likewise.
34436 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34438         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34439         error absence of trapping exception support.
34440         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34442 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34444         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34445         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34446         * timezone/Makefile (testdata): Move definition above include of
34447         Rules.
34448         (test-zones): New variable.
34449         (tests-special): Add zone files.
34450         (build-testdata): Use $(evaluate-test).
34452         * elf/Makefile (tests-special): Rename tests to end with .out.
34453         ($(objpfx)noload-mem): Likewise.
34454         ($(objpfx)tst-leaks1-mem): Likewise.
34455         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34456         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34457         $(objpfx)test-iconvconfig.out.
34458         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34459         set -e inside subshell and redirect output to file.
34460         * iconvdata/Makefile (generated): Rename tests to end with .out.
34461         Correct type.
34462         (tests-special): Rename tests to end with .out.
34463         ($(objpfx)mtrace-tst-loading): Likewise.
34464         * intl/Makefile (generated): Likewise.
34465         (tests-special): Likewise.
34466         ($(objpfx)mtrace-tst-gettext): Likewise.
34467         * misc/Makefile (generated): Likewise.
34468         (tests-special): Likewise.
34469         ($(objpfx)tst-error1-mem): Likewise.
34470         * nptl/Makefile (tests-special): Likewise.
34471         ($(objpfx)tst-stack3-mem): Likewise.
34472         (generated): Likewise.
34473         * posix/Makefile (generated): Likewise.
34474         (tests-special): Likewise.
34475         (xtests-special): Likewise.
34476         ($(objpfx)tst-fnmatch-mem): Likewise.
34477         ($(objpfx)bug-regex2-mem): Likewise.
34478         ($(objpfx)bug-regex14-mem): Likewise.
34479         ($(objpfx)bug-regex21-mem): Likewise.
34480         ($(objpfx)bug-regex31-mem): Likewise.
34481         ($(objpfx)tst-vfork3-mem): Likewise.
34482         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34483         ($(objpfx)tst-pcre-mem): Likewise.
34484         ($(objpfx)tst-boost-mem): Likewise.
34485         ($(objpfx)bug-ga2-mem): Likewise.
34486         ($(objpfx)bug-glob2-mem): Likewise.
34487         * resolv/Makefile (generate): Likewise.
34488         (tests-special): Likewise.
34489         (xtests-special): Likewise.
34490         (generated): Likewise.
34491         ($(objpfx)mtrace-tst-leaks): Likewise.
34492         ($(objpfx)mtrace-tst-leaks2): Likewise.
34494         * scripts/merge-test-results.sh: New file.
34495         * Makefile (tests-special-notdir): New variable.
34496         (tests): Run merge-test-results.sh.
34497         (xtests): Likewise.
34498         * Rules (tests-special-notdir): New variable.
34499         (xtests-special-notdir): Likewise.
34500         (tests): Run merge-test-results.sh
34501         (xtests): Likewise.
34503         * Makeconfig (test-xfail-name): New variable.
34504         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34505         compute variable name for expected failures.
34506         * conform/Makefile (conformtest-headers-data): New variable.
34507         (conformtest-standards): Likewise.
34508         (conformtest-headers-ISO): Likewise.
34509         (conformtest-headers-ISO99): Likewise.
34510         (conformtest-headers-ISO11): Likewise.
34511         (conformtest-headers-POSIX): Likewise.
34512         (conformtest-headers-XPG3): Likewise.
34513         (conformtest-headers-XPG4): Likewise.
34514         (conformtest-headers-UNIX98): Likewise.
34515         (conformtest-headers-XOPEN2K): Likewise.
34516         (conformtest-headers-POSIX2008): Likewise.
34517         (conformtest-headers-XOPEN2K8): Likewise.
34518         (conformtest-header-list-base): Likewise.
34519         (conformtest-header-list-tests): Likewise.
34520         (conformtest-header-base): Likewise.
34521         (conformtest-header-tests): Likewise.
34522         (tests-special): Add $(conformtest-header-list-tests).  If
34523         [$(fast-check) && !$(cross-compiling)], add
34524         $(conformtest-header-tests) instead of
34525         $(objpfx)run-conformtest.out.
34526         (generated): Add $(conformtest-header-list-base).  If
34527         [$(fast-check) && !$(cross-compiling)], add
34528         $(conformtest-header-base).  Remove previous setting.
34529         ($(conformtest-header-list-tests)): New target.
34530         (test-xfail-run-conformtest): Remove variable.
34531         ($(objpfx)run-conformtest.out): Remove target.
34532         (test-xfail-ISO11/complex.h/conform): New variable.
34533         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34534         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34535         (test-xfail-XPG3/varargs.h/conform): Likewise.
34536         (test-xfail-XPG4/varargs.h/conform): Likewise.
34537         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34538         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34539         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34540         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34541         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34542         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34543         (test-xfail-XPG3/ftw.h/conform): Likewise.
34544         (test-xfail-XPG3/grp.h/conform): Likewise.
34545         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34546         (test-xfail-XPG3/limits.h/conform): Likewise.
34547         (test-xfail-XPG3/pwd.h/conform): Likewise.
34548         (test-xfail-XPG3/search.h/conform): Likewise.
34549         (test-xfail-XPG3/signal.h/conform): Likewise.
34550         (test-xfail-XPG3/stdio.h/conform): Likewise.
34551         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34552         (test-xfail-XPG3/string.h/conform): Likewise.
34553         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34554         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34555         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34556         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34557         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34558         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34559         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34560         (test-xfail-XPG3/termios.h/conform): Likewise.
34561         (test-xfail-XPG3/time.h/conform): Likewise.
34562         (test-xfail-XPG3/unistd.h/conform): Likewise.
34563         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34564         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34565         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34566         (test-xfail-XPG4/netdb.h/conform): Likewise.
34567         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34568         (test-xfail-XPG4/signal.h/conform): Likewise.
34569         (test-xfail-XPG4/stdio.h/conform): Likewise.
34570         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34571         (test-xfail-XPG4/stropts.h/conform): Likewise.
34572         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34573         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34574         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34575         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34576         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34577         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34578         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34579         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34580         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34581         (test-xfail-XPG4/termios.h/conform): Likewise.
34582         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34583         (test-xfail-XPG4/unistd.h/conform): Likewise.
34584         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34585         (test-xfail-POSIX/sched.h/conform): Likewise.
34586         (test-xfail-POSIX/signal.h/conform): Likewise.
34587         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34588         (test-xfail-POSIX/tar.h/conform): Likewise.
34589         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34590         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34591         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34592         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34593         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34594         (test-xfail-UNIX98/sched.h/conform): Likewise.
34595         (test-xfail-UNIX98/signal.h/conform): Likewise.
34596         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34597         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34598         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34599         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34600         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34601         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34602         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34603         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34604         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34605         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34606         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34607         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34608         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34609         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34610         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34611         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34612         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34613         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34614         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34615         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34616         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34617         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34618         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34619         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34620         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34621         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34622         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34623         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34624         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34625         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34626         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34627         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34628         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34629         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34630         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34631         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34632         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34633         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34634         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34635         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34636         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34637         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34638         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34639         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34640         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34641         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34642         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34643         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34644         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34645         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34646         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34647         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34648         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34649         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34650         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34651         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34652         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34653         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34654         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34655         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34656         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34657         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34658         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34659         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34660         (conformtest-cc-flags): Likewise.
34661         ($(conformtest-header-tests): New target.
34662         * conform/check-header-lists.sh: New file.
34663         * conform/run-conformtest.sh: Remove.
34665         * conform/conformtest.pl: Allow ' and \ in values given for
34666         constants.
34667         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34668         inclusion.
34669         [POSIX] (sys/types.h): Likewise.
34670         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34671         inclusion.
34672         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34673         inclusion.
34674         * conform/data/signal.h-data (SIGIO): Remove expectation.
34675         [XPG3] (SIGBUS): Do not expect.
34676         [POSIX || XPG3] (SIGPOLL): Likewise.
34677         [POSIX || XPG3] (SIGPROF): Likewise.
34678         [POSIX || XPG3] (SIGSYS): Likewise.
34679         [XPG3] (SIGTRAP): Likewise.
34680         [POSIX || XPG3] (SIGURG): Likewise.
34681         [POSIX || XPG3] (SIGVTALRM): Likewise.
34682         [POSIX || XPG3] (SIGXCPU): Likewise.
34683         [POSIX || XPG3] (SIGXFSZ): Likewise.
34684         [POSIX] (SA_SIGINFO): Expect.
34685         [XPG3] (siginfo_t): Do not expect type or contents.
34686         [POSIX] (si_pid): Do not expect element.
34687         [POSIX] (si_uid): Likewise.
34688         [POSIX] (si_addr): Likewise.
34689         [POSIX] (si_status): Likewise.
34690         [POSIX] (si_band): Likewise.
34691         [XPG4] (si_value): Likewise.
34692         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34693         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34694         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34695         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34696         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34697         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34698         [POSIX || XPG3] (ILL_COPROC): Likewise.
34699         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34700         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34701         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34702         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34703         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34704         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34705         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34706         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34707         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34708         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34709         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34710         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34711         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34712         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34713         [POSIX || XPG3] (CLD_EXITED): Likewise.
34714         [POSIX || XPG3] (CLD_KILLED): Likewise.
34715         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34716         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34717         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34718         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34719         [POSIX || XPG3] (POLL_IN): Likewise.
34720         [POSIX || XPG3] (POLL_OUT): Likewise.
34721         [POSIX || XPG3] (POLL_MSG): Likewise.
34722         [POSIX || XPG3] (POLL_ERR): Likewise.
34723         [POSIX || XPG3] (POLL_PRI): Likewise.
34724         [POSIX || XPG3] (POLL_HUP): Likewise.
34725         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34726         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34727         (SIG*): Do not allow.
34728         [XPG3] (si_*): Likewise.
34729         [XPG3] (SI_*): Likewise.
34730         [XPG3 || XPG4] (sigev_*): Likewise.
34731         [XPG3 || XPG4] (SIGEV_*): Likewise.
34732         [XPG3 || XPG4] (sival_*): Likewise.
34733         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34734         [POSIX || XPG3] (BUS_*): Likewise.
34735         [POSIX || XPG3] (CLD_*): Likewise.
34736         [POSIX || XPG3] (FPE_*): Likewise.
34737         [POSIX || XPG3] (ILL_*): Likewise.
34738         [POSIX || XPG3] (POLL_*): Likewise.
34739         [POSIX || XPG3] (SEGV_*): Likewise.
34740         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34741         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34742         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34743         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34744         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34745         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34746         Specify type and value.
34747         (TVERSLEN): Likewise.
34748         (REGTYPE): Likewise.
34749         (AREGTYPE): Likewise.
34750         (LNKTYPE): Likewise.
34751         (SYMTYPE): Likewise.
34752         (CHRTYPE): Likewise.
34753         (BLKTYPE): Likewise.
34754         (DIRTYPE): Likewise.
34755         (FIFOTYPE): Likewise.
34756         (CONTTYPE): Likewise.
34757         (TSUID): Likewise.
34758         (TSGID): Likewise.
34759         (TSVTX): Likewise.
34760         (TUREAD): Likewise.
34761         (TUWRITE): Likewise.
34762         (TUEXEC): Likewise.
34763         (TGREAD): Likewise.
34764         (TGWRITE): Likewise.
34765         (TGEXEC): Likewise.
34766         (TOREAD): Likewise.
34767         (TOWRITE): Likewise.
34768         (TOEXEC): Likewise.
34769         [POSIX] (TSVTX): Expect constant.
34771 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34773         * Makefile (tests): Change dependencies to ....
34774         (tests-special): ... additions to this variable.
34775         (tests): Depend on $(tests-special).
34776         * Makerules (check-abi-list): New variable.
34777         (check-abi): Depend on $(check-abi-list).
34778         [$(subdir) = elf] (tests-special): Add
34779         $(objpfx)check-abi-libc.out.
34780         [$(build-shared) = yes && subdir] (tests-special): Add
34781         $(check-abi-list).
34782         [$(build-shared) = yes && subdir] (tests): Do not depend on
34783         check-abi.
34784         * Rules (tests): Depend on $(tests-special).
34785         (xtests): Depend on $(xtests-special).
34786         * catgets/Makefile (tests): Change dependencies to ....
34787         (tests-special): ... additions to this variable.
34788         * conform/Makefile (tests): Change dependencies to ....
34789         (tests-special): ... additions to this variable.
34790         * elf/Makefile (tests): Change dependencies to ....
34791         (tests-special): ... additions to this variable.
34792         * grp/Makefile (tests): Change dependencies to ....
34793         (tests-special): ... additions to this variable.
34794         * iconv/Makefile (xtests): Change dependencies to ....
34795         (xtests-special): ... additions to this variable.
34796         * iconvdata/Makefile (tests): Change dependencies to ....
34797         (tests-special): ... additions to this variable.
34798         * intl/Makefile (tests): Change dependencies to ....
34799         (tests-special): ... additions to this variable.  Also add
34800         $(objpfx)tst-gettext.out.
34801         * io/Makefile (tests): Change dependencies to ....
34802         (tests-special): ... additions to this variable.
34803         * libio/Makefile (tests): Change dependencies to ....
34804         (tests-special): ... additions to this variable.
34805         * malloc/Makefile (tests): Change dependencies to ....
34806         (tests-special): ... additions to this variable.
34807         * misc/Makefile (tests): Change dependencies to ....
34808         (tests-special): ... additions to this variable.
34809         * nptl/Makefile (tests): Change dependencies to ....
34810         (tests-special): ... additions to this variable.
34811         * nptl_db/Makefile (tests): Change dependencies to ....
34812         (tests-special): ... additions to this variable.
34813         * posix/Makefile (tests): Change dependencies to ....
34814         (tests-special): ... additions to this variable.
34815         (xtests): Change dependencies to ....
34816         (xtests-special): ... additions to this variable.
34817         * resolv/Makefile (tests): Change dependencies to ....
34818         (tests-special): ... additions to this variable.
34819         (xtests): Change dependencies to ....
34820         (xtests-special): ... additions to this variable.
34821         * stdio-common/Makefile (tests): Change dependencies to ....
34822         (tests-special): ... additions to this variable.
34823         (do-tst-unbputc): Remove target.
34824         (do-tst-printf): Likewise.
34825         * stdlib/Makefile (tests): Change dependencies to ....
34826         (tests-special): ... additions to this variable.
34827         * string/Makefile (tests): Change dependencies to ....
34828         (tests-special): ... additions to this variable.
34829         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34830         (tests-special): ... additions to this variable.
34832         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34833         whole file.
34834         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34835         whole file.
34836         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34837         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34839         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34840         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34841         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34842         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34843         * conform/data/libgen.h-data [XPG3]: Likewise.
34844         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34845         * conform/data/ndbm.h-data [XPG3]: Likewise.
34846         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34847         * conform/data/netdb.h-data [XPG3]: Likewise.
34848         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34849         * conform/data/poll.h-data [XPG3]: Likewise.
34850         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34851         * conform/data/strings.h-data [XPG3]: Likewise.
34852         * conform/data/stropts.h-data [XPG3]: Likewise.
34853         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34854         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34855         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34856         Likewise.
34857         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34858         * conform/data/sys/time.h-data [XPG3]: Likewise.
34859         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34860         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34861         * conform/data/sys/un.h-data [XPG3]: Likewise.
34862         * conform/data/syslog.h-data [XPG3]: Likewise.
34863         * conform/data/ucontext.h-data [XPG3]: Likewise.
34864         * conform/data/utmpx.h-data [XPG3]: Likewise.
34865         * conform/data/varargs.h-data [UNIX98]: Enable file.
34867         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34869         * math/libm-test.inc (struct test_f_f_data): Move expected results
34870         into structure for each rounding mode.
34871         (struct test_ff_f_data): Likewise.
34872         (struct test_ff_f_data_nexttoward): Likewise.
34873         (struct test_fi_f_data): Likewise.
34874         (struct test_fl_f_data): Likewise.
34875         (struct test_if_f_data): Likewise.
34876         (struct test_fff_f_data): Likewise.
34877         (struct test_c_f_data): Likewise.
34878         (struct test_f_f1_data): Likewise.
34879         (struct test_fF_f1_data): Likewise.
34880         (struct test_ffI_f1_data): Likewise.
34881         (struct test_c_c_data): Likewise.
34882         (struct test_cc_c_data): Likewise.
34883         (struct test_f_i_data): Likewise.
34884         (struct test_ff_i_data): Likewise.
34885         (struct test_f_l_data): Likewise.
34886         (struct test_f_L_data): Likewise.
34887         (struct test_fFF_11_data): Likewise.
34888         (RM_): New macro.
34889         (RM_FE_DOWNWARD): Likewise.
34890         (RM_FE_TONEAREST): Likewise.
34891         (RM_FE_TOWARDZERO): Likewise.
34892         (RM_FE_UPWARD): Likewise.
34893         (RUN_TEST_LOOP_f_f): Update references to expected results.
34894         (RUN_TEST_LOOP_2_f): Likewise.
34895         (RUN_TEST_LOOP_fff_f): Likewise.
34896         (RUN_TEST_LOOP_c_f): Likewise.
34897         (RUN_TEST_LOOP_f_f1): Likewise.
34898         (RUN_TEST_LOOP_fF_f1): Likewise.
34899         (RUN_TEST_LOOP_fI_f1): Likewise.
34900         (RUN_TEST_LOOP_ffI_f1): Likewise.
34901         (RUN_TEST_LOOP_c_c): Likewise.
34902         (RUN_TEST_LOOP_cc_c): Likewise.
34903         (RUN_TEST_LOOP_f_i): Likewise.
34904         (RUN_TEST_LOOP_f_i_tg): Likewise.
34905         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34906         (RUN_TEST_LOOP_f_b): Likewise.
34907         (RUN_TEST_LOOP_f_b_tg): Likewise.
34908         (RUN_TEST_LOOP_f_l): Likewise.
34909         (RUN_TEST_LOOP_f_L): Likewise.
34910         (RUN_TEST_LOOP_fFF_11): Likewise.
34911         * math/gen-libm-test.pl (parse_args): Output four copies of
34912         expected results for each test.
34914         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34915         (__ASSUME_UTIMES): Remove.
34916         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34917         (__ASSUME_UTIMES): Likewise.
34919         * math/gen-auto-libm-tests.c: Update comment on output format.
34920         (output_for_one_input_case): Generate before-rounding and
34921         after-rounding information as conditions on output flags not
34922         floating-point format.
34923         * math/auto-libm-test-out: Regenerated.
34924         * math/gen-libm-test.pl (cond_value): New function.
34925         (or_cond_value): Use cond_value.
34926         (generate_testfile): Handle conditional exceptions.
34928 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34930         * math/libm-test.inc (max_valid_error): New variable.
34931         (init_max_error): Take new argument specifying whether function
34932         results are exactly determined.  Set max_valid_error and bound
34933         other variables for errors based on this argument.
34934         (set_max_error): Do not record results above max_valid_error.
34935         (check_float_internal): Only accept errors of up to 0.5ulps if
34936         also at most max_valid_error.
34937         (START): Take new argument EXACT and pass it to init_max_error.
34938         (acos_test): Update call to START.
34939         (acos_test_tonearest): Likewise.
34940         (acos_test_towardzero): Likewise.
34941         (acos_test_downward): Likewise.
34942         (acos_test_upward): Likewise.
34943         (acosh_test): Likewise.
34944         (asin_test): Likewise.
34945         (asin_test_tonearest): Likewise.
34946         (asin_test_towardzero): Likewise.
34947         (asin_test_downward): Likewise.
34948         (asin_test_upward): Likewise.
34949         (asinh_test): Likewise.
34950         (atan_test): Likewise.
34951         (atanh_test): Likewise.
34952         (atan2_test): Likewise.
34953         (cabs_test): Likewise.
34954         (cacos_test): Likewise.
34955         (cacosh_test): Likewise.
34956         (carg_test): Likewise.
34957         (casin_test): Likewise.
34958         (casinh_test): Likewise.
34959         (catan_test): Likewise.
34960         (catanh_test): Likewise.
34961         (cbrt_test): Likewise.
34962         (ccos_test): Likewise.
34963         (ccosh_test): Likewise.
34964         (ceil_test): Likewise.
34965         (cexp_test): Likewise.
34966         (cimag_test): Likewise.
34967         (clog_test): Likewise.
34968         (clog10_test): Likewise.
34969         (conj_test): Likewise.
34970         (copysign_test): Likewise.
34971         (cos_test): Likewise.
34972         (cos_test_tonearest): Likewise.
34973         (cos_test_towardzero): Likewise.
34974         (cos_test_downward): Likewise.
34975         (cos_test_upward): Likewise.
34976         (cosh_test): Likewise.
34977         (cosh_test_tonearest): Likewise.
34978         (cosh_test_towardzero): Likewise.
34979         (cosh_test_downward): Likewise.
34980         (cosh_test_upward): Likewise.
34981         (cpow_test): Likewise.
34982         (cproj_test): Likewise.
34983         (creal_test): Likewise.
34984         (csin_test): Likewise.
34985         (csinh_test): Likewise.
34986         (csqrt_test): Likewise.
34987         (ctan_test): Likewise.
34988         (ctan_test_tonearest): Likewise.
34989         (ctan_test_towardzero): Likewise.
34990         (ctan_test_downward): Likewise.
34991         (ctan_test_upward): Likewise.
34992         (ctanh_test): Likewise.
34993         (ctanh_test_tonearest): Likewise.
34994         (ctanh_test_towardzero): Likewise.
34995         (ctanh_test_downward): Likewise.
34996         (ctanh_test_upward): Likewise.
34997         (erf_test): Likewise.
34998         (erfc_test): Likewise.
34999         (exp_test): Likewise.
35000         (exp_test_tonearest): Likewise.
35001         (exp_test_towardzero): Likewise.
35002         (exp_test_downward): Likewise.
35003         (exp_test_upward): Likewise.
35004         (exp10_test): Likewise.
35005         (exp10_test_tonearest): Likewise.
35006         (exp10_test_towardzero): Likewise.
35007         (exp10_test_downward): Likewise.
35008         (exp10_test_upward): Likewise.
35009         (pow10_test): Likewise.
35010         (exp2_test): Likewise.
35011         (expm1_test): Likewise.
35012         (expm1_test_tonearest): Likewise.
35013         (expm1_test_towardzero): Likewise.
35014         (expm1_test_downward): Likewise.
35015         (expm1_test_upward): Likewise.
35016         (fabs_test): Likewise.
35017         (fdim_test): Likewise.
35018         (floor_test): Likewise.
35019         (fma_test): Likewise.
35020         (fma_test_towardzero): Likewise.
35021         (fma_test_downward): Likewise.
35022         (fma_test_upward): Likewise.
35023         (fmax_test): Likewise.
35024         (fmin_test): Likewise.
35025         (fmod_test): Likewise.
35026         (fpclassify_test): Likewise.
35027         (frexp_test): Likewise.
35028         (hypot_test): Likewise.
35029         (ilogb_test): Likewise.
35030         (isfinite_test): Likewise.
35031         (finite_test): Likewise.
35032         (isgreater_test): Likewise.
35033         (isgreaterequal_test): Likewise.
35034         (isinf_test): Likewise.
35035         (isless_test): Likewise.
35036         (islessequal_test): Likewise.
35037         (islessgreater_test): Likewise.
35038         (isnan_test): Likewise.
35039         (isnormal_test): Likewise.
35040         (issignaling_test): Likewise.
35041         (isunordered_test): Likewise.
35042         (j0_test): Likewise.
35043         (j1_test): Likewise.
35044         (jn_test): Likewise.
35045         (ldexp_test): Likewise.
35046         (lgamma_test): Likewise.
35047         (gamma_test): Likewise.
35048         (lrint_test): Likewise.
35049         (lrint_test_tonearest): Likewise.
35050         (lrint_test_towardzero): Likewise.
35051         (lrint_test_downward): Likewise.
35052         (lrint_test_upward): Likewise.
35053         (llrint_test): Likewise.
35054         (llrint_test_tonearest): Likewise.
35055         (llrint_test_towardzero): Likewise.
35056         (llrint_test_downward): Likewise.
35057         (llrint_test_upward): Likewise.
35058         (log_test): Likewise.
35059         (log10_test): Likewise.
35060         (log1p_test): Likewise.
35061         (log2_test): Likewise.
35062         (logb_test): Likewise.
35063         (logb_test_downward): Likewise.
35064         (lround_test): Likewise.
35065         (llround_test): Likewise.
35066         (modf_test): Likewise.
35067         (nearbyint_test): Likewise.
35068         (nextafter_test): Likewise.
35069         (nexttoward_test): Likewise.
35070         (pow_test): Likewise.
35071         (pow_test_tonearest): Likewise.
35072         (pow_test_towardzero): Likewise.
35073         (pow_test_downward): Likewise.
35074         (pow_test_upward): Likewise.
35075         (remainder_test): Likewise.
35076         (drem_test): Likewise.
35077         (remainder_test_tonearest): Likewise.
35078         (drem_test_tonearest): Likewise.
35079         (remainder_test_towardzero): Likewise.
35080         (drem_test_towardzero): Likewise.
35081         (remainder_test_downward): Likewise.
35082         (drem_test_downward): Likewise.
35083         (remainder_test_upward): Likewise.
35084         (drem_test_upward): Likewise.
35085         (remquo_test): Likewise.
35086         (rint_test): Likewise.
35087         (rint_test_tonearest): Likewise.
35088         (rint_test_towardzero): Likewise.
35089         (rint_test_downward): Likewise.
35090         (rint_test_upward): Likewise.
35091         (round_test): Likewise.
35092         (scalb_test): Likewise.
35093         (scalbn_test): Likewise.
35094         (scalbln_test): Likewise.
35095         (signbit_test): Likewise.
35096         (sin_test): Likewise.
35097         (sin_test_tonearest): Likewise.
35098         (sin_test_towardzero): Likewise.
35099         (sin_test_downward): Likewise.
35100         (sin_test_upward): Likewise.
35101         (sincos_test): Likewise.
35102         (sinh_test): Likewise.
35103         (sinh_test_tonearest): Likewise.
35104         (sinh_test_towardzero): Likewise.
35105         (sinh_test_downward): Likewise.
35106         (sinh_test_upward): Likewise.
35107         (sqrt_test): Likewise.
35108         (sqrt_test_tonearest): Likewise.
35109         (sqrt_test_towardzero): Likewise.
35110         (sqrt_test_downward): Likewise.
35111         (sqrt_test_upward): Likewise.
35112         (tan_test): Likewise.
35113         (tan_test_tonearest): Likewise.
35114         (tan_test_towardzero): Likewise.
35115         (tan_test_downward): Likewise.
35116         (tan_test_upward): Likewise.
35117         (tanh_test): Likewise.
35118         (tgamma_test): Likewise.
35119         (trunc_test): Likewise.
35120         (y0_test): Likewise.
35121         (y1_test): Likewise.
35122         (yn_test): Likewise.
35123         (significand_test): Likewise.
35125         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35126         individual tests in comment.
35127         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35128         (prev_max_error): New variable.
35129         (prev_real_max_error): Likewise.
35130         (prev_imag_max_error): Likewise.
35131         (compare_ulp_data): Don't refer to test names in comment.
35132         (find_test_ulps): Remove function.
35133         (find_function_ulps): Likewise.
35134         (find_complex_function_ulps): Likewise.
35135         (init_max_error): Take function name as argument.  Look up ulps
35136         for that function.
35137         (print_ulps): Remove function.
35138         (print_max_error): Use prev_max_error instead of calling
35139         find_function_ulps.
35140         (print_complex_max_error): Use prev_real_max_error and
35141         prev_imag_max_error instead of calling find_complex_function_ulps.
35142         (check_float_internal): Take max_ulp parameter instead of calling
35143         find_test_ulps.  Don't call print_ulps.
35144         (check_float): Update call to check_float_internal.
35145         (check_complex): Update calls to check_float_internal.
35146         (START): Pass argument to init_max_error.
35147         * math/gen-libm-test.pl (%results): Don't include "kind"
35148         information.
35149         (parse_ulps): Don't handle ulps of individual tests.
35150         (print_ulps_file): Likewise.
35151         (output_ulps): Likewise.
35152         * math/README.libm-test: Update.
35153         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35154         individual tests.
35155         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35156         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35157         * sysdeps/arm/libm-test-ulps: Likewise.
35158         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35159         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35160         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35161         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35162         * sysdeps/microblaze/libm-test-ulps: Likewise.
35163         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35165         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35166         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35167         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35168         * sysdeps/sh/libm-test-ulps: Likewise.
35169         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35170         * sysdeps/tile/libm-test-ulps: Likewise.
35171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35173 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35175         * math/libm-test.inc (print_complex_max_error): Check separately
35176         whether real and imaginary errors are within allowed range and
35177         pass 0 to print_complex_function_ulps instead of value within
35178         allowed range.
35180 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35182         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35183         formatting.
35184         (get_handles_fopen): Likewise.
35185         (do_write_test): Likewise.
35187         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35189         * libio/fileops.c (do_ftell): Use cached offset when
35190         available.
35191         * libio/iofwide.c (do_ftell_wide): Likewise.
35192         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35193         _IO_file_attach.
35194         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35196         [BZ #16532]
35197         * libio/libioP.h (get_file_offset): New function.
35198         * libio/fileops.c (get_file_offset): Likewise.
35199         (do_ftell): Likewise.
35200         (_IO_new_file_seekoff): Split out ftell logic.
35201         * libio/wfileops.c (do_ftell_wide): Likewise.
35202         (_IO_wfile_seekoff): Split out ftell logic.
35203         * libio/tst-ftell-active-handler.c: New test case.
35204         * libio/Makefile (tests): Add it.
35206 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35208         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35209         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35211 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35213         [BZ #16639]
35214         * nscd/connections.c (nscd_init): Call do_exit.
35215         (start_threads): Call do_exit and notify_parent.
35216         (begin_drop_privileges): Call do_exit.
35217         (finish_drop_privileges): Likewise.
35218         * nscd/selinux.c (preserve_capabilities): Likewise.
35219         (install_real_capabilities): Likewise.
35220         (nscd_selinux_enabled): Likewise.
35221         (avc_create_thread): Likewise.
35222         (avc_alloc_lock): Likewise.
35223         (nscd_avc_init): Likewise.
35224         * nscd/nscd.c (parent_fd): New static variable.
35225         (main): Create a pipe between parent and child processes.
35226         Skip closing parent_fd.
35227         (monitor_child): New function.
35228         (do_exit): Likewise.
35229         (notify_parent): Likewise.
35230         * nscd/nscd.h (notify_parent): Likewise.
35231         (do_exit): Likewise.
35233 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35235         * malloc/malloc.c (__libc_calloc): Revert last change.
35237 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35241 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35243         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35245         implementation.
35246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35247         (__libc_ifunc_impl_list): Likewise.
35248         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35249         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35250         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35251         * string/strrchr.c: Define STRRCHR.
35253 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35255         * benchtest/bench-strtok.c (simple_strtok): Delete.
35256         (strtok_string): Use as benchmark.
35257         * string/strtok (STRTOK): New macro.
35259 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35261         * manual/threads.texi: Add header and standard comments to all
35262         functions.
35264         * elf/dl-lookup.c (check_match): New function.
35265         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35266         (do_lookup_x): Remove nested function check_match. Use non-nested
35267         function check_match.
35269 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35271         * csu/Makefile (generated, before-compile): Use += rather than =.
35272         * catgets/Makefile (generated, generated-dirs): Likewise.
35273         * debug/Makefile (generated): Likewise.
35274         * dlfcn/Makefile (generated): Likewise.
35275         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35276         * iconvdata/Makefile (before-compile, generated): Likewise.
35277         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35278         * libio/Makefile (generated): Likewise.
35279         * malloc/Makefile (generated): Likewise.
35280         * manual/Makefile (generated, generated-dirs): Likewise.
35281         * misc/Makefile (generated): Likewise.
35282         * posix/Makefile (generated): Likewise.
35283         * resolv/Makefile (generated): Likewise.
35284         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35285         * timezone/Makefile (generated, generated-dirs): Likewise.
35287         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35289 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35292         power8 implementation.
35293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35294         file: POWER8 llround ifunc implementation.
35295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35296         (__lllround): Add POWER8 implementation.
35297         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35298         POWER8 llround implementation.
35300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35301         power8 implementation.
35302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35303         file: POWER8 llrint ifunc implementation.
35304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35305         Add POWER8 implementation.
35306         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35307         POWER8 llrint implementation.
35309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35310         power8 implementation.
35311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35312         file: POWER8 finite ifunc implementation.
35313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35314         Add POWER8 implementation.
35315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35316         Likewise.
35317         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35318         POWER8 finite implementation.
35319         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35322         power8 implementation.
35323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35324         file: POWER8 isinf ifunc implementation.
35325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35326         POWER8 implementation.
35327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35328         Likewise.
35329         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35330         isinf implementation.
35331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35333         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35334         (INIT_ARCH): Add hwcap2 initialization.
35335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35336         power8 implementation.
35337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35338         file: POWER8 isnan ifunc implementation.
35339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35340         POWER8 implementation.
35341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35342         Likewise.
35343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35344         isnan implementation.
35345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35347 2014-02-27  Joey Ye  <joey.ye@arm.com>
35349         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35350         (_FP_NANFRAC_Q): Set to zero.
35352 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35354         [BZ #16623]
35355         * math/auto-libm-test-in: New test inputs.
35356         * math/auto-libm-test-out: Regenerate.
35357         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35358         and DA.
35359         (__cos): Likewise.
35360         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35362 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35364         * scripts/evaluate-test.sh: Take new argument indicating whether
35365         failure is expected.
35366         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35367         indicating whether failure is expected.
35368         * conform/Makefile (test-xfail-run-conformtest): New variable.
35369         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35370         level.
35371         * posix/Makefile (test-xfail-annexc): New variable.
35372         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35374 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35376         * argp/Makefile: Include Makeconfig immediately after defining
35377         subdir.
35378         * assert/Makefile: Likewise.
35379         * benchtests/Makefile: Likewise.
35380         * catgets/Makefile: Likewise.
35381         * conform/Makefile: Likewise.
35382         * crypt/Makefile: Likewise.
35383         * csu/Makefile: Likewise.
35384         (all): Remove target.
35385         * ctype/Makefile: Include Makeconfig immediately after defining
35386         subdir.
35387         * debug/Makefile: Likewise.
35388         * dirent/Makefile: Likewise.
35389         * dlfcn/Makefile: Likewise.
35390         * gmon/Makefile: Likewise.
35391         * gnulib/Makefile: Likewise.
35392         * grp/Makefile: Likewise.
35393         * gshadow/Makefile: Likewise.
35394         * hesiod/Makefile: Likewise.
35395         * hurd/Makefile: Likewise.
35396         (all): Remove target.
35397         * iconvdata/Makefile: Include Makeconfig immediately after
35398         defining subdir.
35399         * inet/Makefile: Likewise.
35400         * intl/Makefile: Likewise.
35401         * io/Makefile: Likewise.
35402         * libio/Makefile: Likewise.
35403         (all): Remove target.
35404         * locale/Makefile: Include Makeconfig immediately after defining
35405         subdir.
35406         * login/Makefile: Likewise.
35407         * mach/Makefile: Likewise.
35408         (all): Remove target.
35409         * malloc/Makefile: Include Makeconfig immediately after defining
35410         subdir.
35411         (all): Remove target.
35412         * manual/Makefile: Include Makeconfig immediately after defining
35413         subdir.
35414         * math/Makefile: Likewise.
35415         * misc/Makefile: Likewise.
35416         * nis/Makefile: Likewise.
35417         * nss/Makefile: Likewise.
35418         * po/Makefile: Likewise.
35419         (all): Remove target.
35420         * posix/Makefile: Include Makeconfig immediately after defining
35421         subdir.
35422         * pwd/Makefile: Likewise.
35423         * resolv/Makefile: Likewise.
35424         * resource/Makefile: Likewise.
35425         * rt/Makefile: Likewise.
35426         * setjmp/Makefile: Likewise.
35427         * shadow/Makefile: Likewise.
35428         * signal/Makefile: Likewise.
35429         * socket/Makefile: Likewise.
35430         * soft-fp/Makefile: Likewise.
35431         * stdio-common/Makefile: Likewise.
35432         * stdlib/Makefile: Likewise.
35433         * streams/Makefile: Likewise.
35434         * string/Makefile: Likewise.
35435         * sunrpc/Makefile: Likewise.
35436         (all): Remove target.
35437         * sysvipc/Makefile: Include Makeconfig immediately after defining
35438         subdir.
35439         * termios/Makefile: Likewise.
35440         * time/Makefile: Likewise.
35441         * timezone/Makefile: Likewise.
35442         (all): Remove target.
35443         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35444         subdir.
35445         * wctype/Makefile: Likewise.
35447 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35449         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35450         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35451         (libc_feholdexcept_setround_mips): Ditto.
35452         (libc_feholdsetround): New.
35453         (libc_feholdsetroundf): New.
35454         (libc_feholdsetroundl): New.
35455         (libc_feupdateenv_test_mips): New.
35456         (libc_feupdateenv_test): New.
35457         (libc_feupdateenv_testf): New.
35458         (libc_feupdateenv_testl): New.
35459         (libc_feresetround): New.
35460         (libc_feresetroundf): New.
35461         (libc_feresetroundl): New.
35462         (libc_fetestexcept_mips): New.
35463         (libc_fetestexcept): New.
35464         (libc_fetestexceptf): New.
35465         (libc_fetestexceptl): New.
35466         (HAVE_RM_CTX): New.
35467         (libc_feholdexcept_setround_mips_ctx): New.
35468         (libc_feholdexcept_setround_ctx): New.
35469         (libc_feholdexcept_setroundf_ctx): New.
35470         (libc_feholdexcept_setroundl_ctx): New.
35471         (libc_fesetenv_mips_ctx): New.
35472         (libc_fesetenv_ctx): New.
35473         (libc_fesetenv_ctxf): New.
35474         (libc_fesetenv_ctxl): New.
35475         (libc_feupdateenv_mips_ctx): New.
35476         (libc_feupdateenv_ctx): New.
35477         (libc_feupdateenvf_ctx): New.
35478         (libc_feupdateenvl_ctx): New.
35479         (libc_feholdsetround_mips_ctx): New.
35480         (libc_feholdsetround_ctx): New.
35481         (libc_feholdsetroundf_ctx): New.
35482         (libc_feholdsetroundl_ctx): New.
35483         (libc_feresetround_mips_ctx): New.
35484         (libc_feresetround_ctx): New.
35485         (libc_feresetroundf_ctx): New.
35486         (libc_feresetroundl_ctx): New.
35488 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35490         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35492         * manual/ipc.texi: New file.
35493         * manual/Makefile (chapters): Add ipc.
35494         * manual/job.texi: Add "Inter-Process Communication" to next.
35495         * manual/process.texi: Add "Inter-Process Communication" to prev.
35497 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35501 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35503         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35505         * manual/arith.texi: Fix spaces after sentences.
35506         * manual/charset.texi: Likewise.
35507         * manual/errno.texi: Likewise.
35508         * manual/install.texi: Likewise.
35509         * manual/llio.texi: Likewise.
35510         * manual/locale.texi: Likewise.
35511         * manual/maint.texi: Likewise.
35512         * manual/math.texi: Likewise.
35513         * manual/memory.texi: Likewise.
35514         * manual/message.texi: Likewise.
35515         * manual/probes.texi: Likewise.
35516         * manual/resource.texi: Likewise.
35517         * manual/signal.texi: Likewise.
35518         * manual/socket.texi: Likewise.
35519         * manual/stdio.texi: Likewise.
35520         * manual/string.texi: Likewise.
35521         * manual/time.texi: Likewise.
35522         * manual/users.texi: Likewise.
35524 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35526         [BZ #16632]
35527         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35528         _DEFAULT_SOURCE is defined.
35530 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35531             Carlos O'Donell  <carlos@redhat.com>
35533         [BZ #16613]
35534         * elf/dl-tls.c (_dl_count_modids): New function.
35535         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35536         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35537         audit library and increment generation counter.
35538         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35539         * elf/tst-audit9.c: New file.
35540         * elf/tst-auditmod9a.c: New file.
35541         * elf/tst-auditmod9b.c: New file.
35542         * elf/Makefile: Add rules to build and run tst-audit9.
35544 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35546         [BZ #15347]
35547         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35549 2014-02-25  Will Newton  <will.newton@linaro.org>
35551         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35552         (__longjmp): Restore sp and lr before restoring callee
35553         saved registers.  Add longjmp and longjmp_target
35554         SystemTap probe point.
35555         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35556         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35557         Define to zero to match jmpbuf layout.
35558         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35559         (__sigsetjmp): Save sp and lr before saving callee
35560         saved registers.  Add setjmp SystemTap probe point.
35562 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35564         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35566 2014-02-24  Andreas Schwab  <schwab@suse.de>
35568         [BZ #15804]
35569         * elf/pldd.c (wait_for_ptrace_stop): New function.
35570         (main): Call it after attaching.
35572 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35574         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35575         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35576         Versions files is now verboten.
35577         * hurd/Versions (libc: GLIBC_2.0):
35578         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35579         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35580         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35581         * mach/Versions: Likewise.
35583         * csu/Versions: Remove unused %include.
35584         * resolv/Versions: Likewise.
35586 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35588         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35589         ($(objpfx)check-local-headers.out): Likewise.
35590         ($(objpfx)begin-end-check.out): Likewise.
35591         * Makerules (check-abi-%.out): Likewise.
35592         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35593         ($(objpfx)test2.cat): Likewise.
35594         ($(objpfx)de/libc.cat): Likewise.
35595         ($(objpfx)test-gencat.out): Likewise.
35596         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35597         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35598         ($(objpfx)noload-mem): Likewise.
35599         ($(objpfx)tst-pathopt.out): Likewise.
35600         ($(objpfx)tst-rtld-load-self.out): Likewise.
35601         ($(objpfx)tst-array1-cmp.out): Likewise.
35602         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35603         ($(objpfx)tst-array2-cmp.out): Likewise.
35604         ($(objpfx)tst-array3-cmp.out): Likewise.
35605         ($(objpfx)tst-array4-cmp.out): Likewise.
35606         ($(objpfx)tst-array5-cmp.out): Likewise.
35607         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35608         ($(objpfx)check-textrel.out): Likewise.
35609         ($(objpfx)check-execstack.out): Likewise.
35610         ($(objpfx)check-localplt.out): Likewise.
35611         ($(objpfx)order2-cmp.out): Likewise.
35612         ($(objpfx)tst-leaks1-mem): Likewise.
35613         ($(objpfx)tst-leaks1-static-mem): Likewise.
35614         ($(objpfx)tst-initorder-cmp.out): Likewise.
35615         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35616         ($(objpfx)tst-unused-dep.out): Likewise.
35617         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35618         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35619         * iconv/Makefile (test-iconvconfig): Likewise.
35620         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35621         ($(objpfx)iconv-test.out): Likewise.
35622         ($(objpfx)tst-tables.out): Likewise.
35623         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35624         ($(objpfx)tst-gettext.out): Likewise.
35625         ($(objpfx)tst-translit.out): Likewise.
35626         ($(objpfx)tst-gettext2.out): Likewise.
35627         ($(objpfx)tst-gettext4.out): Likewise.
35628         ($(objpfx)tst-gettext6.out): Likewise.
35629         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35630         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35631         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35632         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35633         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35634         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35635         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35636         ($(objpfx)wordexp-tst.out): Likewise.
35637         ($(objpfx)annexc.out): Likewise.
35638         ($(objpfx)tst-fnmatch-mem): Likewise.
35639         ($(objpfx)bug-regex2-mem): Likewise.
35640         ($(objpfx)bug-regex14-mem): Likewise.
35641         ($(objpfx)bug-regex21-mem): Likewise.
35642         ($(objpfx)bug-regex31-mem): Likewise.
35643         ($(objpfx)tst-vfork3-mem): Likewise.
35644         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35645         ($(objpfx)tst-pcre-mem): Likewise.
35646         ($(objpfx)tst-boost-mem): Likewise.
35647         ($(objpfx)tst-getconf.out): Likewise.
35648         ($(objpfx)bug-ga2-mem): Likewise.
35649         ($(objpfx)bug-glob2-mem): Likewise.
35650         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35651         ($(objpfx)mtrace-tst-leaks2): Likewise.
35652         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35653         ($(objpfx)tst-printf.out): Likewise.
35654         ($(objpfx)tst-setvbuf1.out): Likewise.
35655         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35656         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35657         ($(objpfx)tst-fmtmsg.out): Likewise.
35658         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35659         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35661         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35662         * bits/sigaction.h [__USE_MISC]: Likewise.
35663         * bits/waitstatus.h: Update #endif comments.
35664         * ctype/ctype.h: Likewise.
35665         * dirent/dirent.h: Likewise.
35666         [__USE_MISC]: Remove redundant conditionals.
35667         * grp/grp.h: Update #endif comments.
35668         [__USE_GNU]: Remove redundant conditionals.
35669         [__USE_MISC]: Likewise.
35670         * inet/netinet/in.h [__USE_GNU]: Likewise.
35671         * io/sys/stat.h [__USE_MISC]: Likewise.
35672         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35673         * libio/bits/stdio.h: Update #endif comments.
35674         [__USE_MISC]: Remove redundant conditionals.
35675         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35676         * libio/stdio.h: Update #endif comments.
35677         [__USE_MISC]: Remove redundant conditionals.
35678         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35679         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35680         * math/math.h: Update #else and #endif comments.
35681         [__USE_MISC]: Remove redundant conditionals.
35682         * misc/sys/uio.h: Update #endif comments.
35683         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35684         * posix/glob.h [__USE_MISC]: Likewise.
35685         * posix/sys/types.h: Update #endif comments.
35686         [__USE_MISC]: Remove redundant conditionals.
35687         * posix/sys/wait.h: Update #endif comments.
35688         [__USE_MISC]: Remove redundant conditionals.
35689         * posix/unistd.h: Update #endif comments.
35690         [__USE_MISC]: Remove redundant conditionals.
35691         * pwd/pwd.h [__USE_GNU]: Likewise.
35692         [__USE_MISC]: Likewise.
35693         * resolv/netdb.h [__USE_GNU]: Likewise.
35694         * signal/signal.h: Update #endif comments.
35695         [__USE_MISC]: Remove redundant conditionals.
35696         * stdlib/stdlib.h: Update #else and #endif comments.
35697         [__USE_MISC]: Remove redundant conditionals.
35698         [__USE_GNU]: Likewise.
35699         * string/bits/string2.h [__USE_MISC]: Likewise.
35700         * string/string.h: Update #endif comments.
35701         [__USE_MISC]: Remove redundant conditionals.
35702         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35703         Likewise.
35704         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35705         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35706         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35707         Likewise.
35708         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35709         Likewise.
35710         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35711         comments.
35712         [__USE_MISC]: Remove redundant conditionals.
35713         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35714         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35715         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35716         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35717         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35718         Likewise.
35719         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35720         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35721         Likewise.
35722         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35723         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35724         Likewise.
35725         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35726         Likewise.
35727         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35728         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35729         Likewise.
35730         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35731         Likewise.
35732         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35733         * sysdeps/x86/bits/string.h: Update #endif comments.
35734         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35735         conditionals.
35736         * time/sys/time.h: Update #endif comments.
35737         * time/time.h: Likewise.
35738         [__USE_MISC]: Remove redundant conditionals.
35740 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35742         [BZ #16600]
35743         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35745 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35747         * Versions.def (librt): Add GLIBC_2.17.
35749 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35751         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35752         synonym for _SYS_AUXV_H to allow direct inclusion.
35753         * sysdeps/sparc/bits/hwcap.h: Likewise.
35754         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35755         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35756         * sysdeps/sparc/sysdep.h: Likewise.
35758 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35760         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35762 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35764         * benchtests/bench-strrchr.c: Print length instead of position.
35766 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35768         [BZ #16611]
35769         * sysdeps/unix/sysv/linux/kernel-features.h
35770         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35771         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35772         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35773         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35774         Likewise.
35775         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35776         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35777         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35778         (__ASSUME_SENDMMSG): Define instead of using previous
35779         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35780         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35781         (__ASSUME_SENDMMSG_SYSCALL): Define.
35782         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35783         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35784         Likewise.
35785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35786         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35787         Likewise.
35788         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35789         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35790         Likewise.
35791         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35792         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35793         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35794         [__ASSUME_SENDMMSG]: Change conditionals to
35795         [__ASSUME_SENDMMSG_SOCKETCALL].
35796         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35797         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35798         Define.
35799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35800         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35801         Likewise.
35802         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35803         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35804         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35805         [!__ASSUME_SENDMMSG]: Change conditional to
35806         [!__ASSUME_SENDMMSG_SOCKETCALL].
35807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35808         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35809         Define.
35811         [BZ #16610]
35812         * sysdeps/unix/sysv/linux/kernel-features.h
35813         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35814         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35815         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35816         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35817         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35818         [__i386__ || __sparc__]
35819         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35820         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35821         (__ASSUME_RECVMMSG): Define instead of using previous
35822         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35823         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35824         (__ASSUME_RECVMMSG_SYSCALL): Define.
35825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35826         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35827         Likewise.
35828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35829         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35830         Likewise.
35831         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35832         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35833         Likewise.
35834         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35835         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35836         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35837         [__ASSUME_RECVMMSG]: Change condition to
35838         [__ASSUME_RECVMMSG_SOCKETCALL].
35839         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35840         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35841         Define.
35842         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35843         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35844         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35845         Likewise.
35846         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35847         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35848         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35849         [!__ASSUME_RECVMMSG]: Change condition to
35850         [!__ASSUME_RECVMMSG_SOCKETCALL].
35851         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35852         (__ASSUME_RECVMMSG_SYSCALL): Define.
35854         [BZ #16609]
35855         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35856         __powerpc__ || __s390__ || __sh__ || __sparc__]
35857         (__ASSUME_SOCKETCALL): Define.
35858         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35859         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35860         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35861         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35862         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35863         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35864         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35865         (__ASSUME_ACCEPT4): Define instead of using previous
35866         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35867         __powerpc__ || __sparc__ || __s390__)] condition.
35868         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35869         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35870         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35871         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35872         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35873         [!__ASSUME_ACCEPT4]: Change condition to
35874         [!__ASSUME_ACCEPT4_SOCKETCALL].
35875         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35876         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35877         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35879         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35880         __ASSUME_ACCEPT4_SYSCALL.
35881         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35882         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35884         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35885         __ASSUME_ACCEPT4_SYSCALL.
35886         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35887         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35888         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35889         [__ASSUME_ACCEPT4]: Change condition to
35890         [__ASSUME_ACCEPT4_SOCKETCALL].
35891         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35892         (__ASSUME_SOCKETCALL): Define.
35893         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35894         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35895         (__ASSUME_SOCKETCALL): Define.
35896         (__ASSUME_ACCEPT4): Remove.
35897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35898         Define.
35899         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35900         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35901         Likewise.
35902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35903         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35905         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35906         macro.
35907         (HWCAP_ARM_LPAE): Likewise.
35908         (HWCAP_ARM_EVTSTRM): Likewise.
35909         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35910         Add vpfd32, lpae and evtstrm.
35911         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35912         Increase to 22.
35914 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35916         * math/auto-libm-test-in: Add tests of clog10.
35917         * math/auto-libm-test-out: Regenerated.
35918         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35919         * sysdeps/i386/fpu/libm-test-ulps: Update.
35920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35922 2014-02-18  Andreas Schwab  <schwab@suse.de>
35924         [BZ #16574]
35925         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35926         Store non-zero if the second buffer was newly allocated.
35927         (send_dg): Likewise.
35928         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35929         to send_vc and send_dg.
35930         (res_nsend): Pass NULL for ansp2_malloced.
35931         * resolv/res_query.c (__libc_res_nquery): Add parameter
35932         answerp2_malloced and pass it down to __libc_res_nsend.
35933         (res_nquery): Pass additional NULL to __libc_res_nquery.
35934         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35935         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35936         second answer buffer if answerp2_malloced was set.
35937         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35938         (__libc_res_nquerydomain): Add parameter
35939         answerp2_malloced and pass it down to __libc_res_nquery.
35940         (res_nquerydomain): Pass additional NULL to
35941         __libc_res_nquerydomain.
35942         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35943         additional NULL to __libc_res_nsend and __libc_res_nquery.
35944         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35945         additional NULL to __libc_res_nsearch.
35946         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35947         parameter of __libc_res_nsearch to check for separately allocated
35948         second buffer.
35949         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35950         __libc_res_nquery.
35951         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35952         additional NULL to __libc_res_nquery.
35953         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35954         __libc_res_nsearch.
35955         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35956         * include/resolv.h: Update prototypes of __libc_res_nquery,
35957         __libc_res_nsearch, __libc_res_nsend.
35959 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35961         * math/auto-libm-test-in: Add tests of fma.
35962         * math/auto-libm-test-out: Regenerated.
35963         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35964         (fma_towardzero_test_data): Likewise.
35965         (fma_downward_test_data): Likewise.
35966         (fma_upward_test_data): Likewise.
35967         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35968         mpc_mode.
35969         (rounding_modes): Add values for new field.
35970         (func_calc_method): Add value mpfr_fff_f.
35971         (func_calc_desc): Add mpfr_fff_f union field.
35972         (test_function): Add field exact_args.
35973         (FUNC): Add macro argument EXACT_ARGS.
35974         (FUNC_mpfr_f_f): Update call to FUNC.
35975         (FUNC_mpfr_f_f): Likewise.
35976         (FUNC_mpfr_ff_f): Likewise.
35977         (FUNC_mpfr_if_f): Likewise.
35978         (FUNC_mpc_c_f): Likewise.
35979         (FUNC_mpc_c_c): Likewise.
35980         (test_functions): Add fma.  Update calls to FUNC.
35981         (handle_input_arg): Add argument exact_args.
35982         (add_test): Update call to handle_input_arg.
35983         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35984         (output_for_one_input_case): Update call to calc_generic_results.
35985         Recalculate exact zero results in each rounding mode.
35987         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35988         non-negative before setting low bit.
35989         * math/auto-libm-test-in: Mark one asin test possibly having
35990         spurious underflow.
35991         * math/auto-libm-test-out: Regenerated.
35992         * sysdeps/i386/fpu/libm-test-ulps: Update.
35993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35995 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35997         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35998         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35999         ports/sysdeps/unix/sysv/linux/microblaze.
36000         * README: Add missing listing for microblaze*-*-linux-gnu.
36002 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36004         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36005         duplicate code
36007 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36009         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36010         * sysdeps/unix/sysv/linux/ia64: Move directory from
36011         ports/sysdeps/unix/sysv/linux/ia64.
36012         * README: Update listing for ia64-*-linux-gnu.
36014 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36015             Joseph Myers  <joseph@codesourcery.com>
36017         * Makeconfig (test-name): New variable.
36018         (evaluate-test): Likewise.
36019         * Makerules (do-test-clean): Remove .test-result files.
36020         (common-mostlyclean): Likewise.
36021         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36022         * scripts/evaluate-test.sh: New file.
36024 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36026         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36027         separate $(objpfx)tst-fopenloc-cmp.out and
36028         $(objpfx)tst-fopenloc-mem.out targets.
36029         (tests): Update dependencies.
36030         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36031         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36032         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36033         (tst-rxspencer-no-utf8-ARGS): New variable.
36034         (tst-rxspencer-no-utf8-ENV): Likewise.
36035         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36036         instead of $(objpfx)tst-rxspencer-mem.
36037         ($(objpfx)tst-rxspencer-mem): Change target to
36038         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36039         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36040         * posix/tst-rxspencer-no-utf8.c: New file.
36042         * elf/Makefile ($(objpfx)order.out): Remove rule.
36043         [$(run-built-tests) = yes] (tests): Depend on
36044         $(objpfx)order-cmp.out.
36045         ($(objpfx)order-cmp.out): New rule.
36046         [$(run-built-tests) = yes] (tests): Depend on
36047         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36048         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36049         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36050         $(objpfx)tst-array5-static-cmp.out.
36051         ($(objpfx)tst-array1.out): Remove rule.
36052         ($(objpfx)tst-array1-cmp.out): New rule.
36053         ($(objpfx)tst-array1-static.out): Remove rule.
36054         ($(objpfx)tst-array1-static-cmp.out): New rule.
36055         ($(objpfx)tst-array2.out): Remove rule.
36056         ($(objpfx)tst-array2-cmp.out): New rule.
36057         ($(objpfx)tst-array3.out): Remove rule.
36058         ($(objpfx)tst-array3-cmp.out): New rule.
36059         ($(objpfx)tst-array4.out): Remove rule.
36060         ($(objpfx)tst-array4-cmp.out): New rule.
36061         ($(objpfx)tst-array5.out): Remove rule.
36062         ($(objpfx)tst-array5-cmp.out): New rule.
36063         ($(objpfx)tst-array5-static.out): Remove rule.
36064         ($(objpfx)tst-array5-static-cmp.out): New rule.
36065         [$(run-built-tests) = yes] (tests): Depend on
36066         $(objpfx)order2-cmp.out.
36067         ($(objpfx)order2.out): Remove rule.
36068         ($(objpfx)order2-cmp.out): New rule.
36069         ($(objpfx)tst-initorder.out): Remove rule.
36070         [$(run-built-tests) = yes] (tests): Depend on
36071         $(objpfx)tst-initorder-cmp.out.
36072         ($(objpfx)tst-initorder-cmp.out): New rule.
36073         ($(objpfx)tst-initorder2.out): Remove rule.
36074         [$(run-built-tests) = yes] (tests): Depend on
36075         $(objpfx)tst-initorder2-cmp.out.
36076         ($(objpfx)tst-initorder2-cmp.out): New rule.
36077         [$(run-built-tests) = yes] (tests): Depend on
36078         $(objpfx)tst-unused-dep-cmp.out.
36079         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36080         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36081         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36082         on $(objpfx)tst-setvbuf1-cmp.out.
36083         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36084         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36085         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36086         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36087         ($(objpfx)tst-svc.out): Remove rule.
36088         ($(objpfx)tst-svc-cmp.out): New rule.
36090 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36092         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36093         * ctype/ctype.h [__USE_MISC]: Likewise.
36094         * dirent/dirent.h [__USE_MISC]: Likewise.
36095         * grp/grp.h [__USE_MISC]: Likewise.
36096         * io/fcntl.h [__USE_MISC]: Likewise.
36097         * io/sys/stat.h [__USE_MISC]: Likewise.
36098         * libio/stdio.h [__USE_MISC]: Likewise.
36099         * posix/unistd.h [__USE_MISC]: Likewise.
36100         * pwd/pwd.h [__USE_MISC]: Likewise.
36101         * stdlib.h [__USE_MISC]: Likewise.
36102         * string/bits/string2.h [__USE_MISC]: Likewise.
36103         * string/string.h [__USE_MISC]: Likewise.
36104         * time/time.h [__USE_MISC]: Likewise.
36106 2014-02-13  Andreas Schwab  <schwab@suse.de>
36108         [BZ #16574]
36109         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36110         second answer buffer if it was separately allocated.
36112 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36114         * sysdeps/mips/math-tests.h: Include <features.h>.
36115         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36116         (ROUNDING_TESTS_long_double): Do not define.
36117         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36118         (EXCEPTION_TESTS_long_double): Likewise.
36119         * sysdeps/mips/mips64/libm-test-ulps: Update.
36121         * include/features.h (__USE_BSD): Remove macro definitions.
36122         (__USE_SVID): Likewise.
36123         (_BSD_SOURCE): Likewise.
36124         (_SVID_SOURCE): Likewise.
36125         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36126         from definition of _DEFAULT_SOURCE.
36127         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36128         [_DEFAULT_SOURCE].
36129         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36130         * bits/mman.h [__USE_BSD]: Likewise.
36131         * bits/termios.h [__USE_BSD]: Likewise.
36132         * bits/waitstatus.h [__USE_BSD]: Likewise.
36133         * ctype/ctype.h [__USE_SVID]: Likewise.
36134         * dirent/dirent.h [__USE_BSD]: Likewise.
36135         * grp/grp.h [__USE_SVID]: Likewise.
36136         [__USE_BSD]: Likewise.
36137         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36138         * io/fcntl.h [__USE_BSD]: Likewise.
36139         * io/ftw.h [__USE_BSD]: Likewise.
36140         * io/sys/stat.h [__USE_BSD]: Likewise.
36141         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36142         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36143         * libio/stdio.h [__USE_SVID]: Likewise.
36144         [__USE_BSD]: Likewise.
36145         * math/math.h [__USE_SVID]: Likewise.
36146         [__USE_BSD]: Likewise.
36147         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36148         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36149         * misc/search.h [__USE_SVID]: Likewise.
36150         * misc/sys/mman.h [__USE_BSD]: Likewise.
36151         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36152         * misc/sys/uio.h [__USE_BSD]: Likewise.
36153         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36154         * posix/glob.h [__USE_BSD]: Likewise.
36155         * posix/regex.h [__USE_BSD]: Likewise.
36156         * posix/sys/types.h [__USE_BSD]: Likewise.
36157         [__USE_SVID]: Likewise.
36158         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36159         * posix/sys/wait.h [__USE_BSD]: Likewise.
36160         [__USE_SVID]: Likewise.
36161         * posix/unistd.h [__USE_BSD]: Likewise.
36162         [__USE_SVID]: Likewise.
36163         * pwd/pwd.h [__USE_SVID]: Likewise.
36164         * resolv/netdb.h [__USE_BSD]: Likewise.
36165         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36166         * signal/signal.h [__USE_BSD]: Likewise.
36167         [__USE_SVID]: Likewise.
36168         * socket/sys/socket.h [__USE_BSD]: Likewise.
36169         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36170         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36171         [__USE_SVID]: Likewise.
36172         * string/bits/string2.h [__USE_BSD]: Likewise.
36173         [__USE_SVID]: Likewise.
36174         * string/bits/string3.h [__USE_BSD]: Likewise.
36175         * string/endian.h [__USE_BSD]: Likewise.
36176         * string/string.h [__USE_SVID]: Likewise.
36177         [__USE_BSD]: Likewise.
36178         * string/strings.h [__USE_BSD]: Likewise.
36179         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36180         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36181         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36182         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36183         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36184         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36185         Likewise.
36186         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36187         Likewise.
36188         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36189         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36190         Likewise.
36191         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36192         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36193         Likewise.
36194         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36195         Likewise.
36196         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36197         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36198         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36199         Likewise.
36200         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36201         Likewise.
36202         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36203         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36204         * termios/termios.h [__USE_BSD]: Likewise.
36205         * time/sys/time.h [__USE_BSD]: Likewise.
36206         * time/time.h [__USE_BSD]: Likewise.
36207         [__USE_SVID]: Likewise.
36209         * Makefile (subdir_targets): Remove subdir_lint.out.
36211         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36212         (do-tst-printf): Likewise.
36213         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36214         $(objpfx)tst-printf.out.
36216         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36218         * Makerules (check-abi-%): Change target to
36219         $(objpfx)check-abi-%.out.
36220         (check-abi target): Update dependencies.
36221         (check-abi-pattern variable): Redirect output of diff to $@.
36222         (check-abi variable): Likewise.
36223         * elf/Makefile (check-abi): Update dependencies.
36225         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36226         unused.
36227         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36228         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36229         subnormal range.
36230         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36231         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36232         value has largest subnormal exponent.
36233         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36234         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36235         * sysdeps/aarch64/soft-fp/sfp-machine.h
36236         (_FP_TININESS_AFTER_ROUNDING): New macro.
36237         * sysdeps/alpha/soft-fp/sfp-machine.h
36238         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36239         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36240         Likewise.
36241         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36242         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36243         * sysdeps/mips/soft-fp/sfp-machine.h
36244         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36245         * sysdeps/powerpc/soft-fp/sfp-machine.h
36246         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36247         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36248         Likewise.
36249         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36250         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36252         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36253         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36254         Likewise.
36256 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36258         [BZ #16545]
36259         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36260         model 1.
36262 2014-02-12  Richard Henderson  <rth@redhat.com>
36264         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36265         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36266         * sysdeps/unix/sysv/linux/alpha: Move directory from
36267         ports/sysdeps/unix/sysv/linux/alpha.
36268         * README: Update listing for alpha-*-linux-gnu.
36270 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36272         * include/features.h: Update comment documenting feature test
36273         macros.
36274         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36275         _DEFAULT_SOURCE.
36276         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36277         (_SVID_SOURCE): Likewise.
36278         (_DEFAULT_SOURCE): Update description of default features.
36279         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36280         with _GNU_SOURCE.
36281         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36282         (S_ISVTX): Likewise.
36283         * manual/math.texi (Mathematical Constants): Likewise.
36284         * manual/signal.texi (Interrupted Primitives): Likewise.
36285         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36286         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36287         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36288         Don't refer to _SVID_SOURCE in warning text.
36290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36292         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36293         already defined.
36294         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36295         * sysdeps/mips/dl-lookup.c: Remove.
36296         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36298 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36300         [BZ #16447]
36301         * math/auto-libm-test-in: Add testcase for expl.
36302         * math/auto-libm-test-out: Regenerate.
36303         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36304         calculation of unsafe.
36305         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36307 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36309         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36310         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36311         ports/sysdeps/unix/sysv/linux/aarch64.
36312         * README: Update listing for aarch64*-*-linux-gnu.
36314 2014-02-11  Will Newton  <will.newton@linaro.org>
36316         * manual/probes.texi (Mathematical Function Probes): Use
36317         "triggered" instead of "hit".
36319         * manual/probes.texi (Internal Probes): Add documentation
36320         of setjmp, longjmp and longjmp_target probes.
36322         * include/stap-probe.h: Add comment about probe argument
36323         format.
36325         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36326         definition.  (tr_where, tr_freehook, tr_mallochook,
36327         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36329 2014-02-11  David S. Miller  <davem@davemloft.net>
36331         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36332         processing int_tests.
36334 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36336         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36337         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36338         * sysdeps/unix/sysv/linux/mips: Move directory from
36339         ports/sysdeps/unix/sysv/linux/mips.
36340         * README: Update listing for mips-*-linux-gnu and
36341         mips64-*-linux-gnu.
36343 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36345         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36346         * sysdeps/unix/sysv/linux/m68k: Move directory from
36347         ports/sysdeps/unix/sysv/linux/m68k.
36348         * README: Update listing for m68k-*-linux-gnu.
36350 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36352         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36353         * sysdeps/unix/sysv/linux/generic: Move directory from
36354         ports/sysdeps/unix/sysv/linux/generic.
36355         * sysdeps/unix/sysv/linux/tile: Move directory from
36356         ports/sysdeps/unix/sysv/linux/tile.
36357         * README: Update listing for tile*-*-linux-gnu.
36359 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36361         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36362         __builtin_expect.
36363         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36364         * catgets/open_catalog.c (__open_catalog): Likewise.
36365         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36366         * debug/confstr_chk.c: Likewise.
36367         * debug/fread_chk.c (__fread_chk): Likewise.
36368         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36369         * debug/getgroups_chk.c: Likewise.
36370         * debug/mbsnrtowcs_chk.c: Likewise.
36371         * debug/mbsrtowcs_chk.c: Likewise.
36372         * debug/mbstowcs_chk.c: Likewise.
36373         * debug/memcpy_chk.c: Likewise.
36374         * debug/memmove_chk.c: Likewise.
36375         * debug/mempcpy_chk.c: Likewise.
36376         * debug/memset_chk.c: Likewise.
36377         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36378         * debug/strcat_chk.c (__strcat_chk): Likewise.
36379         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36380         * debug/strncat_chk.c (__strncat_chk): Likewise.
36381         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36382         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36383         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36384         * debug/wcpncpy_chk.c: Likewise.
36385         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36386         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36387         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36388         * debug/wcsncpy_chk.c: Likewise.
36389         * debug/wcsnrtombs_chk.c: Likewise.
36390         * debug/wcsrtombs_chk.c: Likewise.
36391         * debug/wcstombs_chk.c: Likewise.
36392         * debug/wmemcpy_chk.c: Likewise.
36393         * debug/wmemmove_chk.c: Likewise.
36394         * debug/wmempcpy_chk.c: Likewise.
36395         * debug/wmemset_chk.c: Likewise.
36396         * dirent/scandirat.c (SCANDIRAT): Likewise.
36397         * dlfcn/dladdr1.c (dladdr1): Likewise.
36398         * dlfcn/dladdr.c (dladdr): Likewise.
36399         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36400         * dlfcn/dlerror.c (__dlerror): Likewise.
36401         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36402         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36403         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36404         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36405         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36406         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36407         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36408         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36409         Likewise.
36410         * elf/dl-conflict.c: Likewise.
36411         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36412         * elf/dl-dst.h: Likewise.
36413         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36414         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36415         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36416         * elf/dl-init.c (call_init, _dl_init): Likewise.
36417         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36418         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36419         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36420         Likewise.
36421         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36422         Likewise.
36423         * elf/dl-minimal.c (__libc_memalign): Likewise.
36424         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36425         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36426         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36427         * elf/dl-sym.c (do_sym): Likewise.
36428         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36429         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36430         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36431         * elf/dl-writev.h (_dl_writev): Likewise.
36432         * elf/ldconfig.c (search_dir): Likewise.
36433         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36434         (dl_main): Likewise.
36435         * elf/setup-vdso.h (setup_vdso): Likewise.
36436         * grp/compat-initgroups.c (compat_call): Likewise.
36437         * grp/fgetgrent.c (fgetgrent): Likewise.
36438         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36439         * grp/putgrent.c (putgrent): Likewise.
36440         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36441         Likewise.
36442         * hurd/hurdinit.c: Likewise.
36443         * iconvdata/8bit-gap.c (struct): Likewise.
36444         * iconvdata/ansi_x3.110.c : Likewise.
36445         * iconvdata/big5.c : Likewise.
36446         * iconvdata/big5hkscs.c : Likewise.
36447         * iconvdata/cp1255.c: Likewise.
36448         * iconvdata/cp1258.c : Likewise.
36449         * iconvdata/cp932.c : Likewise.
36450         * iconvdata/euc-cn.c: Likewise.
36451         * iconvdata/euc-jisx0213.c : Likewise.
36452         * iconvdata/euc-jp.c: Likewise.
36453         * iconvdata/euc-jp-ms.c : Likewise.
36454         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36455         * iconvdata/gb18030.c : Likewise.
36456         * iconvdata/gbbig5.c (const): Likewise.
36457         * iconvdata/gbgbk.c: Likewise.
36458         * iconvdata/gbk.c : Likewise.
36459         * iconvdata/ibm1364.c : Likewise.
36460         * iconvdata/ibm930.c : Likewise.
36461         * iconvdata/ibm932.c: Likewise.
36462         * iconvdata/ibm933.c : Likewise.
36463         * iconvdata/ibm935.c : Likewise.
36464         * iconvdata/ibm937.c : Likewise.
36465         * iconvdata/ibm939.c : Likewise.
36466         * iconvdata/ibm943.c: Likewise.
36467         * iconvdata/iso_11548-1.c: Likewise.
36468         * iconvdata/iso-2022-cn.c : Likewise.
36469         * iconvdata/iso-2022-cn-ext.c : Likewise.
36470         * iconvdata/iso-2022-jp-3.c: Likewise.
36471         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36472         * iconvdata/iso-2022-kr.c : Likewise.
36473         * iconvdata/iso646.c (gconv_end): Likewise.
36474         * iconvdata/iso_6937-2.c : Likewise.
36475         * iconvdata/iso_6937.c : Likewise.
36476         * iconvdata/iso8859-1.c: Likewise.
36477         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36478         * iconvdata/shift_jisx0213.c : Likewise.
36479         * iconvdata/sjis.c : Likewise.
36480         * iconvdata/t.61.c : Likewise.
36481         * iconvdata/tcvn5712-1.c : Likewise.
36482         * iconvdata/tscii.c: Likewise.
36483         * iconvdata/uhc.c : Likewise.
36484         * iconvdata/unicode.c (gconv_end): Likewise.
36485         * iconvdata/utf-16.c (gconv_end): Likewise.
36486         * iconvdata/utf-32.c (gconv_end): Likewise.
36487         * iconvdata/utf-7.c (base64): Likewise.
36488         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36489         * iconv/gconv_close.c (__gconv_close): Likewise.
36490         * iconv/gconv_open.c (__gconv_open): Likewise.
36491         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36492         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36493         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36494         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36495         (ucs4le_internal_loop_single): Likewise.
36496         * iconv/iconv.c (iconv): Likewise.
36497         * iconv/iconv_close.c: Likewise.
36498         * iconv/loop.c (SINGLE): Likewise.
36499         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36500         * include/atomic.h: Likewise.
36501         * inet/inet6_option.c (option_alloc): Likewise.
36502         * intl/bindtextdom.c (set_binding_values): Likewise.
36503         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36504         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36505         * intl/localealias.c (read_alias_file): Likewise.
36506         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36507         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36508         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36509         * libio/fmemopen.c (fmemopen): Likewise.
36510         * libio/iofgets.c (_IO_fgets): Likewise.
36511         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36512         * libio/iofgetws.c (fgetws): Likewise.
36513         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36514         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36515         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36516         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36517         * locale/findlocale.c (_nl_find_locale): Likewise.
36518         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36519         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36520         Likewise.
36521         * locale/setlocale.c (setlocale): Likewise.
36522         * login/programs/pt_chown.c (main): Likewise.
36523         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36524         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36525         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36526         (mmap, mmap64, mremap, munmap): Likewise.
36527         * math/e_exp2l.c: Likewise.
36528         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36529         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36530         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36531         * math/s_catan.c (__catan): Likewise.
36532         * math/s_catanf.c (__catanf): Likewise.
36533         * math/s_catanh.c (__catanh): Likewise.
36534         * math/s_catanhf.c (__catanhf): Likewise.
36535         * math/s_catanhl.c (__catanhl): Likewise.
36536         * math/s_catanl.c (__catanl): Likewise.
36537         * math/s_ccosh.c (__ccosh): Likewise.
36538         * math/s_ccoshf.c (__ccoshf): Likewise.
36539         * math/s_ccoshl.c (__ccoshl): Likewise.
36540         * math/s_cexp.c (__cexp): Likewise.
36541         * math/s_cexpf.c (__cexpf): Likewise.
36542         * math/s_cexpl.c (__cexpl): Likewise.
36543         * math/s_clog10.c (__clog10): Likewise.
36544         * math/s_clog10f.c (__clog10f): Likewise.
36545         * math/s_clog10l.c (__clog10l): Likewise.
36546         * math/s_clog.c (__clog): Likewise.
36547         * math/s_clogf.c (__clogf): Likewise.
36548         * math/s_clogl.c (__clogl): Likewise.
36549         * math/s_csin.c (__csin): Likewise.
36550         * math/s_csinf.c (__csinf): Likewise.
36551         * math/s_csinh.c (__csinh): Likewise.
36552         * math/s_csinhf.c (__csinhf): Likewise.
36553         * math/s_csinhl.c (__csinhl): Likewise.
36554         * math/s_csinl.c (__csinl): Likewise.
36555         * math/s_csqrt.c (__csqrt): Likewise.
36556         * math/s_csqrtf.c (__csqrtf): Likewise.
36557         * math/s_csqrtl.c (__csqrtl): Likewise.
36558         * math/s_ctan.c (__ctan): Likewise.
36559         * math/s_ctanf.c (__ctanf): Likewise.
36560         * math/s_ctanh.c (__ctanh): Likewise.
36561         * math/s_ctanhf.c (__ctanhf): Likewise.
36562         * math/s_ctanhl.c (__ctanhl): Likewise.
36563         * math/s_ctanl.c (__ctanl): Likewise.
36564         * math/w_pow.c: Likewise.
36565         * math/w_powf.c: Likewise.
36566         * math/w_powl.c: Likewise.
36567         * math/w_scalb.c (sysv_scalb): Likewise.
36568         * math/w_scalbf.c (sysv_scalbf): Likewise.
36569         * math/w_scalbl.c (sysv_scalbl): Likewise.
36570         * misc/error.c (error_tail): Likewise.
36571         * misc/pselect.c (__pselect): Likewise.
36572         * nis/nis_callback.c (__nis_create_callback): Likewise.
36573         * nis/nis_call.c (__nisfind_server): Likewise.
36574         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36575         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36576         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36577         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36578         * nis/nis_lookup.c (nis_lookup): Likewise.
36579         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36580         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36581         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36582         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36583         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36584         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36585         * nis/nss_compat/compat-initgroups.c (add_group)
36586         (internal_getgrent_r): Likewise.
36587         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36588         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36589         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36590         (internal_getspnam_r): Likewise.
36591         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36592         (_nss_nis_getaliasbyname_r): Likewise.
36593         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36594         (_nss_nis_getntohost_r): Likewise.
36595         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36596         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36597         (_nss_nis_getgrgid_r): Likewise.
36598         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36599         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36600         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36601         (_nss_nis_gethostbyname4_r): Likewise.
36602         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36603         (initgroups_netid): Likewise.
36604         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36605         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36606         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36607         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36608         (_nss_nis_getprotobynumber_r): Likewise.
36609         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36610         (_nss_nis_getsecretkey): Likewise.
36611         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36612         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36613         (_nss_nis_getpwuid_r): Likewise.
36614         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36615         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36616         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36617         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36618         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36619         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36620         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36621         Likewise.
36622         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36623         (_nss_nisplus_getntohost_r): Likewise.
36624         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36625         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36626         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36627         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36628         Likewise.
36629         * nis/nss_nisplus/nisplus-initgroups.c
36630         (_nss_nisplus_initgroups_dyn): Likewise.
36631         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36632         (_nss_nisplus_getnetbyaddr_r): Likewise.
36633         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36634         (_nss_nisplus_getprotobynumber_r): Likewise.
36635         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36636         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36637         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36638         Likewise.
36639         * nis/nss_nisplus/nisplus-service.c
36640         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36641         (_nss_nisplus_getservbyport_r): Likewise.
36642         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36643         (_nss_nisplus_getspnam_r): Likewise.
36644         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36645         Likewise.
36646         * nscd/aicache.c (addhstaiX): Likewise.
36647         * nscd/cache.c (cache_search, prune_cache): Likewise.
36648         * nscd/connections.c (register_traced_file, send_ro_fd)
36649         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36650         (main_loop_epoll): Likewise.
36651         * nscd/grpcache.c (addgrbyX): Likewise.
36652         * nscd/hstcache.c (addhstbyX): Likewise.
36653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36654         * nscd/mem.c (gc, mempool_alloc): Likewise.
36655         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36656         (addinnetgrX): Likewise.
36657         * nscd/nscd-client.h (__nscd_acquire_maplock)
36658         (__nscd_drop_map_ref): Likewise.
36659         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36660         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36661         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36662         Likewise.
36663         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36664         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36665         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36666         (__nscd_get_map_ref): Likewise.
36667         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36668         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36669         Likewise.
36670         * nscd/pwdcache.c (addpwbyX): Likewise.
36671         * nscd/selinux.c (preserve_capabilities): Likewise.
36672         * nscd/servicescache.c (addservbyX): Likewise.
36673         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36674         * posix/fnmatch.c (fnmatch): Likewise.
36675         * posix/getopt.c (_getopt_internal_r): Likewise.
36676         * posix/glob.c (glob, glob_in_dir): Likewise.
36677         * posix/wordexp.c (exec_comm_child): Likewise.
36678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36679         (getanswer_r, gaih_getanswer_slice): Likewise.
36680         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36681         * resolv/res_init.c: Likewise.
36682         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36683         * resolv/res_query.c (__libc_res_nquery): Likewise.
36684         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36685         Likewise.
36686         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36687         * stdio-common/perror.c (perror): Likewise.
36688         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36689         * stdio-common/tmpnam.c (tmpnam): Likewise.
36690         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36691         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36692         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36693         Likewise.
36694         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36695         * stdlib/putenv.c (putenv): Likewise.
36696         * stdlib/setenv.c (__add_to_environ): Likewise.
36697         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36698         * stdlib/strtol_l.c (INTERNAL): Likewise.
36699         * string/memmem.c (memmem): Likewise.
36700         * string/strerror.c (strerror): Likewise.
36701         * string/strnlen.c (__strnlen): Likewise.
36702         * string/test-memmem.c (simple_memmem): Likewise.
36703         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36704         * sunrpc/pm_getport.c (__get_socket): Likewise.
36705         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36706         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36707         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36708         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36709         Likewise.
36710         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36711         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36712         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36713         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36714         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36715         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36716         Likewise.
36717         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36718         Likewise.
36719         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36720         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36722         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36723         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36725         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36726         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36727         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36728         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36729         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36730         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36731         Likewise.
36732         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36733         Likewise.
36734         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36735         Likewise.
36736         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36737         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36738         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36739         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36740         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36741         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36742         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36745         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36746         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36747         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36748         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36749         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36751         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36752         Likewise.
36753         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36754         Likewise.
36755         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36756         Likewise.
36757         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36758         Likewise.
36759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36761         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36762         Likewise.
36763         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36764         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36765         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36766         * sysdeps/posix/sleep.c: Likewise.
36767         * sysdeps/posix/tempname.c: Likewise.
36768         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36769         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36770         Likewise.
36771         * sysdeps/powerpc/powerpc32/dl-machine.h
36772         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36773         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36775         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36776         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36777         Likewise.
36778         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36779         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36780         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36781         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36782         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36783         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36784         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36785         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36786         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36787         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36789         (elf_machine_lazy_rel): Likewise.
36790         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36791         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36792         (elf_machine_lazy_rel): Likewise.
36793         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36794         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36795         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36796         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36797         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36798         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36799         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36801         Likewise.
36802         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36803         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36804         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36805         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36806         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36807         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36808         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36809         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36810         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36811         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36812         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36813         Likewise.
36814         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36815         (__posix_fallocate64_l64): Likewise.
36816         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36817         (posix_fallocate): Likewise.
36818         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36819         Likewise.
36820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36821         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36822         (getifaddrs_internal): Likewise.
36823         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36824         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36825         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36826         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36827         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36828         (__posix_fallocate64_l64): Likewise.
36829         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36830         Likewise.
36831         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36832         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36833         (__get_clockfreq): Likewise.
36834         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36835         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36836         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36839         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36840         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36841         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36842         Likewise.
36843         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36844         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36845         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36846         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36847         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36848         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36849         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36850         Likewise.
36851         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36852         (posix_fallocate): Likewise.
36853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36854         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36855         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36856         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36857         (elf_machine_rela, elf_machine_rela_relative)
36858         (elf_machine_lazy_rel): Likewise.
36859         * time/asctime.c (asctime_internal): Likewise.
36860         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36861         * time/tzset.c (__tzset_parse_tz): Likewise.
36862         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36863         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36864         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36865         * wcsmbs/wcsmbsload.h: Likewise.
36867         [BZ #15894]
36868         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36870         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36871         (arena_get2): Remove THREAD_STATS conditionals.
36872         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36873         (__malloc_stats, int): Likewise.
36875 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36877         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36878         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36880         * manual/setjmp.texi: Fix typos/grammar errors.
36882         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36883         Only return early when n is <= 0.  Delete unused return statement.
36885         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36886         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36887         * debug/tst-longjmp_chk3.c: New file.
36889         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36890         (test_main): Replace code with set_fortify_handler call.
36891         * debug/test-strcpy_chk.c: Likewise.
36892         * debug/tst-chk1.c: Likewise.
36893         * debug/tst-longjmp_chk.c: Likewise.
36894         * test-skeleton.c: Include fcntl.h & paths.h
36895         (set_fortify_handler): Define.
36897         * debug/tst-longjmp_chk.c: Add header comment and include
36898         ../test-skeleton.c.
36899         (do_test): Mark static.
36900         (TEST_FUNCTION): Define.
36902         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36903         (IP_PMTUDISC_INTERFACE): Likewise.
36904         (IP_MULTICAST_IF): Likewise.
36905         (IP_MULTICAST_TTL): Likewise.
36906         (IP_MULTICAST_LOOP): Likewise.
36907         (IP_ADD_MEMBERSHIP): Likewise.
36908         (IP_DROP_MEMBERSHIP): Likewise.
36909         (IP_UNBLOCK_SOURCE): Likewise.
36910         (IP_BLOCK_SOURCE): Likewise.
36911         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36912         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36913         (IP_MSFILTER): Likewise.
36914         (MCAST_JOIN_GROUP): Likewise.
36915         (MCAST_BLOCK_SOURCE): Likewise.
36916         (MCAST_UNBLOCK_SOURCE): Likewise.
36917         (MCAST_LEAVE_GROUP): Likewise.
36918         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36919         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36920         (MCAST_MSFILTER): Likewise.
36921         (IP_MULTICAST_ALL): Likewise.
36922         (IP_UNICAST_IF): Likewise.
36924         * timezone/Makefile: Delete $(have-ksh) check.
36925         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36926         * timezone/tzselect.ksh: Add +x mode bits.
36928         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36929         (ANON_INODE_FS_MAGIC): Likewise.
36930         (BDEVFS_MAGIC): Likewise.
36931         (BINFMTFS_MAGIC): Likewise.
36932         (BTRFS_TEST_MAGIC): Likewise.
36933         (CRAMFS_MAGIC_WEND): Likewise.
36934         (DEBUGFS_MAGIC): Likewise.
36935         (ECRYPTFS_SUPER_MAGIC): Likewise.
36936         (EXT3_SUPER_MAGIC): Likewise.
36937         (EXT4_SUPER_MAGIC): Likewise.
36938         (FUTEXFS_SUPER_MAGIC): Likewise.
36939         (HOSTFS_SUPER_MAGIC): Likewise.
36940         (HUGETLBFS_MAGIC): Likewise.
36941         (MINIX3_SUPER_MAGIC): Likewise.
36942         (MTD_INODE_FS_MAGIC): Likewise.
36943         (NILFS_SUPER_MAGIC): Likewise.
36944         (OPENPROM_SUPER_MAGIC): Likewise.
36945         (PIPEFS_MAGIC): Likewise.
36946         (PSTOREFS_MAGIC): Likewise.
36947         (QNX6_SUPER_MAGIC): Likewise.
36948         (RAMFS_MAGIC): Likewise.
36949         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36950         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36951         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36952         (SECURITYFS_MAGIC): Likewise.
36953         (SELINUX_MAGIC): Likewise.
36954         (SMACK_MAGIC): Likewise.
36955         (SOCKFS_MAGIC): Likewise.
36956         (SQUASHFS_MAGIC): Likewise.
36957         (STACK_END_MAGIC): Likewise.
36958         (TMPFS_MAGIC): Likewise.
36959         (USBDEVICE_SUPER_MAGIC): Likewise.
36960         (V9FS_MAGIC): Likewise.
36961         (XENFS_SUPER_MAGIC): Likewise.
36962         (CRAMFS_MAGIC): Fix typo in comment.
36963         (EXT2_SUPER_MAGIC): Update comment.
36964         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36966 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36968         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36969         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36970         * sysdeps/unix/sysv/linux/arm: Move directory from
36971         ports/sysdeps/unix/sysv/linux/arm.
36972         * README: Update listing for arm-*-linux-gnueabi.
36974         * README: Remove mention of am33.
36976 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36978         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36979         than the comma operator, to avoid "rhs of comma has no effect"
36980         compiler warnings.
36981         (__sigfillset, __sigandset, __sigorset): Likewise.
36982         * include/signal.h (__sigemptyset): Likewise.
36983         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36985 2014-02-07  Allan McRae  <allan@archlinux.org>
36987         * version.h (RELEASE): Set to "development".
36988         (VERSION): Set to "2.19.90"
36989         * NEWS: Add 2.20 section.
36991 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36993         [BZ #16529]
36994         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36996 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36998         * manual/contrib.texi: Update entry for Carlos O'Donell,
36999         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37001 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37003         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37005         * sysdeps/unix/sysv/linux/kernel-features.h
37006         [__LINUX_KERNEL_VERSION >= 0x020621]
37007         (__ASSUME_PROC_PID_TASK_COMM): Define.
37009 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37011         [BZ #16398]
37012         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37013         conversion when destination buffer does not have enough space.
37014         * libio/tst-ftell-partial-wide.c: New test case.
37015         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37017         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37018         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37019         Leonard and Allan McRae.
37021 2014-02-04  David S. Miller  <davem@davemloft.net>
37023         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37024         32-bit.
37026 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37029         New file
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37031         New file
37032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37033         New file.
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37035         New file.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37037         New file.
37038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37039         New file.
37040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37041         New file.
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37043         New file.
37044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37045         New file.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37047         New file.
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37049         New file.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37051         New file.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37053         New file.
37055 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37057         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37058         * shlib-versions: Likewise.
37060 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37061             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37063         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37064         (abilist-pattern): New variable, set to %-le.abilist.
37066         * Makerules (abilist-pattern): New variable.
37067         (vpath): Use $(abilist-pattern) in place of %.abilist.
37068         (check-abi-% pattern rule): Likewise.
37069         (check-abi, update-abi): Likewise.
37071 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37075 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37077         * manual/startup.texi: Add next, previous, and top entries for
37078         the `Program Arguments' and `Environment Variables' nodes.
37080 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37082         * manual/macros.texi: Add comments before MTASC-safety macros.
37084         * manual/users.texi: Document MTASC-safety properties.
37086         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37087         (pthread_getspecific, pthread_setspecific): Format with
37088         @deftypefun, and add @safety note.
37089         * manual/signal.texi: Move comments that analyze the above
37090         functions to their home place.
37092 2014-02-03  Allan McRae  <allan@archlinux.org>
37094         * po/sl.po: Update Slovenian translation from translation project.
37096 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37098         * manual/time.texi (timegm): Add missing blank after @c.
37099         Reported by Joseph Myers <joseph@codesourcery.com>.
37101 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37103         * manual/check-safety.sh: New.
37104         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37106         * manual/terminal.texi: Document MTASC-safety properties.
37108         * manual/filesys.texi: Document MTASC-safety properties.
37110         * manual/errno.texi: Document MTASC-safety properties.
37112         * manual/intro.texi: Document safety identifiers and
37113         conditionals.
37115         * manual/string.texi (wcstok): Fix prototype.
37116         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37118         * manual/time.texi: Document MTASC-safety properties.
37120         * manual/string.texi: Document MTASC-safety properties.
37122         * manual/threads.texi: Document MTASC-safety properties.
37124         * manual/stdio.texi: Document MTASC-safety properties.
37126         * manual/syslog.texi: Document MTASC-safety properties.
37128         * manual/sysinfo.texi: Document MTASC-safety properties.
37130         * manual/startup.texi: Document MTASC-safety properties.
37132         * manual/socket.texi: Document MTASC-safety properties.
37134         * manual/signal.texi: Document MTASC-safety properties.
37136 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37138         * manual/setjmp.texi: Document MTASC-safety properties.
37140         * manual/search.texi: Document MTASC-safety properties.
37142         * manual/resource.texi: Document MTASC-safety properties.
37144         * manual/process.texi: Document MTASC-safety properties.
37146         * manual/platform.texi: Document MTASC-safety properties.
37148         * manual/pipe.texi: Document MTASC-safety properties.
37150         * manual/pattern.texi: Document MTASC-safety properties.
37152         * manual/message.texi: Document MTASC-safety properties.
37154         [BZ #12751]
37155         * manual/memory.texi: Document MTASC-safety properties.
37157         * manual/math.texi: Document MTASC-safety properties.
37159         * manual/locale.texi: Document MTASC-safety properties.
37161         * manual/llio.texi: Document MTASC-safety properties.
37163         * manual/libdl.texi: New.
37165         * manual/lang.texi: Document MTASC-safety properties.
37167         * manual/job.texi: Document MTASC-safety properties.
37169         * manual/getopt.texi: Document MTASC-safety properties.
37171         * manual/ctype.texi: Document MTASC-safety properties.
37173 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37175         [BZ #16046]
37176         * csu/libc-tls.c (static_map): Remove variable.
37177         (__libc_setup_tls): Use main executable's link map for TLS data.
37178         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37179         casing for LM_ID_BASE and GL(dl_nns).
37180         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37181         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37182         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37183         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37184         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37185         member.
37186         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37187         l_phnum members.
37189 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37191         * manual/debug.texi: Document MTASC-safety properties.
37193 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37195         [BZ #16510]
37196         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37197         of __x86_64__ when disabling x87 inline functions.
37199 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37201         * manual/charset.texi: Document MTASC-safety properties.
37203         * manual/crypt.texi: Document MTASC-safety properties.
37205         * manual/conf.texi: Document MTASC-safety properties.
37207         * manual/arith.texi: Document MTASC-safety properties.
37209         * manual/argp.texi: Document MTASC-safety properties.
37211         * manual/macros.texi: Introduce macros to document multi
37212         thread, asynchronous signal and asynchronous cancellation
37213         safety properties.
37214         * manual/intro.texi: Introduce the properties themselves.
37216 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37218         * sysdeps/sh/sh4/Makefile: New file.
37220 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37222         * math/gen-libm-test.pl ($srcdir): New variable.
37223         ($auto_input): Use it.
37225 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37227         [BZ #16506]
37228         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37229         access beyond array bounds when parsing netgroups file.
37231         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37232         the old buffer before realloc.
37234 2014-01-27  Allan McRae  <allan@archlinux.org>
37236         * po/fr.po: Update French translation from translation project.
37238 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37240         * sysdeps/sh/libm-test-ulps: Regenerate.
37242 2014-01-24  David S. Miller  <davem@davemloft.net>
37244         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37246 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37248         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37249         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37251 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37253         [BZ #16474]
37254         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37255         string pointers after reallocation.
37257 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37259         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37260         __SH4A__ instead of __SH_FPU_ANY__.
37262 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37264         * sysdeps/sh/fpu_control.h: New file.
37265         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37266         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37267         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37268         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37269         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37270         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37271         * sysdeps/sh/sys/ucontext.h: Remove.
37272         * sysdeps/sh/sys: Remove directory.
37274 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37276         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37277         s390/sys/ucontext.h.
37278         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37279         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37281 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37283         [BZ #15605]
37284         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37286 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37288         [BZ#16431]
37289         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37290         Adjust the vDSO correctly for internal calls.
37291         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37293 2014-01-20  Allan McRae  <allan@archlinux.org>
37295         * po/ca.po: Update Catalan translation from translation project.
37297 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37299         * sysdeps/s390/sotruss-lib.c: New file.
37301 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37303         [BZ#16430]
37304         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37305         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37306         local calls issues by not having a PLT stub required for IFUNC calls.
37307         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37309 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37311         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37312         * math/test-fpucw-static.c: Likewise.
37314 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37316         [BZ #16453]
37317         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37319 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37321         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37322         implementation for powerpc.
37324 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37326         [BZ #14782]
37327         * sysdeps/posix/system.c (__libc_system): Do not enable
37328         asynchronous cancellation.
37330 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37332         [BZ #16427]
37333         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37334         handling only for numbers special also in the IEEE case.
37336 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37338         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37340 2014-01-11  Allan McRae  <allan@archlinux.org>
37342         * po/bg.po: Update Bulgarian translation from translation project.
37344         * po/de.po: Update German translation from translation project.
37346 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37348         * sysdeps/generic/gcc-compat.h: New file.
37350 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37352         * benchtests/asin-inputs: Correct slow inputs.
37353         * benchtests/acos-inputs: Likewise.
37355 2014-01-10  Allan McRae  <allan@archlinux.org>
37357         * po:sv.po: Update Swedish translation from translation project.
37359         * po/vi.po: Update Vietnamese translation from translation project.
37361         * po/eo.po: Update Esperanto translation from translation project.
37363         * po/cs.po: Update Czech translation from translation project.
37365         * po/nl.po: Update Dutch translation from translation project.
37367         * po/pl.po: Update Polish translation from translation project.
37369         * po/ru.po: Update Russian translation from translation project.
37371         * po/uk.po: Update Ukrainian translation from translation project.
37373 2014-01-08  Brooks Moses  <bmoses@google.com>
37375         * elf/dl-load.c: Fix comment typo.
37377 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37379         * po/header.pot: Rename to...
37380         * po/pot.header: ... this.
37381         * po/Makefile: Use pot.header.
37383 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37384             Maxim Kuvyrkov  <maxim@kugelworks.com>
37386         [BZ #16394]
37387         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37388         SRC and DEST against LEN.
37390 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37392         [BZ #16414]
37393         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37394         implementation.
37395         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37397 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37401 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37403         [BZ #16408]
37404         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37405         for large positive arguments.
37407 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37409         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37411         * math/auto-libm-test-in: Mark various tests with
37412         xfail-rounding:ldbl-128ibm.
37413         * math/auto-libm-test-out: Regenerated.
37415         [BZ #16407]
37416         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37417         Increase overflow threshold.
37419 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37421         [BZ #14286]
37422         * stdio-common/vfprintf.c: Check for integer overflow.
37424 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37426         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37427         the first argument and return value of __tls_get_addr_internal.
37429 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37431         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37432         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37434 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37436         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37437         * sysdeps/s390/rtld-global-offsets.sym: New file.
37438         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37439         GLIBC_2.19 symbol.
37440         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37441         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37442         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37443         ... this.
37444         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37445         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37446         ... this.
37447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37448         Regenerate.
37449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37450         Regenerate.
37451         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37452         halfs of GPRs for high_gprs contexts.
37453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37454         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37455         field.
37456         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37457         uc_flags field.
37458         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37459         64 bit versions:
37460         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37461         for high GPRs (uc_high_gprs) and for future extensions
37462         (__reserved).
37463         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37464         for future extensions (__reserved).
37465         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37466         64 bit versions:
37467         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37468         SC_HIGHGPRS offset definition.
37469         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37470         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37472         * Versions.def: Add GLIBC_2.19 for libpthread.
37473         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37474         siglongjmp for libpthread with GLIBC_2.19 symver.
37475         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37476         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37477         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37478         * sysdeps/s390/__longjmp.c: New file.
37479         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37480         * sysdeps/s390/longjmp.c: New file.
37481         * sysdeps/s390/setjmp.S: New file.
37482         * sysdeps/s390/sigjmp.S: New file.
37483         * sysdeps/s390/v1-longjmp.c: New file.
37484         * sysdeps/s390/v1-setjmp.h: New file.
37485         * sysdeps/s390/v1-sigjmp.c: New file.
37486         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37487         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37488         GLIBC_2.19 version.
37489         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37490         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37491         versioned symbols for ____longjmp_chk.
37492         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37493         Likewise.
37494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37495         Regenerate.
37496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37497         Regenerate.
37498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37499         Regenerate.
37500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37501         Regenerate.
37502         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37503         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37504         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37505         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37506         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37507         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37508         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37509         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37510         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37511         * sysdeps/s390/rtld-__longjmp.c: New file.
37512         * sysdeps/s390/rtld-setjmp.S: New file.
37514 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37516         [BZ #16400]
37517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37518         Return -__logl (x) for small positive arguments without evaluating
37519         a polynomial.
37521 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37523         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37524         Rename to ...
37525         (__ptrace_peeksiginfo_args): ... this.
37526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37528         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37530 2014-01-06  Allan McRae  <allan@archlinux.org>
37532         * inet/netinet/in.h: Fix typo in comment.
37534 2014-01-05  Andreas Jaeger  <aj@suse.de>
37536         * sysdeps/i386/fpu/libm-test-ulps: Update.
37538 2014-01-05  Allan McRae  <allan@archlinux.org>
37540         * po/libc.pot: Regenerated.
37542         * malloc/memusagestat.c: Fix gettext call formatting.
37544 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37546         * nscd/nscd.c: Improve usage() output.
37548 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37550         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37551         * sysdeps/unix/sysv/linux/configure: Regenerated.
37552         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37553         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37555 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37557         [BZ #16390]
37558         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37559         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37561 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37564         extra tokens at end of #undef directive.
37565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37566         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37567         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37569 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37571         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37573         * math/auto-libm-test-in: Mark various tests with
37574         xfail-rounding:ldbl-128ibm.
37575         * math/auto-libm-test-out: Regenerated.
37577 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37579         [BZ #16386]
37580         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37581         numbers with subnormal high part when calculating exponent.
37583         [BZ #16385]
37584         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37585         fabs.
37587         [BZ #16384]
37588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37589         M_LN2l.
37590         (__ieee754_acoshl): Use __log1pl not __log1p.
37592 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37594         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37595         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37596         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37597         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37598         (reused_arena, arena_get2): Convert to GNU style.
37599         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37600         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37601         (memalign_check, __malloc_set_state): Likewise.
37602         * malloc/mallocbug.c (main): Likewise.
37603         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37604         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37605         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37606         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37607         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37608         (__posix_memalign, malloc_info): Likewise.
37609         * malloc/malloc.h: Likewise.
37610         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37611         (mallochook, memalignhook, reallochook, mabort): Likewise.
37612         * malloc/mcheck.h: Likewise.
37613         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37614         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37615         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37616         * malloc/morecore.c (__default_morecore): Likewise.
37617         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37618         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37619         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37620         (print_and_abort): Likewise.
37621         * malloc/obstack.h: Likewise.
37622         * malloc/set-freeres.c (__libc_freeres): Likewise.
37623         * malloc/tst-mallocstate.c (main): Likewise.
37624         * malloc/tst-mtrace.c (main): Likewise.
37625         * malloc/tst-realloc.c (do_test): Likewise.
37627 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37629         [BZ #16366]
37630         * nscd/netgroupcache.c (do_notfound): New function.
37631         (addgetnetgrentX): Use it.
37633         [BZ # 16365]
37634         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37635         NSS_STATUS_NOTFOUND.
37637 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37639         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37642 2014-01-01  Allan McRae  <allan@archlinux.org>
37644         * scripts/update-copyrights: Update configure input file suffix.
37646         * NEWS: Update copyright year.
37647         * catgets/gencat.c: Likewise.
37648         * csu/version.c: Likewise.
37649         * debug/catchsegv.sh: Likewise.
37650         * debug/pcprofiledump.c: Likewise.
37651         * debug/xtrace.sh: Likewise.
37652         * elf/ldconfig.c: Likewise.
37653         * elf/ldd.bash.in: Likewise.
37654         * elf/pldd.c: Likewise.
37655         * elf/sotruss.ksh: Likewise.
37656         * elf/sprof.c: Likewise.
37657         * iconv/iconv_prog.c: Likewise.
37658         * iconv/iconvconfig.c: Likewise.
37659         * locale/programs/locale.c: Likewise.
37660         * locale/programs/localedef.c: Likewise.
37661         * login/programs/pt_chown.c: Likewise.
37662         * malloc/memusage.sh: Likewise.
37663         * malloc/memusagestat.c: Likewise.
37664         * malloc/mtrace.pl: Likewise.
37665         * manual/libc.texinfo: Likewise.
37666         * nscd/nscd.c: Likewise.
37667         * nss/getent.c: Likewise.
37668         * nss/makedb.c: Likewise.
37669         * posix/getconf.c: Likewise.
37670         * scripts/test-installation.pl: Likewise.
37672         * All files with FSF copyright notices: Update copyright dates
37673         using scripts/update-copyrights.
37674         * intl/plural.c: Regenerated.
37675         * locale/programs/charmap-kw.h: Likewise.
37676         * locale/programs/locfile-kw.h: Likewise.
37678 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37680         * sysdeps/unix/sysv/linux/configure: Regenerated.
37681         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37682         the linux/fanotify.h header.
37683         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37684         HAVE_LINUX_FANOTIFY_H is defined.
37686 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37688         * benchtests/cos-inputs: New inputs.
37689         * benchtests/sin-inputs: Likewise.
37691         * benchtests/atan-inputs: New inputs. Fix name of multiple
37692         precision fallback inputs.
37694         * benchtests/atanh-inputs: New inputs.
37695         * benchtests/tanh-inputs: Likewise.
37697         * benchtests/acosh-inputs: New inputs.
37698         * benchtests/asinh-inputs: Likewise.
37700         * benchtests/cosh-inputs: New inputs.
37701         * benchtests/sinh-inputs: Likewise.
37703         * benchtests/acos-inputs: Add more inputs.
37704         * benchtests/asin-inputs: Likewise.
37706 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37708         [BZ #16375]
37709         * manual/arith.texi: Fix spelling.
37710         * manual/charset.texi: Likewise.
37711         * manual/errno.texi: Likewise.
37712         * manual/filesys.texi: Likewise.
37713         * manual/lang.texi: Likewise.
37714         * manual/llio.texi: Likewise.
37715         * manual/locale.texi: Likewise.
37716         * manual/message.texi: Likewise.
37717         * manual/resource.texi: Likewise.
37718         * manual/search.texi: Likewise.
37719         * manual/setjmp.texi: Likewise.
37720         * manual/stdio.texi: Likewise.
37721         * manual/string.texi: Likewise.
37722         * manual/sysinfo.texi: Likewise.
37723         * manual/time.texi: Likewise.
37725 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37727         * po/sl.po: New file.
37729 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37731         * .gitignore: Add core/.gdbinit/.gdb_history.
37733 2013-12-27  Allan McRae  <allan@archlinux.org>
37735         [BZ #16369]
37736         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37737         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37739 2013-12-24  Brooks Moses  <bmoses@google.com>
37741         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37742         all compilers that claim C++98 compliance, not just GCC.
37743         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37744         Likewise.
37746 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37748         * NEWS: Restore accidentally deleted bug-fix entries.
37750 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37751             Ondřej Bílka  <neleai@seznam.cz>
37753         [BZ #15073]
37754         * malloc/malloc.c (_int_free): Perform sanity check only if we
37755         have_lock.
37757 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37759         [BZ #12986]
37760         * manual/stdio.texi (String Input Conversions): Clarify that character
37761         classes are not supported.
37763 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37767 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37769         [BZ #16337]
37770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37771         Calculate results for small negative arguments directly rather
37772         than using reflection formula with special underflow handling.
37774         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37775         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37776         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37777         (fchflags): Likewise.
37778         (revoke): Likewise.
37779         (setlogin): Likewise.
37780         (sigaltstack): Likewise.
37781         (wait4): Likewise.
37782         (sigblock): Remove.
37783         (sigsetmask): Likewise.
37784         (wait3): Likewise.
37785         (waitpid): Likewise.
37786         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37787         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37788         file.
37789         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37790         * sysdeps/unix/bsd/Makefile: ... here.
37791         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37792         * sysdeps/unix/bsd/Versions: ... here.
37793         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37794         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37795         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37796         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37797         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37798         * sysdeps/unix/bsd/sigblock.c: ... here.
37799         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37800         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37801         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37802         * sysdeps/unix/bsd/sigvec.c: ... here.
37803         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37804         * sysdeps/unix/bsd/tcdrain.c: ... here.
37805         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37806         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37807         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37808         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37809         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37810         * sysdeps/unix/bsd/wait.c: ... here.
37811         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37812         * sysdeps/unix/bsd/wait3.c: ... here.
37813         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37814         * sysdeps/unix/bsd/waitpid.c: ... here.
37816 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37818         [BZ #16356]
37819         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37820         round-to-nearest for [!USE_AS_EXPM1L].
37821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37822         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37823         more tests of exp and exp10.  Expect some exp10 tests to miss
37824         exceptions or fail in directed rounding modes.
37825         * math/auto-libm-test-out: Regenerated.
37826         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37827         (exp10_test_tonearest): New function.
37828         (exp10_towardzero_test_data): New array.
37829         (exp10_test_towardzero): New function.
37830         (exp10_downward_test_data): New array.
37831         (exp10_test_downward): New function.
37832         (exp10_upward_test_data): New array.
37833         (exp10_test_upward): New function.
37834         (main): Call the new functions.
37835         * sysdeps/i386/fpu/libm-test-ulps: Update.
37836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37838 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37840         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37841         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37842         * math/auto-libm-test-out: Regenerated.
37843         * math/libm-test.inc (acosh_test_data): Add more tests.
37844         (atanh_test_data): Likewise.
37845         (ceil_test_data): Likewise.
37846         (copysign_test_data): Likewise.
37847         * sysdeps/i386/fpu/libm-test-ulps: Update.
37848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37850         * timezone/checktab.awk: Update from tzcode 2013i.
37851         * timezone/private.h: Likewise.
37852         * timezone/scheck.c: Likewise.
37853         * timezone/tzfile.h: Likewise.
37854         * timezone/tzselect.ksh: Likewise.
37855         * timezone/zdump.c: Likewise.
37856         * timezone/zic.c: Likewise.
37858         * math/auto-libm-test-in: Add tests of cpow.
37859         * math/auto-libm-test-out: Regenerated.
37860         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37861         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37862         mpc_cc_c.
37863         (func_calc_desc): Add mpc_cc_c union field.
37864         (test_functions): Add cpow.
37865         (special_fill_2pi): New function.
37866         (special_real_inputs): Add 2pi.
37867         (calc_generic_results): Handle mpc_cc_c.
37868         * sysdeps/i386/fpu/libm-test-ulps: Update.
37869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37871         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37872         csqrt, ctan and ctanh.
37873         * math/auto-libm-test-out: Regenerated.
37874         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37875         (TEST_COND_x86): Likewise.
37876         (ccos_test_data): Use AUTO_TESTS_c_c.
37877         (ccosh_test_data): Likewise.
37878         (cexp_test_data): Likewise.
37879         (clog_test_data): Likewise.
37880         (csqrt_test_data): Likewise.
37881         (ctan_test_data): Likewise.
37882         (ctan_tonearest_test_data): Likewise.
37883         (ctan_towardzero_test_data): Likewise.
37884         (ctan_downward_test_data): Likewise.
37885         (ctan_upward_test_data): Likewise.
37886         (ctanh_test_data): Likewise.
37887         (ctanh_tonearest_test_data): Likewise.
37888         (ctanh_towardzero_test_data): Likewise.
37889         (ctanh_downward_test_data): Likewise.
37890         (ctanh_upward_test_data): Likewise.
37891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37892         mpc_c_c.
37893         (func_calc_desc): Add mpc_c_c union field.
37894         (FUNC_mpc_c_c): New macro.
37895         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37896         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37897         ctanh.
37898         (special_fill_min_subnorm_p120): New function.
37899         (special_real_inputs): Add min_subnorm_p120.
37900         (calc_generic_results): Handle mpc_c_c.
37901         * sysdeps/i386/fpu/libm-test-ulps: Update.
37902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37904 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37906         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37907         (do_sin_slow): New functions.
37908         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37909         (cslow2, csloww1, csloww2): Use the new functions.
37911         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37912         Use M to change sign of result instead of X.  Assume X is
37913         positive.
37914         (csloww1): Likewise.
37915         (__sin): Adjust.
37916         (__cos): Adjust.
37918         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37919         arguments A and DA.
37920         (__sin): Adjust.
37921         (__cos): Likewise.
37923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37924         (__cos): Likewise.
37925         (sloww1): Don't adjust sign of DX.
37926         (csloww1): Likewise.
37927         (sloww2): Use X directly and don't adjust sign of DX.
37928         (csloww2): Likewise.
37930 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37932         * math/auto-libm-test-in: Add tests of cabs and carg.
37933         * math/auto-libm-test-out: Regenerated.
37934         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37935         (carg_test_data): Likewise.
37936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37937         mpc_c_f.
37938         (func_calc_desc): Add mpc_c_f union field.
37939         (test_functions): Add cabs and carg.
37940         (calc_generic_results): Handle mpc_c_f.
37942         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37943         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37944         as a macro and a compat symbol.
37945         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37946         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37947         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37948         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37949         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37950         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37951         not use .hidden.
37952         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37953         Likewise.
37954         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37955         Likewise.
37956         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37957         Likewise.
37958         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37959         Likewise.
37960         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37961         Likewise.
37962         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37963         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37964         from GLIBC_2.3.2.
37966 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37970 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37972         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37973         trailing whitespace removed.
37974         * scripts/config.guess: Update to version 2013-11-29.
37975         * scripts/config.sub: Update to version 2013-10-01.
37977         * math/auto-libm-test-in: Add tests of sincos.
37978         * math/auto-libm-test-out: Regenerated.
37979         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37980         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37981         mpfr_f_11.
37982         (func_calc_desc): Add mpfr_f_11 union field.
37983         (test_functions): Add sincos.
37984         (calc_generic_results): Handle mpfr_f_11.
37985         * sysdeps/i386/fpu/libm-test-ulps: Update.
37986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37988 2013-12-19  Andreas Schwab  <schwab@suse.de>
37990         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37991         CALL_MCOUNT.
37992         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37993         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37994         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37996 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37998         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37999         * sysdeps/i386/fpu/libm-test-ulps: Update.
38000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38002         [BZ #16293]
38003         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38004         round-to-nearest mode when using frndint.
38005         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38006         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38008         Likewise.
38009         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38010         sinh test to fail.
38011         * math/auto-libm-test-out: Regenerated.
38012         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38013         (TEST_COND_x86): Likewise.
38014         (expm1_tonearest_test_data): New array.
38015         (expm1_test_tonearest): New function.
38016         (expm1_towardzero_test_data): New array.
38017         (expm1_test_towardzero): New function.
38018         (expm1_downward_test_data): New array.
38019         (expm1_test_downward): New function.
38020         (expm1_upward_test_data): New array.
38021         (expm1_test_upward): New function.
38022         (main): Run the new test functions.
38023         * sysdeps/i386/fpu/libm-test-ulps: Update.
38024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38026         * include/features.h: Update comment documenting feature test
38027         macros.  Mention _DEFAULT_SOURCE in comment.
38028         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38029         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38030         _BSD_SOURCE and _SVID_SOURCE.
38031         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38032         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38033         !_SVID_SOURCE]: Likewise.
38034         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38035         (__USE_POSIX_IMPLICITLY): Define.
38036         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38037         (_POSIX_SOURCE): Undefine and redefine.
38038         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38039         (_POSIX_C_SOURCE): Likewise.
38040         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38041         (Feature Test Macros): Update documentation of default features.
38043 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38045         * benchtests/Makefile: Add bench-strtok.
38046         * benchtests/bench-strtok.c: New file: strtok benchtest.
38048 2013-12-19  Allan McRae  <allan@archlinux.org>
38050         * manual/install.texi: Suppress menu for plain text output.
38051         * INSTALL: Regenerated.
38053 2013-12-18  Brooks Moses  <bmoses@google.com>
38055         [BZ #15846]
38056         * misc/getauxval.c: Include errno.h.
38057         (__getauxval): Set errno to ENOENT if the requested type is not
38058         found.
38059         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38060         don't declare with __attribute_const__.
38061         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38062         * manual/startup.texi: Document that getauxval sets errno.
38064 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38066         * math/auto-libm-test-in: Add tests of jn and yn.
38067         * math/auto-libm-test-out: Regenerated.
38068         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38069         (yn_test_data): Likewise.
38070         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38071         mpfr_if_f.
38072         (func_calc_desc): Add mpfr_if_f union field.
38073         (FUNC_mpfr_if_f): New macro.
38074         (test_functions): Add jn and yn.
38075         (calc_generic_results): Assert type of second input for
38076         mpfr_ff_f.  Handle mpfr_if_f.
38077         (output_for_one_input_case): Disable all checking for arguments
38078         fitting floating-point types in case of an integer argument.
38079         * sysdeps/i386/fpu/libm-test-ulps: Update.
38080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38083         Don't expect fegetround reference in libm.so.
38085 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38087         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38088         $(config-cflags-nofma).
38090 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38092         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38093         * math/auto-libm-test-out: Regenerated.
38095         [BZ #16338]
38096         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38097         to determine exponent and adjust argument to have exponent of -1.
38098         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38099         log2.
38100         * math/auto-libm-test-out: Regenerated.
38101         * sysdeps/i386/fpu/libm-test-ulps: Update.
38102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38104 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38106         * manual/probes.texi: Remove cases when per-thread arenas are
38107         disabled.
38109 2013-12-18  Andreas Schwab  <schwab@suse.de>
38111         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38112         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38113         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38114         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38115         * sysdeps/i386/i686/multiarch/Makefile: Update.
38116         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38118 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38120         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38121         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38123 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38125         [BZ #15968]
38126         Support TZ transition times < 00:00:00.
38127         This is needed for version-3 tz-format files; it supports time
38128         stamps past 2037 for America/Godthab (the only entry in the tz
38129         database for which this change is relevant).
38130         * manual/time.texi (TZ Variable): Document transition times
38131         from -167:59:59 through -00:00:01.
38132         * time/tzset.c (tz_rule): Time of day is now signed.
38133         (__tzset_parse_tz): Parse negative time of day.
38135         Document TZ transition times >= 25:00:00.
38136         * manual/time.texi (TZ Variable): Document transition times from
38137         25:00:00 through 167:59:59.  These are already supported, and this
38138         support will help with version-3 tz-format files.
38140         * manual/time.texi (TZ Variable): Modernize North America example
38141         to reflect current (i.e., 2007-and-later) daylight saving rules.
38143         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38145 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38147         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38148         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38151         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38152         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38153         * sysdeps/unix/bsd/clock.c: Likewise.
38154         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38155         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38156         * sysdeps/unix/bsd/init-posix.c: Likewise.
38157         * sysdeps/unix/bsd/poll.c: Likewise.
38158         * sysdeps/unix/bsd/ptsname.c: Likewise.
38159         * sysdeps/unix/bsd/seekdir.c: Likewise.
38160         * sysdeps/unix/bsd/setegid.c: Likewise.
38161         * sysdeps/unix/bsd/seteuid.c: Likewise.
38162         * sysdeps/unix/bsd/setgid.c: Likewise.
38163         * sysdeps/unix/bsd/setrgid.c: Likewise.
38164         * sysdeps/unix/bsd/setruid.c: Likewise.
38165         * sysdeps/unix/bsd/setsid.c: Likewise.
38166         * sysdeps/unix/bsd/setuid.c: Likewise.
38167         * sysdeps/unix/bsd/sigaction.c: Likewise.
38168         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38169         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38170         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38171         * sysdeps/unix/bsd/telldir.c: Likewise.
38172         * sysdeps/unix/bsd/times.c: Likewise.
38173         * sysdeps/unix/bsd/usleep.c: Likewise.
38175         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38176         ($(objpfx)libbsd-compat.a): Remove rule.
38178         * include/features.h (__FAVOR_BSD): Do not define.
38179         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38180         features conflicting with POSIX.
38181         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38182         (_BSD_SOURCE): Remove description of not being a subset of other
38183         feature test macros.
38184         * manual/job.texi (getpgrp): Do not document BSD version.
38185         (getpgid): Do not document by reference to BSD getpgrp.
38186         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38187         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38188         * signal/signal.h [__FAVOR_BSD]: Likewise.
38189         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38190         instead of making contents conditional on [__FAVOR_BSD].
38191         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38193 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38197 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38199         [BZ #16314]
38200         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38201         values below 2**-450, not 2**-500.
38202         * math/auto-libm-test-in: Don't allow spurious underflow from
38203         hypot.
38204         * math/auto-libm-test-out: Regenerated.
38206         [BZ #16316]
38207         [BZ #16330]
38208         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38209         values of ha and hb and sort them after adjusting subnormal
38210         arguments.
38211         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38212         Likewise.
38213         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38214         values of ea and eb and sort them after adjusting subnormal
38215         arguments.
38216         * math/auto-libm-test-in: Do not expect some hypot tests of
38217         subnormals to fail.  Add more hypot tests.
38218         * math/auto-libm-test-out: Regenerated.
38220 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38222         [BZ #13304]
38223         * sysdeps/sh/s_fma.c: New file.
38224         * sysdeps/sh/s_fmaf.c: New file.
38225         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38226         version.
38227         * sysdeps/sh/Implies: Add sh/soft-fp.
38229 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38231         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38232         level of indirection to members `objname', `errstring', `malloced'.
38233         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38234         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38235         it as the __longjmp argument (just pass 1 instead).
38236         (_dl_catch_error): Initialize C with argument pointers and address of
38237         volatile local ERRCODE rather than copying values out of C at return.
38239 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38241         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38242         * math/auto-libm-test-out: Regenerated.
38243         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38244         (hypot_test_data): Likewise.
38245         (pow_test_data): Likewise.
38246         (pow_tonearest_test_data): Likewise.
38247         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38248         mpfr_ff_f.
38249         (func_calc_desc): Add mpfr_ff_f union field.
38250         (FUNC_mpfr_ff_f): New macro.
38251         (test_functions): Add atan2, hypot and pow.
38252         (special_fill_min): New function.
38253         (special_fill_minus_min): Likewise.
38254         (special_fill_min_subnorm): Likewise.
38255         (special_fill_minus_min_subnorm): Likewise.
38256         (special_real_inputs): Add min, -min, min_subnorm and
38257         -min_subnorm.
38258         (calc_generic_results): Handle mpfr_ff_f.
38259         * sysdeps/i386/fpu/libm-test-ulps: Update.
38260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38262 2013-12-16  Will Newton  <will.newton@linaro.org>
38264         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38265         (Aligned Memory Blocks): Add documentation for aligned_alloc
38266         and suggest it as an alternative to posix_memalign.
38267         (Hooks for Malloc): Document __memalign_hook is also called
38268         for aligned_alloc.  (Summary of Malloc): Add summary for
38269         aligned alloc.  Document __memalign_hook is also called
38270         for aligned_alloc.
38272 2013-12-16  Will Newton  <will.newton@linaro.org>
38274         * manual/memory.texi (Malloc Examples): Clarify default
38275         alignment documentation.  Suggest posix_memalign rather
38276         than memalign or valloc.
38277         (Aligned Memory Blocks): Remove suggestion to use memalign
38278         or valloc.  Remove obsolete comment about BSD.
38279         Document memalign errno values and mark the function obsolete.
38280         Document posix_memalign returned error codes.  Mark valloc
38281         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38282         called for posix_memalign and valloc.
38283         (Summary of Malloc): Add posix_memalign to function summary.
38284         __memalign_hook is also called for posix_memalign and valloc.
38286 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38288         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38289         TAYLOR_SIN.
38290         (__sin): Adjust.
38291         (__cos): Likewise.
38292         (sloww): Use mynumber union.  Expand ternary operator into
38293         if-else statements.
38294         (cslow): use mynumber union.
38296 2013-12-16  Allan McRae  <allan@archlinux.org>
38298         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38299         * configure: Regenerated.
38301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38303         [BZ #14120]
38304         * configure.ac: Added --enable-maintainer-mode. Check for
38305         autoconf when enabled.
38306         * configure: Regenerated.
38308         * nscd/nscd.service: New file.
38309         * nscd/nscd.tmpfiles: New file.
38311 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38313         [BZ #12100]
38314         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38315         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38316         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38317         (strstr): Add __strstr_sse2_unaligned ifunc.
38318         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38319         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38320         (strcasestr): Remove __strcasestr_sse42 ifunc.
38321         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38325 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38327         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38328         * sysdeps/sh/bits/fenv.h: ... here.
38329         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38331 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38333         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38336         hypotf multiarch implementations.
38337         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38338         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38339         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38340         multiarch hypot for PPC64.
38341         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38344         multiarch hypotf for PPC64.
38346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38347         modff multiarch implementations.
38348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38351         multiarch modf for PPC64.
38352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38355         multiarch modff for PPC64.
38357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38358         and logl multiarch implementations.
38359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38362         multiarch logb for PPC64.
38363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38366         multiarch logb for PPC64.
38367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38370         multiarch logb for PPC64.
38372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38373         isinff multiarch implementation.
38374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38375         file.
38376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38378         multiarch isinf for PPC64.
38379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38380         file.
38381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38382         multiarch isinff for PPC64.
38384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38385         finitef multiarch implementation.
38386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38387         file.
38388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38390         multiarch finite for PPC64.
38391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38392         file.
38393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38394         multiarch finitef for PPC64.
38396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38397         lrint multiarch implementation.
38398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38399         file.
38400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38402         multiarch llrint for PPC64.
38403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38404         multiarch lrint for PPC64.
38406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38407         copysignf multiarch implementation.
38408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38409         file.
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38411         file.
38412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38413         multiarch copysign for PPC64.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38415         multiarch copysignf for PPC64.
38417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38418         multiarch implementation.
38419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38420         file.
38421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38422         file.
38423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38424         file.
38425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38426         file.
38427         multiarch llround for PPC64.
38428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38429         multiarch trunc for PPC64.
38430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38431         multiarch truncf for PPC64.
38433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38434         multiarch implementation.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38436         file.
38437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38438         file.
38439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38440         file.
38441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38442         file.
38443         multiarch llround for PPC64.
38444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38445         multiarch round for PPC64.
38446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38447         multiarch roundf for PPC64.
38449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38450         multiarch implementation.
38451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38452         file.
38453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38454         file.
38455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38456         file.
38457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38458         file.
38459         multiarch llround for PPC64.
38460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38461         multiarch floor for PPC64.
38462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38463         multiarch floorf for PPC64.
38465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38466         multiarch implementation.
38467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38468         file.
38469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38470         file.
38471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38472         file.
38473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38474         file.
38475         multiarch llround for PPC64.
38476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38477         multiarch ceil for PPC64.
38478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38479         multiarch ceilf for PPC64.
38481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38482         multiarch implementation.
38483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38484         file.
38485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38486         file.
38487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38488         file.
38489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38490         multiarch llround for PPC64.
38491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38492         multiarch lround for PPC64.
38494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38495         multiarch implementation.
38496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38499         file.
38500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38503         multiarch isnan for PPC64.
38504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38505         multiarch isnanf for PPC64.
38507         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38508         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38509         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38510         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38511         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38514         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38515         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38520         multiarch implementations.
38521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38522         (__libc_ifunc_impl_list): Likewise.
38523         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38524         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38525         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38526         multiarch stpcpy for PPC64.
38528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38529         multiarch implementations.
38530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38531         (__libc_ifunc_impl_list): Likewise.
38532         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38533         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38534         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38535         multiarch strcpy for PPC64.
38537         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38538         redefine function name.
38539         (_wordcopy_fwd_dest_aligned): Likewise.
38540         (_wordcopy_bwd_aligned): Likewise.
38541         (_wordcopy_bwd_dest_aligned): Likewise.
38542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38543         multiarch implementations.
38544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38545         (__libc_ifunc_impl_list): Likewise.
38546         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38547         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38549         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38550         multiarch wcscpy for PPC64.
38552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38553         multiarch implementations.
38554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38555         (__libc_ifunc_impl_list): Likewise.
38556         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38557         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38558         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38559         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38560         multiarch wcscpy for PPC64.
38562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38563         multiarch implementations.
38564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38565         (__libc_ifunc_impl_list): Likewise.
38566         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38567         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38568         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38569         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38570         multiarch wcsrchr for PPC64.
38572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38573         multiarch implementations.
38574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38575         (__libc_ifunc_impl_list): Likewise.
38576         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38577         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38578         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38579         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38580         multiarch wcschr for PPC64.
38582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38583         multiarch implementations.
38584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38585         (__libc_ifunc_impl_list): Likewise.
38586         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38587         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38588         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38589         multiarch strchrnul for PPC64.
38591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38592         implementations.
38593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38594         (__libc_ifunc_impl_list): Likewise.
38595         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38596         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38597         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38598         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38599         strchr for PPC64.
38601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38602         implementations.
38603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38604         (__libc_ifunc_impl_list): Likewise.
38605         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38606         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38607         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38608         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38609         strncmp for PPC64.
38611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38612         multiarch implementations.
38613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38614         (__libc_ifunc_impl_list): Likewise.
38615         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38616         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38617         strncasecmp for PPC64.
38618         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38619         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38620         multiarch strncasecmp_l for PPC64.
38622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38623         multiarch implementations.
38624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38625         (__libc_ifunc_impl_list): Likewise.
38626         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38627         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38628         multiarch strcasecmp for PPC64.
38629         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38630         file.
38631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38632         multiarch strcasecmp_l for PPC64.
38634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38635         implementations.
38636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38637         (__libc_ifunc_impl_list): Likewise.
38638         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38639         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38641         strnlen for PPC64.
38643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38644         implementations.
38645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38646         (__libc_ifunc_impl_list): Likewise.
38647         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38648         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38649         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38650         strlen for PPC64.
38652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38653         implementations.
38654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38655         (__libc_ifunc_impl_list): Likewise.
38656         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38657         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38658         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38659         rawmemrchr for PPC64.
38661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38662         implementation.
38663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38664         (__libc_ifunc_impl_list): Likewise.
38665         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38666         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38667         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38668         memrchr for PPC64.
38670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38671         implementation.
38672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38673         (__libc_ifunc_impl_list): Likewise.
38674         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38675         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38676         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38677         memchr for PPC64.
38679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38680         implementation.
38681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38682         (__libc_ifunc_impl_list): Likewise.
38683         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38684         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38685         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38686         mempcpy for PPC64.
38688         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38689         avoid cretion of __bzero symbol.
38690         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38691         Likewise.
38692         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38693         Likewise.
38694         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38695         Likewise.
38696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38697         multiarch implementations.
38698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38699         (__libc_ifunc_impl_list): Likewise.
38700         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38701         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38702         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38703         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38704         bzero for PPC32.
38705         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38706         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38707         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38708         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38709         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38710         memset for PPC64.
38711         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38713         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38715         implementations.
38716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38717         (__libc_ifunc_impl_list): Likewise.
38718         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38719         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38720         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38721         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38722         memcmp for PPC64.
38724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38725         multiarch for POWER/PPC64.
38726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38727         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38729         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38730         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38731         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38732         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38733         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38734         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38735         memcpy for PPC64.
38737         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38738         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38739         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38740         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38741         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38742         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38743         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38744         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38745         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38746         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38747         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38748         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38749         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38750         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38751         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38760 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38764 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         * benchtests/Makefile (bench): Add exp2 and log2.
38767         (LDLIBS-bench-exp2): Add -lm.
38768         (LDLIBS-bench-log2): Likewise.
38769         * benchtests/exp2-inputs: New inputs file.
38770         * benchtests/log2-inputs: New inputs file.
38771         * benchtests/log-inputs: Add new inputs.
38772         * benchtests/tan-inputs: Likewise.
38774 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38776         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38777         definition...
38778         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38779         (csloww2): ... from here.
38781         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38782         instead of structures.
38783         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38784         (POLYNOMIAL): Likewise.
38785         (TAYLOR_SLOW): Likewise.
38786         (__sin): Likewise.
38787         (__cos): Likewise.
38788         (slow1): Likewise.
38789         (slow2): Likewise.
38790         (sloww): Likewise.
38791         (sloww1); Likewise.
38792         (sloww2): Likewise.
38793         (bsloww1): Likewise.
38794         (bsloww2): Likewise.
38795         (cslow2): Likewise.
38796         (csloww): Likewise.
38797         (csloww1): Likewise.
38798         (csloww2): Likewise.
38800 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38802         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38803         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38804         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38805         * malloc/hooks.c (realloc_check): Likewise.
38807         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38808         * malloc/arena.c: Remove PER_THREAD conditional.
38809         [!PER_THREAD]: Remove code.
38810         (ptmalloc_unlock_all2): Likewise.
38811         (ptmalloc_init): Likewise.
38812         (_int_new_arena): Likewise.
38813         (arena_get2): Likewise.
38814         * malloc/hooks.c (__malloc_get_state): Likewise.
38815         (__malloc_set_state): Likewise.
38816         * malloc/malloc.c: Likewise.
38817         (struct malloc_state): Likewise.
38818         (struct malloc_par): Likewise.
38819         (__libc_realloc): Likewise.
38820         (__libc_mallopt): Likewise.
38822 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38824         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38826 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38828         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38829         macro to a function.  Check for zero perturb_byte.
38830         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38832         * malloc/malloc.c: (force_reg): Remove.
38833         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38834         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38835         force_reg by atomic_forced_read.
38836         * malloc/arena.c (ptmalloc_init): Likewise.
38837         * malloc/hooks.c (top_check): Likewise.
38839 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38843 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38847 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38849         * math/auto-libm-test-in: Add tests of lgamma.
38850         * math/auto-libm-test-out: Regenerated.
38851         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38852         (M_LOG_2_SQRT_PIl): Likewise.
38853         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38854         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38855         mpfr_f_f1.
38856         (func_calc_desc): Add mpfr_f_f1 union field.
38857         (ARGS1): New macro.
38858         (ARGS2): Likewise.
38859         (ARGS3): Likewise.
38860         (ARGS4): Likewise.
38861         (RET1): Likewise.
38862         (RET2): Likewise.
38863         (CALC): Likewise.
38864         (FUNC): Likewise.
38865         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38866         (test_functions): Add lgamma.
38867         (calc_generic_results): Handle mpfr_f_f1.
38868         * sysdeps/i386/fpu/libm-test-ulps: Update.
38869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38873         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38874         __mpn_add_n for PowerPC64/POWER7.
38875         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38876         __mpn_sub_n for PowerPC64/POWER7.
38878         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38879         __mpn_addmul_1 for PowerPC64.
38880         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38881         __mpn_submul_1 for PowerPC64.
38882         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38883         for PowerPC64.
38884         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38885         for PowerPC64.
38887 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38889         [BZ #15089]
38890         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38892 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38894         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38896         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38897         add multiarch folders.
38898         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38899         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38900         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38901         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38902         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38903         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38904         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38905         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38906         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38907         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38908         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38917         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38919         New file.
38920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38921         New file.
38922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38923         multiarch __ieee754_hypot for PowerPC32.
38924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38925         New file.
38926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38927         New file.
38928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38929         multiarch __ieee754_hypotf for PowerPC32.
38931         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38932         long_double_symbol only if __logbl is defined.
38933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38934         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38935         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38936         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38938         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38939         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38940         path for implementation.
38941         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38944         logb, and logbl multiarch implementations for PowerPC32.
38945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38946         file.
38947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38948         file.
38949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38950         multiarch logb for PowerPC32.
38951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38952         file.
38953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38954         file.
38955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38956         multiarch logbf for PowerPC32.
38957         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38959         file.
38960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38961         multiarch logbl implementation for PowerPC32.
38963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38964         and modff multiarch implementations.
38965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38966         New file.
38967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38968         New file.
38969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38970         multiarch modf for PowerPC32.
38971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38972         New file.
38973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38974         New file.
38975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38976         multiarch modff for PowerPC32.
38978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38979         and lrintf multiarch implementations.
38980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38981         New file.
38982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38983         New file.
38984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38985         multiarch lrint for PowerPC32.
38986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38987         file: multiarch lrintf for PowerPC32.
38989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38990         and lroundf multiarch implementations.
38991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38992         New file.
38993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38994         New file.
38995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38996         New file.
38997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38998         multiarch lround for PowerPC32.
38999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39000         file: multiarch lroundf for PowerPC32.
39002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39003         copysign and copysignf multiarch implementations.
39004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39005         New file.
39006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39007         New file.
39008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39009         file: multiarch copysign for PowerPC32.
39010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39011         file: multiarch copysignf for PowerPC32.
39013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39014         and truncf multiarch implementations.
39015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39016         New file.
39017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39018         file.
39019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39020         multiarch trunc for PowerPC32.
39021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39022         New file.
39023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39024         New file.
39025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39026         multiarch truncf for PowerPC32.
39028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39029         and roundf multiarch implementations.
39030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39031         New file.
39032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39033         file.
39034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39035         multiarch round for PowerPC32.
39036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39037         New file.
39038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39039         New file.
39040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39041         multiarch roundf for PowerPC32.
39043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39044         and floorf multiarch implementations.
39045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39046         New file.
39047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39048         file.
39049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39050         multiarch floor for PowerPC32.
39051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39052         New file.
39053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39054         New file.
39055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39056         multiarch floorf for PowerPC32.
39058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39059         and ceilf multiarch implementations.
39060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39061         New file.
39062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39063         file.
39064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39065         multiarch ceil for PowerPC32.
39066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39067         New file.
39068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39069         file.
39070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39071         multiarch ceilf for PowerPC32.
39073         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39074         is defined.
39075         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39076         FINITEF is defined.
39077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39078         and finitef multiarch implementations.
39079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39080         New file.
39081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39082         file.
39083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39084         multiarch finite for PowerPC32.
39085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39086         New file.
39087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39088         file: multiarch finitef for PowerPC32.
39090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39091         and isinff multiarch implementations.
39092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39093         file.
39094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39095         file.
39096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39097         multiarch isinf for PowerPC32.
39098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39099         New file.
39100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39101         multiarch isinff for PowerPC32.
39103         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39104         alias when __isnan is defined.
39105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39106         and isnanf multiarch implementations.
39107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39108         file.
39109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39110         file.
39111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39112         file.
39113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39114         file.
39115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39116         multiarch isnan for PowerPC32.
39117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39118         New file.
39119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39120         New file.
39121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39122         multiarch isnanf for PowerPC32.
39124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39125         and sqrtf multiarch implementations.
39126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39127         file.
39128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39129         file.
39130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39131         multiarch sqrt for PowerPC32.
39132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39133         file.
39134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39135         file.
39136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39137         multiarch sqrtf for PowerPC32.
39139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39140         and llroundf multiarch implementations.
39141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39142         New file.
39143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39144         New file.
39145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39146         New file.
39147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39148         file: multiarch llround for PowerPC32.
39149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39150         file: multiarch llroundf for PowerPC32.
39152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39153         multiarch PowerPC32 fpu implementations.
39154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39155         New file.
39156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39157         New file.
39158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39159         multiarch llrint for PowerPC32.
39160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39161         New file.
39162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39163         New file.
39164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39165         file.
39167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39169         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39170         file.
39171         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39172         file.
39173         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39174         file.
39175         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39176         multiarch wordcopy for PPC32.
39177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39178         wordcopy objects.
39179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39180         (__libc_ifunc_impl_list): Likewise.
39181         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39182         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39183         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39184         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39185         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39186         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39188         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39190         file.
39191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39192         file.
39193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39194         file.
39195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39196         multiarch wcscpy for PPC32.
39197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39198         multiarch objects.
39199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39200         (__libc_ifunc_impl_list): Likewise.
39201         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39202         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39203         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39204         sysdeps/powerpc/power6/wcscpy.c.
39206         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39208         file.
39209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39210         file.
39211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39212         file.
39213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39214         multiarch wcsrchr for PPC32.
39215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39216         multiarch objects.
39217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39218         (__libc_ifunc_impl_list): Likewise.
39219         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39220         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39221         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39222         sysdeps/powerpc/power6/wcsrchr.c.
39224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39225         file.
39226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39227         file.
39228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39230         multiarch wcschr for PPc32.
39231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39232         multiarch objects.
39233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39234         (__libc_ifunc_impl_list): Likewise.
39235         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39236         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39237         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39238         sysdeps/powerpc/power6/wcschr.c.
39240         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39241         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39242         file.
39243         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39244         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39245         file: multiarch strchr for PPC32.
39246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39247         multiarch objects.
39248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39249         (__libc_ifunc_impl_list): Likewise.
39251         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39252         name.
39253         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39254         file.
39255         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39256         file.
39257         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39258         multiarch strchrnul for PPC32.
39259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39260         multiarch objects.
39261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39262         (__libc_ifunc_impl_list): Likewise.
39264         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39265         file.
39266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39267         multiarch strncasecmp for PPC32.
39268         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39269         file.
39270         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39271         multiarch strncasecmp_l for PPC32.
39272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39273         strncasecmp multiarch objects.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39275         (__libc_ifunc_impl_list): Likewise.
39277         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39278         file.
39279         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39280         multiarch strncasecmp for PPC32.
39281         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39282         New file.
39283         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39284         multiarch strcasecmp_l for PPC32.
39285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39286         multiarch objects.
39287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39288         (__libc_ifunc_impl_list): Likewise.
39290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39291         file.
39292         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39293         file.
39294         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39295         multiarch strncmp for PPC32.
39296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39297         multiarch objects.
39298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39299         (__libc_ifunc_impl_list): Likewise.
39301         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39302         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39303         file.
39304         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39305         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39307         multiarch objects.
39308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39309         (__libc_ifunc_impl_list): Likewise.
39311         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39312         file.
39313         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39314         file.
39315         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39317         multiarch objects.
39318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39319         (__libc_ifunc_impl_list): Likewise.
39321         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39322         file.
39323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39324         file.
39325         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39326         multiarch rawmemchr for PPC32.
39327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39328         multiarch objects.
39329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39330         (__libc_ifunc_impl_list): Likewise.
39332         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39333         file.
39334         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39335         file.
39336         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39337         file: memrchr multiarch for PPC32.
39338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39339         multiarch objects.
39340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39341         (__libc_ifunc_impl_list): Likewise.
39343         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39344         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39345         file.
39346         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39347         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39348         multiarch memchr for PPC32.
39349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39350         multiarch objects.
39351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39352         (__libc_ifunc_impl_list): Likewise.
39354         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39355         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39356         file.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39358         file.
39359         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39360         file: multiarch mempcpy for PPC32.
39361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39362         multiarch objects.
39363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39364         (__libc_ifunc_impl_list): Likewise.
39366         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39367         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39368         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39370         multiarch bzero for PPC32.
39371         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39372         file.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39374         file.
39375         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39376         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39377         file: multiarch memset for PPC32.
39378         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39380         memset multiarch objects.
39381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39382         (__libc_ifunc_impl_list): Likewise.
39384         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39385         file.
39386         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39387         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39388         memcmp for PPC32.
39389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39391         multiarch objects.
39392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39393         (__libc_ifunc_impl_list): Likewise.
39395         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39398         file.
39399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39400         file.
39401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39402         file.
39403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39404         multiarch memcpy for PPC32.
39405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39406         multiarch objects.
39407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39408         (__libc_ifunc_impl_list): Likewise.
39410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39411         support multiarch for POWER/PPC32.
39412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39413         Likewise.
39414         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39416         Implies file to make multiarch folder appers before the fpu and
39417         default folder for power4 configuration.
39419 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39421         * scripts/bench.pl: Append volatile keyword to type.
39423 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39425         * sysdeps/sh/sotruss-lib.c: New file.
39426         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39428 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39432 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39434         [BZ #6810]
39435         * math/w_tgamma.c: Include <errno.h>.
39436         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39437         * math/w_tgammaf.c: Include <errno.h>.
39438         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39439         * math/w_tgammal.c: Include <errno.h>.
39440         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39441         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39442         underflow.  Add more tgamma tests.
39443         * math/auto-libm-test-out: Regenerated.
39444         * sysdeps/i386/fpu/libm-test-ulps: Update.
39445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39447         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39448         sin, sinh, tan, tanh, tgamma, y0 and y1.
39449         * math/auto-libm-test-out: Regenerated.
39450         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39451         (TEST_COND_x86): Likewise.
39452         (M_E2l): Remove macro.
39453         (M_E3l): Likewise.
39454         (M_2_SQRT_PIl): Likewise.
39455         (M_SQRT_PIl): Likewise.
39456         (M_1_DIV_El): Likewise.
39457         (log_test_data): Use AUTO_TESTS_f_f.
39458         (log10_test_data): Likewise.
39459         (log1p_test_data): Likewise.
39460         (log2_test_data): Likewise.
39461         (sin_test_data): Likewise.
39462         (sin_tonearest_test_data): Likewise.
39463         (sin_towardzero_test_data): Likewise.
39464         (sin_downward_test_data): Likewise.
39465         (sin_upward_test_data): Likewise.
39466         (sinh_test_data): Likewise.
39467         (sinh_tonearest_test_data): Likewise.
39468         (sinh_towardzero_test_data): Likewise.
39469         (sinh_downward_test_data): Likewise.
39470         (sinh_upward_test_data): Likewise.
39471         (tan_test_data): Likewise.
39472         (tan_tonearest_test_data): Likewise.
39473         (tan_towardzero_test_data): Likewise.
39474         (tan_downward_test_data): Likewise.
39475         (tan_upward_test_data): Likewise.
39476         (tanh_test_data): Likewise.
39477         (tgamma_test_data): Likewise.
39478         (y0_test_data): Likewise.
39479         (y1_test_data): Likewise.
39480         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39481         (special_real_inputs): Add pi/4.
39482         * sysdeps/i386/fpu/libm-test-ulps: Update.
39483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39485 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39487         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39488         "longjmp_target" static probes.
39489         (__longjmp): Rename to __longjmp_symbol.
39490         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39491         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39492         on which longjmp to generate.
39493         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39494         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39495         probe.
39496         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39497         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39498         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39499         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39500         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39501         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39503         __longjmp_symbol based on which __longjmp to generate.
39504         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39505         probe.
39506         (setjmp): Rename to setjmp_symbol.
39507         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39508         (_setjmp): Rename to _setjmp_symbol.
39509         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39510         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39511         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39512         which setjmp to generate.
39513         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39514         "longjmp_target" static probes.
39516 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39518         * benchtests/README: Add note about output arguments.
39519         * benchtests/bench-sincos.c: Remove file.
39520         * benchtests/sincos-inputs: New file.
39521         * scripts/bench.pl: Identify output arguments and define
39522         static variables for them.
39524         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39526         [BZ #15941]
39527         * Makefile (INSTALL): Add install-plain.texi as the primary
39528         dependency.
39529         * manual/install-plain.texi: New file.
39530         * manual/install.texi: Include node directive only for
39531         non-plaintext output.
39533 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39535         * stdlib/longlong.h: Update from GCC.
39537         [BZ #6807]
39538         [BZ #15901]
39539         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39540         * math/w_j0f.c (y0f): Likewise.
39541         * math/w_j0l.c (__y0l): Likewise.
39542         * math/w_j1.c (y1): Likewise.
39543         * math/w_j1f.c (y1f): Likewise.
39544         * math/w_j1l.c (__y1l): Likewise.
39545         * math/w_jn.c (yn): Likewise.
39546         * math/w_jnf.c (ynf): Likewise.
39547         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39548         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39549         value for Bessel function domain errors outside _SVID_ mode.
39550         Adjust sign of return value for yn (negative integer, 0).
39551         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39552         by zero in return for negative x and set sign appropriately for
39553         negative n.
39554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39556         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39557         expectations in error cases.
39558         (y1_test_data): Likewise.
39559         (yn_test_data): Likewise.
39560         * sysdeps/i386/fpu/libm-test-ulps: Update.
39561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39563 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39565         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39566         "64" to "64-v1".  Add "64-v2".
39567         (abi-64-options): Rename to ...
39568         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39569         (abi-64-condition): Rename to ...
39570         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39571         (abi-64-ld-soname): Rename to ...
39572         (abi-64-v1-ld-soname): ... this.
39573         (abi-64-v2-options): Define.
39574         (abi-64-v2-condition): Likewise.
39575         (abi-64-v2-ld-soname): Likewise.
39576         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39577         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39582 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39583             Alan Modra  <amodra@gmail.com>
39585         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39586         New versions for use with the ELFv2 ABI.
39587         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39588         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39589         declaration.
39590         (struct La_ppc64v2_retval): Likewise.
39591         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39592         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39593         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39594         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39595         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39596         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39597         Do not save or restore CR.
39598         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39599         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39600         return values for ELFv2 ABI.  Fix location of FPR return registers.
39601         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39602         updated values for _CALL_ELF == 2.
39603         (La_regs, La_retval, int_retval): Likewise.
39605 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39607         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39608         (FRAME_MIN_SIZE_PARM): Likewise.
39609         (FRAME_BACKCHAIN): Likewise.
39610         (FRAME_CR_SAVE): Likewise.
39611         (FRAME_LR_SAVE): Likewise.
39612         (FRAME_TOC_SAVE): Likewise.
39613         (FRAME_PARM_SAVE): Likewise.
39614         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39615         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39616         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39617         (call_mcount_parm_offset): New macro.
39618         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39619         (PROF): Use symbolic stack frame offsets.
39620         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39621         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39622         Redefine in terms of FRAME_MIN_SIZE.
39623         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39624         (_dl_profile_resolve): Likewise.  Update comment.
39625         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39626         symbols stack frame offsets.
39627         (__sigsetjmp): Likewise.
39628         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39629         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39630         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39631         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39634         (FRAME_BACKCHAIN): Remove.
39635         (FRAME_CR_SAVE): Likewise.
39636         (FRAME_LR_SAVE): Likewise.
39637         (FRAME_COMPILER_DW): Likewise.
39638         (FRAME_LINKER_DW): Likewise.
39639         (FRAME_TOC_SAVE): Likewise.
39640         (FRAME_PARM_SAVE): Likewise.
39641         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39642         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39643         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39645         (CHECK_SP): Use symbolic stack frame offsets.
39646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39647         zone" instead of caller's parameter save area for temp storage.
39648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39649         Likewise.  Also, use symbolic stack frame offsets.
39650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39651         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39652         our own stack frame instead of the caller's.
39653         (__socket): Use symbolic stack frame offsets.
39655 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39656             Alan Modra  <amodra@gmail.com>
39658         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39659         Define.
39660         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39661         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39662         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39663         New function.
39664         (elf_machine_fixup_plt): Call it.
39665         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39666         reloc arguments.
39667         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39668         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39669         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39670         r2 before calling target.
39672 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39673             Alan Modra  <amodra@gmail.com>
39675         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39676         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39677         versions of macros to support ELFv2 ABI.
39678         (LOCALENTRY): New macro.
39679         (ENTRY, EALIGN): Use it.
39680         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39681         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39682         fall through into ENTRY entry point.
39683         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39684         Only define if _CALL_ELF != 2.
39686         (elf_machine_matches_host): Verify ABI version matches.
39687         (RTLD_START): Use LOCALENTRY.
39688         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39689         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39690         (PLT_ENTRY_WORDS): New macro.
39691         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39692         (elf_machine_runtime_setup): Support ELFv2 ABI.
39693         (elf_machine_fixup_plt): Likewise.
39694         (elf_machine_plt_conflict): Likewise.
39695         (resolve_ifunc): Likewise.
39696         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39697         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39698         Likewise.
39699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39700         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39702         (makecontext): Support ELFv2 ABI.
39703         * elf/elf.h (EF_PPC64_ABI): Define.
39705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39707         * sysdeps/powerpc/powerpc64/sysdep.h
39708         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39709         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39710         (ENTRY) [ASSEMBLER]: ... but instead here ...
39711         (EALIGN) [ASSEMBLER]: ... and here.
39712         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39713         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39714         (ENTRY_2) [!ASSEMBLER]: Use it.
39715         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39716         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39717         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39718         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39719         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39721         Use PPC64_LOAD_FUNCPTR.
39723         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39725 2013-12-04  Alan Modra  <amodra@gmail.com>
39727         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39728         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39729         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39730         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39733         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39734         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39735         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39736         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39737         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39739 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39742         (__makecontext): Fix incorrect CFI when backtracing out of
39743         context created via makecontext.
39744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39745         (__setcontext): Fix incorrect CFI during switch to new context.
39746         (__novec_setcontext): Likewise.
39748 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39750         [BZ #4772]
39751         * time/strptime_l.c (__strptime_internal): Allow modifiers
39752         in strptime.
39753         * time/tst-strptime.c (day_tests): Add testcase.
39755 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39757         * scripts/bench.pl: Skip over blank lines.
39759 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39761         [BZ #926]
39762         * manual/time.texi (Calendar Time): Clarify what timezone functions
39763         use.
39765 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39769 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39771         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39772         implementation.
39773         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39774         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39775         * debug/memset_chk.c (__memset_chk): Likewise.
39776         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39777         * debug/strncpy_chk.c: Likewise.
39779 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39781         [BZ #15268]
39782         [BZ #15425]
39783         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39784         (__ieee754_exp): For possibly underflowing results, check size of
39785         result and force underflow exception if required.
39786         * math/auto-libm-test-in: Add more tests of exp.
39787         * math/auto-libm-test-out: Regenerated.
39788         * sysdeps/i386/fpu/libm-test-ulps: Update.
39789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39791         [BZ #16283]
39792         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39793         * math/w_exp2f.c (__exp2f): Likewise.
39794         * math/w_exp2l.c (__exp2l): Likewise.
39795         * math/auto-libm-test-in: Do not allow missing errno on exp2
39796         underflow.
39797         * math/auto-libm-test-out: Regenerated.
39799 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39801         [BZ #16274]
39802         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39803         handle filename validation.
39804         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39805         (do_open): Delete.
39807 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39809         [BZ #6786]
39810         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39811         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39812         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39813         <float.h>.
39814         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39815         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39816         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39818         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39819         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39820         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39821         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39822         Add more erfc tests.
39823         * math/auto-libm-test-out: Regenerated.
39824         * sysdeps/i386/fpu/libm-test-ulps: Update.
39825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39827         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39828         exp2, expm1, j0 and j1.
39829         * math/auto-libm-test-out: Regenerated.
39830         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39831         (erfc_test_data): Likewise.
39832         (exp_test_data): Likewise.
39833         (exp_tonearest_test_data): Likewise.
39834         (exp_towardzero_test_data): Likewise.
39835         (exp_downward_test_data): Likewise.
39836         (exp_upward_test_data): Likewise.
39837         (exp10_test_data): Likewise.
39838         (exp2_test_data): Likewise.
39839         (expm1_test_data): Likewise.
39840         (j0_test_data): Likewise.
39841         (j1_test_data): Likewise.
39842         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39843         (input_flag_type): Add flag_xfail_rounding.
39844         (input_flags): Add xfail-rounding.
39845         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39846         (output_for_one_input_case): Handle flag_xfail_rounding.
39847         * sysdeps/i386/fpu/libm-test-ulps: Update.
39848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39850 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39852         [BZ #16289]
39853         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39854         division by 0.
39856 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39858         [BZ #16195]
39859         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39860         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39861         (STAP_PROBE0): New macro.
39862         (STAP_PROBE1): Likewise.
39863         (STAP_PROBE2): Likewise.
39864         (STAP_PROBE3): Likewise.
39865         (STAP_PROBE4): Likewise.
39867 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39869         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39871 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39873         * benchtests/Makefile (bench): Add sqrt.
39874         (LDLIBS-bench-sqrt): New.
39875         * benchtests/sqrt-input: New.
39877 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39879         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39880         (GAIH_EAI): Likewise.
39881         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39882         (gaih_inet): Likewise.
39883         (getaddrinfo): Don't use GAIH_EAI.
39885         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39886         (struct gaih): Remove definition.
39888 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39890         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39891         Use HERRNOP directly.
39893 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39897 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39899         * math/gen-auto-libm-tests.c (test_functions): Add more
39900         single-argument functions.
39901         (special_fill_pi_2): New function.
39902         (special_fill_minus_pi_2): Likewise.
39903         (special_fill_pi_6): Likewise.
39904         (special_fill_minus_pi_6): Likewise.
39905         (special_fill_pi_3): Likewise.
39906         (special_fill_2pi_3): Likewise.
39907         (special_fill_e): Likewise.
39908         (special_fill_1_e): Likewise.
39909         (special_fill_e_minus_1): Likewise.
39910         (special_real_inputs): Add more special inputs.
39911         (output_for_one_input_case): Do not require ERANGE on underflow to
39912         zero if round-to-nearest result does not underflow to zero, unless
39913         exact results required.
39914         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39915         atan, atanh, cbrt, cos and cosh.
39916         * math/auto-libm-test-out: Regenerated.
39917         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39918         (acos_tonearest_test_data): Likewise.
39919         (acos_towardzero_test_data): Likewise.
39920         (acos_downward_test_data): Likewise.
39921         (acos_upward_test_data): Likewise.
39922         (acosh_test_data): Likewise.
39923         (asin_test_data): Likewise.
39924         (asin_tonearest_test_data): Likewise.
39925         (asin_towardzero_test_data): Likewise.
39926         (asin_upward_test_data): Likewise.
39927         (asinh_test_data): Likewise.
39928         (atan_test_data): Likewise.
39929         (atanh_test_data): Likewise.
39930         (cbrt_test_data): Likewise.
39931         (cos_test_data): Likewise.
39932         (cos_tonearest_test_data): Likewise.
39933         (cos_towardzero_test_data): Likewise.
39934         (cos_downward_test_data): Likewise.
39935         (cos_upward_test_data): Likewise.
39936         (cosh_test_data): Likewise.
39937         (cosh_tonearest_test_data): Likewise.
39938         (cosh_towardzero_test_data): Likewise.
39939         (cosh_downward_test_data): Likewise.
39940         (cosh_upward_test_data): Likewise.
39941         * sysdeps/i386/fpu/libm-test-ulps: Update.
39942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39944 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39946         [BZ #6787]
39947         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39948         * math/w_exp10f.c (__exp10f): Likewise.
39949         * math/w_exp10l.c (__exp10l): Likewise.
39950         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39951         errno settings in existing tests.
39953         [BZ #14032]
39954         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39955         precision control set to double precision.
39956         * sysdeps/i386/fpu/w_sqrt.c: New file.
39957         * math/auto-libm-test-in: Add more tests.
39958         * math/auto-libm-test-out: Update.
39960         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39961         (sqrt_test_tonearest): New function.
39962         (sqrt_towardzero_test_data): New variable.
39963         (sqrt_test_towardzero): New function.
39964         (sqrt_downward_test_data): New variable.
39965         (sqrt_test_downward): New function.
39966         (sqrt_upward_test_data): New variable.
39967         (sqrt_test_upward): New function.
39968         (main): Call the new functions.
39970         * math/gen-auto-libm-tests.c: New file.
39971         * math/auto-libm-test-in: Likewise.
39972         * math/auto-libm-test-out: New generated file.
39973         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39974         variables.
39975         (%beautify): Add generated representations of zero.
39976         (top level): Set $auto_input and call parse_auto_input.
39977         (beautify): Remove trailing "f" from hex float constants.
39978         (parse_args): Handle XFAIL_TEST.
39979         (convert_condition): New function.
39980         (or_value): Likewise.
39981         (or_cond_value): Likewise.
39982         (generate_testfile): Handle AUTO_TESTS_* lines.
39983         (parse_auto_input): New function.
39984         * math/libm-test.inc (XFAIL_TEST): New macro.
39985         (ERRNO_UNCHANGED): Update value.
39986         (ERRNO_EDOM): Likewise.
39987         (ERRNO_ERANGE): Likewise.
39988         (IGNORE_RESULT): Likewise.
39989         (TEST_COND_flt_32): New macro.
39990         (TEST_COND_dbl_64): Likewise.
39991         (TEST_COND_ldbl_96_intel): Likewise.
39992         (TEST_COND_ldbl_96_m68k): Likewise.
39993         (TEST_COND_ldbl_128): Likewise.
39994         (TEST_COND_ldbl_128ibm): Likewise.
39995         (TEST_COND_long32): Likewise.
39996         (TEST_COND_long64): Likewise.
39997         (TEST_COND_before_rounding): Likewise.
39998         (TEST_COND_after_rounding): Likewise.
39999         (enable_test): Handle XFAIL_TEST flag.
40000         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40001         with finite results.
40002         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40003         auto-libm-test-out.
40005 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40006             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40008         [BZ #16214]
40009         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40010         __tls_get_addr_internal instead of __tls_get_offset in order to
40011         avoid GOT pointer dependency.  Make rtld export
40012         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40013         __tls_get_addr since we are a __tls_get_offset platform.
40014         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40015         GOT pointer being set up before.
40016         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40018 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40020         * manual/math.texi (Errors in Math Functions): Document accuracy
40021         goals.
40023         [BZ #15004]
40024         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40025         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40026         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40028         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40029         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40030         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40031         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40032         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40033         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40034         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40035         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40038         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40041         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40042         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40043         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40044         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40045         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40046         Likewise.
40047         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40048         Likewise.
40049         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40050         Likewise.
40051         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40052         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40053         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40054         atomic-feupdateenv and flt-rounds.
40055         * sysdeps/powerpc/nofpu/Versions (libc): Add
40056         __atomic_feholdexcept, __atomic_feclearexcept,
40057         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40058         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40059         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40060         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40061         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40062         here.
40063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40064         Update.
40066         * manual/arith.texi (FP Exceptions): Document that exceptions may
40067         not be raised when matherr is used.
40068         (Math Error Reporting): Document overflow in directed rounding
40069         modes.  Document that errno may not be set when finite values are
40070         returned on overflow.  Document intent to set errno on underflow
40071         only for underflow to zero.
40073         [BZ #16271]
40074         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40075         round-to-nearest then adjust result for other rounding modes.
40076         * include/fenv.h (fegetround): Use libm_hidden_proto.
40077         * math/fegetround.c (fegetround): Use libm_hidden_def.
40078         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40079         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40080         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40081         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40082         Likewise.
40083         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40084         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40085         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40086         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40088 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40090         [BZ #16077]
40091         * nss/Versions (libnss_files): Add
40092         _nss_files_gethostbyname3_r.
40093         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40094         New function.
40095         (HOST_DB_LOOKUP): Remove macro.
40096         (_nss_files_gethostbyname_r): Implement function without the
40097         HOST_DB_LOOKUP macro.
40098         (_nss_files_gethostbyname2_r): Likewise.
40100 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40102         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40104 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40106         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40107         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40108         warning.
40110 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40113         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40114         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40115         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40116         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40117         __fe_nomask_env_priv and attribute_hidden.
40118         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40119         (libc_feupdateenv_test_ppc): Likewise.
40120         (libc_feresetround_ppc): Likewise.
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40122         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40123         compat_symbol macro.
40124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40125         (__fe_nomask_env): Likewise.
40126         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40128 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40130         * string/Makefile: Remove ifunc tests.
40131         * string/test-string.h: Define TEST_IFUNC.
40132         * string/test-bcopy-ifunc.c: Remove.
40133         * string/test-bzero-ifunc.c: Likewise.
40134         * string/test-memccpy-ifunc.c: Likewise.
40135         * string/test-memchr-ifunc.c: Likewise.
40136         * string/test-memcmp-ifunc.c: Likewise.
40137         * string/test-memcpy-ifunc.c: Likewise.
40138         * string/test-memmem-ifunc.c: Likewise.
40139         * string/test-memmove-ifunc.c: Likewise.
40140         * string/test-mempcpy-ifunc.c: Likewise.
40141         * string/test-memrchr-ifunc.c: Likewise.
40142         * string/test-memset-ifunc.c: Likewise.
40143         * string/test-rawmemchr-ifunc.c: Likewise.
40144         * string/test-stpcpy-ifunc.c: Likewise.
40145         * string/test-stpncpy-ifunc.c: Likewise.
40146         * string/test-strcasecmp-ifunc.c: Likewise.
40147         * string/test-strcasestr-ifunc.c: Likewise.
40148         * string/test-strcat-ifunc.c: Likewise.
40149         * string/test-strchr-ifunc.c: Likewise.
40150         * string/test-strchrnul-ifunc.c: Likewise.
40151         * string/test-strcmp-ifunc.c: Likewise.
40152         * string/test-strcpy-ifunc.c: Likewise.
40153         * string/test-strcspn-ifunc.c: Likewise.
40154         * string/test-strlen-ifunc.c: Likewise.
40155         * string/test-strncasecmp-ifunc.c: Likewise.
40156         * string/test-strncat-ifunc.c: Likewise.
40157         * string/test-strncmp-ifunc.c: Likewise.
40158         * string/test-strncpy-ifunc.c: Likewise.
40159         * string/test-strnlen-ifunc.c: Likewise.
40160         * string/test-strpbrk-ifunc.c: Likewise.
40161         * string/test-strrchr-ifunc.c: Likewise.
40162         * string/test-strspn-ifunc.c: Likewise.
40163         * string/test-strstr-ifunc.c: Likewise.
40165 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40167         * benchtests/Makefile: Remove ifunc tests.
40168         * benchtests/bench-string.h: Define TEST_IFUNC.
40169         * benchtests/bench-bcopy-ifunc.c: Remove.
40170         * benchtests/bench-bzero-ifunc.c: Likewise.
40171         * benchtests/bench-memccpy-ifunc.c: Likewise.
40172         * benchtests/bench-memchr-ifunc.c: Likewise.
40173         * benchtests/bench-memcmp-ifunc.c: Likewise.
40174         * benchtests/bench-memcpy-ifunc.c: Likewise.
40175         * benchtests/bench-memmem-ifunc.c: Likewise.
40176         * benchtests/bench-memmove-ifunc.c: Likewise.
40177         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40178         * benchtests/bench-memrchr-ifunc.c: Likewise.
40179         * benchtests/bench-memset-ifunc.c: Likewise.
40180         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40181         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40182         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40183         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40184         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40185         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40186         * benchtests/bench-strcat-ifunc.c: Likewise.
40187         * benchtests/bench-strchr-ifunc.c: Likewise.
40188         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40189         * benchtests/bench-strcmp-ifunc.c: Likewise.
40190         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40191         * benchtests/bench-strcpy-ifunc.c: Likewise.
40192         * benchtests/bench-strcspn-ifunc.c: Likewise.
40193         * benchtests/bench-strlen-ifunc.c: Likewise.
40194         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40195         * benchtests/bench-strncat-ifunc.c: Likewise.
40196         * benchtests/bench-strncmp-ifunc.c: Likewise.
40197         * benchtests/bench-strncpy-ifunc.c: Likewise.
40198         * benchtests/bench-strnlen-ifunc.c: Likewise.
40199         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40200         * benchtests/bench-strrchr-ifunc.c: Likewise.
40201         * benchtests/bench-strsep-ifunc.c: Likewise.
40202         * benchtests/bench-strspn-ifunc.c: Likewise.
40203         * benchtests/bench-strstr-ifunc.c: Likewise.
40205 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40207         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40209 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40211         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40212         * rt/aio.h: Likewise.
40213         * sysdeps/gnu/bits/utmp.h: Likewise.
40214         * sysdeps/gnu/bits/utmpx.h: Likewise.
40215         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40216         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40217         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40218         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40219         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40220         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40221         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40222         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40223         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40224         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40225         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40226         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40227         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40229         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40230         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40231         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40232         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40233         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40234         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40235         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40236         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40237         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40238         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40239         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40241         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40242         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40243         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40244         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40245         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40246         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40247         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40248         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40249         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40250         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40251         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40252         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40253         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40254         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40255         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40256         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40258 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40260         [BZ #16245]
40261         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40262         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40264 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40266         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40267         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40268         Likewise.
40270 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40273         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40274         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40275         (__fesetround): Remove define.
40276         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40277         rounding and exceptions handling.
40278         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40279         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40280         (__fe_nomask_env): Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40282         __fegetround instead of fegetround.
40283         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40284         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40286 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40288         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40289         it's there.
40291         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40293 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40295         [BZ #11157]
40296         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40297         (encrypt_r): Likewise.
40298         * malloc/obstack.h (obstack_free): Likewise.
40299         * posix/unistd.h (encrypt): Likewise.
40301 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40303         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40304         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40305         DL_CALL_DT_FINI() that call the functions directly.
40306         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40307         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40308         * elf/dl-fini.c: Likewise.
40310 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40312         * malloc/hooks.c (memalign_check): Add alignment rounding.
40313         * malloc/malloc.c (_mid_memalign): New function.
40314         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40315         Implement by calling _mid_memalign.
40316         * manual/probes.texi (Memory Allocation Probes): Remove
40317         memory_valloc_retry and memory_pvalloc_retry.
40319 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40321         * locale/programs/locarchive.c (open_archive): Add const
40322         qualifier to ARCHIVEFNAME and copy default fname to
40323         DEFAULT_FNAME.
40325         [BZ #15601]
40326         * libio/tst-widetext.input: Rename Oriya to Odia.
40327         * locale/iso-639.def: Likewise.
40329         * manual/probes.texi (Mathematical Function Probes): Add
40330         documentation for sin, cos, asin and acos probes.
40331         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40332         (__sin32): Add slowasin probe.
40333         (__cos32): Add slowacos probe.
40334         (__mpsin): Add slowsin probe.
40335         (__mpcos): Add slowcos probe.
40337 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40339         [BZ #15483]
40340         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40341         thread-local __sim_exceptions_thread and global
40342         __sim_exceptions_global.
40343         (__sim_disabled_exceptions): Change to thread-local
40344         __sim_disabled_exceptions_thread and global
40345         __sim_disabled_exceptions_global.
40346         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40347         and global __sim_round_mode_global.
40348         (__simulate_exceptions): Use thread-local floating-point state and
40349         set global state from it as needed.
40350         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40351         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40352         __sim_round_mode_thread.
40353         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40354         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40355         and global __sim_exceptions_global.
40356         (__sim_disabled_exceptions): Change to thread-local
40357         __sim_disabled_exceptions_thread and global
40358         __sim_disabled_exceptions_global.
40359         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40360         and global __sim_round_mode_global.
40361         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40362         (SIM_SET_GLOBAL): Likewise.
40363         * sysdeps/powerpc/soft-fp/sfp-machine.h
40364         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40365         __sim_round_mode_thread.
40366         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40367         __sim_disabled_exceptions_thread.
40368         (__sim_exceptions): Change to __sim_exceptions_thread.
40369         (__sim_disabled_exceptions): Change to
40370         __sim_disabled_exceptions_thread.
40371         (__sim_round_mode): Change to __sim_round_mode_thread.
40372         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40373         thread-local floating-point state and set global state from it as
40374         needed.
40375         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40376         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40377         (__sim_disabled_exceptions): Remove extern declaration.
40378         (feenableexcept): Use thread-local floating-point state and set
40379         global state from it as needed.
40380         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40381         extern declaration.
40382         (__sim_disabled_exceptions): Likewise.
40383         (__sim_round_mode): Likewise.
40384         (__fegetenv): Use thread-local floating-point state.
40385         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40386         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40387         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40388         floating-point state and set global state from it as needed.
40389         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40390         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40391         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40392         Likewise.
40393         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40394         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40395         Likewise.
40396         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40397         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40398         Use __sim_round_mode_thread.
40399         * math/test-fenv-tls.c: New file.
40400         * math/Makefile (tests): Add test-fenv-tls.
40401         ($(objpfx)test-fenv-tls): Depend on
40402         $(common-objpfx)nptl/libpthread.so.
40404 2013-11-19  Andreas Schwab  <schwab@suse.de>
40406         * locale/programs/locale.c (show_info): Decode wordarray elements.
40407         * locale/categories.def (LC_MONETARY): Add element for
40408         _NL_MONETARY_CRNCYSTR.
40409         * locale/C-monetary.c (conversion_rate): New variable.
40410         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40411         element.
40413 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40415         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40416         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40418 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40420         * elf/Makefile (tst-auxv): New test.
40421         * elf/tst-auxv.c: New
40422         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40424 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40426         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40427         (hidden_proto): Caller changed.
40428         (hidden_tls_proto): New macro.
40429         (libc_hidden_tls_proto): Likewise.
40430         (rtld_hidden_tls_proto): Likewise.
40431         (libm_hidden_tls_proto): Likewise.
40432         (libresolv_hidden_tls_proto): Likewise.
40433         (librt_hidden_tls_proto): Likewise.
40434         (libdl_hidden_tls_proto): Likewise.
40435         (libnss_files_hidden_tls_proto): Likewise.
40436         (libnsl_hidden_tls_proto): Likewise.
40437         (libnss_nisplus_hidden_tls_proto): Likewise.
40438         (libutil_hidden_tls_proto): Likewise.
40440 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40442         [BZ #10253]
40443         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40444         (decompose_rpath): Defer expansion to fillin_rpath.
40445         (_dl_init_paths): Pass linkmap to fillin_rpath.
40447 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40449         * benchtests/Makefile: Add strsep.
40450         * benchtests/bench-strsep.c: New file: strsep benchtest.
40451         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40453 2013-11-18  Andreas Schwab  <schwab@suse.de>
40455         * locale/programs/locale.c (show_info) [case byte]: Check for
40456         '\377' instead of '\177'.
40457         * locale/C-monetary.c (not_available): Always use "\377".
40458         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40459         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40460         detect unavailable sign_posn locale elements.
40461         * locale/localeconv.c (__localeconv): For grouping and
40462         mon_grouping handle "\177" and "\377" like no grouping.
40463         (INT_ELEM): New macro.  Use it to set all numeric members.
40464         * locale/programs/ld-monetary.c (monetary_read)
40465         <tok_mon_grouping>: Normalize single -1 to the empty string.
40466         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40467         Likewise.
40469 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40471         [BZ #16055]
40472         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40473         when we match (nil).
40474         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40476 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40478         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40479         (NO_TEST_INLINE): Update value.
40480         (ERRNO_UNCHANGED): Likewise.
40481         (ERRNO_EDOM): Likewise.
40482         (ERRNO_ERANGE): Likewise.
40483         (IGNORE_RESULT): Likewise.
40484         (check_float_internal): Check signs of NaN results if
40485         TEST_NAN_SIGN used.
40486         (check_complex): Pass TEST_NAN_SIGN flag through to second
40487         check_float_internal call.
40488         (copysign_test_data): Add tests with quiet NaNs as second
40489         argument.  Use TEST_NAN_SIGN.
40490         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40491         TEST_NAN_SIGN.
40492         (signbit_test_data): Add tests of quiet NaN argument.
40493         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40495         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40496         $ignore_result.
40497         (parse_args): Handle function results specified as IGNORE.
40498         * math/libm-test.inc (IGNORE_RESULT): New macro.
40499         (check_float_internal): Do not check numerical result if flag
40500         IGNORE_RESULT set.
40501         (check_complex): Pass through IGNORE_RESULT to second
40502         check_float_internal call.
40503         (check_int): Do not check numerical result if flag IGNORE_RESULT
40504         set.
40505         (check_long): Likewise.
40506         (check_bool): Likewise.
40507         (check_longlong): Likewise.
40508         (lrint_test_data): Add tests of infinite and NaN arguments.
40509         (lrint_tonearest_test_data): Likewise.
40510         (lrint_towardzero_test_data): Likewise.
40511         (lrint_downward_test_data): Likewise.
40512         (lrint_upward_test_data): Likewise.
40513         (llrint_test_data): Likewise.
40514         (llrint_tonearest_test_data): Likewise.
40515         (llrint_towardzero_test_data): Likewise.
40516         (llrint_downward_test_data): Likewise.
40517         (llrint_upward_test_data): Likewise.
40518         (lround_test_data): Likewise.
40519         (llround_test_data): Likewise.
40521         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40522         (ERRNO_UNCHANGED): Update value.
40523         (ERRNO_EDOM): Likewise.
40524         (ERRNO_ERANGE): Likewise.
40525         (NO_TEST_INLINE_FLOAT): New macro.
40526         (NO_TEST_INLINE_DOUBLE): Likewise.
40527         (enable_test): New function.
40528         (RUN_TEST_f_f): Check enable_test before running test.
40529         (RUN_TEST_2_f): Likewise.
40530         (RUN_TEST_fff_f): Likewise.
40531         (RUN_TEST_c_f): Likewise.
40532         (RUN_TEST_f_f1): Likewise.
40533         (RUN_TEST_fF_f1): Likewise.
40534         (RUN_TEST_fI_f1): Likewise.
40535         (RUN_TEST_ffI_f1): Likewise.
40536         (RUN_TEST_c_c): Likewise.
40537         (RUN_TEST_cc_c): Likewise.
40538         (RUN_TEST_f_i): Likewise.
40539         (RUN_TEST_f_i_tg): Likewise.
40540         (RUN_TEST_ff_i_tg): Likewise.
40541         (RUN_TEST_f_b): Likewise.
40542         (RUN_TEST_f_b_tg): Likewise.
40543         (RUN_TEST_f_l): Likewise.
40544         (RUN_TEST_f_L): Likewise.
40545         (RUN_TEST_fFF_11): Likewise.
40546         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40547         conditionals.
40548         (cosh_test_data): Likewise.
40549         (exp_test_data): Likewise.
40550         (expm1_test_data): Likewise.
40551         (hypot_test_data): Likewise.
40552         (pow_test_data): Likewise.
40553         (sinh_test_data): Likewise.
40554         (tanh_test_data): Likewise.
40555         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40556         flags argument.
40558         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40559         tests with quiet NaN input and output.
40560         (acosh_test_data): Likewise.
40561         (asin_test_data): Likewise.
40562         (asinh_test_data): Likewise.
40563         (atan_test_data): Likewise.
40564         (atanh_test_data): Likewise.
40565         (atan2_test_data): Likewise.
40566         (cbrt_test_data): Likewise.
40567         (cos_test_data): Likewise.
40568         (cosh_test_data): Likewise.
40569         (erf_test_data): Likewise.
40570         (erfc_test_data): Likewise.
40571         (exp_test_data): Likewise.
40572         (exp10_test_data): Likewise.
40573         (exp2_test_data): Likewise.
40574         (expm1_test_data): Likewise.
40575         (hypot_test_data): Likewise.
40576         (j0_test_data): Likewise.
40577         (j1_test_data): Likewise.
40578         (jn_test_data): Likewise.
40579         (lgamma_test_data): Likewise.
40580         (log_test_data): Likewise.
40581         (log10_test_data): Likewise.
40582         (log1p_test_data): Likewise.
40583         (log2_test_data): Likewise.
40584         (pow_test_data): Likewise.
40585         (scalb_test_data): Likewise.
40586         (sin_test_data): Likewise.
40587         (sincos_test_data): Likewise.
40588         (sinh_test_data): Likewise.
40589         (tan_test_data): Likewise.
40590         (tanh_test_data): Likewise.
40591         (tgamma_test_data): Likewise.
40592         (y0_test_data): Likewise.
40593         (y1_test_data): Likewise.
40594         (yn_test_data): Likewise.
40596         [BZ #16167]
40597         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40598         argument being NaN and avoid computations with second argument in
40599         that case.
40600         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40601         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40602         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40604 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40606         * locale/iso-639.def: Add Chitwani Tharu (the).
40608 2013-11-14  Andreas Schwab  <schwab@suse.de>
40610         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40611         word instead of empty string.
40613 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40616         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40618         (__fe_nomask_env): Likewise.
40620 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40622         * benchtests/bench-timing.h: Include time.h.
40624 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40626         [BZ #15997]
40627         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40628         to 3.4.0 for x32.
40629         * sysdeps/unix/sysv/linux/configure: Regenerated.
40631 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40633         [BZ #16151]
40634         * stdlib/strtod_l.c (round_and_return): Do not consider
40635         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40636         exponent one less than half the least subnormal exponent.
40637         * stdlib/test-strtod-round-data: Add more tests.
40638         * stdlib/tst-strtod-round.c (tests): Regenerated.
40640 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40642         [BZ #14143]
40643         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40644         (__fe_mask_env): Likewise.
40645         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40646         libm_hidden_proto and add function prototype.
40647         (__fe_mask_env): Add function prototype.
40648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40649         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40651         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40653         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40655 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40657         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40658         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40660 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40662         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40663         of htab_find_slot().
40665 2013-11-11  David S. Miller  <davem@davemloft.net>
40667         [BZ #16150]
40668         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40669         symbol in the non-vis3 case in static builds.
40670         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40671         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40672         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40673         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40675 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40677         [BZ #387]
40678         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40679         it is empty.
40681 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40683         * benchtests/Makefile: Add bench-strtod.
40684         * benchtests/bench-strtod.c: New file: strtod benchtest
40686 2013-11-11  Andreas Schwab  <schwab@suse.de>
40688         [BZ #16153]
40689         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40690         terminating NUL in key length.
40692 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40694         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40695         Add artificial ODP entry for vDSO symbol for PPC64.
40696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40697         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40699 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40701         [BZ #15374]
40702         * nss/getent.c (services_keys): Recognize services starting with digit.
40704 2013-11-06  David S. Miller  <davem@davemloft.net>
40706         [BZ #15985]
40707         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40708         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40710 2013-11-06  Will Newton  <will.newton@linaro.org>
40712         * manual/memory.texi (Malloc Examples): Remove register
40713         keyword from examples.
40715 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40717         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40719 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40721         [BZ #6981]
40722         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40723         depending on [__GCC_IEC_559 > 0].
40724         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40725         depending on [__GCC_IEC_559_COMPLEX > 0].
40727 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40729         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40730         to iso-639.def.
40732 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40734         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40736 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40738         [BZ #16112]
40739         * malloc/malloc (malloc_info): Do not handle first bin as
40740         special case.
40742 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40744         * locale/iso-639.def: Add Central Nahuatl (nhn).
40746 2013-11-01  Bruno Haible  <bruno@clisp.org>
40748         [BZ #7003]
40749         * manual/math.texi (BSD Random): Specify range upper bound as
40750         in POSIX.
40752 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40754         * locale/iso-639.def: Add Meadow Mari (mhr).
40756 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40758         [BZ #14752], [BZ #15763]
40759         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40760         Validate name.
40761         * rt/tst_shm.c: Add test for escaping directory.
40763 2013-10-31  Andreas Schwab  <schwab@suse.de>
40765         [BZ #15917]
40766         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40767         followed by 'x' as part of digit sequence.
40768         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40770 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40772         [BZ #16037]
40773         * configure.ac: allow GNU Make 4.0 and greater.
40774         * configure: Regenerated.
40776 2013-10-30  Will Newton  <will.newton@linaro.org>
40778         [BZ #16038]
40779         * malloc/hooks.c (memalign_check): Limit alignment to the
40780         maximum representable power of two.
40781         * malloc/malloc.c (__libc_memalign): Likewise.
40782         * malloc/tst-memalign.c (do_test): Add test for very
40783         large alignment values.
40784         * malloc/tst-posix_memalign.c (do_test): Likewise.
40786 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40788         [BZ #11087]
40789         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40790         (munmap_chunk): Likewise.
40791         (mremap_chunk): Likewise.
40793 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40795         [BZ #15799]
40796         * stdlib/div.c (div): Remove obsolete code.
40797         * stdlib/ldiv.c (ldiv): Likewise.
40798         * stdlib/lldiv.c (lldiv): Likewise.
40800 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40802         [BZ #16071]
40803         * nss/nss_files/files-XXX.c (get_contents_ret): New
40804         enumerator.
40805         (get_contents): New function.
40806         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40808 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40810         * configure.in: Moved to ...
40811         * configure.ac: ... here. Change reference to configure.in
40812         to configure.ac.
40813         * sysdeps/arm/preconfigure.ac: ... here.
40814         configure.in to configure.ac.
40815         * sysdeps/gnu/configure.in: Moved to ...
40816         * sysdeps/gnu/configure.ac: ... here.
40817         * sysdeps/i386/configure.in: Moved to ...
40818         * sysdeps/i386/configure.ac: ... here.
40819         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40820         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40821         * sysdeps/mach/configure.in: Moved to ...
40822         * sysdeps/mach/configure.ac: ... here.
40823         * sysdeps/mach/hurd/configure.in: Moved to ...
40824         * sysdeps/mach/hurd/configure.ac: ... here.
40825         * sysdeps/powerpc/configure.in: Moved to ...
40826         * sysdeps/powerpc/configure.ac: ... here.
40827         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40828         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40829         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40830         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40831         * sysdeps/s390/s390-32/configure.in: Moved to ...
40832         * sysdeps/s390/s390-32/configure.ac: ... here.
40833         * sysdeps/s390/s390-64/configure.in: Moved to ...
40834         * sysdeps/s390/s390-64/configure.ac: ... here.
40835         * sysdeps/sh/configure.in: Moved to ...
40836         * sysdeps/sh/configure.ac: ... here.
40837         * sysdeps/sparc/configure.in: Moved to ...
40838         * sysdeps/sparc/configure.ac: ... here.
40839         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40840         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40841         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40842         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40843         * sysdeps/x86_64/configure.in: Moved to ...
40844         * sysdeps/x86_64/configure.ac: ... here.
40845         * sysdeps/x86_64/preconfigure.in: Moved to ...
40846         * sysdeps/x86_64/preconfigure.ac: ... here.
40847         * aclocal.m4: Change reference to configure.in to configure.ac.
40848         * config.h.in: Likewise.
40849         * manual/install.texi: Likewise.
40850         * manual/maint.texi: Likewise.
40851         * Makefile: Likewise.
40852         * malloc/Makefile: Likewise.
40853         * nscd/Makefile: Likewise.
40854         * Makeconfig: Change reference to configure.in and
40855         preconfigure.in to configure.ac and preconfigure.ac
40856         respectively.
40857         * INSTALL: Regenerated.
40858         * configure: Likewise.
40859         * sysdeps/gnu/configure: Likewise.
40860         * sysdeps/i386/configure: Likewise.
40861         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40862         * sysdeps/mach/configure: Likewise.
40863         * sysdeps/mach/hurd/configure: Likewise.
40864         * sysdeps/powerpc/configure: Likewise.
40865         * sysdeps/powerpc/powerpc32/configure: Likewise.
40866         * sysdeps/powerpc/powerpc64/configure: Likewise.
40867         * sysdeps/s390/s390-32/configure: Likewise.
40868         * sysdeps/s390/s390-64/configure: Likewise.
40869         * sysdeps/sh/configure: Likewise.
40870         * sysdeps/sparc/configure: Likewise.
40871         * sysdeps/unix/sysv/linux/configure: Likewise.
40872         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40873         * sysdeps/x86_64/configure: Likewise.
40874         * sysdeps/x86_64/preconfigure: Likewise.
40876 2013-10-29  Andreas Schwab  <schwab@suse.de>
40878         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40880 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40882         * benchtests/pow-inputs: Add new inputs.
40884         * benchtests/exp-inputs: Add new inputs.
40886         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40887         conditional check for return value.
40888         (__cos32): Likewise.
40890 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40892         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40893         to provide a boost for large inputs with word alignment.
40894         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40895         implementation based on optimized PPC64 strcpy.
40896         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40897         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40898         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40899         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40901 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40903         [BZ #2801]
40904         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40906 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40908         [BZ #14876]
40909         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40910         * time/tst-strptime.c (day_tests): Add testcase.
40912 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40914         [BZ #14029]
40915         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40917 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40919         [BZ #16074]
40920         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40921         MAP_FAILED on error.
40923 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40925         [BZ #16072]
40926         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40927         heap for large requests.
40929 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40931         [BZ #9954]
40932         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40933         result if the result has no associated interface.
40934         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40935         interface for all 127.X.Y.Z addresses.
40937 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40939         * locale/iso-639.def: Add Ligurian (lij)
40941 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40943         [BZ #15825]
40944         * sunrpc/rpc_main.c: Document rpcgen -5.
40946 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40948         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40950 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40952         [BZ #10278]
40953         * posix/glob.c: Match only directories when trailing slash is present.
40954         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40955         (main): Add testcase.
40957 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40959         [BZ #15670]
40960         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40962 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40964         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40965         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40966         AUTH_DES and cindex for FIPS 140-2.
40967         (DES Encryption): Add cindex FIPS 46-3.
40969         * locale/locarchive.h (struct locarhandle): Add fname.
40970         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40971         if an optional argument was specified to --list-archive,
40972         otherwise NULL.
40973         * locale/programs/locarchive.c (show_archive_content): Take new
40974         argument fname and pass it via ah.fname to open_archive.
40975         * locale/programs/localedef.h: Update decl.
40976         (open_archive): If AH->fname is non-null, open that file
40977         rather than the default file name, and don't ignore ENOENT.
40978         (create_archive): Set AH.fname to NULL.
40979         (delete_locales_from_archive): Likewise.
40980         (add_locales_to_archive): Likewise.
40981         * locale/programs/locfile.c (write_all_categories): Likewise.
40983 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40984             Aldy Hernandez  <aldyh@redhat.com>
40986         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40987         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40988         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40989         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40990         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40991         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40992         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40993         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40994         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40995         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40996         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40997         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40998         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40999         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41000         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41001         Likewise.
41002         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41003         Likewise.
41004         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41005         Likewise.
41006         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41007         Likewise.
41008         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41009         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41010         Likewise.
41011         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41012         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41013         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41014         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41015         Likewise.
41016         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41017         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41018         * sysdeps/powerpc/preconfigure: Likewise.
41019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41020         Likewise.
41021         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41022         Replace contents of file by #include of <fenv_libc.h>.
41023         * sysdeps/powerpc/soft-fp/sfp-machine.h
41024         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41025         and <sys/prctl.h>.
41026         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41027         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41028         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41029         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41030         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41031         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41033         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41034         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41035         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41039         Allow copysignl PLT reference to be missing.
41041 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41042             Joseph Myers  <joseph@codesourcery.com
41044         [BZ #15948]
41045         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41046         single character.
41047         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41049 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41051         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41052         * elf/tst-tls1.c: Likewise.
41053         * elf/tst-tls10.h: Likewise.
41054         * elf/tst-tls14.c: Likewise.
41055         * elf/tst-tls2.c: Likewise.
41056         * elf/tst-tls3.c: Likewise.
41057         * elf/tst-tls4.c: Likewise.
41058         * elf/tst-tls5.c: Likewise.
41059         * elf/tst-tls6.c: Likewise.
41060         * elf/tst-tls7.c: Likewise.
41061         * elf/tst-tls8.c: Likewise.
41062         * elf/tst-tls9.c: Likewise.
41063         * elf/tst-tlsmod1.c: Likewise.
41064         * elf/tst-tlsmod13.c: Likewise.
41065         * elf/tst-tlsmod13a.c: Likewise.
41066         * elf/tst-tlsmod14a.c: Likewise.
41067         * elf/tst-tlsmod16a.c: Likewise.
41068         * elf/tst-tlsmod16b.c: Likewise.
41069         * elf/tst-tlsmod2.c: Likewise.
41070         * elf/tst-tlsmod3.c: Likewise.
41071         * elf/tst-tlsmod4.c: Likewise.
41072         * elf/tst-tlsmod5.c: Likewise.
41073         * elf/tst-tlsmod6.c: Likewise.
41075 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41077         [BZ #12486]
41078         * malloc/malloc.c: remove checks for statistics.
41080 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41082         [BZ #15277]
41083         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41084         * inet/tst-network.c: Add testcase.
41086 2013-10-17  Andreas Schwab  <schwab@suse.de>
41088         [BZ #15218]
41089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41090         to determine canonical name.
41092 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41094         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41095         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41118         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41119         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41124         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41125         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41126         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41128         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41134         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41138         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41139         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41140         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41141         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41142         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41143         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41144         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41145         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41146         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41147         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41149         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41150         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41151         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41153 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41155         [BZ #16041]
41156         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41157         make result into a quiet NaN.
41159 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41161         * soft-fp/adddf3.c: Fix horizontal whitespace.
41162         * soft-fp/addsf3.c: Likewise.
41163         * soft-fp/addtf3.c: Likewise.
41164         * soft-fp/divdf3.c: Likewise.
41165         * soft-fp/divsf3.c: Likewise.
41166         * soft-fp/divtf3.c: Likewise.
41167         * soft-fp/double.h: Likewise.
41168         * soft-fp/eqdf2.c: Likewise.
41169         * soft-fp/eqsf2.c: Likewise.
41170         * soft-fp/eqtf2.c: Likewise.
41171         * soft-fp/extenddftf2.c: Likewise.
41172         * soft-fp/extended.h: Likewise.
41173         * soft-fp/extendsfdf2.c: Likewise.
41174         * soft-fp/extendsftf2.c: Likewise.
41175         * soft-fp/extendxftf2.c: Likewise.
41176         * soft-fp/fixdfdi.c: Likewise.
41177         * soft-fp/fixdfsi.c: Likewise.
41178         * soft-fp/fixdfti.c: Likewise.
41179         * soft-fp/fixsfdi.c: Likewise.
41180         * soft-fp/fixsfsi.c: Likewise.
41181         * soft-fp/fixsfti.c: Likewise.
41182         * soft-fp/fixtfdi.c: Likewise.
41183         * soft-fp/fixtfsi.c: Likewise.
41184         * soft-fp/fixtfti.c: Likewise.
41185         * soft-fp/fixunsdfdi.c: Likewise.
41186         * soft-fp/fixunsdfsi.c: Likewise.
41187         * soft-fp/fixunsdfti.c: Likewise.
41188         * soft-fp/fixunssfdi.c: Likewise.
41189         * soft-fp/fixunssfsi.c: Likewise.
41190         * soft-fp/fixunssfti.c: Likewise.
41191         * soft-fp/fixunstfdi.c: Likewise.
41192         * soft-fp/fixunstfsi.c: Likewise.
41193         * soft-fp/fixunstfti.c: Likewise.
41194         * soft-fp/floatdidf.c: Likewise.
41195         * soft-fp/floatdisf.c: Likewise.
41196         * soft-fp/floatditf.c: Likewise.
41197         * soft-fp/floatsidf.c: Likewise.
41198         * soft-fp/floatsisf.c: Likewise.
41199         * soft-fp/floatsitf.c: Likewise.
41200         * soft-fp/floattidf.c: Likewise.
41201         * soft-fp/floattisf.c: Likewise.
41202         * soft-fp/floattitf.c: Likewise.
41203         * soft-fp/floatundidf.c: Likewise.
41204         * soft-fp/floatundisf.c: Likewise.
41205         * soft-fp/floatunditf.c: Likewise.
41206         * soft-fp/floatunsidf.c: Likewise.
41207         * soft-fp/floatunsisf.c: Likewise.
41208         * soft-fp/floatunsitf.c: Likewise.
41209         * soft-fp/floatuntidf.c: Likewise.
41210         * soft-fp/floatuntisf.c: Likewise.
41211         * soft-fp/floatuntitf.c: Likewise.
41212         * soft-fp/fmadf4.c: Likewise.
41213         * soft-fp/fmasf4.c: Likewise.
41214         * soft-fp/fmatf4.c: Likewise.
41215         * soft-fp/gedf2.c: Likewise.
41216         * soft-fp/gesf2.c: Likewise.
41217         * soft-fp/getf2.c: Likewise.
41218         * soft-fp/ledf2.c: Likewise.
41219         * soft-fp/lesf2.c: Likewise.
41220         * soft-fp/letf2.c: Likewise.
41221         * soft-fp/muldf3.c: Likewise.
41222         * soft-fp/mulsf3.c: Likewise.
41223         * soft-fp/multf3.c: Likewise.
41224         * soft-fp/negdf2.c: Likewise.
41225         * soft-fp/negsf2.c: Likewise.
41226         * soft-fp/negtf2.c: Likewise.
41227         * soft-fp/op-1.h: Likewise.
41228         * soft-fp/op-2.h: Likewise.
41229         * soft-fp/op-4.h: Likewise.
41230         * soft-fp/op-8.h: Likewise.
41231         * soft-fp/op-common.h: Likewise.
41232         * soft-fp/quad.h: Likewise.
41233         * soft-fp/single.h: Likewise.
41234         * soft-fp/soft-fp.h: Likewise.
41235         * soft-fp/sqrtdf2.c: Likewise.
41236         * soft-fp/sqrtsf2.c: Likewise.
41237         * soft-fp/sqrttf2.c: Likewise.
41238         * soft-fp/subdf3.c: Likewise.
41239         * soft-fp/subsf3.c: Likewise.
41240         * soft-fp/subtf3.c: Likewise.
41241         * soft-fp/truncdfsf2.c: Likewise.
41242         * soft-fp/trunctfdf2.c: Likewise.
41243         * soft-fp/trunctfsf2.c: Likewise.
41244         * soft-fp/trunctfxf2.c: Likewise.
41245         * soft-fp/unorddf2.c: Likewise.
41246         * soft-fp/unordsf2.c: Likewise.
41247         * soft-fp/unordtf2.c: Likewise.
41249 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41251         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41252         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41254 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41256         * elf/dl-libc.c: Clear initfini list after freeing.
41258 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41260         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41261         * soft-fp/addsf3.c: Likewise.
41262         * soft-fp/addtf3.c: Likewise.
41263         * soft-fp/divdf3.c: Likewise.
41264         * soft-fp/divsf3.c: Likewise.
41265         * soft-fp/divtf3.c: Likewise.
41266         * soft-fp/double.h: Likewise.
41267         * soft-fp/eqdf2.c: Likewise.
41268         * soft-fp/eqsf2.c: Likewise.
41269         * soft-fp/eqtf2.c: Likewise.
41270         * soft-fp/extenddftf2.c: Likewise.
41271         * soft-fp/extended.h: Likewise.
41272         * soft-fp/extendsfdf2.c: Likewise.
41273         * soft-fp/extendsftf2.c: Likewise.
41274         * soft-fp/extendxftf2.c: Likewise.
41275         * soft-fp/fixdfdi.c: Likewise.
41276         * soft-fp/fixdfsi.c: Likewise.
41277         * soft-fp/fixdfti.c: Likewise.
41278         * soft-fp/fixsfdi.c: Likewise.
41279         * soft-fp/fixsfsi.c: Likewise.
41280         * soft-fp/fixsfti.c: Likewise.
41281         * soft-fp/fixtfdi.c: Likewise.
41282         * soft-fp/fixtfsi.c: Likewise.
41283         * soft-fp/fixtfti.c: Likewise.
41284         * soft-fp/fixunsdfdi.c: Likewise.
41285         * soft-fp/fixunsdfsi.c: Likewise.
41286         * soft-fp/fixunsdfti.c: Likewise.
41287         * soft-fp/fixunssfdi.c: Likewise.
41288         * soft-fp/fixunssfsi.c: Likewise.
41289         * soft-fp/fixunssfti.c: Likewise.
41290         * soft-fp/fixunstfdi.c: Likewise.
41291         * soft-fp/fixunstfsi.c: Likewise.
41292         * soft-fp/fixunstfti.c: Likewise.
41293         * soft-fp/floatdidf.c: Likewise.
41294         * soft-fp/floatdisf.c: Likewise.
41295         * soft-fp/floatditf.c: Likewise.
41296         * soft-fp/floatsidf.c: Likewise.
41297         * soft-fp/floatsisf.c: Likewise.
41298         * soft-fp/floatsitf.c: Likewise.
41299         * soft-fp/floattidf.c: Likewise.
41300         * soft-fp/floattisf.c: Likewise.
41301         * soft-fp/floattitf.c: Likewise.
41302         * soft-fp/floatundidf.c: Likewise.
41303         * soft-fp/floatundisf.c: Likewise.
41304         * soft-fp/floatunsidf.c: Likewise.
41305         * soft-fp/floatunsisf.c: Likewise.
41306         * soft-fp/floatuntidf.c: Likewise.
41307         * soft-fp/floatuntisf.c: Likewise.
41308         * soft-fp/floatuntitf.c: Likewise.
41309         * soft-fp/fmadf4.c: Likewise.
41310         * soft-fp/fmasf4.c: Likewise.
41311         * soft-fp/fmatf4.c: Likewise.
41312         * soft-fp/gedf2.c: Likewise.
41313         * soft-fp/gesf2.c: Likewise.
41314         * soft-fp/getf2.c: Likewise.
41315         * soft-fp/ledf2.c: Likewise.
41316         * soft-fp/lesf2.c: Likewise.
41317         * soft-fp/letf2.c: Likewise.
41318         * soft-fp/muldf3.c: Likewise.
41319         * soft-fp/mulsf3.c: Likewise.
41320         * soft-fp/multf3.c: Likewise.
41321         * soft-fp/negdf2.c: Likewise.
41322         * soft-fp/negsf2.c: Likewise.
41323         * soft-fp/negtf2.c: Likewise.
41324         * soft-fp/op-1.h: Likewise.
41325         * soft-fp/op-2.h: Likewise.
41326         * soft-fp/op-4.h: Likewise.
41327         * soft-fp/op-8.h: Likewise.
41328         * soft-fp/op-common.h: Likewise.
41329         * soft-fp/quad.h: Likewise.
41330         * soft-fp/single.h: Likewise.
41331         * soft-fp/soft-fp.h: Likewise.
41332         * soft-fp/sqrtdf2.c: Likewise.
41333         * soft-fp/sqrtsf2.c: Likewise.
41334         * soft-fp/sqrttf2.c: Likewise.
41335         * soft-fp/subdf3.c: Likewise.
41336         * soft-fp/subsf3.c: Likewise.
41337         * soft-fp/subtf3.c: Likewise.
41338         * soft-fp/truncdfsf2.c: Likewise.
41339         * soft-fp/trunctfdf2.c: Likewise.
41340         * soft-fp/trunctfsf2.c: Likewise.
41341         * soft-fp/trunctfxf2.c: Likewise.
41342         * soft-fp/unorddf2.c: Likewise.
41343         * soft-fp/unordsf2.c: Likewise.
41344         * soft-fp/unordtf2.c: Likewise.
41346 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41348         [BZ #15672]
41349         * misc/error.c (error_tail): Fix possible buffer overflow.
41351 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41353         [BZ #13028]
41354         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41355         address.
41357 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41359         [BZ #832]
41360         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41361         testing pipefail option.
41363 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41365         * soft-fp/double.h: Indent preprocessor directives inside #if.
41366         * soft-fp/extended.h: Likewise.
41367         * soft-fp/op-2.h: Likewise.
41368         * soft-fp/op-4.h: Likewise.
41369         * soft-fp/op-common.h: Likewise.
41370         * soft-fp/quad.h: Likewise.
41371         * soft-fp/single.h: Likewise.
41372         * soft-fp/soft-fp.h: Likewise.
41374 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41376         * iconv/iconv_prog.c: Fix typos.
41377         * stdio-common/psiginfo-data.h: Likewise.
41379 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41381         [BZ #15764]
41382         * locale/setlocale.c: Fix typo.
41384 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41386         [BZ #16036]
41387         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41388         signaling NaN arguments.
41389         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41390         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41392         [BZ #14910]
41393         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41394         unordered operands.
41395         * soft-fp/gesf2.c (__gesf2): Likewise.
41396         * soft-fp/getf2.c (__getf2): Likewise.
41397         * soft-fp/ledf2.c (__ledf2): Likewise.
41398         * soft-fp/lesf2.c (__lesf2): Likewise.
41399         * soft-fp/letf2.c (__letf2): Likewise.
41401         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41402         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41403         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41404         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41405         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41406         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41407         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41408         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41409         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41410         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41411         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41412         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41413         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41414         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41415         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41416         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41417         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41418         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41419         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41420         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41421         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41422         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41423         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41424         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41425         * soft-fp/floattidf.c (__floattidf): Likewise.
41426         * soft-fp/floattisf.c (__floattisf): Likewise.
41427         * soft-fp/floattitf.c (__floattitf): Likewise.
41428         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41429         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41430         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41431         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41432         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41433         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41434         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41435         * soft-fp/gesf2.c (__gesf2): Likewise.
41436         * soft-fp/getf2.c (__getf2): Likewise.
41437         * soft-fp/ledf2.c (__ledf2): Likewise.
41438         * soft-fp/lesf2.c (__lesf2): Likewise.
41439         * soft-fp/letf2.c (__letf2): Likewise.
41441         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41442         Undefine and redefine.
41443         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41444         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41445         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41446         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41447         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41448         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41449         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41450         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41451         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41452         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41453         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41454         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41455         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41456         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41457         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41459         [BZ #16032]
41460         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41461         without decrementing exponent if mantissa >= that for the
41462         denominator, not >.
41463         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41464         denominator, not >.  Decrement exponent in < case instead of
41465         incrementing in >= case.
41466         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41467         without decrementing exponent if mantissa >= that for the
41468         denominator, not >.
41470         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41471         computing saturated result for unsigned overflow.
41473 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41474             Jeff Law  <law@redhat.com>
41476         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41477         (atan2Mp): Add systemtap probe marker.
41478         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41479         (__ieee754_log): Add systemtap probe marker.
41480         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41481         (atanMp): Add systemtap probe marker.
41482         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41483         (tanMp): Add systemtap probe marker.
41484         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41485         (__slowexp): Add systemtap probe marker.
41486         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41487         (__slowpow): Add systemtap probe marker.
41488         * manual/probes.texi: Document probes.
41490 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41492         [BZ #15362]
41493         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41494         written.
41495         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41496         written.
41497         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41498         written to buffer but not flushed.
41499         * libio/iofwrite_u.c:  Likewise.
41500         * libio/iopadn.c:  Return bytes returned even if EOF was
41501         encountered.
41502         * libio/iowpadn.c:  Likewise.
41503         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41504         if _IO_padn does not write the whole buffer.
41505         [!COMPILE_WPRINTF] (PAD): Likewise.
41507 2013-10-10  David S. Miller  <davem@davemloft.net>
41509         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41510         directory block.
41512 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41514         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41515         instead of FSF address.
41516         * soft-fp/fixdfti.c: Likewise.
41517         * soft-fp/fixsfti.c: Likewise.
41518         * soft-fp/fixtfti.c: Likewise.
41519         * soft-fp/fixunsdfti.c: Likewise.
41520         * soft-fp/fixunssfti.c: Likewise.
41521         * soft-fp/fixunstfti.c: Likewise.
41522         * soft-fp/floattidf.c: Likewise.
41523         * soft-fp/floattisf.c: Likewise.
41524         * soft-fp/floattitf.c: Likewise.
41525         * soft-fp/floatuntidf.c: Likewise.
41526         * soft-fp/floatuntisf.c: Likewise.
41527         * soft-fp/floatuntitf.c: Likewise.
41528         * soft-fp/trunctfxf2.c: Likewise.
41530         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41531         * soft-fp/fixdfti.c: Likewise.
41532         * soft-fp/fixsfti.c: Likewise.
41533         * soft-fp/fixtfti.c: Likewise.
41534         * soft-fp/fixunsdfti.c: Likewise.
41535         * soft-fp/fixunssfti.c: Likewise.
41536         * soft-fp/fixunstfti.c: Likewise.
41537         * soft-fp/floattidf.c: Likewise.
41538         * soft-fp/floattisf.c: Likewise.
41539         * soft-fp/floattitf.c: Likewise.
41540         * soft-fp/floatuntidf.c: Likewise.
41541         * soft-fp/floatuntisf.c: Likewise.
41542         * soft-fp/floatuntitf.c: Likewise.
41543         * soft-fp/trunctfxf2.c: Likewise.
41545 2013-10-10  David S. Miller  <davem@davemloft.net>
41547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41549 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41551         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41552         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41553         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41554         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41555         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41556         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41557         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41560         for NaNs before doing comparisons on argument.
41561         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41562         Likewise.
41564 2013-10-10  Will Newton  <will.newton@linaro.org>
41566         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41567         passed to _int_memalign does not overflow.
41569 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41571         * scripts/bench.pl: Add include-sources directive.
41572         * benchtests/README: Update documentation.
41574 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41576         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41577         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41578         instead of FP_INIT_ROUNDMODE.
41579         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41580         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41582         [BZ #16034]
41583         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41584         copy class of input value.
41585         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41586         not handle exceptions.
41587         * soft-fp/negsf2.c (__negsf2): Likewise.
41588         * soft-fp/negtf2.c (__negtf2): Likewise.
41589         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41591 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41593         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41594         semicolon.  From Linux kernel.
41596 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41598         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41600 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41602         [BZ #156]
41603         * manual/socket.texi: Added statement about buffer
41604         for gethostbyname2_r.
41606 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41608         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41609         Use .p2align directive instead, throughout.
41610         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41611         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41612         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41613         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41614         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41615         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41616         * sysdeps/x86_64/strchr.S: Likewise.
41617         * sysdeps/x86_64/strrchr.S: Likewise.
41619 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41623         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41625         * sysdeps/generic/math_private.h (__mpsin1): Remove
41626         declaration.
41627         (__mpcos1): Likewise.
41628         (__mpsin): New argument __range_reduce.
41629         (__mpcos): Likewise.
41630         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41631         (slow): Use __mpsin and __mpcos.
41632         (slow1): Likewise.
41633         (slow2): Likewise.
41634         (sloww): Likewise.
41635         (sloww1): Likewise.
41636         (sloww2): Likewise.
41637         (bsloww): Likewise.
41638         (bsloww1): Likewise.
41639         (bsloww2): Likewise.
41640         (cslow2): Likewise.
41641         (csloww): Likewise.
41642         (csloww1): Likewise.
41643         (csloww2): Likewise.
41644         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41645         range_reduce.  Merge in __mpsin1.
41646         (__mpcos): Likewise.
41647         (__mpsin1): Remove.
41648         (__mpcos1): Likewise.
41650 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41652         * locale/loadlocale.c (_nl_intern_locale_data): Use
41653         LOCFILE_ALIGNED_P.
41654         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41655         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41656         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41657         obstack data is appropriately aligned.
41658         (obstack_int32_grow_fast): Likewise.
41659         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41660         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41661         (add_locale_uint32_array): Likewise.
41663 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41665         * benchtests/Makefile: Remove ARGLIST and RET variables.
41666         ($(objpfx)bench-%.c): Pass only function name to the script.
41667         * benchtests/README: Update documentation.
41668         * benchtests/acos-inputs: Add new directives.
41669         * benchtests/acosh-inputs: Likewise.
41670         * benchtests/asin-inputs: Likewise.
41671         * benchtests/asinh-inputs: Likewise.
41672         * benchtests/atan-inputs: Likewise.
41673         * benchtests/atanh-inputs: Likewise.
41674         * benchtests/cos-inputs: Likewise.
41675         * benchtests/cosh-inputs: Likewise.
41676         * benchtests/exp-inputs: Likewise.
41677         * benchtests/log-inputs: Likewise.
41678         * benchtests/pow-inputs: Likewise.
41679         * benchtests/rint-inputs: Likewise.
41680         * benchtests/sin-inputs: Likewise.
41681         * benchtests/sinh-inputs: Likewise.
41682         * benchtests/tan-inputs: Likewise.
41683         * benchtests/tanh-inputs: Likewise.
41684         * scripts/bench.pl: Add support for new directives.
41686 2013-10-07  Alan Modra  <amodra@gmail.com>
41688         * README: Fix careless merge.
41690 2013-10-05  Alan Modra  <amodra@gmail.com>
41692         * NEWS: Mention powerpc64le support and bugs fixed.
41693         * README: Both big-endian and little-endian powerpc64 supported.
41695 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41697         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41698         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41699         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41700         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41702 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41704         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41705         match prototype.
41707 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41709         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41710         Move -mhard-float appending from
41711         ports/sysdeps/powerpc/powerpc32/Makefile.
41712         [$(with-fp) = yes] (ASFLAGS): Likewise.
41713         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41714         * sysdeps/powerpc/nofpu: Move directory from
41715         ports/sysdeps/powerpc/nofpu.
41716         * sysdeps/powerpc/soft-fp: Move directory from
41717         ports/sysdeps/powerpc/soft-fp.
41718         * sysdeps/powerpc/powerpc32/405: Move directory from
41719         ports/sysdeps/powerpc/powerpc32/405.
41720         * sysdeps/powerpc/powerpc32/440: Move directory from
41721         ports/sysdeps/powerpc/powerpc32/440.
41722         * sysdeps/powerpc/powerpc32/464: Move directory from
41723         ports/sysdeps/powerpc/powerpc32/464.
41724         * sysdeps/powerpc/powerpc32/476: Move directory from
41725         ports/sysdeps/powerpc/powerpc32/476.
41726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41727         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41729         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41731         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41733         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41735         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41736         * README: Update for powerpc-*-linux-gnu software floating point
41737         support in libc.
41739         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41740         case to powerpc/powerpc32*.
41741         * sysdeps/unix/sysv/linux/configure: Regenerated.
41743         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41744         (_FPU_MASK_OM): Define as 0x04.
41745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41747         0x00c10080.
41748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41749         0x0000003c.
41750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41753         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41754         getcontext_e500.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41756         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41757         setcontext_e500.
41758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41759         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41760         and setcontext_e500.
41762 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41764         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41766 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41768         * manual/threads.texi (Default Thread Attributes): Fix typo.
41770 2013-10-04  Will Newton  <will.newton@linaro.org>
41772         * malloc/Makefile: Add tst-memalign.
41773         * malloc/tst-memalign.c: New file.
41775         * malloc/tst-posix_memalign.c: Add comments.
41776         (do_test): Add comments and call free on all potentially
41777         allocated pointers. Add space after cast.
41779         * malloc/tst-pvalloc.c: Add comments.
41780         (do_test): Add comments and call free on all potentially
41781         allocated pointers. Remove duplicate check for NULL pointer.
41782         Add space after cast.
41784         * malloc/tst-valloc.c: Add comments.
41785         (do_test): Add comments and call free on all potentially
41786         allocated pointers. Remove duplicate check for NULL pointer.
41787         Add space after cast.
41789 2013-10-04  Alan Modra  <amodra@gmail.com>
41791         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41792         Use stdint types in rather than __attribute__((mode())).
41793         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41795 2013-10-04  Alan Modra  <amodra@gmail.com>
41797         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41798         Correct handling of unaligned relocs for little-endian.
41799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41801 2013-10-04  Alan Modra  <amodra@gmail.com>
41803         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41804         * configure: Regenerate.
41805         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41806         * shlib-versions: Likewise.
41808 2013-10-04  Alan Modra  <amodra@gmail.com>
41810         * string/tester.c (test_memrchr): Increment reported test cycle.
41812 2013-10-04  Alan Modra  <amodra@gmail.com>
41814         * string/test-memcpy.c (do_one_test): When reporting errors, print
41815         string address and don't overrun end of string.
41817 2013-10-04  Alan Modra  <amodra@gmail.com>
41819         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41820         insrdi.  Make better use of reg selection to speed exit slightly.
41821         Schedule entry path a little better.  Remove useless "are we done"
41822         checks on entry to main loop.  Handle wrapping around zero address.
41823         Correct main loop count.  Handle single left-over word from main
41824         loop inline rather than by using loop_small.  Remove extra word
41825         case in loop_small caused by wrong loop count.  Add little-endian
41826         support.
41827         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41828         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41829         cache hint.
41830         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41831         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41832         support.  Avoid rlwimi.
41833         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41835 2013-10-04  Alan Modra  <amodra@gmail.com>
41837         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41838         insrdi.  Formatting.
41839         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41840         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41841         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41842         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41843         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41844         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41846 2013-10-04  Alan Modra  <amodra@gmail.com>
41848         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41850         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41851         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41852         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41853         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41854         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41855         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41856         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41857         use of regs.  Use power7 mtocrf.  Tidy function tails.
41859 2013-10-04  Alan Modra  <amodra@gmail.com>
41861         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41862         Formatting.  Consistently use rXXX register defines or rN defines.
41863         Use early exit labels that avoid restoring unused non-volatile regs.
41864         Make cr field use more consistent with rWORDn compares.  Rename
41865         regs used as shift registers for unaligned loop, using rN defines
41866         for short lifetime/multiple use regs.
41867         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41868         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41869         addi 1,1,64 to pop stack frame.  Simplify return value code.
41870         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41872 2013-10-04  Alan Modra  <amodra@gmail.com>
41874         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41875         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41876         rather than rlwimi.
41877         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41878         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41879         little-endian support.  Correct typos.
41880         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41881         rather than rlwimi.
41882         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41883         in loop and entry code to keep "and." results.
41884         (strchr): Add little-endian support.  Comment.  Move cntlzd
41885         earlier in tail.
41886         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41888 2013-10-04  Alan Modra  <amodra@gmail.com>
41890         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41891         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41892         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41893         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41895 2013-10-04  Alan Modra  <amodra@gmail.com>
41897         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41898         (rTMP): Define as r11.
41899         (strcmp): Add little-endian support.  Optimise tail.
41900         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41901         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41902         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41903         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41904         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41908 2013-10-04  Alan Modra  <amodra@gmail.com>
41910         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41911         little-endian support.  Remove unnecessary "are we done" tests.
41912         Handle "s" wrapping around zero and extremely large "size".
41913         Correct main loop count.  Handle single left-over word from main
41914         loop inline rather than by using small_loop.  Correct comments.
41915         Delete "zero" tail, use "end_max" instead.
41916         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41918 2013-10-04  Alan Modra  <amodra@gmail.com>
41920         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41921         support.  Don't branch over align.
41922         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41923         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41924         support.  Rearrange tmp reg use to suit.  Comment.
41925         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41927 2013-10-04  Alan Modra  <amodra@gmail.com>
41929         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41931 2013-10-04  Alan Modra  <amodra@gmail.com>
41933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41934         conditional form of branch and link when obtaining pc.
41935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41937 2013-10-04  Alan Modra  <amodra@gmail.com>
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41940         HIWORD/LOWORD.
41941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41944 2013-10-04  Alan Modra  <amodra@gmail.com>
41946         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41947         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41948         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41949         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41950         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41951         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41952         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41953         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41954         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41955         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41957 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41958             Alistair Popple <alistair@ozlabs.au.ibm.com>
41959             Alan Modra <amodra@gmail.com>
41961         [BZ #15723]
41962         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41964         _dl_hwcap access for little-endian.
41965         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41966         destroy vmx regs when saving unaligned.
41967         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41968         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41969         destroy vmx regs when saving unaligned.
41971 2013-10-04  Alan Modra  <amodra@gmail.com>
41973         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41974         Don't use a union to pack hi/low value.
41976 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41978         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41979         for little-endian.
41980         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41981         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41982         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41983         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41984         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41986 2013-10-04  Alan Modra  <amodra@gmail.com>
41988         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41989         constants to usual value for .cst8 section, and remove redundant
41990         high address load.
41991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41992         constant for 0x1p52.  Load little-endian words of double from
41993         correct stack offsets.
41995 2013-10-04  Alan Modra  <amodra@gmail.com>
41997         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41998         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41999         words of double from correct stack offsets.
42000         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42001         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42002         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42003         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42004         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42005         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42006         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42007         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42008         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42009         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42010         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42011         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42012         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42013         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42014         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42015         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42016         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42018 2013-10-04  Alan Modra  <amodra@gmail.com>
42020         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42021         64-bit int/double union.
42022         (_FPU_SETCW): Likewise.
42023         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42024         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42026 2013-10-04  Alan Modra  <amodra@gmail.com>
42028         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42029         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42031 2013-10-04  Alan Modra  <amodra@gmail.com>
42033         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42034         use vector int constants.
42035         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42037 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42039         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42040         array with long long.
42041         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42042         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42043         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42044         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42045         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42046         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42047         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42048         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42049         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42050         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42051         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42052         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42053         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42055 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42057         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42058         (__signbit): Likewise.  Correct for little-endian.
42059         (__signbitl): Call __signbit.
42060         (lrint): Correct for little-endian.
42061         (lrintf): Call lrint.
42063 2013-10-04  Alan Modra  <amodra@gmail.com>
42065         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42066         union 32-bit int array member with 64-bit int array.
42067         (t515, tm256): Double rather than long double.
42068         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42070 2013-10-04  Alan Modra  <amodra@gmail.com>
42072         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42073         Delete.
42074         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42076         version of math_ldbl.h.
42078 2013-10-04  Alan Modra  <amodra@gmail.com>
42080         [BZ #15734], [BZ #15735]
42081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42082         all uses of ieee875 long double macros and unions.  Simplify test
42083         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42084         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42085         normalize after ldbl_extract_mantissa, and don't add hidden bit
42086         already handled.  Don't treat low word of ieee854 mantissa like
42087         low word of IBM long double and mask off bit when testing for
42088         zero.
42089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42090         all uses of ieee875 long double macros and unions.  Simplify tests
42091         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42092         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42093         two1022, instead use their values.  Recognise that tests for large
42094         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42095         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42096         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42097         test for 0.0L and nan.  Correct negation.
42098         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42099         ieee875 long double macros and unions.  Correct output for large
42100         magnitude x.  Correct absolute value calculation.
42101         (__erfcl): Likewise.
42102         * math/libm-test.inc: Add tests for errors discovered in IBM long
42103         double versions of fmodl, remainderl, erfl and erfcl.
42105 2013-10-04  Alan Modra  <amodra@gmail.com>
42107         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42108         all uses of ieee854 long double macros and unions.  Simplify tests
42109         for long doubles that are fully specified by the high double.
42110         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42111         Likewise.
42112         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42113         Remove dead code too.
42114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42115         (__ieee754_ynl): Likewise.
42116         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42118         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42119         Remove dead code too.
42120         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42121         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42122         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42124         Simplify.
42125         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42126         Simplify.
42127         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42129         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42130         Comment on variable precision.
42131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42133         Likewise.
42134         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42135         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42136         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42137         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42138         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42140 2013-10-04  Alan Modra  <amodra@gmail.com>
42142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42144         all uses of ieee854 long double macros and unions.
42145         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42146         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42147         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42148         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42149         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42150         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42151         Likewise.
42152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42153         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42154         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42155         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42156         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42157         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42158         Simplify sign and nan test too.
42159         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42160         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42161         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42162         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42163         Likewise.
42164         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42165         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42166         Likewise.
42167         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42168         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42169         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42170         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42171         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42174 2013-10-04  Alan Modra  <amodra@gmail.com>
42176         * stdio-common/printf_size.c (__printf_size): Don't use
42177         union ieee854_long_double in fpnum union.
42178         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42179         signbit macro to retrieve sign from long double.
42180         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42181         retrieve sign from long double.
42182         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42183         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42184         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42185         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42186         * math/test-misc.c (main): Don't use union ieee854_long_double.
42188 2013-10-04  Alan Modra  <amodra@gmail.com>
42190         [BZ #15680]
42191         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42192         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42193         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42194         calculation.  Remove unnecessary test for denormal exponent.
42195         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42196         Correct handling of denormals.  Avoid undefined shift behaviour.
42197         Correct normalisation of low mantissa when low double is denormal.
42198         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42199         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42200         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42201         Correct normalisation of low mantissa.  Test for overflow of high
42202         mantissa and normalise.
42203         (ldbl_nearbyint): Use more readable constant for two52.
42204         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42205         (__mpn_construct_long_double): Fix test for overflow of high
42206         mantissa and correct normalisation.  Avoid undefined shift.
42208 2013-10-04  Alan Modra  <amodra@gmail.com>
42210         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42211         (union ibm_extended_long_double): Define as an array of ieee754_double.
42212         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42213         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42214         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42215         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42216         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42217         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42218         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42219         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42220         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42221         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42222         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42224 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42226         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42227         page size instead of calling getpagesize.
42229         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42230         (LOCFILE_ALIGN_MASK): Likewise.
42231         (LOCFILE_ALIGN_UP): Likewise.
42232         (LOCFILE_ALIGNED_P): Likewise.
42233         * locale/programs/ld-collate.c (collate_output): Use the new
42234         macros instead of __alignof__ (int32_t).
42235         * locale/weight.h (findidx): Likewise.
42237 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42239         [BZ #431]
42240         * manual/string.texi: Fix strncat and wcsncat.
42242 2013-10-03  Brooks Moses  <bmoses@google.com>
42244         [BZ #15915]
42245         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42246         * Makerules: ...here, and adjust associated comments.
42248 2013-10-02  Will Newton  <will.newton@linaro.org>
42250         * malloc/Makefile: Add tst-pvalloc.
42251         * malloc/tst-pvalloc.c: New file.
42253 2013-10-02  Will Newton  <will.newton@linaro.org>
42255         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42256         improve test coverage.
42258 2013-10-02  Will Newton  <will.newton@linaro.org>
42260         * malloc/Makefile: Add tst-posix_memalign.
42261         * malloc/tst-posix_memalign.c: New file.
42263 2013-10-01  Eric Blake  <eblake@redhat.com>
42265         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42266         Use __THROWNL rather than __THROW on static functions.
42268 2013-09-30  Petr Machata  <pmachata@redhat.com>
42270         * elf/elf.h (R_AARCH64_ABS16): New macro.
42271         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42272         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42273         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42274         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42275         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42276         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42277         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42278         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42279         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42280         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42281         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42282         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42283         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42284         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42285         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42286         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42287         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42288         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42289         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42290         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42291         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42292         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42293         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42294         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42295         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42296         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42297         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42298         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42299         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42300         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42301         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42302         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42303         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42304         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42305         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42306         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42307         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42308         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42309         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42310         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42311         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42312         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42313         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42314         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42315         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42316         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42317         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42318         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42319         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42320         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42321         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42322         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42323         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42324         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42325         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42326         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42327         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42328         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42329         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42330         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42331         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42332         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42333         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42334         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42335         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42336         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42337         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42338         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42339         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42340         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42341         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42342         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42343         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42344         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42345         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42346         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42347         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42348         (R_AARCH64_TLSDESC_LDR): Likewise.
42349         (R_AARCH64_TLSDESC_ADD): Likewise.
42350         (R_AARCH64_TLSDESC_CALL): Likewise.
42352 2013-09-30  Andreas Schwab  <schwab@suse.de>
42354         [BZ #15048]
42355         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42356         the nss database lookup.
42357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42360 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42362         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42364 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42367         ${Bash-specific parameter/pattern/string} parameter expansion.
42368         * sysdeps/unix/make-syscalls.sh: Likewise.
42370 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42372         * sysdeps/sh/stackguard-macros.h: New file.
42374 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42378         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42379         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42380         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42381         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42383 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42385         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42386         Fix thread ID register.
42388 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42390         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42391         [POSIX || UNIX98]: Require rather than permitting all symbols from
42392         <time.h>.
42393         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42394         element of struct sched_param.
42395         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42396         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42397         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42398         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42399         constant.
42401 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42403         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42404         argument calculation.
42406 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42408         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42409         Expect macro.
42410         [POSIX] (pthread_attr_t): Do not require type.
42411         [POSIX] (pthread_cond_t): Likewise.
42412         [POSIX] (pthread_condattr_t): Likewise.
42413         [POSIX] (pthread_key_t): Likewise.
42414         [POSIX] (pthread_mutex_t): Likewise.
42415         [POSIX] (pthread_mutexattr_t): Likewise.
42416         [POSIX] (pthread_once_t): Likewise.
42417         [POSIX] (pthread_t): Likewise.
42418         [POSIX-based standards] (pthread_atfork): Expect function.
42420 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42421             Richard Sandiford  <richard@codesourcery.com>
42423         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42424         (swap_endianness_p): New extern variable.
42425         (set_big_endian): New inline function.
42426         (maybe_swap_uint32): Likewise.
42427         (maybe_swap_uint32_array): Likewise.
42428         (maybe_swap_uint32_obstack): Likewise.
42429         * locale/programs/locfile.c: Include <stdbool.h>.
42430         (swap_endianness_p): New variable.
42431         (add_locale_uint32): Call maybe_swap_uint32.
42432         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42433         (write_locale_data): Call maybe_swap_uint32_array.
42434         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42435         maybe_swap_uint32.
42436         (obstack_int32_grow_fast): Likewise.
42437         (output_weightwc): Call maybe_swap_uint32_obstack.
42438         (collate_output): Likewise.
42439         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42440         (OPT_LITTLE_ENDIAN): Likewise.
42441         (options): Add --little-endian and --big-endian options.
42442         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42443         * locale/programs/locarchive.c: Include "locfile.h".
42444         (GET): New macro.
42445         (SET): Likewise.
42446         (INC): Likewise.
42447         (create_archive): Use the new macros to access fields of
42448         structures directly mapped from or written to locale archives.
42449         (oldlocrecentcmp): Likewise.
42450         (enlarge_archive): Likewise.
42451         (insert_name): Likewise.
42452         (add_alias): Likewise.
42453         (add_locale): Likewise.
42454         (delete_locales_from_archive): Likewise.
42455         (show_archive_content): Likewise.
42456         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42457         locale data.
42459 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42461         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42462         http://www.gnu.org/doc/freemanuals.texi.
42463         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42465 2013-09-24  Will Newton  <will.newton@linaro.org>
42467         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42468         macro.
42470 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42472         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42473         unsigned char.
42475 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42477         * manual/threads.texi (POSIX Threads): Fix a typo.
42479 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42481         [BZ #14547]
42482         * string/tst-strcoll-overflow.c: New test case.
42483         * string/Makefile (xtests): Add tst-strcoll-overflow.
42484         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42485         cache if string sizes may cause integer overflow.
42487         [BZ #14547]
42488         * string/strcoll_l.c (coll_seq): New members rule, idx,
42489         save_idx and back_us.
42490         (get_next_seq_nocache): New function.
42491         (do_compare_nocache): New function.
42492         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42493         when malloc fails.
42495 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42497         [BZ #15754]
42498         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42499         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42500         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42502         [BZ #15754]
42503         * elf/Makefile (tests): Add tst-ptrguard1.
42504         (tests-static): Add tst-ptrguard1-static.
42505         (tst-ptrguard1-ARGS): Define.
42506         (tst-ptrguard1-static-ARGS): Define.
42507         * elf/tst-ptrguard1.c: New file.
42508         * elf/tst-ptrguard1-static.c: New file.
42509         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42510         * sysdeps/i386/stackguard-macros.h: Likewise.
42511         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42512         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42513         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42514         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42515         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42516         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42518 2013-09-23  Hector Marco  <hecmargi@upv.es>
42519             Ismael Ripoll  <iripoll@disca.upv.es>
42520             Carlos O'Donell  <carlos@redhat.com>
42522         [BZ #15754]
42523         * sysdeps/generic/stackguard-macros.h: Define
42524         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42525         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42526         Define __pointer_chk_guard_local.
42527         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42528         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42530 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42532         [BZ #15859]
42533         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42535 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42537         * include/string.h (__ffs): Declare as hidden.
42538         * string/ffs.c (__ffs): Define as hidden.
42539         * sysdeps/i386/ffs.c (__ffs): Likewise.
42540         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42541         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42542         * sysdeps/s390/ffs.c (__ffs): Likewise.
42543         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42545 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42547         * NEWS: Mention malloc probes.
42549         * malloc/arena.c (new_heap): New memory_heap_new probe.
42550         (grow_heap): New memory_heap_more probe.
42551         (shrink_heap): New memory_heap_less probe.
42552         (heap_trim): New memory_heap_free probe.
42553         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42554         (systrim): New memory_sbrk_less probe.
42555         * manual/probes.texi: Document them.
42557         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42558         * manual/probes.texi: Document it.
42560         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42561         (__libc_realloc): Add memory_realloc_retry probe.
42562         (__libc_memalign): Add memory_memalign_retry probe.
42563         (__libc_valloc): Add memory_valloc_retry probe.
42564         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42565         (__libc_calloc): Add memory_calloc_retry probe.
42566         * manual/probes.texi: Document them.
42568         * malloc/arena.c (get_free_list): Add probe
42569         memory_arena_reuse_free_list.
42570         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42571         and memory_arena_reuse.
42572         (arena_get2) [!PER_THREAD]: Likewise.
42573         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42574         memory_arena_reuse_realloc.
42575         * manual/probes.texi: Document them.
42577         * malloc/malloc.c (__libc_free): Add
42578         memory_mallopt_free_dyn_thresholds probe.
42579         (__libc_mallopt): Add multiple memory_mallopt probes.
42580         * manual/probes.texi: Document them.
42582         * malloc/malloc.c: Include stap-probe.h.
42583         (__libc_mallopt): Add memory_mallopt probe.
42584         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42585         * manual/probes.texi: New.
42586         * manual/Makefile (chapters): Add probes.
42587         * manual/threads.texi: Set next node.
42589 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42591         [BZ #15963, #13985]
42592         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42593         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42594         Add `Chinese' to `nan' entry name.
42596 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42598         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42599         (POLYNOMIAL): Likewise.
42600         (TAYLOR_SINCOS): Likewise.
42601         (TAYLOR_SLOW): Likewise.
42602         (__sin): Use TAYLOR_SINCOS.
42603         (__cos): Likewise.
42604         (slow): Use TAYLOR_SLOW.
42605         (sloww): Likewise.
42606         (bsloww): Likewise.
42607         (csloww): Likewise.
42609 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42611         * stdlib/strtod_l.c: Fix buffer overrun.
42613 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42615         * benchtests/Makefile (bench): Add sincos.
42616         * benchtests/bench-sincos.c: New file.
42618         * math/libm-test.inc (cos_test_data): New test inputs.
42619         (sin_test_data): Likewise.
42621         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42622         macro.
42623         (__sin): Use it.
42624         (__cos): Likewise.
42625         (slow1): Likewise.
42626         (slow2): Likewise.
42627         (sloww1): Likewise.
42628         (sloww2): Likewise.
42629         (bsloww1): Likewise.
42630         (bsloww2): Likewise.
42631         (cslow2): Likewise.
42632         (csloww1): Likewise.
42633         (csloww2): Likewise.
42635         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42636         function.
42637         (__sin): Use it.
42638         (__cos): Likewise.
42640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42641         gotos.
42642         (__cos): Likewise.
42644 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42646         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42647         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42648         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42649         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42650         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42651         * elf/cache.c (print_entry): Handle the new cache flags.
42653 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42654             Aldy Hernandez  <aldyh@redhat.com>
42656         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42657         Change condition to [_SOFT_FLOAT].
42658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42660         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42662         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42670         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42673         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42674         declaration.
42676 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42678         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42679         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42680         (__longjmp): Use LOAD_GP to load saved GPRs.
42681         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42682         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42683         (__sigsetjmp): Use SAVE_GP to save GPRs.
42685         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42686         Do not append -msoft-float.
42687         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42689 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42691         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42693 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42695         [BZ #15966]
42696         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42697         (_FPU_GETCW): Use initial "__" on variable and field names but not
42698         on macro parameter name.
42699         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42700         parentheses around reference to macro parameter.
42702 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42704         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42705         prototype.
42706         (ctype_startup): Use uint32_t in cast and sizeof for
42707         ctype->charnames.
42709 2013-09-11  Jia Liu  <proljc@gmail.com>
42711         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42712         __daddr_t_defined.
42713         [__FreeBSD__]: Likewise.
42715 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42718         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42719         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42720         (strchr): Remove __strchr_sse42 ifunc selection.
42721         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42722         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42724 2013-09-11  Will Newton  <will.newton@linaro.org>
42726         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42727         parameter to RES. Remove hardcoded 1000 value.
42728         * benchtests/bench-skeleton.c (main): Pass RES parameter
42729         to TIMING_INIT and multiply result by 1000.
42731 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42735 2013-09-11  Andreas Schwab  <schwab@suse.de>
42737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42738         if not defined.
42739         (O_TMPFILE) [__USE_GNU]: Define.
42740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42741         Define.
42743 2013-09-11  Will Newton  <will.newton@linaro.org>
42745         [BZ #15857]
42746         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42747         does not overflow.
42749 2013-09-11  Will Newton  <will.newton@linaro.org>
42751         [BZ #15856]
42752         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42753         does not overflow.
42755 2013-09-11  Will Newton  <will.newton@linaro.org>
42757         [BZ #15855]
42758         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42759         does not overflow.
42761 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42763         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42764         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42765         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42766         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42767         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42769 2013-09-10  Allan McRae  <allan@archlinux.org>
42771         [BZ #15748]
42772         * manual/arith.texi (Parsing of Floats): Clarify
42773         cross-reference.
42775         [BZ #15849]
42776         * manual/install.texi (Running make install): Mention
42777         --enable-pt-chown.
42778         * INSTALL: Regenerated.
42780 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42782         * csu/init-first.c (_init): Remove the !SHARED condition around
42783         FPU control word initialization.
42784         * elf/dl-support.c (_dl_fpu_control): New variable.
42785         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42786         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42787         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42788         * math/test-fpucw-static.c: New file.
42789         * math/test-fpucw-ieee.c: New file.
42790         * math/test-fpucw-ieee-static.c: New file.
42791         * math/Makefile (tests): Add `test-fpucw-ieee' and
42792         `$(tests-static)'.
42793         (tests-static): New variable.
42794         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42795         dependency to...
42796         [($(build-shared),yes)]
42797         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42798         ... this.
42799         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42800         New dependency.
42802 2013-09-09  Allan McRae  <allan@archlinux.org>
42804         [BZ #15939]
42805         * manual/string.texi (Collation Functions): Fix typo in
42806         strcoll example.
42807         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42809         [BZ #15893]
42810         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42812         [BZ #15892]
42813         * libio/memstream.c (open_memstream): Fix memory leak.
42814         * libio/wmemstream.c (open_wmemstream): Likewise.
42816         [BZ #15895]
42817         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42819 2013-09-09  Will Newton  <will.newton@linaro.org>
42821         * malloc/Makefile: Add tst-realloc to tests.
42822         * malloc/tst-realloc.c: New file.
42824 2013-09-09  Allan McRae  <allan@archlinux.org>
42826         [BZ #15844]
42827         * COPYING: Update from GNU website to fix FSF address.
42828         * COPYING.LIB: Likewise.
42830 2013-09-06  David S. Miller  <davem@davemloft.net>
42832         * po/zh_TW.po: Update Chinese (traditional) translation from
42833         translation project.
42835 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42836             Joseph Myers  <joseph@codesourcery.com>
42838         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42839         "localeinfo.h".
42840         (obstack_chunk_alloc): New macro.
42841         (obstack_chunk_free): Likewise.
42842         (record_offset): New function.
42843         (init_locale_data): Likewise.
42844         (align_locale_data): Likewise.
42845         (add_locale_empty): Likewise.
42846         (add_locale_raw_data): Likewise.
42847         (add_locale_raw_obstack): Likewise.
42848         (add_locale_string): Likewise.
42849         (add_locale_wstring): Likewise.
42850         (add_locale_uint32): Likewise.
42851         (add_locale_uint32_array): Likewise.
42852         (add_locale_char): Likewise.
42853         (start_locale_structure): Likewise.
42854         (end_locale_structure): Likewise.
42855         (start_locale_prelude): Likewise.
42856         (end_locale_prelude): Likewise.
42857         (write_locale_data): Take locale_file structure rather than an
42858         iovec.
42859         * locale/programs/locfile.h: Include "obstack.h".
42860         (struct locale_file): Change to store locale file contents instead
42861         of header.
42862         (init_locale_data): New prototype.
42863         (align_locale_data): Likewise.
42864         (add_locale_empty): Likewise.
42865         (add_locale_raw_data): Likewise.
42866         (add_locale_raw_obstack): Likewise.
42867         (add_locale_string): Likewise.
42868         (add_locale_wstring): Likewise.
42869         (add_locale_uint32): Likewise.
42870         (add_locale_uint32_array): Likewise.
42871         (add_locale_char): Likewise.
42872         (start_locale_structure): Likewise.
42873         (end_locale_structure): Likewise.
42874         (start_locale_prelude): Likewise.
42875         (end_locale_prelude): Likewise.
42876         (write_locale_data): Update prototype.
42877         * locale/programs/3level.h (struct TABLE): Remove result field.
42878         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42879         Use new locale_file interface.
42880         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42881         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42882         * locale/programs/ld-address.c (address_output): Use new
42883         locale_file interface.
42884         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42885         NO_ADD_LOCALE.
42886         (collate_finish): Don't call collseq_table_finalize.
42887         (collate_output): Use new locale_file interface.
42888         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42889         in file.
42890         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42891         (TABLE): Move defines earlier in file.
42892         (ELEMENT): Likewise.
42893         (DEFAULT): Likewise.
42894         (wctrans_table_add): Move macro and inline function earlier in
42895         file.
42896         (struct wctype_table): Move type earlier in file.
42897         (add_locale_wctype_table): New static prototype.
42898         (struct locale_ctype_t): Use logical types instead of struct iovec
42899         pointers for members.
42900         (ctype_output): Use new locale_file interface.
42901         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42902         new locale_file interface.
42903         (allocate_arrays): Update for use of new locale_file interface.
42904         * locale/programs/ld-identification.c (identification_output): Use
42905         new locale_file interface.
42906         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42907         * locale/programs/ld-messages.c (messages_output): Likewise.
42908         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42909         * locale/programs/ld-name.c (name_output): Likewise.
42910         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42911         * locale/programs/ld-paper.c (paper_output): Likewise.
42912         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42913         * locale/programs/ld-time.c (time_output): Likewise.
42915 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42917         * benchtests/Makefile: Add memrchr benchmark.
42918         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42919         benchmark as memrchr.
42920         * benchtests/bench-memrchr-ifunc.c: New file.
42921         * benchtests/bench-memrchr.c: New file.
42923 2013-09-06   Will Newton  <will.newton@linaro.org>
42925         * benchtests/Makefile (string-bench): Add memcpy.
42927 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42928             Cong Wang  <amwang@redhat.com>
42930         [BZ #15850]
42931         * sysdeps/unix/sysv/linux/bits/in.h
42932         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42933         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42934         before __USE_KERNEL_IPV6_DEFS uses.
42935         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42936         IPPROTO_BEETPH.
42937         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42938         sockaddr_in6, or ipv6_mreq.
42940 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42942         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42943         memory access for final bytes in some large inputs.
42944         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42946 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42948         * string/test-memrchr.c: New file.
42949         * string/test-memrchr-ifunc.c: New file.
42950         * string/Makefile: Add new memrchr testcase.
42952 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42954         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42955         fanotify_init returns EPERM.
42957 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42959         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42960         errors.
42961         (top level): Treat second token from macro or constant entries for
42962         allowed headers as allowed.
42963         * include/complex.h: Condition internal declarations on
42964         [!_ISOMAC].
42965         * include/fenv.h: Condition include of <stdbool.h> and internal
42966         declarations on [!_ISOMAC].
42968 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42970         [BZ #15923]
42971         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42973 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42975         * configure.in (--enable-versioning): Remove configure option.
42976         (libc_cv_asm_symver_directive): Remove configure test.
42977         (libc_cv_ld_version_script_option): Likewise.
42978         (VERSIONING): Remove variable and AC_SUBST.
42979         (DO_VERSIONING): Remove AC_DEFINE.
42980         * configure: Regenerated.
42981         * config.h.in (DO_VERSIONING): Remove macro.
42982         * Makerules [$(versioning) = yes]: Change conditionals to
42983         [$(build-shared) = yes].
42984         * config.make.in (versioning): Remove variable.
42985         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42986         [$(build-shared) = yes].
42987         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42988         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42989         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42990         [$(build-shared) = yes].
42991         * extra-lib.mk [$(versioning) = yes]: Likewise.
42992         * hurd/Makefile [$(versioning) = yes]: Likewise.
42993         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42994         [SHARED].
42995         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42996         [SHARED].
42997         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42998         [SHARED && !NO_HIDDEN].
42999         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43000         [SHARED].
43001         [SHARED && DO_VERSIONING]: Likewise..
43002         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43003         [$(build-shared) = yes].
43004         * manual/install.texi (--disable-versioning): Remove
43005         documentation.
43006         * INSTALL: Regenerated.
43007         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43008         to [SHARED].
43009         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43010         [$(build-shared) = yes].
43011         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43012         * sysdeps/i386/i686/multiarch/strstr-c.c
43013         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43014         [SHARED && !NO_HIDDEN].
43015         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43016         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43017         * sysdeps/powerpc/powerpc32/dl-machine.c
43018         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43019         * sysdeps/powerpc/powerpc32/sysdep.h
43020         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43021         to [SHARED && PIC && !NO_HIDDEN].
43022         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43023         conditional to [SHARED].
43025 2013-09-04   Will Newton  <will.newton@linaro.org>
43027         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43028         * benchtests/bench-string.h: Include bench-timing.h instead
43029         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43030         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43031         call to HP_TIMING_DIFF_INIT.
43032         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43033         instead of hp-timing.h macros.
43034         * benchtests/bench-memchr.c: Likewise.
43035         * benchtests/bench-memcmp.c: Likewise.
43036         * benchtests/bench-memcpy.c: Likewise.
43037         * benchtests/bench-memmem.c: Likewise.
43038         * benchtests/bench-memmove.c: Likewise.
43039         * benchtests/bench-memset.c: Likewise.
43040         * benchtests/bench-rawmemchr.c: Likewise.
43041         * benchtests/bench-strcasecmp.c: Likewise.
43042         * benchtests/bench-strcasestr.c: Likewise.
43043         * benchtests/bench-strcat.c: Likewise.
43044         * benchtests/bench-strchr.c: Likewise.
43045         * benchtests/bench-strcmp.c: Likewise.
43046         * benchtests/bench-strcpy.c: Likewise.
43047         * benchtests/bench-strcpy_chk.c: Likewise.
43048         * benchtests/bench-strlen.c: Likewise.
43049         * benchtests/bench-strncasecmp.c: Likewise.
43050         * benchtests/bench-strncat.c: Likewise.
43051         * benchtests/bench-strncmp.c: Likewise.
43052         * benchtests/bench-strncpy.c: Likewise.
43053         * benchtests/bench-strnlen.c: Likewise.
43054         * benchtests/bench-strpbrk.c: Likewise.
43055         * benchtests/bench-strrchr.c: Likewise.
43056         * benchtests/bench-strspn.c: Likewise.
43057         * benchtests/bench-strstr.c: Likewise.
43059 2013-09-04  Will Newton  <will.newton@linaro.org>
43061         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43063 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43065         [BZ #15427]
43066         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43067         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43068         * math/libm-test.inc (lgamma_test_data): Add more tests.
43069         * sysdeps/i386/fpu/libm-test-ulps: Update.
43070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43072 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43074         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43076         Add ifunc.
43077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43078         Add strcmp-sse2-unaligned
43079         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43081 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43083         * Versions.def (libc): Add GLIBC_2.19.
43085 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43087         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43088         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43090 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43092         [BZ #14155]
43093         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43094         intermediate calculations in recurrence.
43095         (__ieee754_ynf): Likewise.
43096         * math/libm-test.inc (jn_test_data): Do not allow spurious
43097         underflow exception.  Add more tests.
43098         (yn_test_data): Add more tests.
43099         * sysdeps/i386/fpu/libm-test-ulps: Update.
43100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43102 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43104         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43106 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43108         * csu/init-first.c: Fix then/than typos.
43109         * locale/programs/ld-collate.c: Likewise.
43110         * locale/programs/linereader.h: Likewise.
43111         * manual/charset.texi: Likewise.
43112         * manual/filesys.texi: Likewise.
43113         * manual/stdio.texi: Likewise.
43114         * manual/string.texi: Likewise.
43115         * stdlib/fmtmsg.c: Likewise.
43116         * sysdeps/i386/stpncpy.S: Likewise.
43117         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43118         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43120         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43122 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43124         * elf/dl-open.c: Fix typos.
43125         * iconvdata/gbbig5.c: Likewise.
43126         * iconvdata/iso-2022-jp.c: Likewise.
43127         * iconv/gconv_int.h: Likewise.
43128         * iconv/loop.c: Likewise.
43129         * nis/rpcsvc/nis.h: Likewise.
43130         * resolv/ns_name.c: Likewise.
43131         * stdio-common/vfscanf.c: Likewise.
43132         * streams/stropts.h: Likewise.
43133         * sunrpc/rpc_thread.c: Likewise.
43134         * sysdeps/i386/strpbrk.S: Likewise.
43135         * sysdeps/ieee754/k_standard.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43138         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43139         * sysdeps/mach/hurd/profil.c: Likewise.
43140         * sysdeps/s390/dl-procinfo.h: Likewise.
43141         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43142         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43143         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43144         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43147 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43149         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43152 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43154         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43155         aix specific files.
43156         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43157         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43158         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43159         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43160         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43161         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43162         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43163         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43165 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43166             Roland McGrath  <roland@hack.frob.com>
43168         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43169         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43171 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43173         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43174         __executable_start symbol instead of _start.
43176 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43178         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43179         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43180         Move macros to...
43181         * sysdeps/gnu/ldsodefs.h: ... this new file.
43183         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43184         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43185         instead of ELFOSABI_LINUX.
43187         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43188         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43189         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43190         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43191         Likewise.
43192         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43193         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43194         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43195         Likewise.
43196         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43197         (ibm_extended_long_double): Add ieee_nan member.
43198         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43199         (do_test): New function.
43201         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43202         TEST_TRUNC.
43203         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43204         functions, renamed from truncdfsf_test, trunctfsf_test,
43205         trunctfdf_test.
43206         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43207         functions.
43208         (do_test): Run all these.
43210 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43212         * argp/argp-help.c: Fix typos.
43213         * argp/argp-parse.c: Likewise.
43214         * debug/backtracesyms.c: Likewise.
43215         * elf/elf.h: Likewise.
43216         * malloc/malloc.c: Likewise.
43217         * nis/nis_print.c: Likewise.
43218         * resolv/res_comp.c: Likewise.
43219         * stdlib/stdlib.h: Likewise.
43220         * sunrpc/clnt_tcp.c: Likewise.
43221         * sunrpc/clnt_udp.c: Likewise.
43222         * sunrpc/clnt_unix.c: Likewise.
43223         * sysdeps/unix/bsd/ptsname.c: Likewise.
43224         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43225         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43227         Likewise.
43228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43229         Likewise.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43231         Likewise.
43232         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43234 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43236         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43239 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43241         [BZ #15897]
43242         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43243         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43244         ($(objpfx)bug-dl-leaf): New rule.
43245         ($(objpfx)bug-dl-leaf.so): Likewise.
43246         ($(objpfx)bug-dl-leaf.out): Likewise.
43247         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43248         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43249         * dlfcn/bug-dl-leaf.c: New test.
43250         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43251         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43252         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43253         (dlclose): Likewise.
43254         (dlmopen): Likewise.
43256 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43258         * include/netdb.h [!_ISOMAC]:
43259         Don't include <tls.h>.
43260         (h_errno, __libc_h_errno): Move declaration and macros out of
43261         [_LIBC_REENTRANT].
43263         * include/resolv.h [_RESOLV_H_]:
43264         Don't include <tls.h>.
43265         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43266         * resolv/res_libc.c: Don't include <tls.h>.
43267         (_res): Use __attribute__ ((nocommon)) in place of
43268         __attribute__ ((section (".bss"))).
43270         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43271         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43273         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43275         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43276         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43278         * resolv/res_mkquery.c: Include <sys/time.h>.
43280         * inet/ifreq.c: Moved to ...
43281         * sysdeps/unix/ifreq.c: ... here.
43282         * inet/ifreq.c: New file, true stub version.
43284         * socket/sa_len.c: New file.
43285         * socket/Makefile (aux): Add it.
43286         * sysdeps/unix/sysv/linux/Makefile
43287         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43288         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43289         and #include <socket/sa_len.c>.
43290         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43291         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43293         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43294         * bits/socket.h: ... here.
43296         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43297         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43298         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43300 2013-08-27  Andreas Schwab  <schwab@suse.de>
43302         [BZ #15736]
43303         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43304         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43305         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43306         * string/test-strcasecmp.c (test_main): Run tests in several
43307         locales.
43308         * string/test-strncasecmp.c (test_main): Likewise.
43310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43311         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43312         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43314         (__strncasecmp_ssse3) [PIC]: Likewise.
43316 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43318         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43320         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43321         instead of explicitly declaring xdecrypt.
43322         * nis/nss_nis/nis-publickey.c: Likewise.
43324 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43326         [BZ #15890]
43327         * nscd/aicache.c: Include res_hconf.h.
43328         (addhstaiX): Initialize res_hconf.
43330 2013-08-26  Andreas Schwab  <schwab@suse.de>
43332         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43333         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43335 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43337         * nscd/aicache.c (addhstaiX): Fix indentation.
43339 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43341         * configure.ac: Quote $build_pt_chown test.
43342         * configure: Regenerated.
43344 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43346         [BZ #15532]
43347         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43348         * math/s_cexpf.c (__cexpf): Likewise.
43349         * math/s_cexpl.c (__cexpl): Likewise.
43350         * math/libm-test.inc (cexp_test_data): Correct expected return
43351         value for NaN + i0.  Add another test.
43353 2013-08-22  David S. Miller  <davem@davemloft.net>
43355         * po/ca.po: Update Catalan translation from translation project.
43356         * po/uk.po: Add Ukrainian translations from translation project.
43358 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43360         [BZ #15797]
43361         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43362         is infinite, not alongside NaN test.
43363         * math/s_fdimf.c (__fdimf): Likewise.
43364         * math/s_fdiml.c (__fdiml): Likewise.
43365         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43366         errno is unchanged.
43368 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43370         * argp/argp-help.c: Fix typos.
43371         * crypt/speeds.c: Likewise.
43372         * csu/check_fds.c: Likewise.
43373         * elf/dl-load.c: Likewise.
43374         * elf/dl-open.c: Likewise.
43375         * elf/reldep3.c: Likewise.
43376         * elf/reldep.c: Likewise.
43377         * elf/sprof.c: Likewise.
43378         * iconv/iconv_charmap.c: Likewise.
43379         * iconv/skeleton.c: Likewise.
43380         * iconv/strtab.c: Likewise.
43381         * io/lockf64.c: Likewise.
43382         * libio/libioP.h: Likewise.
43383         * resolv/gai_notify.c: Likewise.
43384         * resolv/ns_name.c: Likewise.
43385         * resolv/ns_samedomain.c: Likewise.
43386         * resolv/res_send.c: Likewise.
43387         * stdlib/random.c: Likewise.
43388         * sunrpc/rpc/xdr.h: Likewise.
43389         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43390         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43391         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43392         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43393         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43394         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43397         * sysdeps/mach/hurd/check_fds.c: Likewise.
43398         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43399         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43400         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43402         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43403         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43404         * sysdeps/pthread/aio_notify.c: Likewise.
43405         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43406         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43407         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43408         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43409         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43411 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43413         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43414         version if bit_Slow_SSE4_2 is set.
43415         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43416         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43418 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43420         [BZ #15867]
43421         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43422         trampoline stack frame information.
43423         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43425         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43426         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43427         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43428         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43429         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43430         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43431         sa_flags value.
43432         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43433         interrupting a syscall and set with option SA_SIGINFO.
43435 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43437         [BZ #15531]
43438         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43439         argument is infinite.
43440         * math/s_cprojf.c (__cprojf): Likewise.
43441         * math/s_cprojl.c (__cprojl): Likewise.
43442         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43443         * math/libm-test.inc (cproj_test_data): Add more tests.
43445         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43447         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43448         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43449         size.  Use __ffs to determine corresponding shift.
43451 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43452             Roland McGrath  <roland@hack.frob.com>
43454         * Makefile (INSTALL): Remove trailing blank lines from output of
43455         makeinfo.
43457 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43459         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43460         Align 32 bit compat elf_greg to 8 bytes.
43462 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43464         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43466 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43468         * string/strcoll_l.c (coll_seq): New structure.
43469         (get_next_seq_cached): New function.
43470         (get_next_seq): New function.
43471         (do_compare): New function.
43472         (STRCOLL): Use GNU style definition.  Simplify implementation
43473         by using get_next_seq, get_next_seq_cached and do_compare.
43475 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43477         [BZ #14699]
43478         CVE-2013-4237
43479         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43480         member.
43481         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43482         member.
43483         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43484         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43485         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43486         conditional.
43487         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43488         GETDENTS_64BIT_ALIGNED.
43489         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43490         * manual/filesys.texi (Reading/Closing Directory): Document
43491         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43492         strongly.
43493         * manual/conf.texi (Limits for Files): Add portability note to
43494         NAME_MAX, PATH_MAX.
43495         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43497 2013-08-13  Andreas Schwab  <schwab@suse.de>
43499         [BZ #15749]
43500         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43501         of fabs.
43502         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43503         LDBL_MAX_EXP >= 16384]: Add tests for it.
43505 2013-08-12  David S. Miller  <davem@davemloft.net>
43507         * version.h (RELEASE): Set to "development".
43508         (VERSION): Set to "2.18.90".
43509         * NEWS: Add 2.19 section.
43511 2013-08-03  David S. Miller  <davem@davemloft.net>
43513         * po/ko.po: Update Korean translation from translation project.
43515 2013-08-01  David S. Miller  <davem@davemloft.net>
43517         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43518         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43519         Bilka.
43521 2013-07-30  David S. Miller  <davem@davemloft.net>
43523         * po/fr.po: Update French translation from translation project.
43525 2013-07-28  David S. Miller  <davem@davemloft.net>
43527         * po/cs.po: Update Czech translation from translation project.
43529         * po/sv.po: Update Swedish translation from translation project.
43531 2013-07-27  David S. Miller  <davem@davemloft.net>
43533         * po/eo.po: Update Esperanto translation from translation project.
43535         * po/vi.po: Update Vietnamese translation from translation project.
43537         * po/de.po: Update German translation from translation project.
43539 2013-07-26  David S. Miller  <davem@davemloft.net>
43541         * po/bg.po: Update Bulgarian translation from translation project.
43543         * po/nl.po: Update Dutch translation from translation project.
43544         * po/pl.po: Update Polish translation from translation project.
43545         * po/ru.po: Update Russian translation from translation project.
43547 2013-07-24  David S. Miller  <davem@davemloft.net>
43549         * po/libc.pot: Update.
43551 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43553         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43554         variable page size.
43555         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43556         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43557         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43559 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43561         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43563 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564             Andreas Schwab  <schwab@suse.de>
43565             Roland McGrath  <roland@hack.frob.com>
43566             Joseph Myers  <joseph@codesourcery.com>
43567             Carlos O'Donell  <carlos@redhat.com>
43569         [BZ #15755]
43570         * config.h.in: Define HAVE_PT_CHOWN.
43571         * config.make.in (build-pt-chown): New variable.
43572         * configure.in (--enable-pt_chown): New configure option.
43573         * configure: Regenerate.
43574         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43575         build-pt-chown is enabled.
43576         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43577         pt_chown to fix pty ownership.
43578         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43579         CLOSE_ALL_FDS.
43580         * manual/install.texi (Configuring and compiling): Mention
43581         --enable-pt_chown. Add @findex for grantpt.
43582         * INSTALL: Regenerate.
43584 2013-07-20  David S. Miller  <davem@davemloft.net>
43586         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43587         difference between 32-bit and 64-bit.
43589 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43591         [BZ #15711]
43592         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43593         Avoid system header dependency with -ffreestanding.
43594         ($(objpfx)bits/syscall%d): Likewise.
43596 2013-07-13  David S. Miller  <davem@davemloft.net>
43598         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43599         underflows from atanl/atan2l due to bug 15319.
43600         (casinh_test_data): Likewise.
43602 2013-07-07  David S. Miller  <davem@davemloft.net>
43604         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43606 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43608         * sysdeps/i386/fpu/libm-test-ulps: Update.
43609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43611 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43613         * configure.in (--enable-lock-elision): Fix message text.
43614         * INSTALL: Regenerate.
43615         * configure: Regenerate.
43617 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43621 2013-07-03  Andreas Jaeger  <aj@suse.de>
43623         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43624         define.
43625         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43626         (ptrace_peeksiginfo_args): Add.
43627         (__ptrace_peeksiginfo_flags): Add.
43628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43629         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43630         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43632 2013-07-03  Allan McRae  <allan@archlinux.org>
43634         * sysdeps/i386/fpu/libm-test-ulps: Update.
43636 2013-07-02  David S. Miller  <davem@davemloft.net>
43638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43640 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43644 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43646         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43649 2013-07-02  Andi Kleen <ak@linux.intel.com>
43651         * config.h.in (ENABLE_LOCK_ELISION): Add.
43652         * configure.in (--enable-lock-elision): Add option.
43653         * manual/install.texi: Document --enable lock elision.
43654         * configure: Regenerate
43655         * INSTALL: Regenerate.
43657 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43659         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43660         SSE4.2 strcasecmp for libc.a.
43661         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43663 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43665         [BZ #13304]
43666         * soft-fp/op-common.h (_FP_FMA): New macro.
43667         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43668         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43669         (_FP_MUL_MEAT_1_imm): ... here.
43670         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43671         (_FP_MUL_MEAT_1_wide): ... here.
43672         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43673         (_FP_MUL_MEAT_1_hard): ... here.
43674         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43675         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43676         (_FP_MUL_MEAT_2_wide): ... here.
43677         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43678         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43679         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43680         (_FP_MUL_MEAT_2_gmp): ... here.
43681         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43682         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43683         (_FP_MUL_MEAT_4_wide): ... here.
43684         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43685         (_FP_MUL_MEAT_4_gmp): ... here.
43686         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43687         (_FP_WFRACBITS_DW_S): Likewise.
43688         (_FP_WFRACXBITS_DW_S): Likewise.
43689         (_FP_HIGHBIT_DW_S): Likewise.
43690         (FP_FMA_S): Likewise.
43691         (_FP_FRAC_HIGH_DW_S): Likewise.
43692         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43693         (_FP_WFRACBITS_DW_D): Likewise.
43694         (_FP_WFRACXBITS_DW_D): Likewise.
43695         (_FP_HIGHBIT_DW_D): Likewise.
43696         (FP_FMA_D): Likewise.
43697         (_FP_FRAC_HIGH_DW_D): Likewise.
43698         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43699         (_FP_WFRACBITS_DW_E): Likewise.
43700         (_FP_WFRACXBITS_DW_E): Likewise.
43701         (_FP_HIGHBIT_DW_E): Likewise.
43702         (FP_FMA_E): Likewise.
43703         (_FP_FRAC_HIGH_DW_E): Likewise.
43704         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43705         (_FP_WFRACBITS_DW_Q): Likewise.
43706         (_FP_WFRACXBITS_DW_Q): Likewise.
43707         (_FP_HIGHBIT_DW_Q): Likewise.
43708         (FP_FMA_Q): Likewise.
43709         (_FP_FRAC_HIGH_DW_Q): Likewise.
43710         * soft-fp/fmasf4.c: New file.
43711         * soft-fp/fmadf4.c: Likewise.
43712         * soft-fp/fmatf4.c: Likewise.
43714 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43717         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43718         Silvermont.
43719         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43720         macro.
43721         (index_Slow_SSE4_2): Likewise.
43722         (index_Prefer_PMINUB_for_stringop): Likewise.
43723         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43724         bit_Slow_SSE4_2 is set.
43725         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43726         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43728 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43730         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43731         rtld_global._dl_hwcap2.
43732         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43733         POWER8.
43734         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43735         POWER8 feature descriptions defined in _dl_hwcap2.
43736         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43737         string handling for POWER8 feature bits.
43738         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43739         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43740         _dl_powerpc_cap_flags.
43741         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43742         * sysdeps/powerpc/rtld-global-offsets.sym
43743         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43744         _dl_hwcap2 in the rtld_global_ro structure.
43746 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43748         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43749         hardware capabilities in support of AT_HWCAP2.
43750         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43751         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43752         GLRO(dl_hwcap2).
43753         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43754         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43755         explicitly the unknown a_type display mechanism is used.
43756         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43757         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43758         struct member.
43759         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43760         to macro prototype for AT_HWCAP2 support.
43761         * sysdeps/i386/dl-procinfo.h: Likewise.
43762         * sysdeps/s390/dl-procinfo.h: Likewise.
43763         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43764         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43765         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43766         return -1 for unknown a_type display fallback.
43767         * sysdeps/sparc/dl-procinfo.h: Likewise.
43768         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43769         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43771 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43773         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43774         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43776 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43778         [BZ #12492]
43779         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43780         mprotect making __stack_prot writable.
43782 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43783             Joseph Myers  <joseph@codesourcery.com>
43785         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43786         as being properly aligned.
43788 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43790         * dlfcn/modstatic5.c: New file.
43791         * dlfcn/tststatic5.c: New file.
43792         * dlfcn/Makefile (tests): Add tststatic5.
43793         (tests-static): Likewise.
43794         (modules-names): Add modstatic5.
43795         (tststatic5-ENV): New variable.
43796         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43798         [BZ #15022]
43799         * elf/dl-support.c (_dl_main_map): New variable.
43800         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43801         (_dl_nns, _dl_load_adds): Set to 1.
43802         (_dl_initial_searchlist): Refer to _dl_main_map.
43803         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43804         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43805         call to _dl_get_origin.
43806         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43807         around call_map.
43808         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43809         * dlfcn/modstatic3.c: New file.
43810         * dlfcn/tststatic3.c: New file.
43811         * dlfcn/tststatic4.c: New file.
43812         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43813         (tests-static): Likewise.
43814         (modules-names): Add modstatic3.
43815         (tststatic3-ENV, tststatic4-ENV): New variables.
43816         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43817         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43819 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43821         * configure.in (CC): Require GCC version 4.4 or later.
43822         * configure: Regenerated.
43823         * manual/install.texi (Tools for Compilation): Update GCC version
43824         requirement.
43825         * INSTALL: Regenerated.
43827 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43829         [BZ #15674]
43830         * string/test-memcmp.c (check2): New.
43831         (main): Call check2.
43833         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43835 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43837         [BZ #15022]
43838         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43839         over to...
43840         (dl_open_worker) [!SHARED]: ... here.
43842 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43844         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43846 2013-06-25  Richard Henderson  <rth@redhat.com>
43848         * locale/programs/locarchive.c: Include <libc-internal.h>
43850 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43852         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43853         trailing whitespace removed.
43855 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43857         [BZ #10283]
43858         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43859         * locale/programs/locarchive.c: Include libc-mmap.h.
43860         (prepare_address_space): Take two new outputs (the mmap base and len).
43861         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43862         values.
43863         (create_archive): Declare new mmap base and len values for
43864         prepare_address_space, and store the result in ah.
43865         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43866         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43867         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43868         Declare new mmap base and len values for
43869         prepare_address_space, and store the result in new_ah.
43870         (open_archive): Declare new mmap base and len values for
43871         prepare_address_space, and store the result in ah.
43872         (close_archive): If ah->mmap_base is not NULL, use that and
43873         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43874         * sysdeps/generic/libc-mmap.h: New file.
43876 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43878         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43879         (ALIGN_UP): Likewise.
43880         (PTR_ALIGN_DOWN): Likewise.
43881         (PTR_ALIGN_UP): Likewise.
43883 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43885         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43886         entry mapped to PPC_PLATFORM_POWER8.
43887         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43888         POWER8.
43889         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43890         (_dl_string_platform): Add case for exporting platform position for
43891         POWER8.
43892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43893         search path to sysdeps/powerpc/powerpc32/power8 directory.
43894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43895         search path to sysdeps/powerpc/powerpc64/power8 directory.
43896         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43897         power7 directories.
43898         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43899         power7 directories.
43901 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43903         * INSTALL: Regenerate.
43905         * nscd/connections.c (nscd_init): Fix comment.
43907 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43909         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43911         [BZ #15667]
43912         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43913         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43915 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43917         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43918         DL_DST_REQ_STATIC.
43919         (DL_DST_REQ_STATIC): Remove macro.
43921 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43923         [BZ #7006]
43924         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43925         with a shift of 0 bits.
43927 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43929         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43930         $(tststatic-ENV).
43932 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43934         [BZ #15655]
43935         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43937 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43939         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43940         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43941         accepts -fno-tree-loop-distribute-patterns.
43942         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43943         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43944         recursive call.
43945         * string/memset.c (memset): Likewise.
43946         * string/test-memmove.c (simple_memmove): Disable loop transformation
43947         to library calls.
43948         * string/test-memset.c (simple_memset): Likewise.
43949         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43950         * benchtests/bench-memset.c (simple_memset): Likewise.
43951         * configure: Regenerated.
43953 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43955         * math/test-misc.c (main): Ignore fesetround failure when failures
43956         of subsequent rounding tests would be ignored.
43958         [BZ #15654]
43959         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43960         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43961         * math/fegetenv.c (__fegetenv): Return 0.
43962         * math/fegetexcept.c (fegetexcept): Return 0.
43963         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43964         FE_TONEAREST.
43965         * math/feholdexcpt.c (feholdexcept): Return 0.
43966         * math/fesetenv.c (__fesetenv): Return 0.
43967         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43968         argument FE_TONEAREST.
43969         * math/feupdateenv.c (__feupdateenv): Return 0.
43970         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43972 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43974         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43975         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43976         ($(objpfx)rtld-%.os rules): Use them.
43978 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43980         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43981         fields.
43983 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43985         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43986         length of target pattern, then descending length of dependency pattern.
43987         * configure.in (AWK): Require gawk 3.1.2 or newer.
43988         * manual/install.texi (Tools for Compilation): Say that we do.
43989         * configure: Regenerated.
43991         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43992         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43993         * scripts/sysd-rules.awk: ... this new script.
43994         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43995         than a glob-style pattern.
43997 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43999         * math/test-misc.c (main): Do not treat incorrectly rounded
44000         conversions as failure unless ROUNDING_TESTS passes.
44002 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44004         [BZ #15631]
44005         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44006         restore exception state around main square root computation, then
44007         check for inexactness explicitly.
44009         * math/libm-test.inc (fma_test_data): Add another test.
44011 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44013         * manual/threads.texi (Non-POSIX Extensions): New document
44014         node.  Document pthread_getattr_default_np and
44015         pthread_setattr_default_np.
44017         * Versions.def (libpthread): Add GLIBC_2.18.
44018         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44020         Likewise.
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44022         Likewise.
44023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44024         Likewise.
44025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44026         Likewise.
44027         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44028         Likewise.
44029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44030         Likewise.
44031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44032         Likewise.
44033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44034         Likewise.
44035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44036         Likewise.
44038 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44041         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44043 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44044             H.J. Lu  <hjl.tools@gmail.com>
44046         [BZ #15627]
44047         * sysdeps/x86_64/rtld-memset.c: Remove file.
44048         * sysdeps/x86_64/rtld-memset.S: New file.
44050 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44052         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44053         (test_in_one_mode): Take arguments for whether the rounding mode
44054         is supported for each floating-point type.
44055         (do_test): Pass new arguments to test_in_one_mode using
44056         ROUNDING_TESTS.
44058 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44060         * posix/tst-waitid.c (do_test): Distinguish different instances of
44061         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44062         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44063         before entering the kernel for waitpid.
44065 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44067         * NEWS: Fix note on clock function precision.  Text by Roland
44068         McGrath.
44070 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44072         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44073         it into place only when and if the sanity check passes.
44075 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44077         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44078         output for whether conversion result is exact.  Take argument
44079         indicating whether type is IBM long double.
44080         (round_for_all): Change need_exact field to ibm_ld.
44081         * stdlib/tst-strtod-round.c (struct exactness): New type.
44082         (struct test): Change bool ld_ok field to struct exactness exact.
44083         (TEST): Update all definitions for change to field.
44084         (tests): Regenerate array contents.
44085         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44086         field value.  Check for IBM long double here.
44087         (do_test): Update calls to test_in_one_mode.
44089 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44091         [BZ #12515]
44092         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44093         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44095 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44097         [BZ #15605]
44098         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44099         generated by the compiler on loop optimizations.
44100         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44101         general definitions.
44103 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44105         * math/bug-nextafter.c: Include <math-tests.h>.
44106         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44107         the relevant type.
44108         * math/bug-nexttoward.c: Include <math-tests.h>.
44109         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44110         the relevant type.
44111         * math/test-misc.c: Include <math-tests.h>.
44112         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44113         the relevant type.
44115 2013-06-12  Andreas Jaeger  <aj@suse.de>
44117         * po/ia.po: Update Interlingua translation from translation
44118         project.
44120 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44122         * include/fenv.h: Include stdbool.h.
44123         (struct rm_ctx): New structure.
44124         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44125         Define macro.
44126         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44127         (SET_RESTORE_ROUNDF): Likewise.
44128         (SET_RESTORE_ROUNDL): Likewise.
44129         (SET_RESTORE_ROUND_NOEX): Likewise.
44130         (SET_RESTORE_ROUND_NOEXF): Likewise.
44131         (SET_RESTORE_ROUND_NOEXL): Likewise.
44132         (SET_RESTORE_ROUND_53BIT): Likewise.
44133         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44134         (libc_feresetround_noexf_ctx): Likewise.
44135         (libc_feresetround_noexl_ctx): Likewise.
44136         (libc_feholdsetround_53bit_ctx): Likewise.
44137         (libc_feresetround_53bit_ctx): Likewise.
44138         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44139         (libc_feholdexcept_setround_sse_ctx): New function.
44140         (libc_fesetenv_sse_ctx): Likewise.
44141         (libc_feupdateenv_sse_ctx): Likewise.
44142         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44143         (libc_feholdexcept_setround_387_ctx): Likewise.
44144         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44145         (libc_feholdsetround_387_prec_ctx): Likewise.
44146         (libc_feholdsetround_387_ctx): Likewise.
44147         (libc_feholdsetround_387_53bit_ctx): Likewise.
44148         (libc_feholdsetround_sse_ctx): Likewise.
44149         (libc_feresetround_sse_ctx): Likewise.
44150         (libc_feresetround_387_ctx): Likewise.
44151         (libc_feupdateenv_387_ctx): Likewise.
44152         (libc_feholdexcept_setroundf_ctx): Define macro.
44153         (libc_fesetenvf_ctx): Likewise.
44154         (libc_feupdateenvf_ctx): Likewise.
44155         (libc_feholdsetroundf_ctx): Likewise.
44156         (libc_feresetroundf_ctx): Likewise.
44157         (libc_feholdexcept_setround_ctx): Likewise.
44158         (libc_fesetenv_ctx): Likewise.
44159         (libc_feupdateenv_ctx): Likewise.
44160         (libc_feholdsetround_ctx): Likewise.
44161         (libc_feresetround_ctx): Likewise.
44162         (libc_feholdexcept_setroundl_ctx): Likewise.
44163         (libc_feupdateenvl_ctx): Likewise.
44164         (libc_feholdsetroundl_ctx): Likewise.
44165         (libc_feresetroundl_ctx): Likewise.
44166         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44167         (libc_feresetround_53bit_ctx): Likewise.
44169 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44171         * locale/iso-639.def: Convert to UTF-8.
44173 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44175         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44176         (EXCEPTION_TESTS_double): Likewise.
44177         (EXCEPTION_TESTS_long_double): Likewise.
44178         (EXCEPTION_TESTS): Likewise.
44179         * math/libm-test.inc (test_exceptions): Only test exceptions if
44180         EXCEPTION_TESTS (FLOAT).
44182 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184         * benchtests/Makefile (string-bench): Add strcpy_chk and
44185         stpcpy_chk.
44186         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44187         * benchtests/bench-stpcpy_chk.c: New file.
44188         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44189         * benchtests/bench-strcpy_chk.c: New file.
44190         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44191         code.
44192         (do_test): Likewise.
44194 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44196         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44197         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44198         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44199         with tabs where appropriate.
44200         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44201         dl-procinfo.h.
44202         [PPC_PLATFORM_PPC440]: Likewise.
44203         [PPC_PLATFORM_PPC464]: Likewise.
44204         [PPC_PLATFORM_PPC476]: Likewise.
44205         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44206         ppc464, and ppc476 platform strings merging from ports/
44207         dl-procinfo.h.
44209 2013-06-11  Andreas Schwab  <schwab@suse.de>
44211         [BZ #14991]
44212         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44213         (from_ucs4_idx): Regenerate.
44214         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44215         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44216         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44217         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44218         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44219         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44220         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44221         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44222         from FROM_LOOP and TO_LOOP specific macros.
44223         (BODY): Handle combining characters.
44224         * iconvdata/BIG5HKSCS.irreversible: Update.
44225         * iconvdata/BIG5HKSCS.precomposed: New file.
44226         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44227         characters.
44228         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44230 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44232         * include/sys/time.h: Fix indentation and add copyright header.
44234         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44235         (do_test): Likewise.
44236         * string/test-memchr.c (do_one_test): Likewise.
44237         (do_test): Likewise.
44238         * string/test-memcmp.c (do_one_test): Likewise.
44239         (do_test): Likewise.
44240         * string/test-memcpy.c (do_one_test): Likewise.
44241         (do_test): Likewise.
44242         * string/test-memmem.c (do_one_test): Likewise.
44243         (do_test): Likewise.
44244         (do_random_tests): Likewise.
44245         * string/test-memmove.c (do_one_test): Likewise.
44246         (do_test): Likewise.
44247         * string/test-memset.c (do_one_test): Likewise.
44248         (do_test): Likewise.
44249         * string/test-rawmemchr.c (do_one_test): Likewise.
44250         (do_test): Likewise.
44251         * string/test-strcasecmp.c (do_one_test): Likewise.
44252         (do_test): Likewise.
44253         * string/test-strcasestr.c (do_one_test): Likewise.
44254         (do_test): Likewise.
44255         * string/test-strcat.c (do_one_test): Likewise.
44256         (do_test): Likewise.
44257         * string/test-strchr.c (do_one_test): Likewise.
44258         (do_test): Likewise.
44259         * string/test-strcmp.c (do_one_test): Likewise.
44260         (do_test): Likewise.
44261         * string/test-strcpy.c (do_one_test): Likewise.
44262         (do_test): Likewise.
44263         * string/test-string.h: Likewise.
44264         (test_init): Likewise.
44265         * string/test-strlen.c (do_one_test): Likewise.
44266         (do_test): Likewise.
44267         * string/test-strncasecmp.c (do_one_test): Likewise.
44268         (do_test): Likewise.
44269         * string/test-strncat.c (do_one_test): Likewise.
44270         (do_test): Likewise.
44271         * string/test-strncmp.c (do_one_test): Likewise.
44272         (do_test_limit): Likewise.
44273         (do_test): Likewise.
44274         * string/test-strncpy.c (do_one_test): Likewise.
44275         (do_test): Likewise.
44276         * string/test-strnlen.c (do_one_test): Likewise.
44277         (do_test): Likewise.
44278         * string/test-strpbrk.c (do_one_test): Likewise.
44279         (do_test): Likewise.
44280         * string/test-strrchr.c (do_one_test): Likewise.
44281         (do_test): Likewise.
44282         * string/test-strspn.c (do_one_test): Likewise.
44283         (do_test): Likewise.
44284         * string/test-strstr.c (do_one_test): Likewise.
44285         (do_test): Likewise.
44287         * benchtests/Makefile (string-bench): Add string benchmarks.
44288         * benchtests/bench-bcopy-ifunc.c: New file.
44289         * benchtests/bench-bcopy.c: New file.
44290         * benchtests/bench-bzero-ifunc.c: New file.
44291         * benchtests/bench-bzero.c: New file.
44292         * benchtests/bench-memccpy-ifunc.c: New file.
44293         * benchtests/bench-memccpy.c: New file.
44294         * benchtests/bench-memchr-ifunc.c: New file.
44295         * benchtests/bench-memchr.c: New file.
44296         * benchtests/bench-memcmp-ifunc.c: New file.
44297         * benchtests/bench-memcmp.c: New file.
44298         * benchtests/bench-memmem-ifunc.c: New file.
44299         * benchtests/bench-memmem.c: New file.
44300         * benchtests/bench-memmove-ifunc.c: New file.
44301         * benchtests/bench-memmove.c: New file.
44302         * benchtests/bench-mempcpy-ifunc.c: New file.
44303         * benchtests/bench-mempcpy.c: New file.
44304         * benchtests/bench-memset-ifunc.c: New file.
44305         * benchtests/bench-memset.c: New file.
44306         * benchtests/bench-rawmemchr-ifunc.c: New file.
44307         * benchtests/bench-rawmemchr.c: New file.
44308         * benchtests/bench-stpcpy-ifunc.c: New file.
44309         * benchtests/bench-stpcpy.c: New file.
44310         * benchtests/bench-stpncpy-ifunc.c: New file.
44311         * benchtests/bench-stpncpy.c: New file.
44312         * benchtests/bench-strcasecmp-ifunc.c: New file.
44313         * benchtests/bench-strcasecmp.c: New file.
44314         * benchtests/bench-strcasestr-ifunc.c: New file.
44315         * benchtests/bench-strcasestr.c: New file.
44316         * benchtests/bench-strcat-ifunc.c: New file.
44317         * benchtests/bench-strcat.c: New file.
44318         * benchtests/bench-strchr-ifunc.c: New file.
44319         * benchtests/bench-strchr.c: New file.
44320         * benchtests/bench-strchrnul-ifunc.c: New file.
44321         * benchtests/bench-strchrnul.c: New file.
44322         * benchtests/bench-strcmp-ifunc.c: New file.
44323         * benchtests/bench-strcmp.c: New file.
44324         * benchtests/bench-strcpy-ifunc.c: New file.
44325         * benchtests/bench-strcpy.c: New file.
44326         * benchtests/bench-strcspn-ifunc.c: New file.
44327         * benchtests/bench-strcspn.c: New file.
44328         * benchtests/bench-strlen-ifunc.c: New file.
44329         * benchtests/bench-strlen.c: New file.
44330         * benchtests/bench-strncasecmp-ifunc.c: New file.
44331         * benchtests/bench-strncasecmp.c: New file.
44332         * benchtests/bench-strncat-ifunc.c: New file.
44333         * benchtests/bench-strncat.c: New file.
44334         * benchtests/bench-strncmp-ifunc.c: New file.
44335         * benchtests/bench-strncmp.c: New file.
44336         * benchtests/bench-strncpy-ifunc.c: New file.
44337         * benchtests/bench-strncpy.c: New file.
44338         * benchtests/bench-strnlen-ifunc.c: New file.
44339         * benchtests/bench-strnlen.c: New file.
44340         * benchtests/bench-strpbrk-ifunc.c: New file.
44341         * benchtests/bench-strpbrk.c: New file.
44342         * benchtests/bench-strrchr-ifunc.c: New file.
44343         * benchtests/bench-strrchr.c: New file.
44344         * benchtests/bench-strspn-ifunc.c: New file.
44345         * benchtests/bench-strspn.c: New file.
44346         * benchtests/bench-strstr-ifunc.c: New file.
44347         * benchtests/bench-strstr.c: New file.
44349         * benchtests/Makefile: Disable parallel execution of targets.
44350         (string-bench): Add memcpy.
44351         (benchset): New variable to store a list of benchmark sets.
44352         (bench-func): Renamed from bench.
44353         (bench-set): New target.
44354         (bench): Depend on bench-func and bench-set.
44355         * benchtests/README: Add section on benchmark sets.
44356         * benchtests/bench-memcpy-ifunc.c: New file.
44357         * benchtests/bench-memcpy.c: New file.
44358         * benchtests/bench-string.h: New file.
44360 2013-06-11  Andreas Schwab  <schwab@suse.de>
44362         [BZ #15577]
44363         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44364         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44365         values in the triple.
44366         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44367         terminator in the group key.
44369 2013-06-11  Andreas Jaeger  <aj@suse.de>
44371         * po/zh_TW.po: Update Chinese (traditional) translation from
44372         translation project.
44374 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44376         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44377         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44378         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44380         (clock_getcpuclockid): Likewise.
44381         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44382         Add weak_alias and libc_hidden_def.
44383         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44384         * rt/clock_gettime.c (clock_gettime): Rename to
44385         __clock_gettime.  Add weak_alias and libc_hidden_def.
44386         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44387         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44388         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44389         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44390         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44391         Likewise.
44392         * rt/clock_settime.c (clock_settime): Rename to
44393         __clock_settime.  Add weak_alias and libc_hidden_def.
44394         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44396 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44398         * mach/err_boot.sub: Remove trailing whitespace.
44399         * mach/err_ipc.sub: Likewise.
44400         * mach/err_mach.sub: Likewise.
44402         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44403         (ROUNDING_TESTS_double): Likewise.
44404         (ROUNDING_TESTS_long_double): Likewise.
44405         (ROUNDING_TESTS): Likewise.
44406         * math/libm-test.inc: Include <math-tests.h>.
44407         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44408         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44409         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44410         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44412 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44414         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44415         of assigning.
44417 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44419         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44420         otherwise empty TRANS lines.
44421         * sysdeps/gnu/errlist.c: Regenerated.
44423         * catgets/gencat.c (error_print): Use (void) in function
44424         definition.
44425         * crypt/crypt_util.c (__init_des): Likewise.
44426         * crypt/speeds.c (Stop): Likewise.
44427         (main): Likewise.
44428         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44429         * inet/ruserpass.c (token): Likewise.
44430         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44431         * intl/localealias.c (extend_alias_table): Likewise.
44432         * intl/plural-exp.c (init_germanic_plural): Likewise.
44433         * libio/fcloseall.c (__fcloseall): Likewise.
44434         * libio/genops.c (_IO_flush_all): Likewise.
44435         (_IO_flush_all_linebuffered): Likewise.
44436         (_IO_cleanup): Likewise.
44437         (_IO_iter_begin): Likewise.
44438         (_IO_iter_end): Likewise.
44439         (_IO_list_lock): Likewise.
44440         (_IO_list_unlock): Likewise.
44441         (_IO_list_resetlock): Likewise.
44442         * libio/getchar.c (getchar): Likewise.
44443         * libio/getchar_u.c (getchar_unlocked): Likewise.
44444         * libio/getwchar.c (getwchar): Likewise.
44445         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44446         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44447         * login/getpt.c (__getpt): Likewise.
44448         * login/tst-utmp.c (main): Likewise.
44449         * malloc/hooks.c (__malloc_check_init): Likewise.
44450         * malloc/malloc.c (__malloc_stats): Likewise.
44451         * malloc/mtrace.c (tr_break): Likewise.
44452         (mtrace): Likewise.
44453         (muntrace): Likewise.
44454         * misc/fstab.c (endfsent): Likewise.
44455         * misc/getclktck.c (__getclktck): Likewise.
44456         * misc/getdtsz.c (__getdtablesize): Likewise.
44457         * misc/gethostid.c (gethostid): Likewise.
44458         * misc/getpagesize.c (__getpagesize): Likewise.
44459         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44460         (__get_nprocs): Likewise.
44461         (__get_phys_pages): Likewise.
44462         (__get_avphys_pages): Likewise.
44463         * misc/getttyent.c (getttyent): Likewise.
44464         (setttyent): Likewise.
44465         (endttyent): Likewise.
44466         * misc/getusershell.c (getusershell): Likewise.
44467         (endusershell): Likewise.
44468         (setusershell): Likewise.
44469         (initshells): Likewise.
44470         * misc/hsearch.c (__hdestroy): Likewise.
44471         * misc/sync.c (sync): Likewise.
44472         * misc/syslog.c (closelog_internal): Likewise.
44473         (closelog): Likewise.
44474         * misc/ttyslot.c (ttyslot): Likewise.
44475         * misc/vhangup.c (vhangup): Likewise.
44476         * posix/fork.c (__fork): Likewise.
44477         * posix/getegid.c (__getegid): Likewise.
44478         * posix/geteuid.c (__geteuid): Likewise.
44479         * posix/getgid.c (__getgid): Likewise.
44480         * posix/getpid.c (__getpid): Likewise.
44481         * posix/getppid.c (__getppid): Likewise.
44482         * posix/getuid.c (__getuid): Likewise.
44483         * posix/pause.c (pause): Likewise.
44484         * posix/setpgrp.c (setpgrp): Likewise.
44485         * posix/setsid.c (__setsid): Likewise.
44486         * posix/test-vfork.c (noop): Likewise.
44487         * resolv/gethnamaddr.c (_endhtent): Likewise.
44488         (_gethtent): Likewise.
44489         (ht_endhostent): Likewise.
44490         (gethostent): Likewise.
44491         (dns_service): Likewise.
44492         * stdlib/drand48.c (drand48): Likewise.
44493         * stdlib/lrand48.c (lrand48): Likewise.
44494         * stdlib/mrand48.c (mrand48): Likewise.
44495         * stdlib/rand.c (rand): Likewise.
44496         * stdlib/random.c (__random): Likewise.
44497         * stdlib/setenv.c (clearenv): Likewise.
44498         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44499         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44500         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44501         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44502         (__get_nprocs): Likewise.
44503         (__get_phys_pages): Likewise.
44504         (__get_avphys_pages): Likewise.
44505         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44506         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44507         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44508         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44509         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44510         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44511         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44512         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44513         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44514         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44515         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44516         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44517         * sysdeps/posix/clock.c (clock): Likewise.
44518         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44519         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44520         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44521         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44522         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44524         (__get_nprocs_conf): Likewise.
44525         (__get_phys_pages): Likewise.
44526         (__get_avphys_pages): Likewise.
44527         * time/clock.c (clock): Likewise.
44528         * time/tzset.c (__tzname_max): Likewise.
44530 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44532         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44533         (__bswap_32): Do not use "register".
44534         * crypt/crypt.c (_ufc_doit_r): Likewise.
44535         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44536         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44537         * gmon/gmon.c (__monstartup): Likewise.
44538         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44539         * hurd/hurdmalloc.c (more_memory): Likewise.
44540         (malloc): Likewise.
44541         (free): Likewise.
44542         (realloc): Likewise.
44543         (malloc_fork_prepare): Likewise.
44544         (malloc_fork_parent): Likewise.
44545         (malloc_fork_child): Likewise.
44546         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44547         (_svcauth_des): Likewise.
44548         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44549         * inet/inet_net.c (inet_network): Likewise.
44550         * inet/inet_netof.c (inet_netof): Likewise.
44551         * inet/rcmd.c (__validuser2_sa): Likewise.
44552         * io/fts.c (fts_open): Likewise.
44553         (fts_load): Likewise.
44554         (fts_close): Likewise.
44555         (fts_read): Likewise.
44556         (fts_children): Likewise.
44557         (fts_build): Likewise.
44558         (fts_stat): Likewise.
44559         (fts_sort): Likewise.
44560         (fts_alloc): Likewise.
44561         (fts_lfree): Likewise.
44562         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44563         (_IO_file_xsgetn): Likewise.
44564         (_IO_file_xsgetn_mmap): Likewise.
44565         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44566         (_IO_cookie_write): Likewise.
44567         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44568         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44569         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44570         * malloc/obstack.c (_obstack_begin): Likewise.
44571         (_obstack_begin_1): Likewise.
44572         (_obstack_newchunk): Likewise.
44573         (_obstack_allocated_p): Likewise.
44574         (obstack_free): Likewise.
44575         (_obstack_memory_used): Likewise.
44576         * misc/getttyent.c (getttynam): Likewise.
44577         (getttyent): Likewise.
44578         (skip): Likewise.
44579         (value): Likewise.
44580         * misc/getusershell.c (initshells): Likewise.
44581         * misc/syslog.c (__vsyslog_chk): Likewise.
44582         * misc/ttyslot.c (ttyslot): Likewise.
44583         * nis/nis_hash.c (__nis_hash): Likewise.
44584         * posix/fnmatch_loop.c (FCT): Likewise.
44585         * posix/getconf.c (print_all): Likewise.
44586         (main): Likewise.
44587         * posix/getopt.c (exchange): Likewise.
44588         * posix/glob.c (globfree): Likewise.
44589         (prefix_array): Likewise.
44590         (__glob_pattern_type): Likewise.
44591         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44592         (NS_GET32): Likewise.
44593         (NS_PUT16): Likewise.
44594         (NS_PUT32): Likewise.
44595         * resolv/gethnamaddr.c (getanswer): Likewise.
44596         (gethostbyname2): Likewise.
44597         (gethostbyaddr): Likewise.
44598         (_gethtent): Likewise.
44599         (_gethtbyname2): Likewise.
44600         (_gethtbyaddr): Likewise.
44601         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44602         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44603         * resolv/res_init.c (__res_vinit): Likewise.
44604         (net_mask): Likewise.
44605         * resolv/res_mkquery.c (outchar): Likewise.
44606         (PRINT): Likewise.
44607         * stdio-common/printf_fp.c (outchar): Likewise.
44608         (PRINT): Likewise.
44609         * stdio-common/printf_fphex.c (outchar): Likewise.
44610         (PRINT): Likewise.
44611         * stdio-common/printf_size.c (outchar): Likewise.
44612         (PRINT): Likewise.
44613         * stdio-common/test_rdwr.c (main): Likewise.
44614         * stdio-common/tfformat.c (matches): Likewise.
44615         * stdio-common/vfprintf.c (outchar): Likewise.
44616         (printf_unknown): Likewise.
44617         (buffered_vfprintf): Likewise.
44618         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44619         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44620         (ReadFile): Likewise.
44621         * stdlib/qsort.c (SWAP): Likewise.
44622         (_quicksort): Likewise.
44623         * stdlib/setenv.c (__add_to_environ): Likewise.
44624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44625         * stdlib/strtol_l.c (__strtol_l): Likewise.
44626         * stdlib/tst-strtod.c (main): Likewise.
44627         * stdlib/tst-strtol.c (main): Likewise.
44628         * stdlib/tst-strtoll.c (main): Likewise.
44629         * string/bits/string2.h (__strcmp_cc): Likewise.
44630         (__strcmp_cg): Likewise.
44631         (__strcspn_c1): Likewise.
44632         (__strcspn_c2): Likewise.
44633         (__strcspn_c3): Likewise.
44634         (__strspn_c1): Likewise.
44635         (__strspn_c2): Likewise.
44636         (__strspn_c3): Likewise.
44637         (__strsep_1c): Likewise.
44638         (__strsep_2c): Likewise.
44639         (__strsep_3c): Likewise.
44640         * string/memccpy.c (__memccpy): Likewise.
44641         * string/stpcpy.c (__stpcpy): Likewise.
44642         * string/strcmp.c (strcmp): Likewise.
44643         * string/strrchr.c (strrchr): Likewise.
44644         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44645         Likewise.
44646         * sysdeps/mach/hurd/getcwd.c
44647         (_hurd_canonicalize_directory_name_internal): Likewise.
44648         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44649         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44650         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44651         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44652         Likewise, in both definitions.
44653         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44654         definitions.
44655         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44656         64] (__bswap_64): Likewise.
44657         * time/test_time.c (main): Likewise.
44658         * time/tzfile.c (__tzfile_read): Likewise.
44659         (__tzfile_compute): Likewise.
44660         * time/tzset.c (__tzset_parse_tz): Likewise.
44661         (tzset_internal): Likewise.
44662         (compute_change): Likewise.
44663         * wcsmbs/wcscat.c (__wcscat): Likewise.
44664         * wcsmbs/wcschr.c (wcschr): Likewise.
44665         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44666         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44667         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44668         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44669         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44670         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44671         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44672         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44673         * wcsmbs/wmemset.c (wmemset): Likewise.
44675 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44677         * scripts/config.guess: Update to version 2013-05-16.
44678         * scripts/config.sub: Update to version 2013-04-24.
44679         * scripts/install-sh: Update to version 2011-11-20.07.
44680         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44681         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44683 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44685         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44686         * elf/sln.c: Likewise.
44687         * hurd/hurd/ioctl.h: Likewise.
44688         * hurd/hurdmalloc.c: Likewise.
44689         * hurd/xattr.c: Likewise.
44690         * include/shlib-compat.h: Likewise.
44691         * inet/ruserpass.c: Likewise.
44692         * libio/iofgets_u.c: Likewise.
44693         * libio/iofgetws_u.c: Likewise.
44694         * locale/programs/ld-identification.c: Likewise.
44695         * locale/programs/ld-time.c: Likewise.
44696         * mach/msg-destroy.c: Likewise.
44697         * nss/nss_files/files-netgrp.c: Likewise.
44698         * resolv/res_data.c: Likewise.
44699         * soft-fp/op-1.h: Likewise.
44700         * soft-fp/op-2.h: Likewise.
44701         * soft-fp/op-4.h: Likewise.
44702         * soft-fp/op-common.h: Likewise.
44703         * stdio-common/printf_fphex.c: Likewise.
44704         * stdlib/strtod_l.c: Likewise.
44705         * sunrpc/rpc/clnt.h: Likewise.
44706         * sysdeps/generic/framestate.c: Likewise.
44707         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44708         * sysdeps/i386/bsd-setjmp.S: Likewise.
44709         * sysdeps/i386/__longjmp.S: Likewise.
44710         * sysdeps/i386/setjmp.S: Likewise.
44711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44712         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44713         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44714         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44716         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44718         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44719         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44720         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44721         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44722         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44723         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44728         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44729         * sysdeps/ieee754/support.c: Likewise.
44730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44731         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44732         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44733         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44734         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44735         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44736         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44737         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44738         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44739         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44740         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44741         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44742         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44743         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44744         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44745         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44746         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44749 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44751         * posix/transbug.c: Remove executable mode.
44753 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44755         * crypt/speeds.c: Remove trailing whitespace.
44756         * dlfcn/default.c: Likewise.
44757         * elf/ifuncdep2.c: Likewise.
44758         * elf/ifuncmain1.c: Likewise.
44759         * elf/ifuncmain1vis.c: Likewise.
44760         * elf/testobj.h: Likewise.
44761         * elf/tst-stackguard1.c: Likewise.
44762         * gmon/sys/gmon.h: Likewise.
44763         * hurd/hurdmsg.c: Likewise.
44764         * hurd/new-fd.c: Likewise.
44765         * hurd/ports-get.c: Likewise.
44766         * iconvdata/ibm1008_420.c: Likewise.
44767         * inet/tst-getni1.c: Likewise.
44768         * inet/tst-getni2.c: Likewise.
44769         * libio/ioungetc.c: Likewise.
44770         * libio/wfiledoalloc.c: Likewise.
44771         * manual/libm-err-tab.pl: Likewise.
44772         * math/w_dremf.c: Likewise.
44773         * misc/ftruncate.c: Likewise.
44774         * posix/bug-glob2.c: Likewise.
44775         * posix/tst-pcre.c: Likewise.
44776         * posix/wait4.c: Likewise.
44777         * resolv/README: Likewise.
44778         * resolv/res_debug.h: Likewise.
44779         * resolv/tst-inet_ntop.c: Likewise.
44780         * setjmp/bug269-setjmp.c: Likewise.
44781         * soft-fp/extended.h: Likewise.
44782         * soft-fp/op-1.h: Likewise.
44783         * soft-fp/op-2.h: Likewise.
44784         * soft-fp/op-4.h: Likewise.
44785         * soft-fp/op-8.h: Likewise.
44786         * soft-fp/testit.c: Likewise.
44787         * stdio-common/bug16.c: Likewise.
44788         * stdlib/random.c: Likewise.
44789         * sunrpc/rpcsvc/rquota.x: Likewise.
44790         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44791         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44793         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44794         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44795         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44796         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44797         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44798         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44799         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44800         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44801         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44802         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44803         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44804         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44805         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44808         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44809         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44810         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44817         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44818         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44819         * sysdeps/ieee754/s_lib_version.c: Likewise.
44820         * sysdeps/mach/hurd/check_fds.c: Likewise.
44821         * sysdeps/mach/hurd/getsockname.c: Likewise.
44822         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44823         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44824         * sysdeps/powerpc/bits/link.h: Likewise.
44825         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44826         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44827         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44828         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44829         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44830         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44831         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44832         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44833         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44834         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44835         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44836         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44837         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44838         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44839         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44840         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44841         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44842         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44843         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44844         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44845         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44846         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44847         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44848         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44849         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44850         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44851         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44852         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44853         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44854         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44855         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44856         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44857         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44858         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44859         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44860         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44861         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44862         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44863         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44864         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44865         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44866         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44867         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44868         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44869         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44870         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44871         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44872         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44873         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44875         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44877         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44878         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44879         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44880         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44881         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44882         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44883         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44884         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44885         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44886         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44887         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44888         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44889         * sysdeps/powerpc/sysdep.h: Likewise.
44890         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44891         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44892         * sysdeps/sh/dl-trampoline.S: Likewise.
44893         * sysdeps/sh/memset.S: Likewise.
44894         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44895         * sysdeps/sh/strlen.S: Likewise.
44896         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44897         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44898         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44899         * sysdeps/sparc/sparc32/rem.S: Likewise.
44900         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44901         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44902         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44903         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44904         * sysdeps/sparc/sparc32/urem.S: Likewise.
44905         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44906         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44907         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44908         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44909         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44910         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44911         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44912         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44913         * sysdeps/unix/bsd/times.c: Likewise.
44914         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44915         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44919         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44920         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44921         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44923         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44924         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44925         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44926         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44927         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44928         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44929         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44930         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44931         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44932         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44933         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44934         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44935         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44936         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44937         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44938         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44939         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44940         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44941         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44942         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44943         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44944         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44945         * sysdeps/x86_64/strcspn.S: Likewise.
44947 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44949         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44950         generated file.  Regenerate properly from gen-translit.pl.
44951         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44952         locale/C-translit.h.
44954 2013-06-05  Andreas Schwab  <schwab@suse.de>
44956         [BZ #15100]
44957         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44958         week as 6 instead of -1.
44959         * time/tst-strptime.c (day_tests): Add test case.
44961 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44963         * sysdeps/generic/math_private.h
44964         (libc_feholdexcept_setround_53bit): Replace with
44965         libc_feholdsetround_53bit.
44966         (libc_feupdateenv_53bit): Replace with
44967         libc_feresetround_53bit.
44968         (SET_RESTORE_ROUND_53BIT): Adjust.
44970 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44972         * string/test-strchrnul.c: Add copyright header.
44974         * posix/tst-getaddrinfo4.c: Increase test timeout.
44976 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44978         [BZ #15536]
44979         * math/libm-test.inc (MAX_EXP): Remove
44980         (MIN_EXP): Define.
44981         (ulp): Use MIN_EXP - MANT_DIG.
44982         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44984 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44986         * po/be.po: Revert last change.
44987         * po/zh_CN.po: Likewise.
44988         * po/header.pot: Likewise.
44990 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44992         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44993         link-libc-deps to empty as target-specific variable.
44994         * Makerules (link-libc-args): New variable.
44995         (libc-for-link): Likewise.
44996         (link-libc-deps): Likewise.
44997         (lib%.so): Depend on $(link-libc-deps).  Link with
44998         $(link-libc-args).
44999         (build-module): Link with $(link-libc-args).
45000         (build-module-asneeded): Likewise.
45001         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45002         list of objects.
45003         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45004         target-specific variable.
45005         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45006         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45007         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45008         libc.
45009         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45010         libc and ld.so.
45011         ($(objpfx)libpcprofile.so): Likewise.
45012         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45013         libc_nonshared.a.
45014         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45015         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45016         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45017         $(link-libc-deps).
45018         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45019         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45020         * login/Makefile ($(objpfx)libutil.so): Likewise.
45021         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45022         * math/Makefile ($(objpfx)libm.so): Likewise.
45023         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45024         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45025         variable instead of depending directly on libc.
45026         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45027         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45028         $(link-libc-deps).
45029         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45030         libc.
45031         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45032         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45033         ($(objpfx)libanl.so): Likewise.
45034         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45035         ld.so.
45036         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45037         $(link-libc-deps).
45038         * sysdeps/i386/fpu/Makefile: Remove file.
45039         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45040         ($(objpfx)libm.so): Remove dependency on ld.so.
45042 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45044         [BZ # 15553]
45045         * nis/yp_xdr.c (XDRMAXNAME): Define.
45046         (XDRMAXRECORD): Define.
45047         (xdr_domainname): Use XDRMAXNAME.
45048         (xdr_mapname): Likewise.
45049         (xdr_peername): Likewise.
45050         (xdr_keydat): Use XDRMAXRECORD.
45051         (xdr_valdat): Likewise.
45053 2013-05-30  Jeff Law  <law@redhat.com>
45055         [BZ #14256]
45056         * manual/errno.texi (ESTALE): Update to account for more than
45057         just NFS file systems.
45058         * sysdeps/gnu/errlist.c: Regenerated.
45060 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45062         [BZ #15465]
45063         * elf/Makefile (tests): Add tst-null-argv.
45064         (modules-names):  Add tst-null-argv-lib.
45065         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45066         (tst-null-argv-ENV): Set environment for tst-null-argv.
45067         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45068         (RTLD_PROGNAME): New macro.
45069         * elf/tst-null-argv.c: New test case.
45070         * elf/tst-null-argv-lib.c: Library for test case.
45071         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45072         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45073         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45074         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45075         * elf/dl-init.c (call_init): Likewise.
45076         (_dl_init): Likewise.
45077         * elf/dl-load.c (print_search_path): Likewise.
45078         (_dl_map_object): Likewise.
45079         * elf/dl-lookup.c (do_lookup_x): Likewise.
45080         (add_dependency): Likewise.
45081         (_dl_lookup_symbol_x): Likewise.
45082         (_dl_debug_bindings): Likewise.
45083         * elf/dl-open.c (_dl_show_scope): Likewise.
45084         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45085         * elf/dl-version.c (match_symbol): Likewise.
45086         (_dl_check_map_versions): Likewise.
45087         * elf/rtld.c (dl_main): Likewise.
45088         (print_unresolved): Use RTLD_PROGNAME.
45089         (print_missing_version): Likewise.
45090         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45091         (elf_machine_rela): Likewise.
45092         * sysdeps/powerpc/powerpc32/dl-machine.c
45093         (__process_machine_rela): Likewise.
45094         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45095         Likewise.
45096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45097         Likewise.
45098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45099         Likewise.
45100         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45101         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45102         Likewise.
45103         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45104         Likewise.
45105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45107 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45109         * po/be.po: Add descriptive title.
45110         * po/zh_CN.po: Likewise.
45111         * po/header.pot: Likewise.
45113 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45115         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45116         error message.
45117         (enlarge_archive): Likewise.
45119 2013-05-28  Ben North  <ben@redfrontdoor.org>
45121         * manual/arith.texi (frexp): It is the magnitude of the return
45122         value which lies in [0.5, 1), not the return value itself.
45124 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45128 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45130         * stdio-common/bug26.c (main): Correct fscanf template.
45132         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45133         declare _dl_skip_args.
45135         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45136         Don't declare.
45138         * manual/platform.texi: Add missing @end deftypefun.
45140 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45142         [BZ #15529]
45143         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45144         bit of mantissa of 2^16382.
45145         * math/libm-test.inc (hypot_test_data): Add more tests.
45147         * math/libm-test.inc: Add drem and pow10 to list of tested
45148         functions.
45149         (pow10_test): New function.
45150         (drem_test): Likewise.
45151         (drem_test_tonearest): Likewise.
45152         (drem_test_towardzero): Likewise.
45153         (drem_test_downward): Likewise.
45154         (drem_test_upward): Likewise.
45155         (main): Call the new functions.
45157         * math/libm-test.inc (finite_test_data): Remove.
45158         (finite_test): Run tests from isfinite_test_data.
45159         (gamma_test_data): Remove.
45160         (gamma_test): Run tests from lgamma_test_data.
45161         * sysdeps/i386/fpu/libm-test-ulps: Update.
45162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45164 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45166         * manual/platform.texi: Add PowerPC PPR function set documentation.
45167         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45168         implementation.
45170 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45172         * math/libm-test.inc (MAX_EXP): Define.
45173         (ULPDIFF): Define.
45174         (ulp): New function.
45175         (check_float_internal): Use ULPDIFF.
45176         (cpow_test): Disable failing test.
45177         (check_ulp): Test ulp() implemetnation.
45178         (main): Call check_ulp before starting tests.
45180 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45182         * math/gen-libm-test.pl (generate_testfile): Do not handle
45183         START_DATA and END_DATA.
45184         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45185         END_DATA.
45186         (acos_tonearest_test_data): Likewise.
45187         (acos_towardzero_test_data): Likewise.
45188         (acos_downward_test_data): Likewise.
45189         (acos_upward_test_data): Likewise.
45190         (acosh_test_data): Likewise.
45191         (asin_test_data): Likewise.
45192         (asin_tonearest_test_data): Likewise.
45193         (asin_towardzero_test_data): Likewise.
45194         (asin_downward_test_data): Likewise.
45195         (asin_upward_test_data): Likewise.
45196         (asinh_test_data): Likewise.
45197         (atan_test_data): Likewise.
45198         (atanh_test_data): Likewise.
45199         (atan2_test_data): Likewise.
45200         (cabs_test_data): Likewise.
45201         (cacos_test_data): Likewise.
45202         (cacosh_test_data): Likewise.
45203         (carg_test_data): Likewise.
45204         (casin_test_data): Likewise.
45205         (casinh_test_data): Likewise.
45206         (catan_test_data): Likewise.
45207         (catanh_test_data): Likewise.
45208         (cbrt_test_data): Likewise.
45209         (ccos_test_data): Likewise.
45210         (ccosh_test_data): Likewise.
45211         (ceil_test_data): Likewise.
45212         (cexp_test_data): Likewise.
45213         (cimag_test_data): Likewise.
45214         (clog_test_data): Likewise.
45215         (clog10_test_data): Likewise.
45216         (conj_test_data): Likewise.
45217         (copysign_test_data): Likewise.
45218         (cos_test_data): Likewise.
45219         (cos_tonearest_test_data): Likewise.
45220         (cos_towardzero_test_data): Likewise.
45221         (cos_downward_test_data): Likewise.
45222         (cos_upward_test_data): Likewise.
45223         (cosh_test_data): Likewise.
45224         (cosh_tonearest_test_data): Likewise.
45225         (cosh_towardzero_test_data): Likewise.
45226         (cosh_downward_test_data): Likewise.
45227         (cosh_upward_test_data): Likewise.
45228         (cpow_test_data): Likewise.
45229         (cproj_test_data): Likewise.
45230         (creal_test_data): Likewise.
45231         (csin_test_data): Likewise.
45232         (csinh_test_data): Likewise.
45233         (csqrt_test_data): Likewise.
45234         (ctan_test_data): Likewise.
45235         (ctan_tonearest_test_data): Likewise.
45236         (ctan_towardzero_test_data): Likewise.
45237         (ctan_downward_test_data): Likewise.
45238         (ctan_upward_test_data): Likewise.
45239         (ctanh_test_data): Likewise.
45240         (ctanh_tonearest_test_data): Likewise.
45241         (ctanh_towardzero_test_data): Likewise.
45242         (ctanh_downward_test_data): Likewise.
45243         (ctanh_upward_test_data): Likewise.
45244         (erf_test_data): Likewise.
45245         (erfc_test_data): Likewise.
45246         (exp_test_data): Likewise.
45247         (exp_tonearest_test_data): Likewise.
45248         (exp_towardzero_test_data): Likewise.
45249         (exp_downward_test_data): Likewise.
45250         (exp_upward_test_data): Likewise.
45251         (exp10_test_data): Likewise.
45252         (exp2_test_data): Likewise.
45253         (expm1_test_data): Likewise.
45254         (fabs_test_data): Likewise.
45255         (fdim_test_data): Likewise.
45256         (finite_test_data): Likewise.
45257         (floor_test_data): Likewise.
45258         (fma_test_data): Likewise.
45259         (fma_towardzero_test_data): Likewise.
45260         (fma_downward_test_data): Likewise.
45261         (fma_upward_test_data): Likewise.
45262         (fmax_test_data): Likewise.
45263         (fmin_test_data): Likewise.
45264         (fmod_test_data): Likewise.
45265         (fpclassify_test_data): Likewise.
45266         (frexp_test_data): Likewise.
45267         (gamma_test_data): Likewise.
45268         (hypot_test_data): Likewise.
45269         (ilogb_test_data): Likewise.
45270         (isfinite_test_data): Likewise.
45271         (isgreater_test_data): Likewise.
45272         (isgreaterequal_test_data): Likewise.
45273         (isinf_test_data): Likewise.
45274         (isless_test_data): Likewise.
45275         (islessequal_test_data): Likewise.
45276         (islessgreater_test_data): Likewise.
45277         (isnan_test_data): Likewise.
45278         (isnormal_test_data): Likewise.
45279         (issignaling_test_data): Likewise.
45280         (isunordered_test_data): Likewise.
45281         (j0_test_data): Likewise.
45282         (j1_test_data): Likewise.
45283         (jn_test_data): Likewise.
45284         (ldexp_test_data): Likewise.
45285         (lgamma_test_data): Likewise.
45286         (lrint_test_data): Likewise.
45287         (lrint_tonearest_test_data): Likewise.
45288         (lrint_towardzero_test_data): Likewise.
45289         (lrint_downward_test_data): Likewise.
45290         (lrint_upward_test_data): Likewise.
45291         (llrint_test_data): Likewise.
45292         (llrint_tonearest_test_data): Likewise.
45293         (llrint_towardzero_test_data): Likewise.
45294         (llrint_downward_test_data): Likewise.
45295         (llrint_upward_test_data): Likewise.
45296         (log_test_data): Likewise.
45297         (log10_test_data): Likewise.
45298         (log1p_test_data): Likewise.
45299         (log2_test_data): Likewise.
45300         (logb_test_data): Likewise.
45301         (logb_downward_test_data): Likewise.
45302         (lround_test_data): Likewise.
45303         (llround_test_data): Likewise.
45304         (modf_test_data): Likewise.
45305         (nearbyint_test_data): Likewise.
45306         (nextafter_test_data): Likewise.
45307         (nexttoward_test_data): Likewise.
45308         (pow_test_data): Likewise.
45309         (pow_tonearest_test_data): Likewise.
45310         (pow_towardzero_test_data): Likewise.
45311         (pow_downward_test_data): Likewise.
45312         (pow_upward_test_data): Likewise.
45313         (remainder_test_data): Likewise.
45314         (remainder_tonearest_test_data): Likewise.
45315         (remainder_towardzero_test_data): Likewise.
45316         (remainder_downward_test_data): Likewise.
45317         (remainder_upward_test_data): Likewise.
45318         (remquo_test_data): Likewise.
45319         (rint_test_data): Likewise.
45320         (rint_tonearest_test_data): Likewise.
45321         (rint_towardzero_test_data): Likewise.
45322         (rint_downward_test_data): Likewise.
45323         (rint_upward_test_data): Likewise.
45324         (round_test_data): Likewise.
45325         (scalb_test_data): Likewise.
45326         (scalbn_test_data): Likewise.
45327         (scalbln_test_data): Likewise.
45328         (signbit_test_data): Likewise.
45329         (sin_test_data): Likewise.
45330         (sin_tonearest_test_data): Likewise.
45331         (sin_towardzero_test_data): Likewise.
45332         (sin_downward_test_data): Likewise.
45333         (sin_upward_test_data): Likewise.
45334         (sincos_test_data): Likewise.
45335         (sinh_test_data): Likewise.
45336         (sinh_tonearest_test_data): Likewise.
45337         (sinh_towardzero_test_data): Likewise.
45338         (sinh_downward_test_data): Likewise.
45339         (sinh_upward_test_data): Likewise.
45340         (sqrt_test_data): Likewise.
45341         (tan_test_data): Likewise.
45342         (tan_tonearest_test_data): Likewise.
45343         (tan_towardzero_test_data): Likewise.
45344         (tan_downward_test_data): Likewise.
45345         (tan_upward_test_data): Likewise.
45346         (tanh_test_data): Likewise.
45347         (tgamma_test_data): Likewise.
45348         (trunc_test_data): Likewise.
45349         (y0_test_data): Likewise.
45350         (y1_test_data): Likewise.
45351         (yn_test_data): Likewise.
45352         (significand_test_data): Likewise.
45354         * math/gen-libm-test.pl (@functions): Remove variable.
45355         (generate_testfile): Don't handle START and END lines.
45356         * math/libm-test.inc (START): New macro.
45357         (END): Likewise.
45358         (END_COMPLEX): Likewise.
45359         (acos_test): Use END macro without arguments.
45360         (acos_test_tonearest): Likewise.
45361         (acos_test_towardzero): Likewise.
45362         (acos_test_downward): Likewise.
45363         (acos_test_upward): Likewise.
45364         (acosh_test): Likewise.
45365         (asin_test): Likewise.
45366         (asin_test_tonearest): Likewise.
45367         (asin_test_towardzero): Likewise.
45368         (asin_test_downward): Likewise.
45369         (asin_test_upward): Likewise.
45370         (asinh_test): Likewise.
45371         (atan_test): Likewise.
45372         (atanh_test): Likewise.
45373         (atan2_test): Likewise.
45374         (cabs_test): Likewise.
45375         (cacos_test): Use END_COMPLEX macro without arguments.
45376         (cacosh_test): Likewise.
45377         (carg_test): Use END macro without arguments.
45378         (casin_test): Use END_COMPLEX macro without arguments.
45379         (casinh_test): Likewise.
45380         (catan_test): Likewise.
45381         (catanh_test): Likewise.
45382         (cbrt_test): Use END macro without arguments.
45383         (ccos_test): Use END_COMPLEX macro without arguments.
45384         (ccosh_test): Likewise.
45385         (ceil_test): Use END macro without arguments.
45386         (cexp_test): Use END_COMPLEX macro without arguments.
45387         (cimag_test): Use END macro without arguments.
45388         (clog_test): Use END_COMPLEX macro without arguments.
45389         (clog10_test): Likewise.
45390         (conj_test): Likewise.
45391         (copysign_test): Use END macro without arguments.
45392         (cos_test): Likewise.
45393         (cos_test_tonearest): Likewise.
45394         (cos_test_towardzero): Likewise.
45395         (cos_test_downward): Likewise.
45396         (cos_test_upward): Likewise.
45397         (cosh_test): Likewise.
45398         (cosh_test_tonearest): Likewise.
45399         (cosh_test_towardzero): Likewise.
45400         (cosh_test_downward): Likewise.
45401         (cosh_test_upward): Likewise.
45402         (cpow_test): Use END_COMPLEX macro without arguments.
45403         (cproj_test): Likewise.
45404         (creal_test): Use END macro without arguments.
45405         (csin_test): Use END_COMPLEX macro without arguments.
45406         (csinh_test): Likewise.
45407         (csqrt_test): Likewise.
45408         (ctan_test): Likewise.
45409         (ctan_test_tonearest): Likewise.
45410         (ctan_test_towardzero): Likewise.
45411         (ctan_test_downward): Likewise.
45412         (ctan_test_upward): Likewise.
45413         (ctanh_test): Likewise.
45414         (ctanh_test_tonearest): Likewise.
45415         (ctanh_test_towardzero): Likewise.
45416         (ctanh_test_downward): Likewise.
45417         (ctanh_test_upward): Likewise.
45418         (erf_test): Use END macro without arguments.
45419         (erfc_test): Likewise.
45420         (exp_test): Likewise.
45421         (exp_test_tonearest): Likewise.
45422         (exp_test_towardzero): Likewise.
45423         (exp_test_downward): Likewise.
45424         (exp_test_upward): Likewise.
45425         (exp10_test): Likewise.
45426         (exp2_test): Likewise.
45427         (expm1_test): Likewise.
45428         (fabs_test): Likewise.
45429         (fdim_test): Likewise.
45430         (finite_test): Likewise.
45431         (floor_test): Likewise.
45432         (fma_test): Likewise.
45433         (fma_test_towardzero): Likewise.
45434         (fma_test_downward): Likewise.
45435         (fma_test_upward): Likewise.
45436         (fmax_test): Likewise.
45437         (fmin_test): Likewise.
45438         (fmod_test): Likewise.
45439         (fpclassify_test): Likewise.
45440         (frexp_test): Likewise.
45441         (gamma_test): Likewise.
45442         (hypot_test): Likewise.
45443         (ilogb_test): Likewise.
45444         (isfinite_test): Likewise.
45445         (isgreater_test): Likewise.
45446         (isgreaterequal_test): Likewise.
45447         (isinf_test): Likewise.
45448         (isless_test): Likewise.
45449         (islessequal_test): Likewise.
45450         (islessgreater_test): Likewise.
45451         (isnan_test): Likewise.
45452         (isnormal_test): Likewise.
45453         (issignaling_test): Likewise.
45454         (isunordered_test): Likewise.
45455         (j0_test): Likewise.
45456         (j1_test): Likewise.
45457         (jn_test): Likewise.
45458         (ldexp_test): Likewise.
45459         (lgamma_test): Likewise.
45460         (lrint_test): Likewise.
45461         (lrint_test_tonearest): Likewise.
45462         (lrint_test_towardzero): Likewise.
45463         (lrint_test_downward): Likewise.
45464         (lrint_test_upward): Likewise.
45465         (llrint_test): Likewise.
45466         (llrint_test_tonearest): Likewise.
45467         (llrint_test_towardzero): Likewise.
45468         (llrint_test_downward): Likewise.
45469         (llrint_test_upward): Likewise.
45470         (log_test): Likewise.
45471         (log10_test): Likewise.
45472         (log1p_test): Likewise.
45473         (log2_test): Likewise.
45474         (logb_test): Likewise.
45475         (logb_test_downward): Likewise.
45476         (lround_test): Likewise.
45477         (llround_test): Likewise.
45478         (modf_test): Likewise.
45479         (nearbyint_test): Likewise.
45480         (nextafter_test): Likewise.
45481         (nexttoward_test): Likewise.
45482         (pow_test): Likewise.
45483         (pow_test_tonearest): Likewise.
45484         (pow_test_towardzero): Likewise.
45485         (pow_test_downward): Likewise.
45486         (pow_test_upward): Likewise.
45487         (remainder_test): Likewise.
45488         (remainder_test_tonearest): Likewise.
45489         (remainder_test_towardzero): Likewise.
45490         (remainder_test_downward): Likewise.
45491         (remainder_test_upward): Likewise.
45492         (remquo_test): Likewise.
45493         (rint_test): Likewise.
45494         (rint_test_tonearest): Likewise.
45495         (rint_test_towardzero): Likewise.
45496         (rint_test_downward): Likewise.
45497         (rint_test_upward): Likewise.
45498         (round_test): Likewise.
45499         (scalb_test): Likewise.
45500         (scalbn_test): Likewise.
45501         (scalbln_test): Likewise.
45502         (signbit_test): Likewise.
45503         (sin_test): Likewise.
45504         (sin_test_tonearest): Likewise.
45505         (sin_test_towardzero): Likewise.
45506         (sin_test_downward): Likewise.
45507         (sin_test_upward): Likewise.
45508         (sincos_test): Likewise.
45509         (sinh_test): Likewise.
45510         (sinh_test_tonearest): Likewise.
45511         (sinh_test_towardzero): Likewise.
45512         (sinh_test_downward): Likewise.
45513         (sinh_test_upward): Likewise.
45514         (sqrt_test): Likewise.
45515         (tan_test): Likewise.
45516         (tan_test_tonearest): Likewise.
45517         (tan_test_towardzero): Likewise.
45518         (tan_test_downward): Likewise.
45519         (tan_test_upward): Likewise.
45520         (tanh_test): Likewise.
45521         (tgamma_test): Likewise.
45522         (trunc_test): Likewise.
45523         (y0_test): Likewise.
45524         (y1_test): Likewise.
45525         (yn_test): Likewise.
45526         (significand_test): Likewise.
45528 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45530         [BZ #15381]
45531         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45533 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45535         [BZ #14894]
45536         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45537         __ppc_mdoio and __ppc_mdoom.
45538         * manual/platform.texi: Document new functions __ppc_yield,
45539         __ppc_mdoio and __ppc_mdoom.
45541 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45543         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45544         (main): Mention "tls" pseudo-hwcap is legacy.
45545         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45547 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45549         * math/gen-libm-test.pl (parse_args): Output only string of
45550         arguments as text for test name, not full call or descriptions of
45551         tests for extra outputs.
45552         (generate_testfile): Do not pass function name to parse_args.
45553         Generate this_func variable from START.
45554         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45555         field to arg_str.
45556         (struct test_ff_f_data): Likewise.
45557         (test_ff_f_data_nexttoward): Likewise.
45558         (struct test_fi_f_data): Likewise.
45559         (struct test_fl_f_data): Likewise.
45560         (struct test_if_f_data): Likewise.
45561         (struct test_fff_f_data): Likewise.
45562         (struct test_c_f_data): Likewise.
45563         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45564         (struct test_fF_f1_data): Likewise.
45565         (struct test_ffI_f1_data): Likewise.
45566         (struct test_c_c_data): Rename test_name field to arg_str.
45567         (struct test_cc_c_data): Likewise.
45568         (struct test_f_i_data): Likewise.
45569         (struct test_ff_i_data): Likewise.
45570         (struct test_f_l_data): Likewise.
45571         (struct test_f_L_data): Likewise.
45572         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45573         and extra2_name.
45574         (COMMON_TEST_SETUP): New macro.
45575         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45576         (COMMON_TEST_CLEANUP): Likewise.
45577         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45578         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45579         macros.
45580         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45581         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45582         macros.
45583         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45584         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45585         cleanup macros.
45586         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45587         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45588         macros.
45589         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45590         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45591         macros.
45592         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45593         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45594         cleanup macros.
45595         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45596         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45597         cleanup macros.
45598         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45599         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45600         cleanup macros.
45601         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45602         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45603         macros.
45604         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45605         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45606         macros.
45607         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45608         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45609         macros.
45610         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45611         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45612         cleanup macros.
45613         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45614         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45615         cleanup macros.
45616         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45617         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45618         macros.
45619         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45620         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45621         cleanup macros.
45622         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45623         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45624         macros.
45625         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45626         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45627         macros.
45628         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45629         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45630         cleanup macros.
45631         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45633 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45635         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45636         to _sifields.sigfault.
45637         (si_addr_lsb): Define new macro.
45638         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45639         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45640         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45642 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45644         [BZ #15441]
45645         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45646         returns -1.
45647         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45648         null return -1.
45649         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45650         loading the domain.
45652 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45654         * math/gen-libm-test.pl (parse_args): Do not include expected
45655         result in test name.
45656         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45660         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45663 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45665         * benchtests/Makefile: Sort function entries.
45667         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45668         tanh, asinh, acosh, atanh.
45669         * benchtests/acos-inputs: New file.
45670         * benchtests/acosh-inputs: New file.
45671         * benchtests/asin-inputs: New file.
45672         * benchtests/asinh-inputs: New file.
45673         * benchtests/atanh-inputs: New file.
45674         * benchtests/cosh-inputs: New file.
45675         * benchtests/log-inputs: New file.
45676         * benchtests/sinh-inputs: New file.
45677         * benchtests/tanh-inputs: New file.
45679 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45681         [BZ #15339]
45682         * posix/tst-getaddrinfo4.c: New test.
45683         * posix/Makefile (tests): Add it.
45685 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45687         [BZ #15339]
45688         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45689         when no services were used.
45690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45691         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45693 2013-05-21  Andreas Schwab  <schwab@suse.de>
45695         [BZ #15014]
45696         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45697         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45698         successful.
45699         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45700         redundant variable declarations and reallocation of buffer when
45701         parsing as IPv6 address.  Always set NSS status when called from
45702         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45703         buffer too small.  Correct computation of needed size.
45704         * nss/Makefile (tests): Add test-digits-dots.
45705         * nss/test-digits-dots.c: New test.
45707 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45709         * benchtests/Makefile: Remove instructions for adding
45710         benchmark tests.
45711         * benchtests/README: New file to explain how to execute and
45712         enhance the benchmark tests.
45714 2013-05-21  Andreas Schwab  <schwab@suse.de>
45716         [BZ #15493]
45717         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45718         * setjmp/tst-sigsetjmp.c: New test.
45720 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45722         * sysdeps/x86_64/memset.S (memset): New implementation.
45723         (__bzero): Likewise.
45724         (__memset_tail): New function.
45726 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45728         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45729         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45730         __memcpy_sse2_unaligned ifunc selection.
45731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45732         Add memcpy-sse2-unaligned.S.
45733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45734         Add: __memcpy_sse2_unaligned.
45736 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45738         [BZ #15490]
45739         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45740         math_force_eval before restoring floating-point envrionment.
45741         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45742         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45743         Likewise.
45744         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45745         <math_private.h>.
45746         (__nearbyintl): Use math_force_eval before restoring
45747         floating-point environment.
45748         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45750         * math/gen-libm-test.pl (special_functions): Remove.
45751         (parse_args): Don't handle TEST_extra.  Handle functions with no
45752         return value.
45753         * math/libm-test.inc (struct test_sincos_data): Replace with
45754         struct test_fFF_11_data.
45755         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45756         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45757         (sincos_test_data): Change element type to struct
45758         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45759         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45760         RUN_TEST_LOOP_sincos.
45761         * math/README.libm-test: Don't mention special handling of
45762         individual functions.
45763         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45765         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45766         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45767         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45770         * math/gen-libm-test.pl (get_variable): Remove function.
45771         (parse_args): Don't show pointer parameters to call in test
45772         names.  Use "extra output N" in test names for extra outputs
45773         rather than naming variables.
45775 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45777         [BZ #15488]
45778         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45779         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45780         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45781         double tests.
45782         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45783         disable.
45784         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45785         check_long_double.
45787         * math/gen-libm-test.pl (@tests): Remove variable.
45788         ($count): Likewise.
45789         (new_test): Remove function.
45790         (show_exceptions): New function.
45791         (special_functions): Use show_exceptions instead of new_test.
45792         (parse_args): Likewise.
45793         (generate_testfile): Pass only function name in generated call to
45794         print_max_error or print_complex_max_error.
45795         (get_ulps): Do not handle complex tests specially.
45796         (output_test): Rename to ...
45797         (get_all_ulps_for_test): ... this.  Return a string rather than
45798         printing to a file.  Require ulps to be present.
45799         (output_ulps): Generate arrays rather than #defines.
45800         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45801         (struct ulp_data): New type.
45802         (BUILD_COMPLEX_ULP): Remove macro.
45803         (compare_ulp_data): New function.
45804         (find_ulps): Likewise.
45805         (find_test_ulps): Likewise.
45806         (find_function_ulps): Likewise.
45807         (find_complex_function_ulps): Likewise.
45808         (print_max_error): Determine allowed ulps using
45809         find_function_ulps.
45810         (print_complex_max_error): Determine allowed ulps using
45811         find_complex_function_ulps.
45812         (check_float_internal): Determine max ulps using find_test_ulps.
45813         (check_float): Do not take max_ulp parameter.  Update call to
45814         check_float_internal.
45815         (check_complex): Likewise.
45816         (check_int): Do not take max_ulp parameter.
45817         (check_long): Likewise.
45818         (check_bool): Likewise.
45819         (check_longlong): Likewise.
45820         (struct test_f_f_data): Remove max_ulp field.
45821         (struct test_ff_f_data): Likewise.
45822         (struct test_ff_f_data_nexttoward): Likewise.
45823         (struct test_fi_f_data): Likewise.
45824         (struct test_fl_f_data): Likewise.
45825         (struct test_if_f_data): Likewise.
45826         (struct test_fff_f_data): Likewise.
45827         (struct test_c_f_data): Likewise.
45828         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45829         (struct test_fF_f1_data): Likewise.
45830         (struct test_ffI_f1_data): Likewise.
45831         (struct test_c_c_data): Remove max_ulp field.
45832         (struct test_cc_c_data): Likewise.
45833         (struct test_f_i_data): Likewise.
45834         (struct test_ff_i_data): Likewise.
45835         (struct test_f_l_data): Likewise.
45836         (struct test_f_L_data): Likewise.
45837         (struct test_sincos_data): Likewise.
45838         (RUN_TEST_f_f): Do not handle ulps.
45839         (RUN_TEST_LOOP_f_f): Likewise.
45840         (RUN_TEST_2_f): Likewise.
45841         (RUN_TEST_LOOP_2_f): Likewise.
45842         (RUN_TEST_fff_f): Likewise.
45843         (RUN_TEST_LOOP_fff_f): Likewise.
45844         (RUN_TEST_c_f): Likewise.
45845         (RUN_TEST_LOOP_c_f): Likewise.
45846         (RUN_TEST_f_f1): Likewise.
45847         (RUN_TEST_LOOP_f_f1): Likewise.
45848         (RUN_TEST_fF_f1): Likewise.
45849         (RUN_TEST_LOOP_fF_f1): Likewise.
45850         (RUN_TEST_fI_f1): Likewise.
45851         (RUN_TEST_LOOP_fI_f1): Likewise.
45852         (RUN_TEST_ffI_f1): Likewise.
45853         (RUN_TEST_LOOP_ffI_f1): Likewise.
45854         (RUN_TEST_c_c): Likewise.
45855         (RUN_TEST_LOOP_c_c): Likewise.
45856         (RUN_TEST_cc_c): Likewise.
45857         (RUN_TEST_LOOP_cc_c): Likewise.
45858         (RUN_TEST_f_i): Likewise.
45859         (RUN_TEST_LOOP_f_i): Likewise.
45860         (RUN_TEST_f_i_tg): Likewise.
45861         (RUN_TEST_LOOP_f_i_tg): Likewise.
45862         (RUN_TEST_ff_i_tg): Likewise.
45863         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45864         (RUN_TEST_f_b): Likewise.
45865         (RUN_TEST_LOOP_f_b): Likewise.
45866         (RUN_TEST_f_b_tg): Likewise.
45867         (RUN_TEST_LOOP_f_b_tg): Likewise.
45868         (RUN_TEST_f_l): Likewise.
45869         (RUN_TEST_LOOP_f_l): Likewise.
45870         (RUN_TEST_f_L): Likewise.
45871         (RUN_TEST_LOOP_f_L): Likewise.
45872         (RUN_TEST_sincos): Likewise.
45873         (RUN_TEST_LOOP_sincos): Likewise.
45875 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45877         [BZ #15480]
45878         [BZ #15485]
45879         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45880         main case of finite arguments, set rounding mode to FE_TONEAREST
45881         and discard exceptions.
45882         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45883         exceptions.
45884         (remainder_tonearest_test_data): New variable.
45885         (remainder_test_tonearest): New function.
45886         (remainder_towardzero_test_data): New variable.
45887         (remainder_test_towardzero): New function.
45888         (remainder_downward_test_data): New variable.
45889         (remainder_test_downward): New function.
45890         (remainder_upward_test_data): New variable.
45891         (remainder_test_upward): New function.
45892         (main): Call the new test functions.
45894         * math/libm-test.inc (struct test_f_f1_data): Remove field
45895         extra_init.
45896         (struct test_fF_f1_data): Likewise.
45897         (struct test_ffI_f1_data): Likewise.
45898         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45899         based on value of EXTRA_EXPECTED.
45900         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45901         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45902         EXTRA_VAR based on value of EXTRA_EXPECTED.
45903         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45904         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45905         EXTRA_VAR based on value of EXTRA_EXPECTED.
45906         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45907         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45908         EXTRA_VAR based on value of EXTRA_EXPECTED.
45909         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45910         * math/gen-libm-test.pl (parse_args): Don't output initializers
45911         for extra output values.
45913         * math/libm-test.inc (check_int): Expect result to be exactly
45914         equal to expected value and do not handle ulps.
45915         (check_long): Likewise.
45916         (check_longlong): Likewise.
45918         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45919         exceptions.
45920         (cimag_test_data): Likewise.
45921         (conj_test_data): Likewise.
45922         (copysign_test_data): Likewise.
45923         (cproj_test_data): Likewise.
45924         (creal_test_data): Likewise.
45925         (fabs_test_data): Likewise.
45926         (fdim_test_data): Likewise.
45927         (finite_test_data): Likewise.
45928         (floor_test_data): Likewise.
45929         (fmax_test_data): Likewise.
45930         (fmin_test_data): Likewise.
45931         (fmod_test_data): Likewise.
45932         (fpclassify_test_data): Likewise.
45933         (frexp_test_data): Likewise.
45934         (ilogb_test_data): Likewise.
45935         (isfinite_test_data): Likewise.
45936         (isgreater_test_data): Likewise.
45937         (isgreaterequal_test_data): Likewise.
45938         (isinf_test_data): Likewise.
45939         (isless_test_data): Likewise.
45940         (islessequal_test_data): Likewise.
45941         (islessgreater_test_data): Likewise.
45942         (isnan_test_data): Likewise.
45943         (isnormal_test_data): Likewise.
45944         (issignaling_test_data): Likewise.
45945         (isunordered_test_data): Likewise.
45946         (ldexp_test_data): Likewise.
45947         (lrint_test_data): Likewise.
45948         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45949         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45950         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45951         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45952         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45953         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45954         test input.
45955         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45956         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45957         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45958         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45959         that test input.
45960         (lrint_downward_test_data): Test for "inexact" exceptions.
45961         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45962         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45963         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45964         test input.
45965         (lrint_upward_test_data): Test for "inexact" exceptions.
45966         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45967         test input.
45968         (llrint_test_data): Test for "inexact" exceptions.
45969         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45970         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45971         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45972         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45973         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45974         (llrint_downward_test_data): Test for "inexact" exceptions.
45975         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45976         (llrint_upward_test_data): Test for "inexact" exceptions.
45977         (logb_test_data): Likewise.
45978         (logb_downward_test_data): Likewise.
45979         (nextafter_test_data): Likewise.
45980         (nexttoward_test_data): Likewise.
45981         (remainder_test_data): Likewise.
45982         (remquo_test_data): Likewise.
45983         (scalbn_test_data): Likewise.
45984         (scalbln_test_data): Likewise.
45985         (signbit_test_data): Likewise.
45986         (sqrt_test_data): Likewise.
45987         (significand_test_data): Likewise.
45989 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45991         [BZ #15424]
45992         * benchtests/bench-modf.c (struct args): Mark arg0 as
45993         volatile.
45994         * scripts/bench.pl: Mark members of struct args as volatile.
45996 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45998         [BZ # 15497]
45999         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46000         negative infinity on POWER6 or lower.
46001         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46003 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46005         [BZ #15442]
46006         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46007         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46008         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46009         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46010         (_FP_SETQNAN): New macro.
46011         (_FP_SETQNAN_SEMIRAW): Likewise.
46012         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46013         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46014         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46015         (FP_EXTEND): Use _FP_FRAC_SNANP.
46016         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46017         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46018         into account.
46019         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46020         New macro.
46021         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46022         Likewise.
46024 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46026         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46027         with DIVIDE_BY_ZERO_EXCEPTION.
46028         (gamma_test_data): Likewise.
46029         (lgamma_test_data): Likewise.
46030         (log_test_data): Likewise.
46031         (log10_test_data): Likewise.
46032         (log2_test_data): Likewise.
46033         (tgamma_test_data): Likewise.
46035         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46036         (acos_test_tonearest): Likewise.
46037         (acos_test_towardzero): Likewise.
46038         (acos_test_downward): Likewise.
46039         (acos_test_upward): Likewise.
46040         (acosh_test): Likewise.
46041         (asin_test): Likewise.
46042         (asin_test_tonearest): Likewise.
46043         (asin_test_towardzero): Likewise.
46044         (asin_test_downward): Likewise.
46045         (asin_test_upward): Likewise.
46046         (asinh_test): Likewise.
46047         (atan_test): Likewise.
46048         (atanh_test): Likewise.
46049         (atan2_test): Likewise.
46050         (cabs_test): Likewise.
46051         (cacos_test): Likewise.
46052         (cacosh_test): Likewise.
46053         (casin_test): Likewise.
46054         (casinh_test): Likewise.
46055         (catan_test): Likewise.
46056         (catanh_test): Likewise.
46057         (cbrt_test): Likewise.
46058         (ccos_test): Likewise.
46059         (ccosh_test): Likewise.
46060         (cexp_test): Likewise.
46061         (clog_test): Likewise.
46062         (clog10_test): Likewise.
46063         (cos_test): Likewise.
46064         (cos_test_tonearest): Likewise.
46065         (cos_test_towardzero): Likewise.
46066         (cos_test_downward): Likewise.
46067         (cos_test_upward): Likewise.
46068         (cosh_test): Likewise.
46069         (cosh_test_tonearest): Likewise.
46070         (cosh_test_towardzero): Likewise.
46071         (cosh_test_downward): Likewise.
46072         (cosh_test_upward): Likewise.
46073         (cpow_test): Likewise.
46074         (csin_test): Likewise.
46075         (csinh_test): Likewise.
46076         (csqrt_test): Likewise.
46077         (ctan_test): Likewise.
46078         (ctan_test_tonearest): Likewise.
46079         (ctan_test_towardzero): Likewise.
46080         (ctan_test_downward): Likewise.
46081         (ctan_test_upward): Likewise.
46082         (ctanh_test): Likewise.
46083         (ctanh_test_tonearest): Likewise.
46084         (ctanh_test_towardzero): Likewise.
46085         (ctanh_test_downward): Likewise.
46086         (ctanh_test_upward): Likewise.
46087         (erf_test): Likewise.
46088         (erfc_test): Likewise.
46089         (exp_test): Likewise.
46090         (exp_test_tonearest): Likewise.
46091         (exp_test_towardzero): Likewise.
46092         (exp_test_downward): Likewise.
46093         (exp_test_upward): Likewise.
46094         (exp10_test): Likewise.
46095         (exp2_test): Likewise.
46096         (expm1_test): Likewise.
46097         (fmod_test): Likewise.
46098         (gamma_test): Likewise.
46099         (hypot_test): Likewise.
46100         (j0_test): Likewise.
46101         (j1_test): Likewise.
46102         (jn_test): Likewise.
46103         (lgamma_test): Likewise.
46104         (log_test): Likewise.
46105         (log10_test): Likewise.
46106         (log1p_test): Likewise.
46107         (log2_test): Likewise.
46108         (logb_test_downward): Likewise.
46109         (pow_test): Likewise.
46110         (pow_test_tonearest): Likewise.
46111         (pow_test_towardzero): Likewise.
46112         (pow_test_downward): Likewise.
46113         (pow_test_upward): Likewise.
46114         (remainder_test): Likewise.
46115         (remquo_test): Likewise.
46116         (sin_test): Likewise.
46117         (sin_test_tonearest): Likewise.
46118         (sin_test_towardzero): Likewise.
46119         (sin_test_downward): Likewise.
46120         (sin_test_upward): Likewise.
46121         (sincos_test): Likewise.
46122         (sinh_test): Likewise.
46123         (sinh_test_tonearest): Likewise.
46124         (sinh_test_towardzero): Likewise.
46125         (sinh_test_downward): Likewise.
46126         (sinh_test_upward): Likewise.
46127         (sqrt_test): Likewise.
46128         (tan_test): Likewise.
46129         (tan_test_tonearest): Likewise.
46130         (tan_test_towardzero): Likewise.
46131         (tan_test_downward): Likewise.
46132         (tan_test_upward): Likewise.
46133         (tanh_test): Likewise.
46134         (tgamma_test): Likewise.
46135         (y0_test): Likewise.
46136         (y1_test): Likewise.
46137         (yn_test): Likewise.
46139         * math/gen-libm-test.pl (adjust_arg): Remove function.
46140         (special_function): Remove argument $in_func.  Only handle
46141         generating output for tables of tests, not inside functions.
46142         (parse_args): Likewise.
46143         (generate_testfile): Remove variable $in_func.  Update call to
46144         parse_args.
46145         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46146         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46147         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46148         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46149         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46150         (MAX_VALUE_INIT): Rename macro to max_value.
46151         (MIN_VALUE_INIT): Rename macro to min_value.
46152         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46153         (plus_zero): Remove variable.
46154         (minus_zero): Likewise.
46155         (plus_infty): Likewise.
46156         (minus_infty): Likewise.
46157         (qnan_value): Likewise.
46158         (max_value): Likewise.
46159         (min_value): Likewise.
46160         (min_subnorm_value): Likewise.
46162 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46164         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46165         uint64_t or uint32_t usage.
46166         * crypt/sha256-block.c: Likewise.
46167         * crypt/sha256-crypt.c: Likewise.
46168         * crypt/sha256.c: Likewise.
46169         * crypt/sha512-block.c: Likewise.
46170         * crypt/sha512-crypt.c: Likewise.
46171         * crypt/sha512.c: Likewise.
46172         * debug/backtrace-tst.c: Likewise.
46173         * debug/pcprofiledump.c: Likewise.
46174         * elf/cache.c: Likewise.
46175         * elf/dl-cache.c: Likewise.
46176         * elf/dl-misc.c: Likewise.
46177         * elf/dl-profile.c: Likewise.
46178         * elf/dl-support.c: Likewise.
46179         * elf/ldconfig.c: Likewise.
46180         * elf/sprof.c: Likewise.
46181         * iconv/dummy-repertoire.c: Likewise.
46182         * iconv/iconv_charmap.c: Likewise.
46183         * iconv/skeleton.c: Likewise.
46184         * iconvdata/8bit-generic.c: Likewise.
46185         * iconvdata/cp737.h: Likewise.
46186         * iconvdata/cp775.h: Likewise.
46187         * iconvdata/ibm1008.h: Likewise.
46188         * iconvdata/ibm1025.h: Likewise.
46189         * iconvdata/ibm1046.h: Likewise.
46190         * iconvdata/ibm1097.h: Likewise.
46191         * iconvdata/ibm1112.h: Likewise.
46192         * iconvdata/ibm1122.h: Likewise.
46193         * iconvdata/ibm1123.h: Likewise.
46194         * iconvdata/ibm1124.h: Likewise.
46195         * iconvdata/ibm1129.h: Likewise.
46196         * iconvdata/ibm1130.h: Likewise.
46197         * iconvdata/ibm1132.h: Likewise.
46198         * iconvdata/ibm1133.h: Likewise.
46199         * iconvdata/ibm1137.h: Likewise.
46200         * iconvdata/ibm1140.h: Likewise.
46201         * iconvdata/ibm1141.h: Likewise.
46202         * iconvdata/ibm1142.h: Likewise.
46203         * iconvdata/ibm1143.h: Likewise.
46204         * iconvdata/ibm1144.h: Likewise.
46205         * iconvdata/ibm1145.h: Likewise.
46206         * iconvdata/ibm1146.h: Likewise.
46207         * iconvdata/ibm1147.h: Likewise.
46208         * iconvdata/ibm1148.h: Likewise.
46209         * iconvdata/ibm1149.h: Likewise.
46210         * iconvdata/ibm1153.h: Likewise.
46211         * iconvdata/ibm1154.h: Likewise.
46212         * iconvdata/ibm1155.h: Likewise.
46213         * iconvdata/ibm1156.h: Likewise.
46214         * iconvdata/ibm1157.h: Likewise.
46215         * iconvdata/ibm1158.h: Likewise.
46216         * iconvdata/ibm1160.h: Likewise.
46217         * iconvdata/ibm1161.h: Likewise.
46218         * iconvdata/ibm1162.h: Likewise.
46219         * iconvdata/ibm1163.h: Likewise.
46220         * iconvdata/ibm1164.h: Likewise.
46221         * iconvdata/ibm1166.h: Likewise.
46222         * iconvdata/ibm1167.h: Likewise.
46223         * iconvdata/ibm12712.h: Likewise.
46224         * iconvdata/ibm1390.h: Likewise.
46225         * iconvdata/ibm1399.h: Likewise.
46226         * iconvdata/ibm16804.h: Likewise.
46227         * iconvdata/ibm4517.h: Likewise.
46228         * iconvdata/ibm4899.h: Likewise.
46229         * iconvdata/ibm4909.h: Likewise.
46230         * iconvdata/ibm4971.h: Likewise.
46231         * iconvdata/ibm5347.h: Likewise.
46232         * iconvdata/ibm803.h: Likewise.
46233         * iconvdata/ibm856.h: Likewise.
46234         * iconvdata/ibm901.h: Likewise.
46235         * iconvdata/ibm902.h: Likewise.
46236         * iconvdata/ibm9030.h: Likewise.
46237         * iconvdata/ibm9066.h: Likewise.
46238         * iconvdata/ibm921.h: Likewise.
46239         * iconvdata/ibm922.h: Likewise.
46240         * iconvdata/ibm9448.h: Likewise.
46241         * iconvdata/isiri-3342.h: Likewise.
46242         * iconvdata/jis0201.h: Likewise.
46243         * include/link.h: Likewise.
46244         * include/netdb.h: Likewise.
46245         * inet/check_native.c: Likewise.
46246         * inet/check_pf.c: Likewise.
46247         * inet/getipv4sourcefilter.c: Likewise.
46248         * inet/getnameinfo.c: Likewise.
46249         * inet/getsourcefilter.c: Likewise.
46250         * inet/htonl.c: Likewise.
46251         * inet/setipv4sourcefilter.c: Likewise.
46252         * inet/setsourcefilter.c: Likewise.
46253         * inet/test-inet6_opt.c: Likewise.
46254         * inet/tst-network.c: Likewise.
46255         * locale/C-collate.c: Likewise.
46256         * locale/C-ctype.c: Likewise.
46257         * locale/C-time.c: Likewise.
46258         * locale/C-translit.h: Likewise.
46259         * locale/loadarchive.c: Likewise.
46260         * locale/programs/3level.h: Likewise.
46261         * locale/programs/charmap.c: Likewise.
46262         * locale/programs/charmap.h: Likewise.
46263         * locale/programs/ld-address.c: Likewise.
46264         * locale/programs/ld-collate.c: Likewise.
46265         * locale/programs/ld-ctype.c: Likewise.
46266         * locale/programs/ld-identification.c: Likewise.
46267         * locale/programs/ld-measurement.c: Likewise.
46268         * locale/programs/ld-messages.c: Likewise.
46269         * locale/programs/ld-monetary.c: Likewise.
46270         * locale/programs/ld-name.c: Likewise.
46271         * locale/programs/ld-numeric.c: Likewise.
46272         * locale/programs/ld-paper.c: Likewise.
46273         * locale/programs/ld-telephone.c: Likewise.
46274         * locale/programs/ld-time.c: Likewise.
46275         * locale/programs/linereader.c: Likewise.
46276         * locale/programs/locale.c: Likewise.
46277         * locale/programs/locarchive.c: Likewise.
46278         * locale/programs/locfile.h: Likewise.
46279         * locale/programs/repertoire.c: Likewise.
46280         * locale/programs/simple-hash.c: Likewise.
46281         * locale/programs/simple-hash.h: Likewise.
46282         * malloc/memusage.c: Likewise.
46283         * malloc/memusagestat.c: Likewise.
46284         * nis/nis_defaults.c: Likewise.
46285         * nis/nis_hash.c: Likewise.
46286         * nis/nis_print.c: Likewise.
46287         * nis/nis_xdr.c: Likewise.
46288         * nscd/connections.c: Likewise.
46289         * nscd/hstcache.c: Likewise.
46290         * nscd/nscd_gethst_r.c: Likewise.
46291         * nscd/nscd_getserv_r.c: Likewise.
46292         * nscd/nscd_helper.c: Likewise.
46293         * nscd/servicescache.c: Likewise.
46294         * nss/makedb.c: Likewise.
46295         * nss/nss_db/db-XXX.c: Likewise.
46296         * nss/nss_db/db-initgroups.c: Likewise.
46297         * nss/nss_db/db-netgrp.c: Likewise.
46298         * nss/nss_files/files-network.c: Likewise.
46299         * nss/nss_files/files-parse.c: Likewise.
46300         * posix/bug-regex5.c: Likewise.
46301         * posix/fnmatch_loop.c: Likewise.
46302         * posix/regcomp.c: Likewise.
46303         * posix/regexec.c: Likewise.
46304         * posix/tst-rfc3484-2.c: Likewise.
46305         * posix/tst-rfc3484-3.c: Likewise.
46306         * posix/tst-rfc3484.c: Likewise.
46307         * resolv/nss_dns/dns-canon.c: Likewise.
46308         * resolv/nss_dns/dns-network.c: Likewise.
46309         * resolv/res_init.c: Likewise.
46310         * resolv/res_mkquery.c: Likewise.
46311         * resolv/tst-aton.c: Likewise.
46312         * stdlib/cxa_atexit.c: Likewise.
46313         * stdlib/cxa_finalize.c: Likewise.
46314         * stdlib/gen-fpioconst.c: Likewise.
46315         * stdlib/strtol_l.c: Likewise.
46316         * string/tst-endian.c: Likewise.
46317         * sunrpc/auth_des.c: Likewise.
46318         * sunrpc/clnt_udp.c: Likewise.
46319         * sunrpc/rtime.c: Likewise.
46320         * sunrpc/svcauth_des.c: Likewise.
46321         * sunrpc/xdr.c: Likewise.
46322         * sunrpc/xdr_intXX_t.c: Likewise.
46323         * sunrpc/xdr_rec.c: Likewise.
46324         * sysdeps/generic/ldconfig.h: Likewise.
46325         * sysdeps/generic/ldsodefs.h: Likewise.
46326         * sysdeps/generic/memusage.h: Likewise.
46327         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46335         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46337         * sysdeps/posix/getaddrinfo.c: Likewise.
46338         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46339         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46340         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46341         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46342         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46343         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46344         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46345         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46346         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46347         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46348         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46349         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46350         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46351         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46352         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46353         * sysdeps/x86_64/dl-tls.h: Likewise.
46354         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46355         * time/alt_digit.c: Likewise.
46356         * time/era.c: Likewise.
46357         * wcsmbs/tst-c16c32-1.c: Likewise.
46359 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46361         * math/libm-test.inc (struct test_sincos_data): New type.
46362         (RUN_TEST_LOOP_sincos): New macro.
46363         (sincos_test_data): New variable.
46364         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46366 2013-05-16  Richard Henderson  <rth@redhat.com>
46368         * math/atest-exp2.c (LIMB64): New macro.
46369         (CONSTSZ): New macro.
46370         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46371         (hexdig): Move ...
46372         (print_mpn_fp): ... to function scope.
46373         (read_mpn_hex): Remove.
46374         (get_log2): Remove.
46375         (exp2_mpn): Use mp_log2.
46376         (main): Use mp_exp1.
46378 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46380         * math/libm-test.inc: Remove comment about not testing "inexact"
46381         exceptions.
46382         (INEXACT_EXCEPTION): New macro.
46383         (NO_INEXACT_EXCEPTION): Likewise.
46384         (INVALID_EXCEPTION_OK): Update value.
46385         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46386         (OVERFLOW_EXCEPTION_OK): Likewise.
46387         (UNDERFLOW_EXCEPTION_OK): Likewise.
46388         (IGNORE_ZERO_INF_SIGN): Likewise.
46389         (ERRNO_UNCHANGED): Likewise.
46390         (ERRNO_EDOM): Likewise.
46391         (ERRNO_ERANGE): Likewise.
46392         (test_exceptions): Handle testing "inexact" exceptions.
46393         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46394         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46395         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46396         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46397         INEXACT_EXCEPTION.
46398         (rint_towardzero_test_data): Likewise.
46399         (rint_downward_test_data): Likewise.
46400         (rint_upward_test_data): Likewise.
46402         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46403         with OVERFLOW_EXCEPTION.
46404         (exp10_test_data): Likewise.
46405         (exp2_test_data): Likewise.
46406         (expm1_test_data): Likewise.
46407         (lgamma_test_data): Likewise.
46408         (pow_test_data): Likewise.
46409         (tgamma_test_data): Likewise.
46410         (yn_test_data): Remove duplicate test of overflow.
46412         * math/libm-test.inc (struct test_cc_c_data): New type.
46413         (RUN_TEST_LOOP_cc_c): New macro.
46414         (cpow_test_data): New variable.
46415         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46417         * math/libm-test.inc (struct test_f_L_data): New type.
46418         (RUN_TEST_LOOP_f_L): New macro.
46419         (llrint_test_data): New variable.
46420         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46421         (llrint_tonearest_test_data): New variable.
46422         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46423         (llrint_towardzero_test_data): New variable.
46424         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46425         (llrint_downward_test_data): New variable.
46426         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46427         (llrint_upward_test_data): New variable.
46428         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46429         (llround_test_data): New variable.
46430         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46432 2013-05-13  Peter Collingbourne  <pcc@google.com>
46434         * math/atest-exp2.c (get_log2): Remove const attribute.
46436 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46438         * math/libm-test.inc (struct test_f_l_data): New type.
46439         (RUN_TEST_LOOP_f_l): New macro.
46440         (lrint_test_data): New variable.
46441         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46442         (lrint_tonearest_test_data): New variable.
46443         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46444         (lrint_towardzero_test_data): New variable.
46445         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46446         (lrint_downward_test_data): New variable.
46447         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46448         (lrint_upward_test_data): New variable.
46449         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46450         (lround_test_data): New variable.
46451         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46453 2013-05-15  Peter Collingbourne  <pcc@google.com>
46455         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46456         (EXTRACT_WORDS64) Use where appropriate.
46457         (INSERT_WORDS64) Likewise.
46459         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46460         constraints with x constraints.
46461         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46463         * malloc/obstack.c (_obstack_compat): Add initializer.
46465 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46467         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46468         si_trapno and add si_addr_lsb to _sifields.sigfault.
46469         (si_trapno): Remove macro.
46470         (si_addr_lsb): Define new macro.
46471         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46473 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46475         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46476         instead of TEST_f_l.
46477         (llrint_test_tonearest): Likewise.
46478         (llrint_test_towardzero): Likewise.
46479         (llrint_test_downward): Likewise.
46480         (llrint_test_upward): Likewise.
46481         (llround_test): Likewise.
46483         * math/libm-test.inc (struct test_f_i_data): Add comment.
46484         (RUN_TEST_LOOP_f_b): New macro.
46485         (RUN_TEST_LOOP_f_b_tg): Likewise.
46486         (finite_test_data): New variable.
46487         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46488         (isfinite_test_data): New variable.
46489         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46490         (isinf_test_data): New variable.
46491         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46492         (isnan_test_data): New variable.
46493         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46494         (isnormal_test_data): New variable.
46495         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46496         (issignaling_test_data): New variable.
46497         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46498         (signbit_test_data): New variable.
46499         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46501         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46502         with INVALID_EXCEPTION.
46503         (acosh_test_data): Likewise.
46504         (asin_test_data): Likewise.
46505         (atanh_test_data): Likewise.
46506         (fmod_test_data): Likewise.
46507         (log_test_data): Likewise.
46508         (log10_test_data): Likewise.
46509         (log2_test_data): Likewise.
46510         (pow_test_data): Likewise.
46511         (sqrt_test_data): Likewise.
46512         (y0_test_data): Likewise.
46513         (y1_test_data): Likewise.
46514         (yn_test_data): Likewise.
46516         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46517         function contents.
46519         * math/libm-test.inc (struct test_ff_i_data): New type.
46520         (RUN_TEST_LOOP_ff_i_tg): New macro.
46521         (isgreater_test_data): New variable.
46522         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46523         (isgreaterequal_test_data): New variable.
46524         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46525         (isless_test_data): New variable.
46526         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46527         (islessequal_test_data): New variable.
46528         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46529         (islessgreater_test_data): New variable.
46530         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46531         (isunordered_test_data): New variable.
46532         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46534 2013-05-14  David S. Miller  <davem@davemloft.net>
46536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46538 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46540         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46542         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46543         extra_test to int.
46544         (struct test_f_i_data): Change type of max_ulp to int.
46546         * math/libm-test.inc (test_ffI_f1_data): New type.
46547         (RUN_TEST_LOOP_ffI_f1): New macro.
46548         (remquo_test_data): New variable.
46549         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46551         * setjmp/tst-setjmp-fp.c: New file.
46552         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46553         (link-libm): New variable.
46554         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46556         * math/libm-test.inc (struct test_f_i_data): New type.
46557         (RUN_TEST_LOOP_f_i): New macro.
46558         (RUN_TEST_LOOP_f_i_tg): Likewise.
46559         (fpclassify_test_data): New variable.
46560         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46561         (ilogb_test_data): New variable.
46562         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46564         * math/libm-test.inc (scalbln_test): Correct function name in END
46565         call.
46567         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46568         (RUN_TEST_LOOP_fI_f1): New macro.
46569         (frexp_test_data): New variable.
46570         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46572         * math/libm-test.inc (struct test_fF_f1_data): New type.
46573         (RUN_TEST_LOOP_fF_f1): New macro.
46574         (modf_test_data): New variable.
46575         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46577         * math/libm-test.inc (struct test_f_f1_data): New type.
46578         (RUN_TEST_LOOP_f_f1): New macro.
46579         (gamma_test_data): New variable.
46580         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46581         (lgamma_test_data): New variable.
46582         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46584 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46586         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46587         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46588         (main): Comment "tls" pseudo-hwcap.
46590 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46592         * math/libm-test.inc (struct test_fl_f_data): New type.
46593         (RUN_TEST_LOOP_fl_f): New variable.
46594         (scalbln_test_data): New variable.
46595         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46597         * math/libm-test.inc (struct test_fi_f_data): New type.
46598         (RUN_TEST_LOOP_fi_f): New macro.
46599         (ldexp_test_data): New variable.
46600         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46601         (scalbn_test_data): New variable.
46602         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46604         * math/libm-test.inc (struct test_c_f_data): New type.
46605         (RUN_TEST_LOOP_c_f): New macro.
46606         (cabs_test_data): New variable.
46607         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46608         (carg_test_data): New variable.
46609         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46610         (cimag_test_data): New variable.
46611         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46612         (creal_test_data): New variable.
46613         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46615         * math/libm-test.inc (struct test_if_f_data): New type.
46616         (RUN_TEST_LOOP_if_f): New macro.
46617         (jn_test_data): New variable.
46618         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46619         (yn_test_data): New variable.
46620         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46622         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46624 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46626         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46627         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46629 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46631         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46632         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46633         (bench-deps): Add bench-timing.h.
46634         * benchtests-bench-skeleton.c: Include bench-timing.h.
46635         (main): Use TIMING_* macros instead of clock_gettime.
46636         * benchtests/bench-timing.h: New file.
46638         [BZ #14582]
46639         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46640         Renamed from _LIB_VERSION.
46641         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46643 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46645         * math/libm-test.inc (struct test_fff_f_data): New type.
46646         (RUN_TEST_LOOP_fff_f): New macro.
46647         (fma_test_data): New variable.
46648         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46649         (fma_towardzero_test_data): New variable.
46650         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46651         (fma_downward_test_data): New variable.
46652         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46653         (fma_upward_test_data): New variable.
46654         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46656         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46657         (struct test_c_c_data): New type.
46658         (RUN_TEST_LOOP_c_c): New macro.
46659         (cacos_test_data): New variable.
46660         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46661         (cacosh_test_data): New variable.
46662         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46663         (casin_test_data): New variable.
46664         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46665         (casinh_test_data): New variable.
46666         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46667         (catan_test_data): New variable.
46668         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46669         (catanh_test_data): New variable.
46670         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46671         (ccos_test_data): New variable.
46672         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46673         (ccosh_test_data): New variable.
46674         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46675         (cexp_test_data): New variable.
46676         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46677         (clog_test_data): New variable.
46678         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46679         (clog10_test_data): New variable.
46680         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46681         (conj_test_data): New variable.
46682         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46683         (cproj_test_data): New variable.
46684         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46685         (csin_test_data): New variable.
46686         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46687         (csinh_test_data): New variable.
46688         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46689         (csqrt_test_data): New variable.
46690         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46691         (ctan_test_data): New variable.
46692         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46693         (ctan_tonearest_test_data): New variable.
46694         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46695         (ctan_towardzero_test_data): New variable.
46696         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46697         (ctan_downward_test_data): New variable.
46698         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46699         (ctan_upward_test_data): New variable.
46700         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46701         (ctanh_test_data): New variable.
46702         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46703         (ctanh_tonearest_test_data): New variable.
46704         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46705         (ctanh_towardzero_test_data): New variable.
46706         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46707         (ctanh_downward_test_data): New variable.
46708         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46709         (ctanh_upward_test_data): New variable.
46710         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46711         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46712         of BUILD_COMPLEX.
46714         * math/libm-test.inc (struct test_ff_f_data): New type.
46715         (struct test_ff_f_data_nexttoward): Likewise.
46716         (RUN_TEST_LOOP_2_f): New macro.
46717         (RUN_TEST_LOOP_ff_f): Likewise.
46718         (atan2_test_data): New variable.
46719         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46720         (copysign_test_data): New variable.
46721         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46722         (fdim_test_data): New variable.
46723         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46724         (fmax_test_data): New variable.
46725         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46726         (fmin_test_data): New variable.
46727         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46728         (fmod_test_data): New variable.
46729         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46730         (hypot_test_data): New variable.
46731         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46732         (nextafter_test_data): New variable.
46733         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46734         (nexttoward_test_data): New variable.
46735         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46736         (pow_test_data): New variable.
46737         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46738         (pow_tonearest_test_data): New variable.
46739         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46740         (pow_towardzero_test_data): New variable.
46741         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46742         (pow_downward_test_data): New variable.
46743         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46744         (pow_upward_test_data): New variable.
46745         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46746         (remainder_test_data): New variable.
46747         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46748         (scalb_test_data): New variable.
46749         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46750         * sysdeps/i386/fpu/libm-test-ulps: Update.
46752 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46754         * math/libm-test.inc (fma_test): Use max_value instead of local
46755         variable fltmax.
46756         (nextafter_test): Likewise.
46758         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46759         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46760         (acos_downward_test_data): New variable.
46761         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46762         (acos_upward_test_data): New variable.
46763         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46764         (acosh_test_data): New variable.
46765         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46766         (asin_test_data): New variable.
46767         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46768         (asin_tonearest_test_data): New variable.
46769         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46770         (asin_towardzero_test_data): New variable.
46771         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46772         (asin_downward_test_data): New variable.
46773         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46774         (asin_upward_test_data): New variable.
46775         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46776         (asinh_test_data): New variable.
46777         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46778         (atan_test_data): New variable.
46779         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46780         (atanh_test_data): New variable.
46781         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46782         (cbrt_test_data): New variable.
46783         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46784         (ceil_test_data): New variable.
46785         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46786         (cos_test_data): New variable.
46787         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46788         (cos_tonearest_test_data): New variable.
46789         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46790         (cos_towardzero_test_data): New variable.
46791         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46792         (cos_downward_test_data): New variable.
46793         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46794         (cos_upward_test_data): New variable.
46795         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46796         (cosh_test_data): New variable.
46797         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46798         (cosh_tonearest_test_data): New variable.
46799         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46800         (cosh_towardzero_test_data): New variable.
46801         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46802         (cosh_downward_test_data): New variable.
46803         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46804         (cosh_upward_test_data): New variable.
46805         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46806         (erf_test_data): New variable.
46807         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46808         (erfc_test_data): New variable.
46809         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46810         (exp_test_data): New variable.
46811         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46812         (exp_tonearest_test_data): New variable.
46813         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46814         (exp_towardzero_test_data): New variable.
46815         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46816         (exp_downward_test_data): New variable.
46817         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46818         (exp_upward_test_data): New variable.
46819         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46820         (exp10_test_data): New variable.
46821         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46822         (exp2_test_data): New variable.
46823         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46824         (expm1_test_data): New variable.
46825         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46826         (fabs_test_data): New variable.
46827         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46828         (floor_test_data): New variable.
46829         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46830         (j0_test_data): New variable.
46831         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46832         (j1_test_data): New variable.
46833         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46834         (log_test_data): New variable.
46835         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46836         (log10_test_data): New variable.
46837         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46838         (log1p_test_data): New variable.
46839         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46840         (log2_test_data): New variable.
46841         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46842         (logb_test_data): New variable.
46843         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46844         (logb_downward_test_data): New variable.
46845         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46846         (nearbyint_test_data): New variable.
46847         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46848         (rint_test_data): New variable.
46849         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46850         (rint_tonearest_test_data): New variable.
46851         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46852         (rint_towardzero_test_data): New variable.
46853         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46854         (rint_downward_test_data): New variable.
46855         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46856         (rint_upward_test_data): New variable.
46857         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46858         (round_test_data): New variable.
46859         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46860         (sin_test_data): New variable.
46861         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46862         (sin_tonearest_test_data): New variable.
46863         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46864         (sin_towardzero_test_data): New variable.
46865         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46866         (sin_downward_test_data): New variable.
46867         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46868         (sin_upward_test_data): New variable.
46869         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46870         (sinh_test_data): New variable.
46871         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46872         (sinh_tonearest_test_data): New variable.
46873         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46874         (sinh_towardzero_test_data): New variable.
46875         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46876         (sinh_downward_test_data): New variable.
46877         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46878         (sinh_upward_test_data): New variable.
46879         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46880         (sqrt_test_data): New variable.
46881         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46882         (tan_test_data): New variable.
46883         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46884         (tan_tonearest_test_data): New variable.
46885         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46886         (tan_towardzero_test_data): New variable.
46887         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46888         (tan_downward_test_data): New variable.
46889         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46890         (tan_upward_test_data): New variable.
46891         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46892         (tanh_test_data): New variable.
46893         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46894         (tgamma_test_data): New variable.
46895         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46896         (trunc_test_data): New variable.
46897         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46898         (y0_test_data): New variable.
46899         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46900         (y1_test_data): New variable.
46901         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46902         (significand_test_data): New variable.
46903         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46905 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46907         [BZ #12387]
46908         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46910 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46912         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46914 2013-05-10  Andreas Jaeger  <aj@suse.de>
46916         [BZ #15448]
46917         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46918         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46920 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46922         * math/gen-libm-test.pl (adjust_arg): New function.
46923         (special_functions): Handle generating output in both functions
46924         and arrays.
46925         (parse_args): Likewise.
46926         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46927         $in_func argument to parse_args.
46928         * math/libm-test.inc (struct test_f_f_data): New type.
46929         (IF_ROUND_INIT_): New macro.
46930         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46931         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46932         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46933         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46934         (ROUND_RESTORE_): Likewise.
46935         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46936         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46937         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46938         (ROUND_RESTORE_FE_UPWARD): Likewise.
46939         (RUN_TEST_LOOP_f_f): New macro.
46940         (acos_test_data): New variable.
46941         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46942         (acos_tonearest_test_data): New variable.
46943         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46945 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46947         * benchtests/bench-skeleton.c (startup): Fix coding style.
46949 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46951         [BZ #6809]
46952         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46953         negative infinity argument.
46954         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46955         negative infinity argument.
46956         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46957         negative infinity argument.
46958         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46959         domain errors.
46961 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46963         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46964         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46965         * iconv/iconv_prog.c (main): Likewise.
46966         * locale/programs/charmap-dir.c (charmap_readdir)
46967         (fopen_uncompressed): Likewise.
46968         * locale/programs/locfile.c (siblings_uncached)
46969         (write_locale_data): Use lstat64 instead of lstat.
46970         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46971         stat.
46973 2013-05-10  Andreas Jaeger  <aj@suse.de>
46975         [BZ #15395]
46976         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46977         localization.
46978         Include <locale.h>.
46980 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46982         * elf/dl-close.c (_dl_close_worker): Add comments.
46984 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46986         [BZ #15359]
46987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46988         high part of pi/2.
46989         (__ieee754_rem_pio2l): Update comments.
46991         [BZ #15429]
46992         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46993         high part of pi/2.
46994         (__ieee754_rem_pio2l): Update comments.
46996         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46997         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46999         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47000         M_PI_4l.
47002         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47003         (M_PI_34_LOG10El): Likewise.
47004         (M_PI2_LOG10El): Likewise.
47005         (M_PI4_LOG10El): Likewise.
47006         (M_PI_LOG10El): Likewise.
47008 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47012 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47014         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47015         (MINUS_ZERO_INIT): Likewise.
47016         (PLUS_INFTY_INIT): Likewise.
47017         (MINUS_INFTY_INIT): Likewise.
47018         (QNAN_VALUE_INIT): Likewise.
47019         (MAX_VALUE_INIT): Likewise.
47020         (MIN_VALUE_INIT): Likewise.
47021         (MIN_SUBNORM_VALUE_INIT): Likewise.
47022         (plus_zero): Initialize with PLUS_ZERO_INIT.
47023         (minus_zero): Initialize with MINUS_ZERO_INIT.
47024         (plus_infty): Initialize with PLUS_INFTY_INIT.
47025         (minus_infty): Initialize with MINUS_INFTY_INIT.
47026         (qnan_value): Initialize with QNAN_VALUE_INIT.
47027         (max_value): Initialize with MAX_VALUE_INIT.
47028         (min_value): Initialize with MIN_VALUE_INIT.
47029         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47031         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47032         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47033         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47034         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47036         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47037         (RUN_TEST_2_f): Likewise.
47038         (RUN_TEST_ff_f): Likewise.
47039         (RUN_TEST_fi_f): Likewise.
47040         (RUN_TEST_fl_f): Likewise.
47041         (RUN_TEST_fff_f): Likewise.
47042         (RUN_TEST_c_f): Likewise.
47043         (RUN_TEST_f_f1): Likewise.
47044         (RUN_TEST_fF_f1): Likewise.
47045         (RUN_TEST_fI_f1): Likewise.
47046         (RUN_TEST_ffI_f1): Likewise.
47047         (RUN_TEST_c_c): Likewise.
47048         (RUN_TEST_cc_c): Likewise.
47049         (RUN_TEST_f_i): Likewise.
47050         (RUN_TEST_f_i_tg): Likewise.
47051         (RUN_TEST_ff_i_tg): Likewise.
47052         (RUN_TEST_f_b): Likewise.
47053         (RUN_TEST_f_b_tg): Likewise.
47054         (RUN_TEST_f_l): Likewise.
47055         (RUN_TEST_f_L): Likewise.
47056         (RUN_TEST_sincos): Likewise.
47057         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47058         whether to show exceptions.  Do not include ");\n" in return
47059         value.
47060         (special_functions): Output call to RUN_TEST_sincos instead of
47061         check_float calls.  Update calls to new_test.
47062         (parse_args): Output call to single RUN_TEST_* macro instead of
47063         check_* calls and other assignments.  Update calls to new_test.
47065         [BZ #2546]
47066         [BZ #2560]
47067         [BZ #5159]
47068         [BZ #15426]
47069         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47070         input to result for tgamma overflow.
47071         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47072         (gamma_coeff): New variable.
47073         (NCOEFF): New macro.
47074         (gamma_positive): New function.
47075         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47076         underflow here.  Use gamma_positive instead of exp (lgamma) for
47077         other arguments.
47078         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47079         (gamma_coeff): New variable.
47080         (NCOEFF): New macro.
47081         (gammaf_positive): New function.
47082         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47083         underflow here.  Use gamma_positive instead of exp (lgamma) for
47084         other arguments.
47085         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47086         (gamma_coeff): New variable.
47087         (NCOEFF): New macro.
47088         (gammal_positive): New function.
47089         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47090         underflow here.  Use gamma_positive instead of exp (lgamma) for
47091         other arguments.
47092         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47093         (gamma_coeff): New variable.
47094         (NCOEFF): New macro.
47095         (gammal_positive): New function.
47096         (__ieee754_gammal_r): Handle positive infinity, overflow and
47097         underflow here.  Handle NaN the same as positive infinity.  Remove
47098         check x < 0xffffffff for negative integers.  Use gamma_positive
47099         instead of exp (lgamma) for other arguments.
47100         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47101         (gamma_coeff): New variable.
47102         (NCOEFF): New macro.
47103         (gammal_positive): New function.
47104         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47105         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47106         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47107         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47108         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47109         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47110         * sysdeps/generic/math_private.h (__gamma_productf): New
47111         prototype.
47112         (__gamma_product): Likewise.
47113         (__gamma_productl): Likewise.
47114         * math/Makefile (libm-calls): Add gamma_product.
47115         * math/libm-test.inc (tgamma_test): Add more tests.
47116         * sysdeps/i386/fpu/libm-test-ulps: Update.
47117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47119 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47121         * benchtests/bench-skeleton.c (main): Preheat CPU.
47123 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47125         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47127 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47129         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47130         and _dl_skip_args_internal.
47132 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47134         * manual/message.texi (Message Translation): Talk about users.
47135         Message to key mapping impacts design.
47137 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47139         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47141         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47143         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47144         * sysdeps/wordsize-64/glob64.c: ... here.
47146         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47147         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47148         New macros.
47150         * debug/getlogin_r_chk.c: Moved to ...
47151         * login/getlogin_r_chk.c: ... here.
47152         * debug/Makefile (routines): Move getlogin_r_chk to ...
47153         * login/Makefile (routines): ... here.
47154         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47155         * login/Versions (libc: GLIBC_2.4): ... here.
47157         * io/poll.c (__poll): Renamed from poll.
47158         Add libc_hidden_def.
47159         (poll): Define as weak alias.
47161         * debug/ptsname_r_chk.c: Moved to ...
47162         * login/ptsname_r_chk.c: ... here.
47163         * debug/Makefile (routines): Move ptsname_r_chk to ...
47164         * login/Makefile (routines): ... here.
47165         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47166         * login/Versions (libc: GLIBC_2.4): ... here.
47168         * posix/getlogin.c: Moved to ...
47169         * login/getlogin.c: ... here.
47170         * posix/getlogin_r.c: Moved to ...
47171         * login/getlogin_r.c: ... here.
47172         * posix/getlogin_r.c: Moved to ...
47173         * login/getlogin_r.c: ... here.
47174         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47175         * login/Makefile (routines): ... here.
47176         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47177         * login/Versions (libc: GLIBC_2.0): ... here.
47179         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47180         (setrlimit): Define as weak alias.
47182         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47183         Call __ names for open, ftruncate, and close.
47184         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47185         (truncate): Define as weak alias.
47187 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47189         * math/gen-libm-test.pl (parse_args): Initialize x before each
47190         test of frexp, modf and remquo.
47192         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47193         test signgam value.
47195 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47197         [BZ #15418]
47198         [BZ #15419]
47199         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47200         internal tests.
47201         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47203 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47205         * elf/dl-writev.h: New file.
47206         * elf/dl-misc.c: Include it.
47207         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47208         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47210 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47212         * math/libm-test.inc (noXFails): Remove variable.
47213         (noXPasses): Likewise.
47214         (BUILD_COMPLEX_INT): Remove macro.
47215         (print_screen): Remove xfail argument.
47216         (print_screen_max_error): Likewise.
47217         (update_stats): Likewise.
47218         (print_max_error): Likewise.  Update calls to other affected
47219         functions.
47220         (print_complex_max_error): Likewise.
47221         (test_single_exception): Update calls to print_screen.
47222         (test_single_errno): Likewise.
47223         (check_float_internal): Remove xfail argument.  Update calls to
47224         other affected functions.
47225         (check_float): Likewise.
47226         (check_complex): Likewise.
47227         (check_int): Likewise.
47228         (check_long): Likewise.
47229         (check_bool): Likewise.
47230         (check_longlong): Likewise.
47231         (main): Don't print noXFails and noXPasses.
47232         * math/gen-libm-test.pl (top level): Don't mention expected
47233         failure handling in comment.
47234         (new_test): Don't handle expected failures.
47235         (parse_args): Don't mention expected failure handling in comment.
47236         (generate_testfile): Don't handle expected failures.
47237         (parse_ulps): Likewise.
47238         (print_ulps_file): Likewise.
47239         (get_failure): Remove function.
47240         (output_test): Don't handle expected failures.
47241         * make/README.libm-test: Don't mention expected failure handling.
47243         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47244         (minus_zero): Likewise.
47245         (plus_infty): Likewise.
47246         (minus_infty): Likewise.
47247         (qnan_value): Likewise.
47248         (max_value): Likewise.
47249         (min_value): Likewise.
47250         (min_subnorm_value): Likewise.
47251         (initialize): Do not initialize those variables dynamically.
47253 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47255         * io/open.c (__open_2): Moved to ...
47256         * io/open_2.c: ... this new file.
47257         * io/open64.c (__open64_2): Moved to ...
47258         * io/open64_2.c: ... this new file.
47259         * io/openat.c (__openat_2): Moved to ...
47260         * io/openat_2.c: ... this new file.
47261         * io/openat64.c (__openat64_2): Moved to ...
47262         * io/openat64_2.c: ... this new file.
47263         * io/Makefile (routines): Add them.
47264         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47265         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47266         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47267         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47268         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47269         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47270         (__openat64): Add hidden_ver.
47271         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47272         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47274         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47275         Separately conditionalize setting of GLRO(dl_sysinfo) so
47276         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47277         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47279 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47281         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47283         definition.
47284         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47285         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47286         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47287         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47288         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47290 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47292         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47293         test signgam value.
47295         * math/libm-test.inc (hypot_test): Do not use
47296         IGNORE_ZERO_INF_SIGN.
47298 2013-05-03  Andreas Jaeger  <aj@suse.de>
47300         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47301         Linux 3.9.
47302         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47303         (PF_MAX): Adjust for VSOCK change.
47305 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47309 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47311         [BZ #15264]
47312         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47313         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47314         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47316 2013-05-02  David S. Miller  <davem@davemloft.net>
47318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47320 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47322         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47324 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47326         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47328 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47330         [BZ #14952]
47331         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47332         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47333         Use __attribute__ ((__gnu_inline__)).
47334         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47335         Don't use __attribute__ ((__gnu_inline__)).
47337 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47339         [BZ #15423]
47340         * math/s_catan.c (__catan): Handle small real or imaginary part of
47341         input specially to avoid spurious underflow.
47342         * math/s_catanf.c (__catanf): Likewise.
47343         * math/s_catanh.c (__catanh): Likewise.
47344         * math/s_catanhf.c (__catanhf): Likewise.
47345         * math/s_catanhl.c (__catanhl): Likewise.
47346         * math/s_catanl.c (__catanl): Likewise.
47347         * math/libm-test.inc (catan_test): Add more tests.
47348         (catanh_test): Likewise.
47349         * sysdeps/i386/fpu/libm-test-ulps: Update.
47350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47352 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47356 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47358         [BZ #15416]
47359         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47360         accurately for denominator in atan2.
47361         * math/s_catanf.c (__catanf): Likewise.
47362         * math/s_catanh.c (__catanh): Likewise.
47363         * math/s_catanhf.c (__catanhf): Likewise.
47364         * math/s_catanhl.c (__catanhl): Likewise.
47365         * math/s_catanl.c (__catanl): Likewise.
47366         * math/libm-test.inc (catan_test): Add more tests.
47367         (catanh_test): Likewise.
47368         * sysdeps/i386/fpu/libm-test-ulps: Update.
47369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47371 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47373         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47375         * benchtests/Makefile (bench): Remove slow benchmarks.
47376         * benchtests/atan-inputs: Add slow benchmark inputs.
47377         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47378         (BENCH_FUNC): Accept variant offset.
47379         (VARIANT): Define.
47380         * benchtests/bench-skeleton.c (main): Run benchmark for each
47381         variant.
47382         * benchtests/cos-inputs: Add slow benchmark inputs.
47383         * benchtests/exp-inputs: Likewise.
47384         * benchtests/pow-inputs: Likewise.
47385         * benchtests/sin-inputs: Likewise.
47386         * benchtests/slowatan-inputs: Remove.
47387         * benchtests/slowatan.c: Remove.
47388         * benchtests/slowcos-inputs: Remove.
47389         * benchtests/slowcos.c: Remove.
47390         * benchtests/slowexp-inputs: Remove.
47391         * benchtests/slowexp.c: Remove.
47392         * benchtests/slowpow-inputs: Remove.
47393         * benchtests/slowpow.c: Remove.
47394         * benchtests/slowsin-inputs: Remove.
47395         * benchtests/slowsin.c: Remove.
47396         * benchtests/slowtan-inputs: Remove.
47397         * benchtests/slowtan.c: Remove.
47398         * benchtests/tan-inputs: Add slow benchmark inputs.
47399         * scripts/bench.pl: Parse comments and directives.
47401         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47402         in CPPFLAGS.
47403         ($(objpfx)bench-%.c): Remove *-ITER.
47404         * benchtests/bench-modf.c: Remove definition of ITER.
47405         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47406         (main): Loop for DURATION seconds instead of fixed number of
47407         iterations.
47408         * scripts/bench.pl: Don't expect iterations in parameters.
47410 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47412         * io/fchdir.c (__fchdir): Renamed from fchdir.
47413         (fchdir): Define as weak alias.
47415 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47417         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47418         (ERRNO_EDOM): Likewise.
47419         (ERRNO_ERANGE): Likewise.
47420         (noErrnoTests): New variable.
47421         (init_max_error): Set errno to 0.
47422         (test_single_errno): New function.
47423         (test_errno): Likewise.
47424         (check_float_internal): Call test_errno.  Set errno to 0.
47425         (check_complex): Refer to errno tests in comment.
47426         (check_int): Call test_errno.  Set errno to 0.
47427         (check_long): Likewise.
47428         (check_bool): Likewise.
47429         (check_longlong): Likewise.
47430         (cos_test): Use ERRNO_* flags for errno tests instead of
47431         check_int.
47432         (expm1_test): Likewise.
47433         (fmod_test): Likewise.
47434         (ilogb_test): Likewise.
47435         (lgamma_test): Likewise.
47436         (pow_test): Likewise.
47437         (remainder_test): Likewise.
47438         (sin_test): Likewise.
47439         (tan_test): Likewise.
47440         (yn_test): Likewise.
47441         (initialize): Set errno to 0.
47442         (main): Print number of errno tests.
47443         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47445 2013-04-29  Andreas Jaeger  <aj@suse.de>
47447         [BZ #15084]
47448         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47449         and RES_USEVC.
47451         [BZ #15085]
47452         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47453         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47454         unimplemented.
47456         [BZ #15380]
47457         * stdlib/random.c (__initstate): Return NULL if
47458         __initstate fails.
47460         [BZ #15086]
47461         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47462         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47463         RES_SNGLKUPREOP.
47465 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47469 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47471         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47472         of individual tests.
47473         (casin_test): Likewise.
47474         (casinh_test): Likewise.
47476 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47478         [BZ #15409]
47479         * math/s_catan.c (__catan): Handle arguments with large real or
47480         imaginary part separately without squaring.
47481         * math/s_catanf.c (__catanf): Likewise.
47482         * math/s_catanh.c (__catanh): Likewise.
47483         * math/s_catanhf.c (__catanhf): Likewise.
47484         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47485         and redefine.
47486         (__catanhl): Handle arguments with large real or imaginary part
47487         separately without squaring.
47488         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47489         and redefine.
47490         (__catanl): Handle arguments with large real or imaginary part
47491         separately without squaring.
47492         * math/libm-test.inc (catan_test): Add more tests.
47493         (catanh_test): Likewise.
47494         * sysdeps/i386/fpu/libm-test-ulps: Update.
47495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47497 2013-04-27  Andreas Jaeger  <aj@suse.de>
47499         [BZ #15007]
47500         * stdlib/stdlib.h: Update guards for qecvt.
47501         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47502         <stdlib.h>.
47504 2013-04-27  Allan McRae  <allan@archlinux.org>
47506         * sysdeps/i386/fpu/libm-test-ulps: Update.
47508 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47510         [BZ #15406]
47511         * math/s_catan.c: Include <float.h>.
47512         (__catan): Ensure underflow exception occurs for underflowed
47513         result.
47514         * math/s_catanf.c: Include <float.h>.
47515         (__catanf): Ensure underflow exception occurs for underflowed
47516         result.
47517         * math/s_catanh.c: Include <float.h>.
47518         (__catanh): Ensure underflow exception occurs for underflowed
47519         result.
47520         * math/s_catanhf.c: Include <float.h>.
47521         (__catanhf): Ensure underflow exception occurs for underflowed
47522         result.
47523         * math/s_catanhl.c: Include <float.h>.
47524         (__catanhl): Ensure underflow exception occurs for underflowed
47525         result.
47526         * math/s_catanl.c: Include <float.h>.
47527         (__catanl): Ensure underflow exception occurs for underflowed
47528         result.
47529         * math/libm-test.inc (catan_test): Add more tests.
47530         (catanh_test): Likewise.
47532         [BZ #15405]
47533         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47534         underflowed result.
47535         * math/s_ccoshf.c (__ccoshf): Likewise.
47536         * math/s_ccoshl.c (__ccoshl): Likewise.
47537         * math/s_csin.c (__csin): Likewise.
47538         * math/s_csinf.c (__csinf): Likewise.
47539         * math/s_csinh.c (__csinh): Likewise.
47540         * math/s_csinhf.c (__csinhf): Likewise.
47541         * math/s_csinhl.c (__csinhl): Likewise.
47542         * math/s_csinl.c (__csinl): Likewise.
47543         * math/libm-test.inc (ccos_test): Add more tests.
47544         (ccosh_test): Likewise.
47545         (csin_test): Likewise.
47546         (csinh_test): Likewise.
47548 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47550         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47551         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47552         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47553         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47554         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47555         powerpc/power5+/fpu folders.
47556         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47559 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47563 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47565         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47566         additions to variable.
47567         [$(config-machine) = x86_64] (modules-names): Likewise.
47568         ($(objpfx)tst-audit3): Remove dependency.
47569         ($(objpfx)tst-audit3.out): Likewise.
47570         ($(objpfx)tst-audit4): Likewise.
47571         ($(objpfx)tst-audit4.out): Likewise.
47572         ($(objpfx)tst-audit5): Likewise.
47573         ($(objpfx)tst-audit5.out): Likewise.
47574         ($(objpfx)tst-audit6): Likewise.
47575         ($(objpfx)tst-audit6.out): Likewise.
47576         ($(objpfx)tst-audit7): Likewise.
47577         ($(objpfx)tst-audit7.out): Likewise.
47578         (tst-audit3-ENV): Remove variable.
47579         (tst-audit4-ENV): Likewise.
47580         (tst-audit5-ENV): Likewise.
47581         (tst-audit6-ENV): Likewise.
47582         (tst-audit7-ENV): Likewise.
47583         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47584         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47585         addition to variable.
47586         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47587         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47588         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47589         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47590         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47591         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47592         tst-audit3, tst-audit4 and tst-audit5.
47593         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47594         tst-audit6 and tst-audit7.
47595         [$(subdir) = elf] (modules-names): Add audit modules for those
47596         tests.
47597         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47598         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47599         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47600         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47601         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47602         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47603         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47604         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47605         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47606         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47607         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47608         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47609         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47610         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47611         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47612         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47613         Likewise.
47614         [$(subdir) = elf && $(config-cflags-avx) = yes]
47615         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47616         [$(subdir) = elf && $(config-cflags-avx) = yes]
47617         (CFLAGS-tst-auditmod4a.c): Likewise.
47618         [$(subdir) = elf && $(config-cflags-avx) = yes]
47619         (CFLAGS-tst-auditmod4b.c): Likewise.
47620         [$(subdir) = elf && $(config-cflags-avx) = yes]
47621         (CFLAGS-tst-auditmod6b.c): Likewise.
47622         [$(subdir) = elf && $(config-cflags-avx) = yes]
47623         (CFLAGS-tst-auditmod6c.c): Likewise.
47624         [$(subdir) = elf && $(config-cflags-avx) = yes]
47625         (CFLAGS-tst-auditmod7b.c): Likewise.
47626         * elf/tst-audit3.c: Move to ...
47627         * sysdeps/x86_64/tst-audit3.c: ... here.
47628         * elf/tst-audit4.c: Move to ...
47629         * sysdeps/x86_64/tst-audit4.c: ... here.
47630         * elf/tst-audit5.c: Move to ...
47631         * sysdeps/x86_64/tst-audit5.c: ... here.
47632         * elf/tst-audit6.c: Move to ...
47633         * sysdeps/x86_64/tst-audit6.c: ... here.
47634         * elf/tst-audit7.c: Move to ...
47635         * sysdeps/x86_64/tst-audit7.c: ... here.
47636         * elf/tst-auditmod3a.c: Move to ...
47637         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47638         * elf/tst-auditmod3b.c: Move to ...
47639         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47640         * elf/tst-auditmod4a.c: Move to ...
47641         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47642         * elf/tst-auditmod4b.c: Move to ...
47643         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47644         * elf/tst-auditmod5a.c: Move to ...
47645         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47646         * elf/tst-auditmod5b.c: Move to ...
47647         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47648         * elf/tst-auditmod6a.c: Move to ...
47649         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47650         * elf/tst-auditmod6b.c: Move to ...
47651         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47652         * elf/tst-auditmod6c.c: Move to ...
47653         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47654         * elf/tst-auditmod7a.c: Move to ...
47655         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47656         * elf/tst-auditmod7b.c: Move to ...
47657         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47659 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47661         [BZ #15366]
47662         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47663         define unconditionally.
47664         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47665         define unconditionally.
47666         (INT8_C, INT16_C, etc.): Likewise.
47668 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47670         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47671         __ehdr_start with hidden visibility.
47673         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47675 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47677         * math/libm-test.inc (cos_test): Use accurate hex constants.
47678         (sincost_test): Likewise.
47680 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47682         * math/libm-test.inc (catan_test): Add more tests.
47683         (catanh_test): Likewise.
47685         * math/s_catanf.c (__catanf): Use suffixed floating-point
47686         constants.
47687         * math/s_catanhf.c (__catanhf): Likewise.
47688         * math/s_catanhl.c (__catanhl): Likewise.
47689         * math/s_catanl.c (__catanl): Likewise.
47691         [BZ #15394]
47692         * math/s_catan.c (__catan): Calculate imaginary part of result
47693         with log1p not log unless computing log of number close to 0.
47694         * math/s_catanf.c (__catanf): Likewise.
47695         * math/s_catanl.c (__catanl): Likewise.
47696         * math/s_catanh.c (__catanh): Calculate real part of result with
47697         log1p not log unless computing log of number close to 0.
47698         * math/s_catanhf.c (__catanhf): Likewise.
47699         * math/s_catanhl.c (__catanhl): Likewise.
47700         * math/libm-test.inc (catan_test): Add more tests.
47701         (catanh_test): Likewise.
47702         * sysdeps/i386/fpu/libm-test-ulps: Update.
47703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47705 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47707         * benchtests/Makefile: Mention files in which fast and slow
47708         paths of math functions are implemented.
47710 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47712         * sysdeps/posix/timespec_get.c: New file.
47714 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47716         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47717         POWER.
47718         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47719         for POWER.
47720         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47721         powerpc/power5/fpu folders.
47722         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47723         * benchtests/Makefile: Add modf testcase.
47724         * benchtests/bench-modf.c: New file: Benchmark test for mo
47726 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47728         [BZ #14888]
47729         * time/Makefile (tests): Add tst-strptime-whitespace.
47730         * time/strptime_l.c (get_number): Use ISSPACE.
47731         (__strptime_internal): Likewise.
47732         * time/tst-strptime-whitespace.c: New test case.
47734 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47736         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47737         member.
47738         (_nss_files_init): Set it here.
47740 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47742         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47743         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47744         unsigned.
47746 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47748         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47750 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47752         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47753         size just once.
47755 2013-04-21  David S. Miller  <davem@davemloft.net>
47757         * po/ru.po: Update Russion translation from translation project.
47759 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47761         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47762         and setfsgid.
47764 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47766         * configure.in: Remove i386 configure warning. Remove i386 case.
47767         * configure: Regenerate.
47768         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47769         Add example to error message.
47770         * sysdeps/i386/configure: Regenerate.
47772 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47774         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47775         slowtan.
47776         * benchtests/cos-inputs: New file.
47777         * benchtests/slowcos-inputs: New file.
47778         * benchtests/slowcos.c: New file.
47779         * benchtests/slowtan-inputs: New file.
47780         * benchtests/slowtan.c: New file.
47781         * benchtests/tan-inputs: New file.
47783 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47785         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47786         considered kosher.
47788 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47790         * benchtests/Makefile: Include cppflags-iterator.mk to add
47791         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47793         * Makefile.in (bench-clean): New target.
47794         * benchtests/Makefile (bench-clean): Likewise.
47796 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47798         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47800 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47802         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47804 2013-04-15  Andreas Schwab  <schwab@suse.de>
47806         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47807         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47808         * nscd/pwdcache.c (cache_addpw): Likewise.
47809         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47810         more than recsize.
47812 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47814         * benchtests/Makefile (bench): Write all output to
47815         bench-out.tmp together.
47817 2013-04-15  Andreas Schwab  <schwab@suse.de>
47819         * nscd/nscd.c (main): Don't fork again after closing files.
47821 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47823         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47825         * benchtests/Rules (bench-deps): Collect dependencies into a
47826         single variable.  Add Makefile to dependencies.
47827         ($(objpfx)bench-%.c): Depend on bench-deps.
47829 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47830             Xavier Roche  <roche+kml2@exalead.com>
47832         [BZ #15361]
47833         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47834         just that it's a file descriptor.
47835         * manual/llio.texi (Synchronizing AIO Operations): Update description
47836         for EBADF error from aio_fsync.
47838 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47840         * Rules (bench): Move target definition...
47841         * benchtests/Makefile: ... here.
47843 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47845         * math/libm-test.inc (cos_test): Fix PI/2 test.
47846         (sincos_test): Likewise.
47847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47848         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47850 2013-04-11  Andreas Schwab  <schwab@suse.de>
47852         [BZ #13988]
47853         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47854         accept exponent character only when digits were seen.
47855         * stdio-common/Makefile (tests): Add bug26.
47856         * stdio-common/bug26.c: New file.
47858         [BZ #14293]
47859         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47860         non-freeable.
47862 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47864         * Makeconfig (rtld-prefix): Define built linker prefix.
47865         * Rules (run-bench): Use it.
47866         * math/Makefile (run-regen-ulps): Likewise.
47868         * Rules (bench): Remove eval.
47870 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47871             Roland McGrath  <roland@hack.frob.com>
47872             Ondrej Bilka  <neleai@seznam.cz>
47874         [BZ #15346]
47875         * time/getdate.c: Include ctype.h and alloca.h.
47876         (__getdate_r): Trim leading and trailing spaces of input.
47877         * time/tst-getdate.c (tests): Add tests with leading and
47878         trailing spaces.
47880 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47882         [BZ #14280]
47883         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47884         when computing value.
47886 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47888         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47889         Use testrun.sh to run libm tests.
47891         [BZ #15309]
47892         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47894 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47896         [BZ #15264]
47897         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47899 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47901         * Makefile.in (regen-ulps): New target.
47902         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47903         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47904         [ifneq (no,$(PERL)] (regen-ulps): New target.
47905         [ifeq (no,$(PERL)] (regen-ulps): New target.
47906         * math/libm-test.inc (ulps_file_name): Define.
47907         (output_dir): New variable.
47908         (options): Add "output-dir" option.
47909         (parse_opt): Handle 'o' case.
47910         (main): If output_dir is non-NULL use it as a prefix
47911         otherwise use "".
47912         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47914 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47916         [BZ #10060, #10062]
47917         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47918         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47919         fail configure if __sync_val_compare_and_swap is not inlined.
47920         * sysdeps/i386/configure: Regenerate.
47921         * configure.in: Build for i686 when configured for i386.
47922         * configure: Regenerate.
47923         * README: Remove i386 reference.
47925 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47927         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47928         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47930 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47932         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47933         (lmsnanval): New variables.
47934         (F): Add conversion tests.
47935         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47936         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47938         * stdio-common/tstdiomisc.c (F): Properly collect individual
47939         tests' results.
47941         [BZ #14686, #15336]
47942         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47943         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47944         Instead, use input NaN values or generate a qNaN by arithmetic
47945         operation.  Also fix bugs to comply with the standard.
47946         * math/libm-test.inc (remainder_test): Add more tests.
47948         [BZ #15335, #15342]
47949         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47951         input NaN values or generate a qNaN by arithmetic operation.
47953         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47954         unreachable code.
47956         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47957         definitions.
47959 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47961         [BZ #14478]
47962         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47963         underflowed result.
47964         * math/s_cexpf.c (__cexpf): Likewise.
47965         * math/s_cexpl.c (__cexpl): Likewise.
47966         * math/libm-test.inc (cexp_test): Add more tests.
47968 2013-04-03  Andreas Schwab  <schwab@suse.de>
47970         [BZ #15330]
47971         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47972         order arrays from heap if bigger than alloca cutoff.
47974 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47976         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47977         (SNAN_TESTS_double): Refer to GCC PR56831.
47978         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47979         GCC PR56828.
47981 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47983         * Rules (bench): Move bench.out after the run is complete.
47985         * Rules (bench): Echo currently running benchmark.
47987         * benchtests/Makefile (bench): Add atan and slowatan.
47988         * benchtests/atan-inputs: New file.
47989         * benchtests/slowatan-inputs: New file.
47990         * benchtests/slowatan.c: New file.
47992         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47994         its value.
47996         [BZ #15305]
47997         * sysdeps/unix/sysv/linux/kernel-features.h
47998         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47999         __ASSUME_XFS_RESTRICTED_CHOWN.
48000         * sysdeps/unix/sysv/linux/pathconf.c
48001         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48002         Save and restore errno.
48004 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48006         [BZ #15327]
48007         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48008         arguments using __kernel_casinh.
48009         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48010         arguments using __kernel_casinhf.
48011         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48012         arguments using __kernel_casinhl.
48013         * math/libm-test.inc (cacosh_test): Add more tests.
48014         * sysdeps/i386/fpu/libm-test-ulps: Update.
48015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48017 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48019         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48022         * bench/Makefile (bench): Add sin and slowsin.
48023         * benchtests/sin-inputs: New file.
48024         * benchtests/slowsin-inputs: New file.
48025         * benchtests/slowsin.c: New file.
48027         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48028         (bench): Add slowexp and slowpow.
48029         (exp-ITER): Increase iterations.
48030         (pow-ITER): Likewise.
48031         * benchtests/exp-inputs: Change input.
48032         * benchtests/pow-inputs: Likewise.
48033         * benchtests/slowexp-inputs: New file.
48034         * benchtests/slowexp.c: New file.
48035         * benchtests/slowpow-inputs: New file.
48036         * benchtests/slowpow.c: New file.
48038 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48040         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48041         instructions.
48042         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48043         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48044         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48045         * benchtests/Makefile: Add rint benchtest.
48046         * benchtests/rint-inputs: Input for rint benchtest.
48048 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48050         * Versions.def (libm): Add GLIBC_2.18.
48051         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48052         hidden libm prototypes.
48053         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48054         * math/Makefile (libm-calls): Add s_issignaling.
48055         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48056         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48057         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48058         declaration.
48059         * math/math.h [__USE_GNU] (issignaling): New macro.
48060         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48061         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48062         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48063         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48064         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48065         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48066         * manual/arith.texi (issignaling): New section.
48067         * manual/libm-err-tab.pl (@all_functions): Update comment.
48068         * math/gen-libm-test.pl (parse_args): Apply special handling for
48069         issignaling.
48070         * math/libm-test.inc (print_float, issignaling_test): New
48071         functions.
48072         (check_float_internal): Add issignaling checks.
48073         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48074         default definition.
48075         * sysdeps/powerpc/math-tests.h: New file.
48076         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48077         tests.
48078         * math/test-snan.c (TEST_FUNC): Likewise.
48080 2013-03-30  David S. Miller  <davem@davemloft.net>
48082         * po/de.po: Update from translation team.
48084 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48086         [BZ #10357]
48087         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48088         imaginary part less than 1.0 and real part less than 0.5
48089         specially.
48090         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48091         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48092         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48093         (cacos_test): Add more tests.
48094         (casin_test): Likewise.
48095         (casinh_test): Likewise.
48096         * sysdeps/i386/fpu/libm-test-ulps: Update.
48097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48099 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48101         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48102         ONE with its value.
48104         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48105         (__pow_mp): Replace ONE and MONE with their values.
48106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48107         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48108         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48109         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48110         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48111         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48113         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48115         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48116         (__pow_mp): Replace ZERO and MZERO with their values.
48117         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48118         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48121         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48122         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48123         (__sqr): Likewise.
48125         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48127         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48129 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48131         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48132         Declare with __attribute__ ((weak)).
48133         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48134         Call __call_tls_dtors only if it's not NULL.
48136 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48138         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48139         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48140         magic __ehdr_start linker symbol if it's defined.
48141         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48142         them up here if it was already done.
48144         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48145         (_dl_aux_init): Use const in cast when setting it.
48146         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48147         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48148         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48150         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48151         Declare them here.
48152         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48153         * csu/libc-tls.c: Nor here.
48154         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48156         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48157         (__libc_message): Never call vsyslog.
48159 2013-03-28  Alan Modra  <amodra@gmail.com>
48161         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48162         Define as empty.
48163         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48164         Likewise.
48166 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48168         [BZ #15214]
48169         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48170         underflow.
48171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48173 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48175         [BZ #15304]
48176         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48177         Don't add gid passed as argument.
48179         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48181 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48183         [BZ #15307]
48184         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48185         imaginary part between 1.0 and 1.5 and real part less than 0.5
48186         specially.
48187         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48188         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48189         * math/libm-test.inc (cacos_test): Add more tests.
48190         (casin_test): Likewise.
48191         (casinh_test): Likewise.
48192         * sysdeps/i386/fpu/libm-test-ulps: Update.
48193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48195 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48197         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48198         constants.
48199         (norm): Likewise.
48200         (denorm): Likewise.
48201         (__dbl_mp): Likewise.
48202         (add_magnitudes): Likewise.
48203         (sub_magnitudes): Likewise.
48204         (__add): Likewise.
48205         (__sub): Likewise.
48206         (__mul): Likewise.
48207         (__sqr): Likewise.
48208         (__inv): Likewise.
48209         (__dvd): Likewise.
48211         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48212         commented code.
48213         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48214         (__dubcos): Likewise.
48215         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48216         (__ieee754_acos): Likewise.
48217         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48218         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48219         (__exp1): Likewise.
48220         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48221         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48222         (log1): Likewise.
48223         (my_log2): Likewise.
48224         (checkint): Likewise.
48225         * sysdeps/ieee754/dbl-64/e_remainder.c
48226         (__ieee754_remainder): Likewise.
48227         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48229         (bsloww): Likewise.
48230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48232         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48234         MANTISSA_STORE_T to store computations on mantissa.  Use
48235         macros for rounding and division.
48236         (denorm): Likewise.
48237         (__dbl_mp): Likewise.
48238         (add_magnitudes): Likewise.
48239         (sub_magnitudes): Likewise.
48240         (__mul): Likewise.
48241         (__sqr): Likewise.
48242         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48243         powers of two in terms of TWOPOW macro.
48244         (mp_no): Make type of mantissa as MANTISSA_T.
48245         [!RADIXI]: Define RADIXI.
48246         [!TWO52]: Define TWO52.
48247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48249 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48251         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48252         llroundl symbol when building for PPC32.
48254 2013-03-24  Mark H Weaver  <mhw@netris.org>
48256         * manual/arith.texi (Normalization Functions): Fix prototypes for
48257         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48259 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48261         [BZ #13889]
48262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48263         high value to check if expl overflow.
48264         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48265         to check for underflow and overflow.
48266         * math/libm-test.inc: Add exp test.
48268 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48270         [BZ #11120]
48271         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48272         with NOT_IN_libc.
48274 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48276         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48277         symbol.
48279 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48281         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48282         wrap blocks consisting of several statements.
48284         * sysdeps/generic/math-tests.h: New file.
48285         * sysdeps/i386/fpu/math-tests.h: Likewise.
48286         * math/test-snan.c: Include it.
48287         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48289 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48291         [BZ #15285]
48292         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48293         (__ieee754_j0l): Do not improve calculations using cos of twice
48294         input for inputs above LDBL_MAX / 2.0L.
48295         (__ieee754_y0l): Likewise.
48296         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48297         (__ieee754_j1l): Do not improve calculations using cos of twice
48298         input for inputs above LDBL_MAX / 2.0L.
48299         (__ieee754_y1l): Likewise.
48300         * math/libm-test.inc (j0_test): Add another test.
48301         (j1_test): Likewise.
48302         (y0_test): Likewise.
48303         (y1_test): Likewise.
48304         * sysdeps/i386/fpu/libm-test-ulps: Update.
48306 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48308         * Rules ($(objpfx)bench-%.c): Include code from a C source
48309         file.
48311 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48313         [BZ #15287]
48314         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48315         imaginary part 1.0 and real part less than 0.5 specially.
48316         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48317         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48318         * math/libm-test.inc (cacos_test): Add more tests.
48319         (casin_test): Likewise.
48320         (casinh_test): Likewise.
48321         * sysdeps/i386/fpu/libm-test-ulps: Update.
48322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48324 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48326         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48327         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48329 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48331         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48332         * config.make.in (config-cflags-sse4): Remove variable.
48333         (config-cflags-avx): Likewise.
48334         (config-cflags-sse2avx): Likewise.
48335         (config-cflags-novzeroupper): Likewise.
48336         (config-asflags-i686): Likewise.
48337         (have-mfma4): Likewise.
48338         (have-as-vis3): Likewise.
48339         (MIG): Likewise.
48340         * configure.in (MIG): Do not AC_SUBST.
48341         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48342         (libc_cv_cc_sse4): Do not AC_SUBST.
48343         (libc_cv_cc_avx): Likewise.
48344         (libc_cv_cc_sse2avx): Likewise.
48345         (libc_cv_cc_novzeroupper): Likewise.
48346         (libc_cv_cc_fma4): Likewise.
48347         (libc_cv_as_i686): Likewise.
48348         (libc_cv_sparc_as_vis3): Likewise.
48349         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48350         LIBC_CONFIG_VAR.
48351         (config-asflags-i686): Likewise.
48352         (config-cflags-avx): Likewise.
48353         (config-cflags-sse2avx): Likewise.
48354         (have-mfma4): Likewise.
48355         (config-cflags-novzeroupper): Likewise.
48356         * sysdeps/mach/configure.in (MIG): Likewise.
48357         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48358         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48359         LIBC_CONFIG_VAR.
48360         (config-cflags-avx): Likewise.
48361         (config-cflags-sse2avx): Likewise.
48362         (have-mfma4): Likewise.
48363         (config-cflags-novzeroupper): Likewise.
48364         * configure: Regenerated.
48365         * sysdeps/i386/configure: Likewise.
48366         * sysdeps/mach/configure: Likewise.
48367         * sysdeps/sparc/configure: Likewise.
48368         * sysdeps/x86_64/configure: Likewise.
48370 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48372         [BZ #14812]
48373         * locale/programs/localedef.c (options): Put N_ translation marker
48374         on argument names, not just descriptions.
48376 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48378         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48380 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48382         [BZ #14176]
48383         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48385 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48387         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48388         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48389         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48390         [!BEFORE_ABORT] (before_abort): New function.
48391         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48392         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48393         (writev_for_fatal): New function.
48394         (WRITEV_FOR_FATAL): New macro; call that.
48395         (backtrace_and_maps): New function.
48396         (BEFORE_ABORT): New macro; call that.
48397         (struct str_list): Type removed.
48398         (__libc_message, __libc_fatal): Functions removed.
48399         Include <sysdeps/posix/libc_fatal.c> instead.
48401 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48403         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48404         constants.
48405         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48406         double constants.
48408 2013-03-19  Andreas Schwab  <schwab@suse.de>
48410         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48411         * sysdeps/gnu/configure: Regenerate.
48413         * configure.in: Substitute libc_cv_rtlddir.
48414         * configure: Regenerate.
48415         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48416         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48417         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48418         * elf/Makefile (install-others, CFLAGS-interp.c)
48419         (ldso_install, common-ldd-rewrite): Likewise.
48420         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48421         $(inst_slibdir)/$(rtld-installed-name).
48422         * scripts/rellns-sh: Add -p option.
48423         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48424         for source.
48426 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48428         * manual/nptl.texi: Renamed to ...
48429         * manual/threads.texi: ... this.
48430         * manual/Makefile (chapters): Update.
48432 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48434         [BZ #14812]
48435         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48436         on argument names, not just descriptions.
48437         * malloc/memusagestat.c (options): Likewise.
48438         * nss/getent.c (options): Likewise.
48440 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48442         [BZ #14812]
48443         * iconv/iconv_prog.c (options): Put N_ translation marker
48444         on argument names, not just descriptions.
48445         * iconv/iconvconfig.c (options): Likewise.
48447 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48449         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48450         implementation which is faster on all x86_64 architectures.
48451         Tested on AMD, Intel Nehalem, SNB, IVB.
48452         * sysdeps/x86_64/strnlen.S: Likewise.
48454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48455         Remove all multiarch strlen and strnlen versions.
48456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48457         Remove strlen and strnlen related parts.
48459         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48460         Inline strlen part.
48461         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48463         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48464         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48465         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48466         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48467         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48468         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48470 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48472         * manual/memory.texi (Malloc Tunable Parameters):
48473         Sort parameters alphabetically. Add comments for missing entries.
48475 2013-03-17  David S. Miller  <davem@davemloft.net>
48477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48479 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48481         [BZ #15283]
48482         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48483         for arguments at most half maximum finite value.
48484         * math/libm-test.inc (j0_test): Add more tests.
48485         (j1_test): Likewise.
48486         (y0_test): Likewise.
48487         (y1_test): Likewise.
48488         * sysdeps/i386/fpu/libm-test-ulps: Update.
48489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48491         [BZ #14155]
48492         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48493         1 / x and functions P and Q for arguments above 0x1p256L.
48494         (__ieee754_y0l): Likewise.
48495         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48496         (__ieee754_y1l): Likewise.
48497         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48498         (j1_test): Likewise.
48499         (y0_test): Likewise.
48500         (y1_test): Likewise.
48502 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48504         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48505         variable.
48507 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48509         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48510         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48511         zero since it's initialized to EXEC_PAGESIZE.
48513         * sysdeps/unix/sysv/linux/ldsodefs.h
48514         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48515         * sysdeps/generic/ldsodefs.h: ... here.
48517 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48519         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48521         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48522         math/test-snan.c.
48523         * math/test-snan.c: Renamed from
48524         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48525         * math/Makefile (tests): Add test-snan.
48526         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48527         test-powerpc-snan.
48529         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48530         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48531         functions.
48532         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48533         __builtin_nan family of functions.
48534         * math/libm-test.inc (initialize): Initialize qnan_value with
48535         __builtin_nan family of functions.
48536         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48537         Remove variables.
48538         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48539         Remove functions.
48540         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48541         storage class.  Initialize qNaN_var and sNaN_var with
48542         __builtin_nan and __builtin_nans families of functions,
48543         respectively.
48545         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48546         (sqrt_test): Remove duplicate test with qNaN input.
48547         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48548         (round_test, signbit_test, significand_test): Note missing +/-Inf
48549         as well as qNaN tests.
48551         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48552         qNaN_var.  Fix a few strings, too.
48553         * math/libm-test.inc (nan_value): Rename to qnan_value.
48554         * math/gen-libm-test.pl (%beautify): Adjust to that.
48555         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48556         * math/test-misc.c (main): Likewise.
48557         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48558         to __qnan_bytes, and __qnan_union, respectively.
48559         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48560         Likewise.
48561         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48562         and lqnanval, respectively.
48563         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48564         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48565         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48566         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48568         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48569         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48570         doubles.
48572         * math/test-misc.c (main): Fix copy'n'pastos.
48573         * misc/tst-efgcvt.c (special): Likewise.
48575         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48576         Remove declarations.
48578 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48580         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48581         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48582         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48583         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48585 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48587         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48588         macro to return vdso values correctly in IFUNC implementations.
48589         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48590         Optimization by using IFUNC.
48592 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48593             Richard Henderson  <rth@redhat.com>
48594             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48596         * Makefile.in (bench): New target.
48597         * NEWS: Mention the benchmark framework.
48598         * Rules (bench): Likewise.
48599         (binaries-bench): Generate binaries for functions to
48600         benchmark.
48601         * benchtests/Makefile: New makefile for benchmark tests.
48602         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48603         programs.
48604         * benchtests/exp-inputs: New input file for EXP function.
48605         * benchtests/pow-inputs: New input file for POW function.
48606         * scripts/bench.pl: New script to generate source files for
48607         benchmark programs.
48609 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48611         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48613         computations on mantissa.  Use macros for rounding and
48614         division.
48615         (denorm): Likewise.
48616         (__dbl_mp): Likewise.
48617         (add_magnitudes): Likewise.
48618         (sub_magnitudes): Likewise.
48619         (__mul): Likewise.
48620         (__sqr): Likewise.
48621         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48622         powers of two in terms of TWOPOW macro.
48623         (mp_no): Make type of mantissa as MANTISSA_T.
48624         [!RADIXI]: Define RADIXI.
48625         [!TWO52]: Define TWO52.
48626         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48628         * manual/nptl.texi (cindex): Modify threads to pthreads.
48630 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48632         * sysdeps/x86_64/preconfigure: Regenerated.
48634 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48636         [BZ #14155]
48637         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48638         0x1p28 and above.
48639         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48640         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48641         0x1p28 and above.
48642         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48643         * math/libm-test.inc (j0_test): Do not allow one spurious
48644         underflow exception.
48645         (y1_test): Likewise.
48647 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48649         * manual/Makefile (chapters): Add nptl.
48650         * manual/debug.texi (Debugging Support): Add link to Threads
48651         chapter.
48652         * manual/nptl.texi: New file.
48654         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48656 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48658         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48659         for non-NULL pointer before the memory validity test. Pointed
48660         out by Holger Brunck <holger.brunck@keymile.com>.
48662 2013-03-13  Andreas Schwab  <schwab@suse.de>
48664         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48665         instead of .os.
48667 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48669         * timezone/zic.c: Update from tzcode 2013b.
48671 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48673         * manual/install.texi (Configuring and compiling):
48674         Mention i686 and i586.
48675         * INSTALL: Regenerate.
48677 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48679         * sysdeps/init_array/elf-init.c: New file.
48680         * csu/elf-init.c
48681         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48682         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48684         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48685         __gmon_start__ as global, but as static with a .preinit_array pointer.
48686         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48687         * sysdeps/init_array/crti.S: New file, empty except for comments.
48688         * sysdeps/init_array/crtn.S: Likewise.
48690 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48692         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48693         definining bcopy.
48694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48695         Remove Prefer_SSE_for_memop.
48696         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48697         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48698         HAS_PREFER_SSE_FOR_MEMOP.
48699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48700         memset-x86-64.
48701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48702         Remove bzero, memset ifunc support.
48703         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48704         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48705         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48706         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48708 2013-03-11  Andreas Schwab  <schwab@suse.de>
48710         [BZ #15234]
48711         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48712         by SHLIB_COMPAT.
48713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48714         (GLIBC_2.16): Remove pthread_atfork.
48716 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48718         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48719         (ptestcases.h): Likewise.
48721 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48723         * Makeconfig ($(common-objpfx)config.status): Depend on
48724         sysdeps/*/preconfigure{,.in} too.
48726 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48728         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48729         (__free_hook): Use void * instead of __malloc_ptr_t.
48730         (__malloc_hook): Likewise.
48731         (__realloc_hook): Likewise.
48732         (__memalign_hook): Likewise.
48733         (__after_morecore_hook): Likewise.
48734         * malloc/arena.c (save_malloc_hook): Likewise.
48735         (save_free_hook): Likewise.
48736         * malloc/hooks.c (malloc_hook_ini): Likewise.
48737         (realloc_hook_ini): Likewise.
48738         (memalign_hook_ini): Likewise.
48739         * malloc/malloc.c (malloc_hook_ini): Likewise.
48740         (realloc_hook_ini): Likewise.
48741         (memalign_hook_ini): Likewise.
48742         (__free_hook): Likewise.
48743         (__malloc_hook): Likewise.
48744         (__realloc_hook): Likewise.
48745         (__memalign_hook): Likewise.
48746         (__libc_malloc): Likewise.
48747         (__libc_free): Likewise.
48748         (__libc_realloc): Likewise.
48749         (__libc_memalign): Likewise.
48750         (__libc_valloc): Likewise.
48751         (__libc_pvalloc): Likewise.
48752         (__libc_calloc): Likewise.
48753         (__posix_memalign): Likewise.
48754         * malloc/morecore.c (__sbrk): Likewise.
48755         (__default_morecore): Likewise.
48757         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48759         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48760         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48761         __malloc_ptrdiff_t.
48763         * malloc/malloc.h (__malloc_size_t): Remove macro.
48764         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48765         __malloc_size_t.
48766         (old_memalign_hook): Likewise.
48767         (old_realloc_hook): Likewise.
48768         (struct hdr): Likewise.
48769         (flood): Likewise.
48770         (mallochook): Likewise.
48771         (memalignhook): Likewise.
48772         (reallochook): Likewise.
48773         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48774         (tr_old_realloc_hook): Likewise.
48775         (tr_old_memalign_hook): Likewise.
48776         (tr_mallochook): Likewise.
48777         (tr_reallochook): Likewise.
48778         (tr_memalignhook): Likewise.
48780 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48783         default_ldbl_pack and using as default implementation.
48784         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48785         implementation.
48786         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48787         redundant definition.
48788         (ldbl_insert_mantissa): Likewise.
48789         (ldbl_canonicalize): Likewise.
48790         (ldbl_nearbyint): Likewise.
48791         (ldbl_pack): Rename to ldbl_pack_ppc.
48792         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48793         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48794         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48796 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48799         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48800         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48801         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48803         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48804         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48805         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48807 2013-03-07  Andreas Jaeger  <aj@suse.de>
48809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48810         bits/mman-linux.h.
48812 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48815         Include mpa.h and declare __MPEXP.
48816         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48817         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48818         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48819         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48820         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48821         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48822         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48824         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48825         (__slowpow): Use long double EXPL and LOGL functions to
48826         compute POW.
48827         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48828         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48829         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48830         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48831         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48832         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48835         intermediate variable to calculate exponent.
48836         (__sqr): Likewise.
48837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48838         Likewise.
48839         (__sqr): Likewise.
48841         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48842         [!NO__SQR]: Define __sqr.
48843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48844         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48845         sysdeps/ieee754/dbl-64/mpa.c.
48846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48848         [BZ #12723]
48849         * posix/Makefile (tests): Add tst-pathconf.
48850         * posix/tst-pathconf.c: New test case.
48851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48852         _PC_PIPE_BUF.
48853         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48855 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48857         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48859 2013-03-06  Andreas Jaeger  <aj@suse.de>
48861         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48862         definition via __MAP_ANONYMOUS.
48864         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48865         it's not part of Linux headers.
48867         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48868         (MAP_HUGE_MASK): Define.
48870         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48871         Define.
48872         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48873         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48874         Define.
48875         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48876         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48877         Define.
48878         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48879         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48880         Define.
48881         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48883         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48884         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48885         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48886         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48887         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48888         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48890         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48891         Handle f2fs.
48893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48894         Handle f2fs and efivarfs.
48896         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48897         f2fs.
48899         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48900         (EFIVARFS_MAGIC): Add.
48901         (F2FS_LINK_MAX): Add.
48903 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48905         * stdio-common/vfprintf.c: Replace __builtin_expect with
48906         __glibc_unlikely.
48908 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48910         [BZ #13550]
48911         * sysdeps/generic/bp-sym.h: Remove file.
48912         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48913         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48914         <bp-sym.h> and <bp-asm.h>.
48915         (__longjmp): Don't use BP_SYM.
48916         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48917         and <bp-asm.h>.
48918         (memcpy): Don't use BP_SYM.
48919         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48920         <bp-sym.h> and <bp-asm.h>.
48921         (memcpy): Don't use BP_SYM.
48922         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48923         <bp-asm.h>.
48924         (memcpy): Don't use BP_SYM.
48925         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48926         <bp-asm.h>.
48927         (memset): Don't use BP_SYM.
48928         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48929         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48930         (__bzero): Don't use BP_SYM.
48931         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48932         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48933         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48934         <bp-sym.h> and <bp-asm.h>.
48935         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48936         pointers.
48937         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48938         <bp-sym.h> and <bp-asm.h>.
48939         (memcpy): Don't use BP_SYM.
48940         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48941         <bp-sym.h> and <bp-asm.h>.
48942         (memset): Don't use BP_SYM.
48943         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48944         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48945         (__bzero): Don't use BP_SYM.
48946         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48947         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48948         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48949         <bp-sym.h> and <bp-asm.h>.
48950         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48951         pointers.
48952         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48953         <bp-sym.h> and <bp-asm.h>.
48954         (memcpy): Don't use BP_SYM.
48955         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48956         <bp-sym.h> and <bp-asm.h>.
48957         (memset): Don't use BP_SYM.
48958         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48959         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48960         (__bzero): Don't use BP_SYM.
48961         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48962         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48963         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48964         <bp-sym.h> and <bp-asm.h>.
48965         (__memchr): Don't use BP_SYM.
48966         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48967         <bp-sym.h> and <bp-asm.h>.
48968         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48969         pointers.
48970         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48971         <bp-sym.h> and <bp-asm.h>.
48972         (memcpy): Don't use BP_SYM.
48973         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48974         <bp-sym.h> and <bp-asm.h>.
48975         (__mempcpy): Don't use BP_SYM.
48976         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48977         <bp-sym.h> and <bp-asm.h>.
48978         (__memrchr): Don't use BP_SYM.
48979         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48980         <bp-sym.h> and <bp-asm.h>.
48981         (memset): Don't use BP_SYM.
48982         (__bzero): Likewise.
48983         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48984         <bp-sym.h> and <bp-asm.h>.
48985         (__rawmemchr): Don't use BP_SYM.
48986         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48987         <bp-sym.h> and <bp-asm.h>.
48988         (__STRCMP): Don't use BP_SYM.
48989         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48990         <bp-sym.h> and <bp-asm.h>.
48991         (strchr): Don't use BP_SYM.
48992         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48993         <bp-sym.h> and <bp-asm.h>.
48994         (__strchrnul): Don't use BP_SYM.
48995         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48996         <bp-sym.h> and <bp-asm.h>.
48997         (strlen): Don't use BP_SYM.
48998         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48999         <bp-sym.h> and <bp-asm.h>.
49000         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49001         pointers.
49002         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49003         <bp-sym.h> and <bp-asm.h>.
49004         (__strnlen): Don't use BP_SYM.
49005         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49006         <bp-sym.h> and <bp-asm.h>.
49007         (__GI__setjmp): Don't use BP_SYM.
49008         (_setjmp): Likewise.
49009         (__sigsetjmp): Likewise.
49010         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49011         (L(start_addresses)): Don't use BP_SYM.
49012         (_start): Likewise.
49013         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49014         <bp-asm.h>.
49015         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49016         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49017         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49018         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49019         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49020         <bp-asm.h>.
49021         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49022         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49023         about bounded pointers.
49024         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49025         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49026         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49027         <bp-asm.h>.
49028         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49029         about bounded pointers.  Remove GKM FIXME comments.
49030         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49031         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49032         <bp-asm.h>.
49033         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49034         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49035         Remove GKM FIXME comments.
49036         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49037         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49038         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49039         <bp-asm.h>.
49040         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49041         about bounded pointers.  Remove GKM FIXME comment.
49042         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49043         and <bp-asm.h>.
49044         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49045         pointers.
49046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49047         <bp-sym.h> and <bp-asm.h>.
49048         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49050         <bp-sym.h> and <bp-asm.h>.
49051         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49052         comment.
49054 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49056         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49057         call free(NULL).
49059 2013-03-05  David S. Miller  <davem@davemloft.net>
49061         * po/es.po: Update from translation team.
49063 2013-03-05  Andreas Jaeger  <aj@suse.de>
49065         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49066         <bits/mman-linux.h>.
49067         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49068         is fine.
49069         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49070         <bits/mman-linux.h> to end of file.
49071         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49072         is fine.
49073         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49074         <bits/mman-linux.h> to end of file.
49075         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49076         is fine.
49077         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49078         <bits/mman-linux.h> to end of file.
49080         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49081         (MCL_CURRENT, MCL_FUTURE): Define here.
49083 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49085         [BZ #15232]
49086         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49087         attribute_hidden.
49088         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49090 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49092         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49093         fourth parameter needed for rt_sigprocmask syscall.
49094         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49095         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49096         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49097         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49098         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49099         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49101 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49103         [BZ #13550]
49104         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49105         comment about bounded pointers.
49106         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49107         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49109 2013-03-04  Andreas Jaeger  <aj@suse.de>
49111         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49112         common definitions.
49114         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49115         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49116         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49117         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49118         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49119         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49121 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49123         [BZ #15055]
49124         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49125         __ieee754_sqrl instead of __sqrl.
49127 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49129         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49130         * sysdeps/powerpc/fpu_control.h: ... here.
49131         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49132         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49133         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49134         * sysdeps/powerpc/bits/mathinline.h: ... here.
49136 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49138         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49139         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49140         to just [NEED_DL_SYSINFO_DSO].
49141         * elf/dl-support.c: Likewise.
49142         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49143         * elf/rtld.c (dl_main): Likewise.
49144         * elf/setup-vdso.h (setup_vdso): Likewise.
49145         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49146         * sysdeps/unix/sysv/linux/dl-sysdep.c
49147         (_dl_discover_osversion): Likewise.
49149 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49151         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49152         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49154 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49156         * NEWS: Mention libm performance improvements and non-x86 PI
49157         futex support.
49159         * csu/libc-start.c (__pthread_initialize_minimal): Change
49160         function arguments.
49161         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49163 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49165         [BZ #13550]
49166         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49167         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49168         <bp-sym.h> and <bp-asm.h>.
49169         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49170         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49171         and <bp-asm.h>.
49172         (memcpy): Don't use BP_SYM.
49173         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49174         <bp-asm.h>.
49175         (__mpn_add_n): Don't use BP_SYM.
49176         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49177         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49178         and <bp-asm.h>.
49179         (__mpn_addmul_1): Don't use BP_SYM.
49180         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49181         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49182         <bp-sym.h>.
49183         (_setjmp): Don't use BP_SYM.
49184         (__novmx_setjmp): Likewise.
49185         (__GI__setjmp): Likewise.
49186         (__vmx_setjmp): Likewise.
49187         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49188         <bp-sym.h>.
49189         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49190         (__bzero): Don't use BP_SYM.
49191         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49192         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49193         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49194         <bp-sym.h> and <bp-asm.h>.
49195         (memcpy): Don't use BP_SYM.
49196         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49197         <bp-sym.h> and <bp-asm.h>.
49198         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49199         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49200         <bp-sym.h> and <bp-asm.h>.
49201         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49202         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49203         <bp-asm.h>.
49204         (__mpn_lshift): Don't use BP_SYM.
49205         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49206         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49207         <bp-asm.h>.
49208         (memset): Don't use BP_SYM.
49209         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49210         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49211         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49212         <bp-asm.h>.
49213         (__mpn_mul_1): Don't use BP_SYM.
49214         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49215         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49216         <bp-sym.h> and <bp-asm.h>.
49217         (memcmp): Don't use BP_SYM.
49218         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49219         <bp-sym.h> and <bp-asm.h>.
49220         (memcpy): Don't use BP_SYM.
49221         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49222         <bp-sym.h> and <bp-asm.h>.
49223         (memset): Don't use BP_SYM.
49224         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49225         <bp-sym.h> and <bp-asm.h>.
49226         (strncmp): Don't use BP_SYM.
49227         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49228         <bp-sym.h> and <bp-asm.h>.
49229         (memcpy): Don't use BP_SYM.
49230         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49231         <bp-sym.h> and <bp-asm.h>.
49232         (memset): Don't use BP_SYM.
49233         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49234         <bp-sym.h> and <bp-asm.h>.
49235         (__memchr): Don't use BP_SYM.
49236         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49237         <bp-sym.h> and <bp-asm.h>.
49238         (memcmp): Don't use BP_SYM.
49239         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49240         <bp-sym.h> and <bp-asm.h>.
49241         (memcpy): Don't use BP_SYM.
49242         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49243         <bp-sym.h> and <bp-asm.h>.
49244         (__mempcpy): Don't use BP_SYM.
49245         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49246         <bp-sym.h> and <bp-asm.h>.
49247         (__memrchr): Don't use BP_SYM.
49248         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49249         <bp-sym.h> and <bp-asm.h>.
49250         (memset): Don't use BP_SYM.
49251         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49252         <bp-sym.h> and <bp-asm.h>.
49253         (__rawmemchr): Don't use BP_SYM.
49254         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49255         <bp-sym.h> and <bp-asm.h>.
49256         (__STRCMP): Don't use BP_SYM.
49257         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49258         <bp-sym.h> and <bp-asm.h>.
49259         (strchr): Don't use BP_SYM.
49260         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49261         <bp-sym.h> and <bp-asm.h>.
49262         (__strchrnul): Don't use BP_SYM.
49263         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49264         <bp-sym.h> and <bp-asm.h>.
49265         (strlen): Don't use BP_SYM.
49266         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49267         <bp-sym.h> and <bp-asm.h>.
49268         (strncmp): Don't use BP_SYM.
49269         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49270         <bp-sym.h> and <bp-asm.h>.
49271         (__strnlen): Don't use BP_SYM.
49272         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49273         <bp-asm.h>.
49274         (__mpn_rshift): Don't use BP_SYM.
49275         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49276         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49277         <bp-sym.h> and <bp-asm.h>.
49278         (__sigsetjmp): Don't use BP_SYM.
49279         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49280         (L(start_addresses)): Don't use BP_SYM.
49281         (_start): Likewise.
49282         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49283         <bp-asm.h>.
49284         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49285         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49286         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49287         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49288         <bp-asm.h>.
49289         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49290         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49291         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49292         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49293         <bp-asm.h>.
49294         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49295         comments.
49296         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49297         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49298         <bp-asm.h>.
49299         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49300         FIXME comments.
49301         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49302         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49303         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49304         <bp-asm.h>.
49305         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49306         comment.
49307         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49308         and <bp-asm.h>.
49309         (strncmp): Don't use BP_SYM,
49310         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49311         <bp-asm.h>.
49312         (__mpn_sub_n): Don't use BP_SYM.
49313         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49314         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49315         and <bp-asm.h>.
49316         (__mpn_submul_1): Don't use BP_SYM.
49317         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49319         <bp-sym.h> and <bp-asm.h>.
49320         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49322         <bp-sym.h> and <bp-asm.h>.
49323         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49324         comment.
49326 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49329         Use ZK to minimize writes to Z.
49330         (sub_magnitudes): Simplify code a bit.
49331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49332         Use ZK to minimize writes to Z.
49333         (sub_magnitudes): Simplify code a bit.
49335 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49337         * csu/gmon-start.c: Add special exception to license text.
49339 2013-02-27  Richard Henderson  <rth@redhat.com>
49341         * scripts/config.guess: Update from config.git.
49342         * scripts/config.sub: Likewise.
49344 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49346         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49348         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49350         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49352         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49354         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49356 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49358         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49359         [$(build-shared = yes].
49361 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49363         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49364         (__mul): Reduce iterations for calculating mantissa.
49366         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49367         MPTWO.
49368         (__mpranred): Likewise.
49370         [BZ #15160]
49371         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49372         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49374 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49376         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49377         Define __attribute__.
49379 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49381         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49382         unused.
49383         * posix/regex_internal.h (__attribute): Remove.
49384         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49385         (re_string_context_at): Likewise.
49386         (bitset_not): Use __attribute__ and mark function as possibly
49387         unused.
49388         (bitset_merge): Likewise.
49389         (bitset_mask): Likewise.
49390         (re_string_char_size_at): Likewise.
49391         (re_string_wchar_at): Likewise.
49392         (re_string_elem_size_at): Likewise.
49394 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49396         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49397         code.
49398         (cc32): Likewise.
49400         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49401         (__acr): Likewise.
49402         (__cpy): Likewise.
49403         (norm): Likewise.
49404         (denorm): Likewise.
49405         (__dbl_mp): Likewise.
49406         (add_magnitudes): Likewise.
49407         (sub_magnitudes): Likewise.
49408         (__mul): Likewise.
49409         (__inv): Likewise.
49411         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49412         style.
49414         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49415         style.
49417         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49418         code.
49420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49421         up changes with default code.
49422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49423         Likewise.
49425 2013-02-24  Allan McRae  <allan@archlinux.org>
49427         * manual/socket.texi (The Internet Namespace): Order menu items
49428         to match that in the file.
49430         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49431         node listing of the info page menu.
49433 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49435         [BZ #13550]
49436         * sysdeps/i386/bp-asm.h: Remove file.
49437         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49438         (PARMS): Do not use macros from bp-asm.h.
49439         (S1): Likewise.
49440         (S2): Likewise.
49441         (SIZE): Likewise.
49442         (__mpn_add_n): Do not use BP_SYM
49443         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49444         "bp-asm.h".
49445         (PARMS): Do not use macros from bp-asm.h.
49446         (S1): Likewise.
49447         (SIZE): Likewise.
49448         (__mpn_addmul_1): Do not use BP_SYM
49449         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49450         "bp-asm.h".
49451         (PARMS): Do not use macros from bp-asm.h.
49452         (SIGMSK): Likewise.
49453         (_setjmp): Likewise.  Do not use BP_SYM.
49454         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49455         "bp-asm.h".
49456         (PARMS): Do not use macros from bp-asm.h.
49457         (SIGMSK): Likewise.
49458         (setjmp): Likewise.  Do not use BP_SYM.
49459         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49460         "bp-asm.h".
49461         (PARMS): Do not use macros from bp-asm.h.
49462         (__frexp): Do not use BP_SYM.
49463         (frexp): Likewise.
49464         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49465         "bp-asm.h".
49466         (PARMS): Do not use macros from bp-asm.h.
49467         (__frexpf): Do not use BP_SYM.
49468         (frexpf): Likewise.
49469         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49470         "bp-asm.h".
49471         (PARMS): Do not use macros from bp-asm.h.
49472         (__frexpl): Do not use BP_SYM.
49473         (frexpl): Likewise.
49474         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49475         "bp-asm.h".
49476         (PARMS): Do not use macros from bp-asm.h.
49477         (__remquo): Do not use BP_SYM.
49478         (remquo): Likewise.
49479         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49480         "bp-asm.h".
49481         (PARMS): Do not use macros from bp-asm.h.
49482         (__remquof): Do not use BP_SYM.
49483         (remquof): Likewise.
49484         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49485         "bp-asm.h".
49486         (PARMS): Do not use macros from bp-asm.h.
49487         (__remquol): Do not use BP_SYM.
49488         (remquol): Likewise.
49489         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49490         "bp-asm.h".
49491         (PARMS): Do not use macros from bp-asm.h.
49492         (DEST): Likewise.
49493         (SRC): Likewise.
49494         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49495         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49496         "bp-asm.h".
49497         (PARMS): Do not use macros from bp-asm.h.
49498         (strlen): Do not use BP_SYM.
49499         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49500         "bp-asm.h".
49501         (PARMS): Do not use macros from bp-asm.h.
49502         (S1): Likewise.
49503         (S2): Likewise.
49504         (SIZE): Likewise.
49505         (__mpn_add_n): Do not use BP_SYM.
49506         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49507         "bp-asm.h".
49508         (PARMS): Do not use macros from bp-asm.h.
49509         (S1): Likewise.
49510         (SIZE): Likewise.
49511         (__mpn_addmul_1): Do not use BP_SYM.
49512         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49513         weak_alias.
49514         (bzero): Likewise.
49515         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49516         "bp-asm.h".
49517         (PARMS): Do not use macros from bp-asm.h.
49518         (S): Likewise.
49519         (SIZE): Likewise.
49520         (__mpn_lshift): Do not use BP_SYM.
49521         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49522         "bp-asm.h".
49523         (PARMS): Do not use macros from bp-asm.h.
49524         (DEST): Likewise.
49525         (SRC): Likewise.
49526         (LEN): Likewise.
49527         (memcpy): Likewise.  Do not use BP_SYM.
49528         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49529         libc_hidden_def and weak_alias.
49530         (mempcpy): Do not use BP_SYM in weak_alias.
49531         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
49536         [!BZERO_P] (CHR): Likewise.
49537         (memset): Likewise.  Do not use BP_SYM.
49538         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49539         "bp-asm.h".
49540         (PARMS): Do not use macros from bp-asm.h.
49541         (S1): Likewise.
49542         (SIZE): Likewise.
49543         (__mpn_mul_1): Do not use BP_SYM.
49544         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49545         "bp-asm.h".
49546         (PARMS): Do not use macros from bp-asm.h.
49547         (S): Likewise.
49548         (SIZE): Likewise.
49549         (__mpn_rshift): Do not use BP_SYM.
49550         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49551         "bp-asm.h".
49552         (PARMS): Do not use macros from bp-asm.h.
49553         (STR): Likewise.
49554         (CHR): Likewise.
49555         (strchr): Likewise.  Do not use BP_SYM.
49556         (index): Do not use BP_SYM in weak_alias.
49557         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49558         "bp-asm.h".
49559         (PARMS): Do not use macros from bp-asm.h.
49560         (DEST): Likewise.
49561         (SRC): Likewise.
49562         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49563         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49564         "bp-asm.h".
49565         (PARMS): Do not use macros from bp-asm.h.
49566         (strlen): Do not use BP_SYM.
49567         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49568         "bp-asm.h".
49569         (PARMS): Do not use macros from bp-asm.h.
49570         (S1): Likewise.
49571         (S2): Likewise.
49572         (SIZE): Likewise.
49573         (__mpn_sub_n): Do not use BP_SYM.
49574         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49575         "bp-asm.h".
49576         (PARMS): Do not use macros from bp-asm.h.
49577         (S1): Likewise.
49578         (SIZE): Likewise.
49579         (__mpn_submul_1): Do not use BP_SYM.
49580         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49581         "bp-asm.h".
49582         (PARMS): Do not use macros from bp-asm.h.
49583         (S1): Likewise.
49584         (S2): Likewise.
49585         (SIZE): Likewise.
49586         (__mpn_add_n): Do not use BP_SYM.
49587         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49588         weak_alias.
49589         (bzero): Likewise.
49590         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49591         "bp-asm.h".
49592         (PARMS): Do not use macros from bp-asm.h.
49593         (BLK2): Likewise.
49594         (LEN): Likewise.
49595         (memcmp): Do not use BP_SYM.
49596         (bcmp): Do not use BP_SYM in weak_alias.
49597         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49598         "bp-asm.h".
49599         (PARMS): Do not use macros from bp-asm.h.
49600         (DEST): Likewise.
49601         (SRC): Likewise.
49602         (LEN): Likewise.
49603         (memcpy): Likewise.  Do not use BP_SYM.
49604         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49605         "bp-asm.h".
49606         (PARMS): Do not use macros from bp-asm.h.
49607         (DEST): Likewise.
49608         (SRC): Likewise.
49609         (LEN): Likewise.
49610         (memmove): Likewise.  Do not use BP_SYM.
49611         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49612         "bp-asm.h".
49613         (PARMS): Do not use macros from bp-asm.h.
49614         (DEST): Likewise.
49615         (SRC): Likewise.
49616         (LEN): Likewise.
49617         (__mempcpy): Likewise.  Do not use BP_SYM.
49618         (mempcpy): Do not use BP_SYM in weak_alias.
49619         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49620         "bp-asm.h".
49621         (PARMS): Do not use macros from bp-asm.h.
49622         (DEST): Likewise.
49623         (LEN): Likewise.
49624         [!BZERO_P] (CHR): Likewise.
49625         (memset): Likewise.  Do not use BP_SYM.
49626         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49627         "bp-asm.h".
49628         (PARMS): Do not use macros from bp-asm.h.
49629         (STR2): Likewise.
49630         (strcmp): Do not use BP_SYM.
49631         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49632         "bp-asm.h".
49633         (PARMS): Do not use macros from bp-asm.h.
49634         (STR): Likewise.
49635         (DELIM): Likewise.
49636         [USE_AS_STRTOK_R] (SAVE): Likewise.
49637         (FUNCTION): Likewise.  Do not use BP_SYM.
49638         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49639         aliases.
49640         (strtok_r): Likewise.
49641         (__GI___strtok_r): Likewise.
49642         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49643         (PARMS): Do not use macros from bp-asm.h.
49644         (S): Likewise.
49645         (SIZE): Likewise.
49646         (__mpn_lshift): Do not use BP_SYM.
49647         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49648         (PARMS): Do not use macros from bp-asm.h.
49649         (STR): Likewise.
49650         (CHR): Likewise.
49651         (__memchr): Do not use BP_SYM.
49652         (memchr): Do not use BP_SYM in weak_alias.
49653         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49654         (PARMS): Do not use macros from bp-asm.h.
49655         (BLK2): Likewise.
49656         (LEN): Likewise.
49657         (memcmp): Do not use BP_SYM.
49658         (bcmp): Do not use BP_SYM in weak_alias.
49659         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49660         (PARMS): Do not use macros from bp-asm.h.
49661         (S1): Likewise.
49662         (SIZE): Likewise.
49663         (__mpn_mul_1): Do not use BP_SYM.
49664         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49665         "bp-asm.h".
49666         (PARMS): Do not use macros from bp-asm.h.
49667         (STR): Likewise.
49668         (CHR): Likewise.
49669         (__rawmemchr): Do not use BP_SYM.
49670         (rawmemchr): Do not use BP_SYM in weak_alias.
49671         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49672         (PARMS): Do not use macros from bp-asm.h.
49673         (S): Likewise.
49674         (SIZE): Likewise.
49675         (__mpn_rshift): Do not use BP_SYM.
49676         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49677         (PARMS): Do not use macros from bp-asm.h.
49678         (SIGMSK): Likewise.
49679         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49680         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49681         (_start): Do not use BP_SYM.
49682         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49683         (PARMS): Do not use macros from bp-asm.h.
49684         (DEST): Likewise.
49685         (SRC): Likewise.
49686         (__stpcpy): Likewise.  Do not use BP_SYM.
49687         (stpcpy): Do not use BP_SYM in weak_alias.
49688         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49689         "bp-asm.h".
49690         (PARMS): Do not use macros from bp-asm.h.
49691         (DEST): Likewise.
49692         (SRC): Likewise.
49693         (LEN): Likewise.
49694         (__stpncpy): Likewise.  Do not use BP_SYM.
49695         (stpncpy): Do not use BP_SYM in weak_alias.
49696         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49697         (PARMS): Do not use macros from bp-asm.h.
49698         (STR): Likewise.
49699         (CHR): Likewise.
49700         (strchr): Likewise.  Do not use BP_SYM.
49701         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49702         "bp-asm.h".
49703         (PARMS): Do not use macros from bp-asm.h.
49704         (STR): Likewise.
49705         (CHR): Likewise.
49706         (__strchrnul): Likewise.  Do not use BP_SYM.
49707         (strchrnul): Do not use BP_SYM in weak_alias.
49708         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49709         "bp-asm.h".
49710         (PARMS): Do not use macros from bp-asm.h.
49711         (STOP): Likewise.
49712         (strcspn): Do not use BP_SYM.
49713         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49714         "bp-asm.h".
49715         (PARMS): Do not use macros from bp-asm.h.
49716         (STR): Likewise.
49717         (STOP): Likewise.
49718         (strpbrk): Likewise.  Do not use BP_SYM.
49719         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49720         "bp-asm.h".
49721         (PARMS): Do not use macros from bp-asm.h.
49722         (STR): Likewise.
49723         (CHR): Likewise.
49724         (strrchr): Likewise.  Do not use BP_SYM.
49725         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49726         (PARMS): Do not use macros from bp-asm.h.
49727         (SKIP): Likewise.
49728         (strspn): Do not use BP_SYM.
49729         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49730         (PARMS): Do not use macros from bp-asm.h.
49731         (STR): Likewise.
49732         (DELIM): Likewise.
49733         (SAVE): Likewise.
49734         (FUNCTION): Likewise.  Do not use BP_SYM.
49735         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49736         aliases.
49737         (strtok_r): Likewise.
49738         (__GI___strtok_r): Likewise.
49739         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49740         (PARMS): Do not use macros from bp-asm.h.
49741         (S1): Likewise.
49742         (S2): Likewise.
49743         (SIZE): Likewise.
49744         (__mpn_sub_n): Do not use BP_SYM.
49745         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49746         "bp-asm.h".
49747         (PARMS): Do not use macros from bp-asm.h.
49748         (S1): Likewise.
49749         (SIZE): Likewise.
49750         (__mpn_submul_1): Do not use BP_SYM.
49751         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49752         <bp-sym.h>.
49753         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49754         and <bp-asm.h>.
49755         (PARMS): Do not use macros from bp-asm.h.
49756         (FLAGS): Likewise.
49757         (PTID): Likewise.
49758         (TLS): Likewise.
49759         (CTID): Likewise.
49760         (__clone): Do not use BP_SYM.
49761         (clone): Do not use BP_SYM in weak_alias.
49762         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49763         and <bp-asm.h>.
49764         (PARMS): Do not use macros from bp-asm.h.
49765         (LEN): Likewise.
49766         (__mmap64): Do not use BP_SYM.
49767         (mmap64): Do not use BP_SYM in weak_alias.
49768         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49769         <bp-sym.h> and <bp-asm.h>.
49770         (PARMS): Do not use macros from bp-asm.h.
49771         (__posix_fadvise64_l64): Do not use BP_SYM.
49772         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49773         (PARMS): Do not use macros from bp-asm.h.
49774         (NSOPS): Likewise.
49775         (semtimedop): Do not use BP_SYM.
49776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49777         and <bp-asm.h>.
49779 2013-02-21  Allan McRae  <allan@archlinux.org>
49781         * manual/message.texi (Charset conversion in gettext):
49782         Move @end statement to beginning of line.
49784 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49787         static.
49788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49789         Likewise.
49791         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49792         (denorm): Likewise.
49793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49796 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49798         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49799         tail-call to the resolved function if pltexit isn't needed.
49801 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49804         or Y being zero as being unlikely.
49805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49806         Likewise.
49808 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49810         * manual/nss.texi (System Databases and Name Service Switch):
49811         Remove frobnicate @pxref.
49813 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49815         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49816         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49818 2013-02-20  Petr Machata  <pmachata@redhat.com>
49820         * elf/elf.h (R_ARM_TARGET1): New macro.
49821         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49822         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49823         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49824         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49825         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49826         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49827         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49828         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49829         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49830         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49831         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49832         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49833         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49834         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49835         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49836         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49837         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49838         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49839         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49840         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49841         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49842         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49843         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49844         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49845         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49846         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49847         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49848         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49849         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49850         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49851         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49852         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49853         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49854         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49855         (R_ARM_THM_GOT_BREL12): Likewise.
49856         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49857         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49858         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49859         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49860         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49861         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49862         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49863         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49864         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49866 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49868         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49869         __attribute_used__ to __attribute__ ((unused)).
49871 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49873         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49874         powerpc mpa.c.
49875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49876         comment formatting.
49877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49879 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49881         [BZ #13550]
49882         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49883         Remove macro.
49884         (ENTER): Remove both macro definitions.
49885         (LEAVE): Likewise.
49886         (CHECK_BOUNDS_LOW): Likewise.
49887         (CHECK_BOUNDS_HIGH): Likewise.
49888         (CHECK_BOUNDS_BOTH): Likewise.
49889         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49890         (RETURN_BOUNDED_POINTER): Likewise.
49891         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49892         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49893         (POP_ERRNO_LOCATION_RETURN): Likewise.
49894         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49895         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49896         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49897         macros.
49898         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49899         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49900         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49901         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49902         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49903         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49904         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49905         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49906         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49907         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49908         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49909         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49910         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49911         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49912         removed macros.
49913         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49914         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49915         macros.
49916         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49917         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49918         * sysdeps/i386/i586/memset.S (memset): Likewise.
49919         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49920         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49921         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49922         macros.
49923         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49924         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49925         Change uses of L(2) to L(out).
49926         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49927         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49928         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49929         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49930         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49931         removed macros.
49932         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49933         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49934         macros.
49935         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49936         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49937         (RETURN): Do not use macro LEAVE.
49938         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49939         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49940         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49941         * sysdeps/i386/i686/memset.S (memset): Likewise.
49942         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49943         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49944         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49945         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49946         Likewise.
49947         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49948         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49949         L(1_2) and L(1_3) into L(1).
49950         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49951         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49952         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49953         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49954         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49955         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49956         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49957         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49958         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49959         macros.
49960         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49961         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49962         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49963         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49964         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49965         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49966         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49967         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49968         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49969         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49970         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49971         * sysdeps/i386/strspn.S (strspn): Likewise.
49972         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49973         conditional code.
49974         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49975         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49976         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49977         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49978         L(1_3) into L(1_1).
49979         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49980         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49981         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49982         macros.
49983         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49985 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49987         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49988         macro.
49990 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49992         * math/atest-exp.c (exp_mpn): Remove ROUND.
49993         * math/atest-exp2.c (exp_mpn): Likewise.
49994         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49996         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49997         * stdlib/tst-tls-atexit-lib.c: Likewise.
49998         * stdlib/tst-tls-atexit.c: Likewise.
50000 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50002         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50003         and __attribute_alloc_size__.
50005 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50007         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50008         __attribute_alloc_size__.
50009         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50010         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50012 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50014         * include/programs/xmalloc.h: New file.
50015         * catgets/gencat.c: Include it.
50016         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50017         * elf/pldd.c: Likewise.
50018         * iconv/iconv_charmap.c: Likewise.
50019         * iconv/iconvconfig.c: Likewise.
50020         * iconv/strtab.c: Likewise.
50021         * locale/programs/locale.c: Likewise.
50022         * locale/programs/localedef.h: Likewise.
50023         * locale/programs/simple-hash.c: Likewise.
50024         * nscd/nscd.h: Likewise.
50025         * nss/makedb.c: Likewise.
50026         * sysdeps/generic/ldconfig.h: Likewise.
50028 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50030         * Versions.def: Add GLIBC_2.18.
50031         * include/link.h (struct link_map): New member l_tls_dtor_count.
50032         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50033         (__call_tls_dtors): Likewise.
50034         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50035         __cxa_thread_atexit_impl.
50036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50037         Likewise.
50038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50039         Likewise.
50040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50041         Likewise.
50042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50043         Likewise.
50044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50046         Likewise.
50047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50048         Likewise.
50049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50051         Likewise.
50052         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50053         (tests): Add test case tst-tls-atexit.
50054         (modules-names): Add shared library for tst-tls-atexit.
50055         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50056         (GLIBC_PRIVATE): Add __call_tls_dtors.
50057         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50058         for libstdc++.
50059         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50060         * stdlib/tst-tls-atexit.c: New test case.
50061         * stdlib/tst-tls-atexit-lib.c: New test case.
50063         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50065         * elf/Versions (ld): Add _dl_find_dso_for_object.
50066         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50067         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50068         (dl_open_worker): Use _dl_find_dso_for_object.
50069         * elf/dl-sym.c (do_sym): Likewise.
50070         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50072 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50074         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50075         Syntactic changes only.
50076         (_dl_runtime_profile): Do a tail-call to the resolved function.
50078 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50080         [BZ #13550]
50081         * sysdeps/x86_64/bp-asm.h: Remove file.
50082         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50083         <bp-sym.h> and <bp-asm.h>.
50084         (__clone): Do not use BP_SYM.
50085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50086         <bp-sym.h> and <bp-asm.h>.
50087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50088         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50089         "bp-asm.h".
50090         (_setjmp): Do not use BP_SYM.
50091         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50092         "bp-asm.h".
50093         (setjmp): Do not use BP_SYM.
50094         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50095         libc_hidden_def.
50096         (mempcpy): Do not use BP_SYM in weak_alias.
50097         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50098         "bp-asm.h".
50099         (strchr): Do not use BP_SYM.
50100         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50101         "bp-asm.h".
50102         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50103         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50104         (_start): Do not use BP_SYM.
50105         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50106         "bp-asm.h".
50107         (strcat): Do not use BP_SYM.
50108         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50109         "bp-asm.h".
50110         (STRCMP): Do not use BP_SYM.
50111         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50112         "bp-asm.h".
50113         (STRCPY): Do not use BP_SYM.
50114         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50115         "bp-asm.h".
50116         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50117         "bp-asm.h".
50118         (FUNCTION): Do not use BP_SYM.
50119         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50120         weak_alias.
50121         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50123 2013-02-17  Andreas Jaeger  <aj@suse.de>
50125         * time/Versions: Sort entries.
50126         * string/Versions: Likewise.
50127         * resolv/Versions: Likewise.
50128         * posix/Versions: Likewise.
50129         * iconv/Versions: Likewise.
50130         * elf/Versions: Likewise.
50131         * wcsmbs/Versions: Likewise.
50133 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50135         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50136         loop termination condition.
50138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50139         variable to calculate EZ.
50140         (__sqr): Likewise.
50142         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50143         the lower precision input.
50145 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50147         [BZ #13550]
50148         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50149         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50150         (run-via-rtld-prefix): Do not handle %-bp tests.
50151         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50152         (all-object-suffixes): Remove .ob.
50153         (bppfx): Remove variable.
50154         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50155         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50156         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50157         [$(build-bounded) = yes] (libtype.ob): Likewise.
50158         * Makerules (elide-routines.ob): Remove variable.
50159         (do-tests-clean): Do not handle *-bp.out.
50160         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50161         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50162         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50163         (tests): Do not include $(tests-bp.out).
50164         (xtests): Do not include $(xtests-bp.out).
50165         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50166         [$(build-bounded) = yes] ($(addprefix
50167         $(objpfx),$(binaries-bounded))): Remove rule.
50168         ($(objpfx)%-bp.out): Remove rule.
50169         * config.make.in (build-bounded): Remove variable.
50170         * crypt/Makefile [$(build-bounded) = yes]
50171         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50172         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50173         append to variable.
50174         [$(build-bounded) = yes] (install-lib): Likewise.
50175         [$(build-bounded) = yes] (generated): Likewise.
50176         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50177         Remove rule.
50178         * intl/Makefile [$(build-bounded) = yes]
50179         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50180         * math/Makefile [$(build-bounded) = yes]
50181         ($(tests:%=$(objpfx)%-bp): Likewise.
50182         * misc/Makefile [$(build-bounded) = yes]
50183         ($(objpfx)tst-tsearch-bp): Likewise.
50184         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50185         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50186         Remove dependency.
50187         * string/Makefile (o-objects.ob): Remove variable.
50188         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50189         (CFLAGS-.ob): Remove variable.
50190         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50191         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50192         both definitions of variable.
50193         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50194         (ASFLAGS-.ob): Remove variable.
50196 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50198         [BZ #13550]
50199         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50200         Remove __BOUNDED_POINTERS__ from condition.
50201         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50202         * string/bits/string2.h [!__NO_STRING_INLINES &&
50203         !__BOUNDED_POINTERS__]: Likewise.
50204         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50205         Likewise.
50206         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50207         Remove conditional code.
50208         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50209         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50210         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50211         condition.
50213         [BZ #13550]
50214         * csu/libc-start.c: Do not include <bp-sym.h>.
50215         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50216         * elf/dl-open.c: Do not include <bp-sym.h>.
50217         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50218         * math/fegetenv.c: Do not include <bp-sym.h>.
50219         (fegetenv): Do not use BP_SYM in versioned symbols.
50220         * nptl/sysdeps/pthread/bits/libc-lockP.h
50221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50222         <bp-sym.h>.
50223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50224         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50226         (__pthread_mutex_destroy): Likewise.
50227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50228         (__pthread_mutex_lock): Likewise.
50229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50230         (__pthread_mutex_trylock): Likewise.
50231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50232         (__pthread_mutex_unlock): Likewise.
50233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50234         (__pthread_mutexattr_init): Likewise.
50235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50236         (__pthread_mutexattr_destroy): Likewise.
50237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50238         (__pthread_mutexattr_settype): Likewise.
50239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50240         (__pthread_rwlock_init): Likewise.
50241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50242         (__pthread_rwlock_destroy): Likewise.
50243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50244         (__pthread_rwlock_rdlock): Likewise.
50245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50246         (__pthread_rwlock_tryrdlock): Likewise.
50247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50248         (__pthread_rwlock_wrlock): Likewise.
50249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50250         (__pthread_rwlock_trywrlock): Likewise.
50251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50252         (__pthread_rwlock_unlock): Likewise.
50253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50254         (__pthread_key_create): Likewise.
50255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50256         (__pthread_setspecific): Likewise.
50257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50258         (__pthread_getspecific): Likewise.
50259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50260         Likewise.
50261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50262         (_pthread_cleanup_push_defer): Likewise.
50263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50264         (_pthread_cleanup_pop_restore): Likewise.
50265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50266         (pthread_setcancelstate): Likewise.
50267         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50268         <bp-sym.h>.
50269         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50270         (memchr): Do not use BP_SYM in weak_alias.
50271         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50272         (fegetenv): Do not use BP_SYM in versioned symbols.
50273         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50274         (fesetenv): Do not use BP_SYM in versioned symbols.
50275         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50276         (feupdateenv): Do not use BP_SYM in versioned symbols.
50277         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50278         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50279         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50280         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50281         (open64): Do not use BP_SYM in weak_alias.
50282         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50283         (fegetenv): Do not use BP_SYM in versioned symbols.
50284         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50285         (fesetenv): Do not use BP_SYM in versioned symbols.
50286         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50287         (feupdateenv): Do not use BP_SYM in versioned symbols.
50288         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50289         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50290         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50291         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50292         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50293         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50294         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50295         <bp-sym.h>.
50296         (__libc_start_main): Do not use BP_SYM.
50298 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50301         redundant return line.
50302         (norm): Likewise.
50303         (denorm): Likewise.
50304         (dbl_mp): Likewise.
50305         (sub_magnitudes): Likewise.
50306         (__add): Likewise.
50307         (__sub): Likewise.
50308         (__mul): Likewise.
50309         (__inv): Likewise.
50310         (__dvd): Likewise.
50311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
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.
50322         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50323         instead of __mul.
50324         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50325         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50326         (cc32): Likewise.
50328         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50329         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50331         of __mul for squares.
50332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50333         function
50334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50335         Likewise.
50336         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50337         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50339 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50341         [BZ #13550]
50342         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50343         code.
50344         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50345         prototype or function definition.  Rename ubp_* variables and
50346         parameters.  Remove argv definitions conditional on
50347         [__BOUNDED_POINTERS__].
50348         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50349         * elf/dl-runtime.c (_dl_fixup): Likewise.
50350         * include/set-hooks.h (RUN_HOOK): Likewise.
50351         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50352         definition.
50353         * string/strcpy.c (strcpy): Do not use __unbounded.
50354         * sysdeps/generic/frame.h (struct layout): Likewise.
50355         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50356         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50357         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50358         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50359         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50360         (__backtrace): Likewise.
50361         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50362         use __ptrvalue.
50363         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50364         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50365         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50366         Likewise.
50367         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50368         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50369         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50370         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50371         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50372         Do not use __unbounded.
50373         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50374         Rename __unboundedrlimits parameter to rlimits in prototype.
50375         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50376         Do not use __unbounded.
50377         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50378         not use __ptrvalue.
50379         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50380         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50381         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50382         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50383         __ptrvalue or __unbounded.
50384         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50385         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50386         use __unbounded.
50387         (__new_msgctl): Do not use __ptrvalue.
50388         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50389         __unbounded.
50390         (__libc_msgrcv): Do not use __ptrvalue.
50391         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50392         startup_info): Do not use __unbounded.
50393         (__libc_start_main): Likewise.  Rename ubp_* variables and
50394         parameters.  Remove argv definitions conditional on
50395         [__BOUNDED_POINTERS__].
50396         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50397         __ptrvalue.
50398         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50399         use __unbounded.
50400         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50401         or __ptrvalue.
50402         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50403         use __unbounded.
50404         (__new_shmctl): Do not use __ptrvalue.
50405         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50406         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50407         Likewise.
50408         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50410         (__libc_sigaction): Likewise.
50411         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50413         Likewise.
50414         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50416 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50418         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50420         * string/mempcpy.c: Implement by calling memcpy.
50422 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50427         evaluation.
50429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50430         values in the mantissa.
50432         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50433         minimize writes to Z.
50434         (sub_magnitudes): Simplify code a bit.
50436 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50438         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50439         from the message.  The linker prefixes all warnings with that already.
50441 2013-02-12  Andreas Schwab  <schwab@suse.de>
50443         [BZ #15078]
50444         * posix/regexec.c (extend_buffers): Add parameter min_len.
50445         (check_matching): Pass minimum needed length.
50446         (clean_state_log_if_needed): Likewise.
50447         (get_subexp): Likewise.
50448         * posix/Makefile (tests): Add bug-regex34.
50449         (bug-regex34-ENV): Define.
50450         * posix/bug-regex34.c: New file.
50452         [BZ #11561]
50453         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50454         elements compare against the byte sequence of it, not its name.
50455         * posix/Makefile (tests): Add bug-regex35.
50456         (bug-regex35-ENV): Define.
50457         * posix/bug-regex35.c: New file.
50459 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50461         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50462         comment.
50463         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50464         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50465         (CHECK_EOL): Add undef.
50467 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50469         * bits/stdlib-bsearch.h: New file.
50470         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50471         * stdlib/stdlib.h: Likewise.
50473 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50475         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50476         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50477         declaration.
50478         * manual/search.texi (Array Search Function): Add missing const in
50479         lfind prototype.
50480         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50481         declaration to use rlim_t.
50482         (Basic Scheduling Functions): Remove erroneous const from
50483         sched_getparam prototype.  Remove erroneous * from
50484         sched_get_priority_max and sched_get_priority_min prototypes.
50485         (Resource Usage): Fix summary @comment on vtimes to refer to
50486         sys/vtimes.h rather than vtimes.h.
50487         Add missing *s in vtimes prototype.
50488         (Limits on Resources): Fix ulimit prototype to return long int.
50489         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50490         prototypes to use long int rather than double.
50491         (BSD Random): Fix initstate and setstate to use char *, not void *.
50492         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50493         prototype to make second argument 'struct aiocb64 *const[]'.
50494         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50495         (Status of AIO Operations): Remove erroneous const in aio_return and
50496         aio_return64 prototypes.
50497         (Synchronizing I/O): Fix sync prototype to return void.
50498         * manual/startup.texi (Suboptions): Remove an erroneous const in
50499         getsubopt prototype.
50500         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50501         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50502         use size_t rather than int.
50503         (Scanning All Users): Likewise for getpwent_r.
50504         (Setting Groups): Add missing const to setgroups prototype.
50505         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50506         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50507         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50508         'const void *' rather than 'const char *'.
50509         (Host Address Functions): Likewise for inet_ntop.
50510         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50511         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50512         ssize_t for return value.
50513         (Sending Data): Likewise for send, sendto, sendmsg.
50514         (Socket Option Functions): Add a missing const in setsockopt prototype.
50515         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50516         use wchar_t for the argument.
50517         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50518         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50519         take no arguments.
50520         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50521         double/float/long double for second argument.
50522         Fix return types of significand, significandf, significandl.
50523         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50524         argument in fchmod prototype.
50525         (File Owner): Use uid_t and gid_t in fchown prototype.
50526         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50527         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50528         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50529         use 'const struct dirent **' as argument types to CMP function pointer
50530         argument.
50531         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50532         (File Times): Fix summary magic @comment for struct utimbuf and utime
50533         to refer to utime.h, not time.h.
50534         * manual/string.texi (Argz Functions): Add missing const in
50535         argz_extract and argz_next prototypes.
50536         (Finding Tokens in a String): Likewise for basename.
50537         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50538         (Copying and Concatenation): Fix typo in wmemmove prototype.
50539         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50540         (Signal Stack): Remove erroneous const in sigstack prototype.
50541         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50542         prototype.
50543         (Simple Calendar Time): Likewise for stime.
50544         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50545         prototype.
50546         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50547         say sys/sysctl.h instead.
50548         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50549         and vsyslog prototypes.
50551 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50553         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50554         Remove.
50556 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50558         * misc/sys/mman.h: Fix typo in mremap comment.
50560 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50562         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50563         the '\0' terminator.
50565 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50567         [BZ #13550]
50568         * debug/segfault.c: Don't include <bp-checks.h>.
50569         * sysdeps/generic/bp-checks.h: Remove file.
50570         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50571         (__GETDENTS): Don't use CHECK_N.
50572         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50573         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50574         (__getgroups): Don't use CHECK_N.
50575         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50576         (setgroups): Don't use CHECK_N.
50577         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50578         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50579         (__libc_msgrcv): Don't use CHECK_N.
50580         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50581         (__libc_msgsnd): Don't use CHECK_N.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50583         <bp-checks.h>.
50584         (__libc_pread): Don't use CHECK_N.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50586         include <bp-checks.h>.
50587         (__libc_pread64): Don't use CHECK_N.
50588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50589         include <bp-checks.h>.
50590         (__libc_pwrite): Don't use CHECK_N.
50591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50592         include <bp-checks.h>.
50593         (__libc_pwrite64): Don't use CHECK_N.
50594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50595         <bp-checks.h>.
50596         (__libc_pread): Don't use CHECK_N.
50597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50598         include <bp-checks.h>.
50599         (__libc_pread64): Don't use CHECK_N.
50600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50601         include <bp-checks.h>.
50602         (__libc_pwrite): Don't use CHECK_N.
50603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50604         include <bp-checks.h>.
50605         (__libc_pwrite64): Don't use CHECK_N.
50606         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50607         (do_pread): Don't use CHECK_N.
50608         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50609         (do_pread64): Don't use CHECK_N.
50610         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50611         (do_pwrite): Don't use CHECK_N.
50612         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50613         (do_pwrite64): Don't use CHECK_N.
50614         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50615         (__libc_readv): Don't use CHECK_N.
50616         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50617         (semop): Don't use CHECK_N.
50618         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50619         <bp-checks.h>.
50620         (semtimedop): Don't use CHECK_N.
50621         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50622         (__libc_pread): Don't use CHECK_N.
50623         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50624         <bp-checks.h>.
50625         (__libc_pread64): Don't use CHECK_N.
50626         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50627         <bp-checks.h>.
50628         (__libc_pwrite): Don't use CHECK_N.
50629         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50630         <bp-checks.h>.
50631         (__libc_pwrite64): Don't use CHECK_N.
50632         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50633         <bp-checks.h>.
50634         (__libc_msgrcv): Don't use CHECK_N.
50635         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50636         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50637         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50638         (__libc_writev): Don't use CHECK_N.
50640 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50642         * string/strcpy.c: Removed unused variable.
50644         * Makeconfig (+sysdep-includes): Define with := rather than =.
50645         Use an existing include/ subdir of each sysdeps dir before it.
50647 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50649         * nscd/connection.c (register_traced_file): Comment function.
50650         [HAVE_INOTIFY] (union __inev): Define.
50651         [HAVE_INOTIFY] (inotify_check_files): New function.
50652         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50653         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50654         clear_db_cache.
50655         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50657 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50659         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50660         loaded if not already and that a failure is permanent.
50662 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50664         [BZ #15006]
50665         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50666         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50668 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50670         [BZ #13550]
50671         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50672         (CHECK_1_NULL_OK): Likewise.
50673         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50674         (__fxstat): Do not use CHECK_1.
50675         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50676         <bp-checks.h>.
50677         (___fxstat64): Do not use CHECK_1.
50678         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50679         <bp-checks.h>.
50680         (__fxstatat): Do not use CHECK_1.
50681         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50682         <bp-checks.h>.
50683         (__fxstatat64): Do not use CHECK_1.
50684         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50685         <bp-checks.h>.
50686         (__fxstat): Do not use CHECK_1.
50687         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50688         <bp-checks.h>.
50689         (__fxstatat): Do not use CHECK_1.
50690         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50691         <bp-checks.h>.
50692         (__getresgid): Do not use CHECK_1.
50693         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50694         <bp-checks.h>.
50695         (__getresuid): Do not use CHECK_1.
50696         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50697         <bp-checks.h>.
50698         (__lxstat): Do not use CHECK_1.
50699         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50700         <bp-checks.h>.
50701         (__old_msgctl): Do not use CHECK_1.
50702         (__new_msgctl): Likewise.
50703         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50704         <bp-checks.h>.
50705         (__new_setrlimit): Do not use CHECK_1.
50706         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50707         <bp-checks.h>.
50708         (__old_shmctl): Do not use CHECK_1.
50709         (__new_shmctl): Likewise.
50710         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50711         <bp-checks.h>.
50712         (__xstat): Do not use CHECK_1.
50713         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50714         (__lxstat): Do not use CHECK_1.
50715         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50716         <bp-checks.h>.
50717         (___lxstat64): Do not use CHECK_1.
50718         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50719         (__old_msgctl): Do not use CHECK_1.
50720         (__new_msgctl): Likewise.
50721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50722         <bp-checks.h>.
50723         (__gettimeofday): Do not use CHECK_1.
50724         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50725         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50726         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50727         <bp-checks.h>.
50728         (__gettimeofday): Do not use CHECK_1.
50729         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50730         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50731         (__new_shmctl): Do not use CHECK_1.
50732         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50733         <bp-checks.h>.
50734         (do_sigtimedwait): Do not use CHECK_1.
50735         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50736         <bp-checks.h>.
50737         (do_sigwaitinfo): Do not use CHECK_1.
50738         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50739         <bp-checks.h>.
50740         (msgctl): Do not use CHECK_1.
50741         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50742         <bp-checks.h>.
50743         (shmctl): Do not use CHECK_1.
50744         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50745         (ustat): Do not use CHECK_1.
50746         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50747         <bp-checks.h>.
50748         (__fxstat): Do not use CHECK_1.
50749         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50750         <bp-checks.h>.
50751         (__fxstatat): Do not use CHECK_1.
50752         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50753         <bp-checks.h>.
50754         (__lxstat): Do not use CHECK_1.
50755         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50756         <bp-checks.h>.
50757         (__xstat): Do not use CHECK_1.
50758         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50759         (__xstat): Do not use CHECK_1.
50760         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50761         (___xstat64): Do not use CHECK_1.
50763         [BZ #13550]
50764         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50765         definitions.
50766         (CHECK_BOUNDS_HIGH): Likewise.
50767         * string/strcpy.c: Do not include <bp-checks.h>.
50768         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50770 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50772         * nscd/nscd-client.h (__nscd_drop_map_ref):
50773         Add __attribute__ ((unused)).
50774         * nis/nss-nisplus.h (niserr2nss): Likewise.
50776         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50777         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50779         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50780         Remove inline keyword.
50781         * include/rounding-mode.h (round_away): Likewise.
50782         * libio/wfileops.c (adjust_wide_data): Likewise.
50783         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50784         (__m128i_strloadu_tolower): Likewise.
50785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50786         (__m128i_strloadu_tolower): Likewise.
50787         * time/mktime.c (ydhms_diff): Likewise.
50788         * locale/elem-hash.h (elem_hash): Likewise.
50789         * locale/setlocale.c (setdata): Likewise.
50790         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50791         (re_string_wchar_at): Likewise.
50792         (bitset_not, bitset_merge, bitset_mask): Likewise.
50793         [!(__GNUC__ > 3)] (inline): Remove macro.
50794         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50795         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50796         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50797         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50798         * string/memcmp.c (memcmp_bytes): Likewise.
50799         * locale/programs/locarchive.c (compute_hashval): Likewise.
50800         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50801         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50802         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50803         * nss/getent.c (print_rpc, print_protocols): Likewise.
50804         (print_passwd, print_group, print_aliases): Likewise.
50805         * nis/nss-nisplus.h (niserr2nss): Likewise.
50806         * nscd/connections.c (restart_p): Likewise.
50807         Change return type to bool.
50809 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50811         * Makeconfig (all-Depend-files): Add existing
50812         $(sorted-subdirs:=/Depend) files.
50813         (all-subdirs): Remove nss.
50814         * sysdeps/unix/inet/Subdirs: Add it here instead.
50815         * hesiod/Depend: New file.
50817         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50818         instead of calling alloca.
50820         * io/lseek.c (__lseek): Rename to __libc_lseek.
50821         Define __lseek as an alias.
50823         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50825 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50827         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50828         else clause and remove check for non-standard endianness.
50830 2013-02-04  David S. Miller  <davem@davemloft.net>
50832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50834 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50836         [BZ #13550]
50837         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50838         (__ubp_memchr): Remove prototype.
50839         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50840         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50841         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50842         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50843         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50844         Remove alias.
50845         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50846         (__ubp_memchr): Likewise.
50847         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50848         (__ubp_memchr): Likewise.
50849         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50850         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50851         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50852         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50853         CHECK_STRING.
50854         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50855         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50856         (__getcwd): Do not use CHECK_STRING.
50857         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50858         <bp-checks.h>.
50859         (__real_chown): Do not use CHECK_STRING.
50860         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50861         <bp-checks.h>.
50862         (fchownat): Do not use CHECK_STRING.
50863         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50864         CHECK_STRING.
50865         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50866         <bp-checks.h>.
50867         (__lchown): Do not use CHECK_STRING.
50868         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50869         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50870         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50871         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50873         include <bp-checks.h>.
50874         (truncate64): Do not use CHECK_STRING.
50875         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50876         <bp-checks.h>.
50877         (__real_chown): Do not use CHECK_STRING.
50878         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50879         <bp-checks.h>.
50880         (__lchown): Do not use CHECK_STRING.
50881         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50882         <bp-checks.h>.
50883         (__chown): Do not use CHECK_STRING.
50884         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50885         <bp-checks.h>.
50886         (truncate64): Do not use CHECK_STRING.
50887         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50888         Likewise.
50889         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50890         (__xmknod): Do not use CHECK_STRING.
50891         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50892         <bp-checks.h>.
50893         (__xmknodat): Do not use CHECK_STRING.
50894         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50895         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50897 2013-02-04  Andreas Schwab  <schwab@suse.de>
50899         [BZ #14142]
50900         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50901         * include/netdb.h: Likewise for h_errno.
50902         * elf/tst-stackguard1.c: Include <tls.h>.
50904 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50906         * elf/link.h (struct link_map): Extend the l_addr comment.
50907         * include/link.h (struct link_map): Likewise.
50909 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50911         [BZ #13550]
50912         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50913         (BOUNDED_1): Remove macro.
50914         * debug/backtrace.c: Don't include <bp-checks.h>.
50915         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50916         (__backtrace): Likewise.
50917         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50918         <bp-checks.h>.
50919         (__backtrace): Don't use BOUNDED_1.
50920         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50921         <bp-checks.h>.
50922         (__backtrace): Don't use BOUNDED_1.
50923         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50924         (__backtrace): Don't use BOUNDED_1.
50925         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50926         (shmat): Don't use BOUNDED_N.
50928 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50930         [BZ #13550]
50931         * sysdeps/generic/bp-start.h: Remove file.
50932         * csu/libc-start.c: Don't include <bp-start.h>.
50933         (LIBC_START_MAIN): Set up __environ directly instead of using
50934         INIT_ARGV_and_ENVIRON.
50935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50936         <bp-start.h>.
50938         [BZ #13550]
50939         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50940         definitions.
50941         (CHECK_FCNTL): Likewise.
50942         (CHECK_N_PAGES): Likewise.
50944         [BZ #13550]
50945         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50946         definitions.
50947         (CHECK_SIGSET_NULL_OK): Likewise.
50948         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50949         <bp-checks.h>.
50950         (sigpending): Don't use CHECK_SIGSET.
50951         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50952         <bp-checks.h>.
50953         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50954         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50955         <bp-checks.h>.
50956         (do_sigsuspend): Don't use CHECK_SIGSET.
50957         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50958         use CHECK_SIGSET.
50959         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50960         (do_sigwait): Don't use CHECK_SIGSET.
50961         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50962         use CHECK_SIGSET.
50963         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50964         include <bp-checks.h>.
50965         (sigpending): Don't use CHECK_SIGSET.
50966         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50967         include <bp-checks.h>.
50968         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50969         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50970         <bp-checks.h>.
50971         (sigpending): Don't use CHECK_SIGSET.
50972         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50973         <bp-checks.h>.
50974         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50976         [BZ #13550]
50977         * sysdeps/generic/bp-semctl.h: Remove file.
50978         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50979         <bp-checks.h> and <bp-semctl.h>.
50980         (__old_semctl): Don't use CHECK_SEMCTL.
50981         (__new_semctl): Likewise.
50982         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50983         and <bp-semctl.h>.
50984         (__old_semctl): Don't use CHECK_SEMCTL.
50985         (__new_semctl): Likewise.
50986         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50987         <bp-checks.h> and <bp-semctl.h>.
50988         (__old_semctl): Don't use CHECK_SEMCTL.
50989         (__new_semctl): Likewise.
50990         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50991         <bp-checks.h> and <bp-semctl.h>.
50992         (semctl): Don't use CHECK_SEMCTL.
50994         [BZ #13550]
50995         * Makerules (elide-bp-thunks): Remove variable.
50996         (elide-routines.oS): Don't use $(elide-bp-thunks).
50997         (elide-routines.os): Likewise.
50998         (elide-routines.o): Likewise.
50999         (elide-routines.op): Likewise.
51000         (elide-routines.og): Likewise.
51001         (objects): Don't use $(bp-thunks).
51002         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51003         include.
51004         (common-generated): Do not add s-proto-bp.d.
51005         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51006         (int): Likewise.
51007         (typ): Likewise.
51008         Do not generate makefile rules for bounded-pointer thunks.
51009         * sysdeps/generic/bp-thunks.h: Remove file.
51010         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51011         * sysdeps/unix/s-proto-bp.S: Likewise.
51013         [BZ #15062]
51014         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51015         parts of result separately when argument is not close to line from
51016         -i to i and one part of argument is small.
51017         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51018         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51019         * math/libm-test.inc (cacos_test): Add more tests.
51020         (casin_test): Likewise.
51021         (casinh_test): Likewise.
51022         * sysdeps/i386/fpu/libm-test-ulps: Update.
51023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51025 2013-01-31  David S. Miller  <davem@davemloft.net>
51027         * po/de.po: Update from translation team.
51029 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51031         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51033 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51035         * configure.in (_AC_PROG_CC_C89): New definition.
51036         * configure: Regenerate.
51038         * configure.in (AC_PROG_CPP): New definition.
51039         * configure: Regenerate.
51041 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51043         * debug/tst-backtrace.h: New file.
51044         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51045         (ret): Remove variable.
51046         (x): Likewise.
51047         (FAIL): Remove macro.
51048         (NO_INLINE): Likewise.
51049         (fn1): Use match function instead of strstr.
51050         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51051         (ret): Remove variable.
51052         (x): Likewise.
51053         (FAIL): Remove macro.
51054         (NO_INLINE): Likewise.
51055         (fn): Use match function instead of strstr.
51056         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51057         (ret): Remove variable.
51058         (x): Likewise.
51059         (FAIL): Remove macro.
51060         (NO_INLINE): Likewise.
51061         (handle_signal): Use match function instead of strstr.
51062         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51063         (ret): Remove variable.
51064         (x): Likewise.
51065         (FAIL): Remove macro.
51066         (NO_INLINE): Likewise.
51067         (handle_signal): Use match function instead of strstr.
51069 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51071         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51073 2013-01-23  David S. Miller  <davem@davemloft.net>
51075         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51076         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51077         argument of CAS if possible.
51078         * sysdeps/sparc/sparc64/bits/atomic.h
51079         (__arch_compare_and_exchange_val_32_acq): Likewise.
51080         (__arch_compare_and_exchange_val_64_acq): Likewise.
51082 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51084         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51085         * sysdeps/posix/ulimit.c: ... this.
51086         Include <limits.h>.
51087         * sysdeps/unix/bsd/ulimit.c: Remove file.
51089 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51091         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51092         (LDFLAGS-tst-array5): Likewise.
51094 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51096         [BZ #15036]
51097         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51098         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51099         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51100         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51102 2013-01-21  David S. Miller  <davem@davemloft.net>
51104         * sysdeps/sparc/backtrace.c: New file.
51105         * sysdeps/sparc/sparc32/backtrace.h: New file.
51106         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51107         * sysdeps/sparc/sparc64/backtrace.h: New file.
51108         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51109         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51110         -funwind-tables.
51112 2013-01-21  Andreas Schwab  <schwab@suse.de>
51114         [BZ #15020]
51115         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51116         closed its stdout.
51118 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51121         "mpa2.h".
51122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51124 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51125             Mark Mitchell  <mark@codesourcery.com>
51126             Tom de Vries  <tom@codesourcery.com>
51127             Paul Pluzhnikov  <ppluzhnikov@google.com>
51129         * debug/tst-backtrace2.c: New file.
51130         * debug/tst-backtrace3.c: Likewise.
51131         * debug/tst-backtrace4.c: Likewise.
51132         * debug/tst-backtrace5.c: Likewise.
51133         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51134         (CFLAGS-tst-backtrace3.c): Likewise.
51135         (CFLAGS-tst-backtrace4.c): Likewise.
51136         (CFLAGS-tst-backtrace5.c): Likewise.
51137         (LDFLAGS-tst-backtrace2): Likewise.
51138         (LDFLAGS-tst-backtrace3): Likewise.
51139         (LDFLAGS-tst-backtrace4): Likewise.
51140         (LDFLAGS-tst-backtrace5): Likewise.
51141         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51142         tst-backtrace4 and tst-backtrace5.
51144 2013-01-18  Anton Blanchard  <anton@samba.org>
51145             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51147         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51148         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51149         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51150         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51152         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51153         "+r" and remove output regs list as redundant.  Add explicit inline
51154         asm to specify register of return val to work around compiler codegen
51155         bug.  Remove (int) cast on return value.  Add return type parameter to
51156         use in macro so that this macro does not truncate return value for
51157         64-bit values.
51158         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51159         pass to INTERNAL_VSYSCALL_NCS.
51160         (INLINE_VSYSCALL): Add 'long int' as return type to
51161         INTERNAL_VSYSCALL_NCS macro invocation.
51162         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51163         INTERNAL_VSYSCALL_NCS macro invocation.
51164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51166 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51168         [BZ #14496]
51169         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51170         Fix application of SIMD FP exception mask.
51172         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51173         mp_no from a power of two.
51174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51175         __mpexp_twomm1.  Use __pow_mp.
51177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51178         multiplication.
51180 2013-01-17  David S. Miller  <davem@davemloft.net>
51182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51184 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51186         [BZ #15023]
51187         * include/complex.h: Condition contents on [!_COMPLEX_H].
51188         (__kernel_casinhf): New prototype.
51189         (__kernel_casinh): Likewise.
51190         (__kernel_casinhl): Likewise.
51191         * math/Makefile (libm_calls): Add k_casinh.
51192         * math/k_casinh.c: New file.
51193         * math/k_casinhf.c: Likewise.
51194         * math/k_casinhl.c: Likewise.
51195         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51196         finite nonzero arguments.
51197         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51198         finite nonzero arguments.
51199         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51200         finite nonzero arguments.
51201         * math/s_casinh.c: Do not include <float.h>.
51202         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51203         * math/s_casinhf.c: Do not include <float.h>.
51204         (__casinhf): Move code for finite nonzero arguments to
51205         k_casinhf.c.
51206         * math/s_casinhl.c: Do not include <float.h>.
51207         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51208         redefine.
51209         (__casinhl): Move code for finite nonzero arguments to
51210         k_casinhl.c.
51211         * math/libm-test.inc (cacos_test): Add more tests.
51212         * sysdeps/i386/fpu/libm-test-ulps: Update.
51213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51215 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51217         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51218         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51219         [!HAVE_MREMAP]: Remove [defined linux] case.
51220         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51222 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51224         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51226 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51228         * elf/elf.h (R_386_SIZE32): New relocation.
51229         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51230         R_386_SIZE32.
51231         (elf_machine_rela): Likewise.
51232         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51233         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51235 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51237         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51238         (FP_FAST_FMA): Do not define.
51239         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51240         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51241         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51242         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51243         !_SOFT_FLOAT]: Likewise.
51244         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51245         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51246         value.
51247         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51248         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51249         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51250         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51251         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51252         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51253         file.
51255 2013-01-16  Andreas Schwab  <schwab@suse.de>
51257         [BZ #14327]
51258         * include/stdlib.h (__mktemp): Add declaration.
51259         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51260         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51262 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51264         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51265         definitions.
51266         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51267         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51268         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51269         definitions here.
51270         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51271         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51272         definitions.
51273         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51274         and ONE.
51275         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51276         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51277         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51278         definitions.
51279         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51280         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51281         definitions.
51282         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51284         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51286 2013-01-15  David S. Miller  <davem@davemloft.net>
51288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51289         trunc{,f} to libm-sysdep_routes.
51290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51292         file.
51293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51295         file.
51296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51297         file.
51298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51300         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51301         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51302         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51303         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51304         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51305         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51308         nearbyint{,f} to libm-sysdep_routes.
51309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51311         New file.
51312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51313         file.
51314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51315         New file.
51316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51317         file.
51318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51320         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51321         file.
51322         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51323         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51324         file.
51325         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51326         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51327         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51329         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51330         libc_feholdexcept and libc_fesetenv.
51332 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51334         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51336 2013-01-14  David S. Miller  <davem@davemloft.net>
51338         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51339         (SPARC_ASM_VIS2_IFUNC): Likewise.
51340         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51342         use of 'siam' instruction.
51343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51344         Likewise.
51345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51346         Likewise.
51347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51348         Likewise.
51349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51351         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51352         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51354         file.
51355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51356         file.
51357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51358         file.
51359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51360         file.
51361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51366         new VIS2 routines.
51367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51370         Likewise.
51371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51376         routines to libm-sysdep_routines.
51377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51380         fdim/fdimf to libm-sysdep_routines.
51381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51382         file.
51383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51385         file.
51386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51389         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51390         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51391         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51392         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51394 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51396         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51397         to optimize copies.
51399         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51404         local variable MPTWO.
51405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51406         Likewise.
51408 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51410         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51411         GLOB_NOESCAPE.
51413 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51415         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51417 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51419         * manual/pattern.texi (glob_t): Document gl_flags.
51420         (glob64_t): Likewise.
51422 2013-01-11  David S. Miller  <davem@davemloft.net>
51424         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51425         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51426         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51427         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51428         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51429         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51430         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51431         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51432         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51433         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51434         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51435         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51436         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51438         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51439         sparc V9 rather than using V8 code.
51440         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51441         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51443         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51444         Move to...
51445         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51446         Here.
51448 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51450         [BZ #14941]
51451         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51452         not in the main loop.
51453         * configure: Regenerated.
51455 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51457         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51458         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51459         to just #else.
51460         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51461         [!__GLIBC_HAVE_LONG_LONG] case.
51462         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51463         condition to just #else.
51464         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51465         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51466         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51467         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51468         unconditional.
51469         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51470         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51471         #elif condition to just #else.
51472         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51473         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51474         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51475         #elif condition to just #else.
51477 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51479         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51480         (EF_MIPS_ARCH_64): Fix value.
51481         (EF_MIPS_ARCH_32R2): New.
51482         (EF_MIPS_ARCH_64R2): New.
51484 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51486         * Makeconfig (+link-pie-before-libc): New.
51487         (+link-pie-after-libc): Likewise.
51488         (+link-pie-tests): Likewise.
51489         (+link-pie): Rewritten.
51490         (link-before-libc): Remove $(config-LDFLAGS).
51491         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51492         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51493         (config-LDFLAGS): Renamed to ...
51494         (rtld-LDFLAGS): This.
51495         (rtld-tests-LDFLAGS): New macro.
51496         (link-libc-rpath-link): Likewise.
51497         (link-libc-tests-rpath-link): Likewise.
51498         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51499         (link-libc): Prepand $(link-libc-rpath-link).
51500         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51501         (test-program-prefix): New macro.
51502         (test-via-rtld-prefix): Likewise.
51503         (test-program-cmd): Likewise.
51504         (host-test-program-cmd): Likewise.
51505         * Makefile ($(common-objpfx)testrun.sh): Replace
51506         $(run-program-prefix) with $(test-program-prefix).
51507         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51508         $(rtld-LDFLAGS).
51509         ($(common-objpfx)shlib.lds): Likewise.
51510         (build-module-helper): Likewise.
51511         ($(common-objpfx)format.lds): Likewise.
51512         * Rules (binaries-pie-tests): New.
51513         (binaries-pie-notests): Likewise.
51514         (binaries-pie): Rewritten.
51515         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51516         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51517         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51518         (make-test-out): Replace $(host-built-program-cmd) with
51519         $(host-test-program-cmd).
51520         * config.make.in (build-hardcoded-path-in-tests): New variable.
51521         * configure.in (--enable-hardcoded-path-in-tests): New configure
51522         option.
51523         (hardcoded_path_in_tests): New AC_SUBST.
51524         * configure: Regenerated.
51525         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51526         $(built-program-cmd) with $(test-program-cmd).
51527         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51528         (test_program_cmd): This.
51529         * elf/Makefile ($(objpfx)order.out): Run test with
51530         $(test-program-prefix).
51531         ($(objpfx)order2.out): Likewise.
51532         ($(objpfx)tst-initorder.out): Likewise.
51533         ($(objpfx)tst-initorder2.out): Likewise.
51534         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51535         $(test-program-cmd).
51536         ($(objpfx)tst-array1-static.out): Likewise.
51537         ($(objpfx)tst-array2.out): Likewise.
51538         ($(objpfx)tst-array3.out): Likewise.
51539         ($(objpfx)tst-array4.out): Likewise.
51540         ($(objpfx)tst-array5.out): Likewise.
51541         ($(objpfx)tst-array5-static.out): Likewise.
51542         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51543         $(test-program-cmd).
51544         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51545         $(run-program-prefix) with $(test-program-prefix).
51546         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51547         (test_program_prefix): This.
51548         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51549         $(run-program-prefix) with $(test-program-prefix).
51550         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51551         (test_program_prefix): This.
51552         * iconvdata/tst-tables.sh: Likewise.
51553         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51554         $(run-program-prefix) with $(test-program-prefix).
51555         ($(objpfx)tst-translit.out): Likewise.
51556         ($(objpfx)tst-gettext2.out): Likewise.
51557         ($(objpfx)tst-gettext4.out): Likewise.
51558         ($(objpfx)tst-gettext6.out): Likewise.
51559         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51560         (test_program_prefix): This.
51561         * intl/tst-gettext2.sh: Likewise.
51562         * intl/tst-gettext4.sh  Likewise.
51563         * intl/tst-gettext6.sh: Likewise.
51564         * intl/tst-translit.sh: Likewise.
51565         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51566         with $(test-program-cmd).
51567         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51568         $(run-program-prefix) with $(test-program-prefix).
51569         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51570         (test_program_prefix): This.
51571         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51572         $(run-program-prefix) with $(test-program-prefix).
51573         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51574         (test_program_prefix): This.
51575         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51576         * posix/Makefile ($(objpfx)globtest.out): Replace
51577         $(run-via-rtld-prefix) and $(test-wrapper) with
51578         $(test-program-prefix) and $(test-via-rtld-prefix).
51579         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51580         $(test-program-prefix).
51581         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51582         $(host-test-program-cmd).
51583         (tst-spawn-ARGS): Likewise.
51584         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51585         $(test-program-prefix).
51586         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51587         (test_via_rtld_prefix): This.
51588         (test_wrapper): Renamed to ...
51589         (test_program_prefix): This.
51590         (run_program_prefix): Replaced by test_program_prefix.
51591         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51592         (test_program_prefix): This.
51593         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51594         with $(host-test-program-cmd).
51595         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51596         $(run-program-prefix) with $(test-program-prefix).
51597         ($(objpfx)tst-printf.out): Likewise.
51598         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51599         $(test-program-cmd).
51600         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51601         (test_program_prefix): This.
51602         * stdio-common/tst-unbputc.sh: Likewise.
51603         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51604         $(run-program-prefix) with $(test-program-prefix).
51605         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51606         (test_program_prefix): This.
51607         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51608         $(built-program-cmd) with $(test-program-cmd).
51610 2013-01-11  Andreas Jaeger  <aj@suse.de>
51612         [BZ #15003]
51613         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51614         value. Sync with Linux 3.7.
51616 2013-01-10  David S. Miller  <davem@davemloft.net>
51618         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51619         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51620         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51622 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51624         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51625         never set.
51626         * configure: Regenerated.
51628 2013-01-10  David S. Miller  <davem@davemloft.net>
51630         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51631         sparc V9 rather than using V8 code.
51632         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51633         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51635 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51637         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51638         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51639         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51640         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51641         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51642         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51643         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51644         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51645         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51646         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51647         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51648         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51649         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51650         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51651         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51652         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51653         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51654         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51655         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51656         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51657         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51658         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51659         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51660         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51661         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51662         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51663         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51665 2013-01-10  David S. Miller  <davem@davemloft.net>
51667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51669 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51671         * posix/Makefile (tests-static): New variable.
51672         (tests): Add $(tests-static).
51673         (tst-exec-static-ARGS): New variable.
51674         (tst-spawn-static-ARGS): Likewise.
51675         * posix/tst-exec-static.c: New file.
51676         * posix/tst-spawn-static.c: Likewise.
51677         * posix/tst-exec.c: Support run directly.
51678         * posix/tst-spawn.c: Likewise.
51680 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51682         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51683         long.
51684         * math/bits/mathcalls.h (llrint): Likewise.
51685         (llround): Likewise.
51686         * stdlib/stdlib.h (struct drand48_data): Likewise.
51687         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51688         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51689         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51690         Likewise.
51691         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51692         Likewise.
51693         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51694         (elf_greg_t): Likewise.
51695         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51696         (__jmp_buf): Likewise.
51697         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51698         definitions.
51699         (llrint): Likewise, for all definitions.
51700         (llrintl): Likewise.
51702         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51703         Remove [__GNUC__] condition.
51704         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51705         condition to just [__USE_ISOC99].
51706         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51708 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51710         [BZ #14200]
51711         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51712         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51713         defined.
51714         (_POSIX_V6_ILP32_OFF32): Likewise.
51715         (_XBS5_ILP32_OFF32): Likewise.
51716         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51717         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51719 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51721         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51724         doubles __mpexp_twomm1.  Adjust usage.
51725         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51726         Remove.
51728 2013-01-10  Andreas Schwab  <schwab@suse.de>
51730         [BZ #14964]
51731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51732         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51734 2013-01-09  David S. Miller  <davem@davemloft.net>
51736         [BZ #15003]
51737         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51738         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51739         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51740         (TCP_FASTOPEN): Define.
51741         (tcp_repair_opt): New structure.
51742         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51743         enum values.
51744         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51745         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51746         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51747         (tcp_cookie_transactions): New structure.
51749 2013-01-09  Anton Blanchard  <anton@samba.org>
51751         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51752         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51753         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51754         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51756 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51758         * include/features.h (__USE_ANSI): Remove.
51760 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51762         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51764         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51766 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51768         * sysdeps/s390/fpu/libm-test-ulps: Update.
51770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51772         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51773         (__acr): Likewise.
51774         (__cpy): Likewise.
51775         (norm): Likewise.
51776         (denorm): Likewise.
51777         (__mp_dbl): Likewise.
51778         (__dbl_mp): Likewise.
51779         (add_magnitudes): Likewise.
51780         (sub_magnitudes): Likewise.
51781         (__add): Likewise.
51782         (__sub): Likewise.
51783         (__mul): Likewise.
51784         (__inv): Likewise.
51785         (__dvd): Likewise.
51786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51787         (__acr): Likewise.
51788         (__cpy): Likewise.
51789         (norm): Likewise.
51790         (denorm): Likewise.
51791         (__mp_dbl): Likewise.
51792         (__dbl_mp): Likewise.
51793         (add_magnitudes): Likewise.
51794         (sub_magnitudes): Likewise.
51795         (__add): Likewise.
51796         (__sub): Likewise.
51797         (__mul): Likewise.
51798         (__inv): Likewise.
51799         (__dvd): Likewise.
51800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51801         (__acr): Likewise.
51802         (__cpy): Likewise.
51803         (norm): Likewise.
51804         (denorm): Likewise.
51805         (__mp_dbl): Likewise.
51806         (__dbl_mp): Likewise.
51807         (add_magnitudes): Likewise.
51808         (sub_magnitudes): Likewise.
51809         (__add): Likewise.
51810         (__sub): Likewise.
51811         (__mul): Likewise.
51812         (__inv): Likewise.
51813         (__dvd): Likewise.
51815 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51817         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51818         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51819         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51820         2 && __USE_EXTERN_INLINES]: Likewise.
51822 2013-01-08  Andreas Jaeger  <aj@suse.de>
51824         [BZ# 14985]
51825         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51826         Remove.
51827         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51828         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51830 2013-01-07  Anton Blanchard  <anton@samba.org>
51832         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51833         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51834         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51835         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51836         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51837         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51838         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51839         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51841         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51842         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51843         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51844         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51847         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51848         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51850         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51851         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51852         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51853         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51855         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51856         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51857         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51858         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51859         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51861         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51862         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51864         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51865         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51866         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51867         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51868         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51869         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51870         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51871         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51872         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51873         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51874         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51876 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51878         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51879         (__MALLOC_PMT): Likewise.
51880         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51881         [__GNUC__], only on [_LIBC].
51882         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51883         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51884         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51885         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51886         forward declaration.
51887         (realloc_hook_ini): Likewise.
51888         (memalign_hook_ini): Likewise.
51889         (__libc_memalign): Do not use __MALLOC_PMT in variable
51890         declaration.
51891         (__libc_valloc): Likewise.
51892         (__libc_pvalloc): Likewise.
51893         (__libc_calloc): Likewise.
51894         (__posix_memalign): Likewise.
51896         [BZ #14996]
51897         * math/s_casinh.c: Include <float.h>.
51898         (__casinh): Do not do computation with squaring and square root
51899         for large arguments.
51900         * math/s_casinhf.c: Include <float.h>.
51901         (__casinhf): Do not do computation with squaring and square root
51902         for large arguments.
51903         * math/s_casinhl.c: Include <float.h>.
51904         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51905         (__casinhl): Do not do computation with squaring and square root
51906         for large arguments.
51907         * math/libm-test.inc (casin_test): Add more tests.
51908         (casinh_test): Likewise.
51909         * sysdeps/i386/fpu/libm-test-ulps: Update.
51910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51912 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51914         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51915         (__x86_64_raw_data_cache_size): Likewise.
51916         (__x86_64_data_cache_size_half): Likewise.
51917         (__x86_64_raw_data_cache_size_half): Likewise.
51918         (__x86_64_shared_cache_size): Likewise.
51919         (__x86_64_raw_shared_cache_size): Likewise.
51920         (__x86_64_shared_cache_size_half): Likewise.
51921         (__x86_64_raw_shared_cache_size_half): Likewise.
51922         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51923         to ...
51924         (__x86_data_cache_size): This.
51925         (__x86_64_raw_data_cache_size): Renamed to ...
51926         (__x86_raw_data_cache_size): This.
51927         (__x86_64_data_cache_size_half): Renamed to ...
51928         (__x86_data_cache_size_half): This.
51929         (__x86_64_raw_data_cache_size_half): Renamed to ...
51930         (__x86_raw_data_cache_size_half): This.
51931         (__x86_64_shared_cache_size): Renamed to ...
51932         (__x86_shared_cache_size): This.
51933         (__x86_64_raw_shared_cache_size): Renamed to ...
51934         (__x86_raw_shared_cache_size): This.
51935         (__x86_64_shared_cache_size_half): Renamed to ...
51936         (__x86_shared_cache_size_half): This.
51937         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51938         (__x86_raw_shared_cache_size_half): This.
51939         * sysdeps/x86_64/memcpy.S: Updated.
51940         * sysdeps/x86_64/memset.S: Likewise.
51941         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51942         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51943         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51945 2013-01-04  David S. Miller  <davem@davemloft.net>
51947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51949 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51951         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51952         1 to avoid redefinition warning.
51953         (__USE_GNU): Don't define.
51954         (init_signaling_nan): Protoize.
51956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51958 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51960         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51962         (__cpymn): Likewise.
51963         (norm): Remove commented code.
51964         (denorm): Likewise.
51965         (__mp_dbl): Likewise.
51966         (__inv): Likewise.
51967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51968         (__cpymn): Likewise.
51969         (norm): Remove commented code.
51970         (denorm): Likewise.
51971         (__mp_dbl): Likewise.
51972         (__inv): Likewise.
51974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51975         mp_no value for 1.0 and 2.0.
51976         (norm): Use RADIXI instead of radixi.d.
51977         (denorm): Likewise.
51978         (__mul): Use 0.0 instead of zero.d.
51979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51980         mp_no value for 1.0 and 2.0.
51981         (norm): Use RADIXI instead of radixi.d.
51982         (denorm): Likewise.
51983         (__mul): Use 0.0 instead of zero.d.
51985 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51987         [BZ #14994]
51988         * math/s_casinh.c (__casinh): Reduce finite argument to first
51989         quadrant then set signs of results at the end.
51990         * math/s_casinhf.c (__casinhf): Likewise.
51991         * math/s_casinhl.c (__casinhl): Likewise.
51992         * math/libm-test.inc (casin_test): Add more tests.
51993         (casinh_test): Likewise.
51994         * sysdeps/i386/fpu/libm-test-ulps: Update.
51995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51997 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51999         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52001         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52003         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52004         declarations.
52005         (denorm): Likewise.
52006         (__mp_dbl): Likewise.
52007         (__inv): Likewise.
52009         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52010         and adjust the header comment.
52012         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52013         variable name from declaration.
52015 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52018         Initialize COMMON_CPUID_INDEX_7 element.
52019         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52020         (CPUID_RTM): Likewise.
52021         (HAS_RTM): Likewise.
52022         (COMMON_CPUID_INDEX_7): New enum.
52024 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52026         [BZ #14981]
52027         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52028         size is zero, record memory as freed.
52030 2013-01-03  Andreas Jaeger  <aj@suse.de>
52032         * po/ia.po: Add new Interlingua translation.
52034 2012-01-03  Allan McRae  <allan@archlinux.org>
52036         * locale/programs/localedef.c: Fix description of '--posix' flag.
52038 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52040         * NEWS: Update dates in second copyright notice.
52041         * README: Update copyright dates in example.
52042         * manual/libc.texinfo: Update copyright dates.
52043         * scripts/test-installation.pl: Update copyright date in --version
52044         output.
52046         * hurd/ctty-input.c: Fix copyright notice formatting.
52047         * hurd/ctty-output.c: Likewise.
52048         * hurd/dtable.c: Likewise.
52049         * hurd/hurd-raise.c: Likewise.
52050         * hurd/hurdprio.c: Likewise.
52051         * hurd/msgportdemux.c: Likewise.
52052         * misc/sys/file.h: Likewise.
52053         * misc/sys/ioctl.h: Likewise.
52054         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52055         * sysdeps/mach/hurd/chdir.c: Likewise.
52056         * sysdeps/mach/hurd/fchdir.c: Likewise.
52057         * sysdeps/mach/hurd/rename.c: Likewise.
52058         * sysdeps/mach/hurd/rmdir.c: Likewise.
52059         * sysdeps/mach/hurd/seekdir.c: Likewise.
52060         * sysdeps/mach/hurd/setsid.c: Likewise.
52061         * sysdeps/posix/wait3.c: Likewise.
52063         * All files with FSF copyright notices: Update copyright dates
52064         using scripts/update-copyrights.
52065         * intl/plural.c: Regenerated.
52066         * locale/programs/charmap-kw.h: Likewise.
52067         * locale/programs/locfile-kw.h: Likewise.
52069 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52071         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52072         four values.
52074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52075         calculation loop and add branch prediction.
52077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52078         check access beyond bounds of m1np.
52080         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52081         MPTWO.
52082         (__inv): Remove local variable MPTWO to use the global
52083         constant.
52084         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52086         variable MPTWO.
52087         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52088         MP3HALFS static const.
52090 2013-01-01  David S. Miller  <davem@davemloft.net>
52092         * po/ca.po: Update from translation team.
52094 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52096         * scripts/update-copyrights: New file.
52097         * Makeconfig: Reformat copyright notice.
52098         * ctype/ctype.h: Likewise.
52099         * debug/swprintf_chk.c: Likewise.
52100         * elf/dl-cache.c: Likewise.
52101         * elf/dl-debug.c: Likewise.
52102         * elf/dl-object.c: Likewise.
52103         * grp/initgroups.c: Likewise.
52104         * hurd/Makefile: Likewise.
52105         * hurd/hurd/signal.h: Likewise.
52106         * hurd/hurdfault.c: Likewise.
52107         * hurd/hurdioctl.c: Likewise.
52108         * hurd/hurdlookup.c: Likewise.
52109         * hurd/intr-msg.c: Likewise.
52110         * iconv/gconv_open.c: Likewise.
52111         * libio/swprintf.c: Likewise.
52112         * locale/lc-ctype.c: Likewise.
52113         * locale/nl_langinfo.c: Likewise.
52114         * mach/Machrules: Likewise.
52115         * mach/Makefile: Likewise.
52116         * malloc/obstack.h: Likewise.
52117         * manual/Makefile: Likewise.
52118         * manual/tsort.awk: Likewise.
52119         * misc/bits/stab.def: Likewise.
52120         * nis/nis_print_group_entry.c: Likewise.
52121         * nis/nis_table.c: Likewise.
52122         * nis/nss_compat/compat-pwd.c: Likewise.
52123         * nis/nss_compat/compat-spwd.c: Likewise.
52124         * po/Makefile: Likewise.
52125         * posix/fnmatch.c: Likewise.
52126         * posix/regex.h: Likewise.
52127         * resolv/Makefile: Likewise.
52128         * resolv/nss_dns/dns-network.c: Likewise.
52129         * resolv/res_hconf.c: Likewise.
52130         * scripts/gen-sorted.awk: Likewise.
52131         * soft-fp/soft-fp.h: Likewise.
52132         * stdio-common/printf.h: Likewise.
52133         * stdlib/monetary.h: Likewise.
52134         * stdlib/random.c: Likewise.
52135         * stdlib/random_r.c: Likewise.
52136         * sysdeps/generic/Makefile: Likewise.
52137         * sysdeps/gnu/Makefile: Likewise.
52138         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52139         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52140         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52141         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52142         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52145         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52148         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52149         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52150         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52151         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52153         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52155         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52158         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52160         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52161         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52162         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52165         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52166         * sysdeps/mach/hurd/errnos.awk: Likewise.
52167         * sysdeps/mach/hurd/fork.c: Likewise.
52168         * sysdeps/mach/hurd/getcwd.c: Likewise.
52169         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52170         * sysdeps/mach/hurd/mmap.c: Likewise.
52171         * sysdeps/mach/hurd/utimes.c: Likewise.
52172         * sysdeps/mach/hurd/xmknod.c: Likewise.
52173         * sysdeps/posix/profil.c: Likewise.
52174         * sysdeps/posix/readdir_r.c: Likewise.
52175         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52176         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52177         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52178         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52180         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52181         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52182         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52184         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52185         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52186         * sysdeps/pthread/lio_listio.c: Likewise.
52187         * sysdeps/sparc/dl-procinfo.h: Likewise.
52188         * sysdeps/unix/i386/sysdep.S: Likewise.
52189         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52190         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52191         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52192         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52194         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52195         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52196         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52197         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52198         * sysdeps/wordsize-32/divdi3.c: Likewise.
52199         * time/sys/time.h: Likewise.
52200         * wcsmbs/Makefile: Likewise.
52202 2013-01-01  David S. Miller  <davem@davemloft.net>
52204         * po/fr.po: Update from translation team.
52206         * catgets/gencat.c: Update copyright year.
52207         * csu/version.c: Likewise.
52208         * debug/catchsegv.sh: Likewise.
52209         * debug/pcprofiledump.c: Likewise.
52210         * debug/xtrace.sh: Likewise.
52211         * elf/ldconfig.c: Likewise.
52212         * elf/ldd.bash.in: Likewise.
52213         * elf/pldd.c: Likewise.
52214         * elf/sotruss.ksh: Likewise.
52215         * elf/sprof.c: Likewise.
52216         * iconv/iconv_prog.c: Likewise.
52217         * iconv/iconvconfig.c: Likewise.
52218         * locale/programs/locale.c: Likewise.
52219         * locale/programs/localedef.c: Likewise.
52220         * login/programs/pt_chown.c: Likewise.
52221         * malloc/memusage.sh: Likewise.
52222         * malloc/memusagestat.c: Likewise.
52223         * malloc/mtrace.pl: Likewise.
52224         * nscd/nscd.c: Likewise.
52225         * nss/getent.c: Likewise.
52226         * nss/makedb.c: Likewise.
52227         * posix/getconf.c: Likewise.
52229 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52232         numbers.
52234 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52236         * math/bits/mathcalls.h (modf): Use __nonnull.
52238 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52240         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52241         (split): Use macro CN instead of the bare value.
52242         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52243         could be used.
52244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52245         instead of the bare value.
52246         (power1): Likewise.
52248 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52251         __ATAN_TWOM.
52252         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52254         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52255         their values.
52256         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52257         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52258         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52259         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52261 2012-12-28  Andreas Jaeger  <aj@suse.de>
52263         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52264         values are from Linux 3.7.
52266         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52267         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52269 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52271         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52272         TRUE case.
52274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52275         (norm): Likewise.
52276         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52277         variables with preprocessor constants.
52278         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52279         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52280         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52282 2012-12-27  Bruno Haible  <bruno@clisp.org>
52284         [BZ #14317]
52285         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52286         only if needed.
52288 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52290         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52291         and use variable directly.
52292         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52294         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52295         MPONE.
52296         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52298         variable MPONE.
52299         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52301         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52302         include directive.  Remove local variable MPONE.
52303         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52304         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52305         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52307 2012-12-25  David S. Miller  <davem@davemloft.net>
52309         * version.h (RELEASE): Set to "development".
52310         (VERSION): Set to "2.17.90".
52311         * NEWS: Add 2.18 section.
52313 2012-12-21  David S. Miller  <davem@davemloft.net>
52315         * po/hr.po: Update from translation team.
52317 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52319         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52321 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52323         * NEWS:  Mention new memcpy for MIPS.
52325 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52327         * manual/contrib.texi (Contributors): Spelling correction.
52329 2012-12-15  David S. Miller  <davem@davemloft.net>
52331         * po/ru.po: Update from translation team.
52333 2012-12-13  David S. Miller  <davem@davemloft.net>
52335         * NEWS: Mention IFUNC testsuite enhancements.
52337         * po/pl.po: Update from translation team.
52338         * po/bg.po: Likewise.
52340         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52341         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52343 2012-12-11  David S. Miller  <davem@davemloft.net>
52345         * po/sv.po: Update from translation team.
52347         * po/vi.po: Update from translation team.
52349         * po/cs.po: Update from translation team.
52351         * po/de.po: Update from translation team.
52352         * po/eo.po: Likewise.
52353         * po/nl.po: Likewise.
52355 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52357         [BZ #14246]
52358         * manual/argp.texi (Argp Helper Functions): Move node to follow
52359         Argp Parsing State.
52361         [BZ #14872]
52362         * manual/conf.texi (Limits on File System Capacity): Mention if
52363         terminating null is included in the max size.
52365 2012-12-10  Andreas Jaeger  <aj@suse.de>
52367         * po/cs.po: Update from translation team.
52369 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52371         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52372         void pointer and cast to uintptr_t.
52373         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52374         path.
52375         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52376         * sysdeps/s390/s390-64/memset.S: Likewise.
52378 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52380         [BZ #14833]
52381         * menual/message.texi (Message Translation): Fix typos.
52382         (Helper programs for gettext): Likewise.
52384 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52386         [BZ #14898]
52387         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52388         Change to -1.
52390 2012-12-07  David S. Miller  <davem@davemloft.net>
52392         * po/libc.pot: Update.
52394 2012-12-07  Richard Henderson  <rth@redhat.com>
52396         [BZ #10114]
52397         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52398         normal/normal case to before the switch.
52399         (_FP_DIV): Likewise.
52401 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52402             Mike Frysinger  <vapier@gentoo.org>
52404         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52405         check for __NR_fadvise64_64.
52407 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52409         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52410         0, not just to plain "0" as a statement.
52411         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52412         with cw.
52414 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52416         * NEWS: Use sourceware.org in Bugzilla URL.
52418 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52421         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52423         * stdio-common/tst-put-error.c (do_test): Add newline to the
52424         padded test to ensure flush.
52426 2012-12-05  Jeff Law  <law@redhat.com>
52428         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52430 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52432         * README: Don't refer to ports add-on as distributed separately.
52433         Mention AArch64 in list of systems supported in the ports add-on.
52435         * LICENSES: Add more non-FSF copyright and license notices.
52437         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52438         ((unused)).
52440         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52442         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52443         10000 as width of padded output.
52445 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52447         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52449         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52450         variable LX with __attribute__ ((unused)).
52451         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52452         Likewise.
52453         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52455         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52456         with __attribute__ ((unused)).
52458 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52460         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52462 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52464         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52465         (CFLAGS-nldbl-acos.c): New variable.
52466         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52467         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52468         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52469         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52470         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52471         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52472         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52473         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52474         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52475         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52476         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52477         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52478         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52479         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52480         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52481         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52482         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52483         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52484         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52485         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52486         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52487         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52488         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52489         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52490         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52491         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52492         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52493         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52494         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52495         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52496         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52497         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52498         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52499         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52500         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52501         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52502         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52503         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52504         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52505         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52506         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52507         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52508         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52509         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52510         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52511         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52512         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52513         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52514         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52515         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52516         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52517         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52518         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52519         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52520         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52521         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52522         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52523         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52524         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52525         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52526         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52527         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52528         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52529         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52530         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52531         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52532         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52533         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52534         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52535         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52536         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52537         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52538         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52539         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52540         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52541         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52542         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52543         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52544         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52545         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52546         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52547         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52548         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52549         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52550         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52551         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52552         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52553         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52554         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52555         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52556         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52557         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52558         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52559         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52560         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52561         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52562         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52565         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52567         [BZ #14914]
52568         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52569         whole low double instead of just low 47 bits when splitting values
52570         into two parts.
52572 2012-12-03  Allan McRae  <allan@archlinux.org>
52574         * manual/stdio.texi (Predefined Printf Handlers): Remove
52575         @hsep and @vsep usage.
52577 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52579         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52580         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52582 2012-12-03  Jeff Law  <law@redhat.com>
52584         * time/sys/time.h (settimeofday): Do not mark TV argument
52585         as __nonnull.
52587 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52589         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52590         when currently writing and seek to current position when not.
52591         * libio/Makefile (tests): Remove bug-fclose1.
52592         * libio/bug-fclose1.c: Delete.
52594 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52596         * manual/arith.texi (feenableexcept): Fix typo.
52597         (fedisableexcept): Likewise.
52599 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52601         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52602         second, differently-typed declaration, rather than a cast.
52604 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52606         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52607         * include/rpc/svc.h: ... here.
52609 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52611         [BZ #13013]
52612         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52613         depending n and resplen2 to catch cases where answer
52614         equals answerp2.
52616 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52618         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52619         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52621 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52625 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52627         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52629 2012-11-28  Jeff Law  <law@redhat.com>
52631         [BZ #13761]
52632         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52633         dataset_temporary.  Track alloca usage into alloca_used.
52634         If dataset is large allocate and release it via malloc/free.
52636 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52638         [BZ #14197]
52639         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52641 2012-11-28  David S. Miller  <davem@davemloft.net>
52643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52645 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52647         [BZ #14803]
52648         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52649         of pi/2 rounded to nearest to 64 bits.
52650         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52651         nearest to 64 bits.
52652         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52653         bits.
52655 2012-11-28  Jeff Law <law@redhat.com>
52656             Martin Osvald <mosvald@redhat.com>
52658         [BZ #14889]
52659         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52660         * sunrpc/svc.c: Include time.h.
52661         (__svc_accept_failed): New function.
52662         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52663         any reason other than EINTR, call __svc_accept_failed.
52664         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52665         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52667 2012-11-28  Andreas Schwab  <schwab@suse.de>
52669         * scripts/abilist.awk: Also handle indirect functions in .opd
52670         section.
52672 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52674         [BZ #13881]
52675         * sysdeps/x86/fpu/powl_helper.c: New file.
52676         * sysdeps/x86/fpu/Makefile: Likewise.
52677         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52678         (p3): New object.
52679         (__ieee754_powl): Use __powl_helper for finite arguments except
52680         integer exponents below 8.
52681         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52682         (p3): New object.
52683         (__ieee754_powl): Use __powl_helper for finite arguments except
52684         integer exponents below 8.
52685         * math/libm-test.inc (pow_test): Add more tests and enable some
52686         previously disabled tests.
52687         * sysdeps/i386/fpu/libm-test-ulps: Update.
52688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52690 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52691             Carlos O'Donell  <carlos_odonell@mentor.com>
52693         * nss/makedb.c (is_prime): Assert that input is odd and greater
52694         than 4.  Note that fact in a comment too.
52695         (next_prime): Add 4 to input.
52697 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52699         [BZ #11741]
52700         * libio/Makefile (tests): Add test case tst-fwrite-error.
52701         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52702         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52703         * libio/tst-fwrite-error.c: New test case.
52705 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52707         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52708         before casting to void *.
52709         * include/libc-internal.h (__pointer_type): New macro.
52710         (__integer_if_pointer_type_sub): Likewise.
52711         (__integer_if_pointer_type): Likewise.
52712         (cast_to_integer): Likewise.
52713         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52714         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52715         before casting to atomic64_t.
52716         (atomic_exchange_acq): Likewise.
52717         (__arch_exchange_and_add_body): Likewise.
52718         (__arch_add_body): Likewise.
52719         (atomic_add_negative): Likewise.
52720         (atomic_add_zero): Likewise.
52722 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52724         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52725         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52726         (add_fdes): Likewise.
52727         (linear_search_fdes): Likewise.
52728         (binary_search_unencoded_fdes): Likewise.
52730 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52732         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52734 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52736         * configure.in: Autodetect C++ header directories.
52737         * configure: Regenerated.
52739 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52741         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52743 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52747 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52749         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52750         LDBL_MANT_DIG == 106]: Disable some tests.
52751         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52752         Likewise.
52753         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52754         Likewise.
52756         [BZ #14871]
52757         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52758         input for small inputs.  Return +/- pi/2 for large inputs.
52759         * math/libm-test.inc (atan_test): Add more tests.
52761         * sysdeps/generic/unwind-dw2-fde-glibc.c
52762         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52763         __attribute__ ((unused)).
52765         [BZ #14645]
52766         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52767         x * y if x and y are nonzero and z is zero.
52769         [BZ #14811]
52770         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52771         nonzero exponents with absolute value below 0x1p-117 to +/-
52772         0x1p-117.
52774         [BZ #14869]
52775         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52776         up arguments below 2**-450, not just those below 2**-500.
52777         * math/libm-test.inc (hypot_test): Add another test.
52779         [BZ #14868]
52780         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52781         Return a+b for ratio over 2**120, not 2**60.
52782         * math/libm-test.inc (hypot_test): Add another test.
52784         * math/libm-test.inc (clog_test): Use
52785         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52786         (clog10_test): Likewise.
52788         [BZ #6778]
52789         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52791 2012-11-22  Andreas Schwab  <schwab@suse.de>
52793         * sysdeps/i386/fpu/libm-test-ulps: Update.
52795 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52797         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52798         printf output with newline.
52800 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52802         [BZ #14865]
52803         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52804         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52805         -z nodlopen, -z initfirst and -z execstack support.
52806         * configure: Regenerated.
52808         * elf/elf.h (DF_1_NODIRECT): New macro.
52809         (DF_1_IGNMULDEF): Likewise.
52810         (DF_1_NOKSYMS): Likewise.
52811         (DF_1_NOHDR): Likewise.
52812         (DF_1_EDITED): Likewise.
52813         (DF_1_NORELOC): Likewise.
52814         (DF_1_SYMINTPOSE): Likewise.
52815         (DF_1_GLOBAUDIT): Likewise.
52816         (DF_1_SINGLETON): Likewise.
52817         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52818         DT_1_SUPPORTED_MASK bits.
52819         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52821 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52823         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52825 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52827         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52828         macro.
52830         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52831         (sendmmsg): Move declarations...
52832         * socket/sys/socket.h: ... here.
52833         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52834         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52835         include it from...
52836         * socket/recvmmsg.c: ... this new file.
52837         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52838         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52839         definition of __sendmmsg hidden.
52840         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52841         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52842         Move ENOSYS stub into and include it from...
52843         * socket/sendmmsg.c: ... this new file.
52844         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52845         (sysdep_routines): Move recvmmsg and sendmmsg...
52846         * socket/Makefile (routines): ... here.
52847         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52848         (GLIBC_PRIVATE): Add __sendmmsg.
52849         * include/sys/socket.h (__sendmmsg): Add declarations.
52850         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52851         sendmmsg.
52853 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52855         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52856         variable I1 with __attribute__ ((unused)).
52857         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52859 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52861         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52862         DUMMY variables with __attribute__ ((unused)).
52864         * bits/byteswap.h: Include <bits/types.h>.
52865         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52867 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52869         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52870         string_t.  Do not manually set errno.
52871         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52872         length with __strnlen.  Make sure to both set errno and return it on
52873         failure.
52875 2012-11-19  David S. Miller  <davem@davemloft.net>
52877         With help from Joseph Myers.
52878         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52879         very large arguments properly.
52880         * math/libm-test.inc (atan_test): New tests.
52881         (atan2_test): New tests.
52882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52885 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52887         [BZ #14856]
52888         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52889         Define to 3.
52891         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52892         [POSIX] (EADDRNOTAVAIL): Likewise.
52893         [POSIX] (EAFNOSUPPORT): Likewise.
52894         [POSIX] (EALREADY): Likewise.
52895         [POSIX] (ECONNABORTED): Likewise.
52896         [POSIX] (ECONNREFUSED): Likewise.
52897         [POSIX] (ECONNRESET): Likewise.
52898         [POSIX] (EDESTADDRREQ): Likewise.
52899         [POSIX] (EDQUOT): Likewise.
52900         [POSIX] (EHOSTUNREACH): Likewise.
52901         [POSIX] (EIDRM): Likewise.
52902         [POSIX] (EISCONN): Likewise.
52903         [POSIX] (ELOOP): Likewise.
52904         [POSIX] (EMULTIHOP): Likewise.
52905         [POSIX] (ENETDOWN): Likewise.
52906         [POSIX] (ENETUNREACH): Likewise.
52907         [POSIX] (ENOBUFS): Likewise.
52908         [POSIX] (ENODATA): Likewise.
52909         [POSIX] (ENOLINK): Likewise.
52910         [POSIX] (ENOMSG): Likewise.
52911         [POSIX] (ENOPROTOOPT): Likewise.
52912         [POSIX] (ENOSR): Likewise.
52913         [POSIX] (ENOSTR): Likewise.
52914         [POSIX] (ENOTCONN): Likewise.
52915         [POSIX] (ENOTSOCK): Likewise.
52916         [POSIX] (EOPNOTSUPP): Likewise.
52917         [POSIX] (EOVERFLOW): Likewise.
52918         [POSIX] (EPROTO): Likewise.
52919         [POSIX] (EPROTONOSUPPORT): Likewise.
52920         [POSIX] (EPROTOTYPE): Likewise.
52921         [POSIX] (ESTALE): Likewise.
52922         [POSIX] (ETIME): Likewise.
52923         [POSIX] (ETXTBSY): Likewise.
52924         [POSIX] (EWOULDBLOCK): Likewise.
52925         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52926         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52927         [POSIX] (SEEK_CUR): Likewise.
52928         [POSIX] (SEEK_END): Likewise.
52929         [POSIX || UNIX98] (mode_t): Do not require.
52930         [POSIX] (off_t): Likewise.
52931         [POSIX] (pid_t): Likewise.
52932         [POSIX] (sys/stat.h): Do not allow header.
52933         [POSIX] (unistd.h): Likewise.
52934         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52935         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52936         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52937         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52938         require.
52939         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52940         sigevent): Specify elements.
52941         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52942         entry.
52943         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52944         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52946         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52947         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52948         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52949         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52950         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52951         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52952         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52953         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52954         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52955         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52956         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52957         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52958         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52959         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52960         Likewise.
52961         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52962         Likewise.
52963         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52964         Likewise.
52965         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52966         Likewise.
52967         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52968         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52969         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52970         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52971         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52972         Specify lower bound on value.
52973         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52974         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52975         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52976         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52977         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52978         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52979         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52980         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52981         value.
52982         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52983         as optional.
52984         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52985         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52986         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52987         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52988         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52989         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52990         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52991         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52992         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52993         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52994         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52995         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52996         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52997         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52998         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52999         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53000         entry.
53001         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53002         optional.
53003         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53004         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53005         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53006         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53007         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53008         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53009         Likewise.
53010         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53011         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53012         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53013         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53014         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53015         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53016         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53017         as optional.
53018         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53019         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53020         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53021         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53022         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53023         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53024         specify as optional.
53025         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53026         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53027         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53028         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53029         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53030         [XPG3] (NL_LANGMAX): Likewise.
53031         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53032         [POSIX || XPG3] (NL_NMAX): Likewise.
53033         [POSIX || XPG3] (NL_SETMAX): Likewise.
53034         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53035         [XPG3] (NZERO): Likewise.
53036         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53037         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53038         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53039         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53040         (REG_ERANGE): Expect.
53041         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53042         optional-constant.
53043         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53044         Use (void) in prototype.
53045         [POSIX] (*_t): Allow.
53046         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53047         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53048         (WRDE_BADVAL): Expect.
53050         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53051         expect.
53052         [XPG3 || XPG4] (O_RSYNC): Likewise.
53053         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53054         Likewise.
53055         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53056         [XPG3 || XPG4] (sigqueue): Likewise.
53057         [XPG3 || XPG4] (sigtimedwait): Likewise.
53058         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53059         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53060         [XPG3 || XPG4] (vsnprintf): Likewise.
53061         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53062         Likewise.
53063         [XPG3 || XPG4] (blksize_t): Likewise.
53064         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53065         Likewise.
53066         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53067         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53068         [XPG3 || XPG4] (struct itimerspec): Likewise.
53069         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53070         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53071         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53072         [XPG3 || XPG4] (clockid_t): Likewise.
53073         [XPG3 || XPG4] (timer_t): Likewise.
53074         [XPG3 || XPG4] (clock_getres): Likewise.
53075         [XPG3 || XPG4] (clock_gettime): Likewise.
53076         [XPG3 || XPG4] (clock_settime): Likewise.
53077         [XPG3 || XPG4] (nanosleep): Likewise.
53078         [XPG3 || XPG4] (timer_create): Likewise.
53079         [XPG3 || XPG4] (timer_delete): Likewise.
53080         [XPG3 || XPG4] (timer_gettime): Likewise.
53081         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53082         [XPG3 || XPG4] (timer_settime): Likewise.
53083         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53084         [XPG3 || XPG4] (getlogin_r): Likewise.
53085         [XPG3 || XPG4] (pread): Likewise.
53086         [XPG3 || XPG4] (pthread_atfork): Likewise.
53087         [XPG3 || XPG4] (pwrite): Likewise.
53089         [BZ #14835]
53090         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53091         <bits/siginfo.h>.
53093 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53095         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53096         finalizing MALLSTREAM.
53098         * sysdeps/mach/hurd/syncfs.c: New file.
53100 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53102         [BZ #14719]
53103         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53104         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53105         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53106         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53107         (_nss_dns_gethostbyname4_r): Likewise.
53108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53109         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53111 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53113         [BZ #13763]
53114         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53116 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53118         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53119         * elf/cache.c (print_entry): Print ",AArch64" for
53120         FLAG_AARCH64_LIB64
53122         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53123         * elf/cache.c (print_entry): Print ",hard-float" for
53124         FLAG_ARM_LIBHF.
53126 2012-11-18  David S. Miller  <davem@davemloft.net>
53128         With help from Joseph Myers.
53129         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53130         cutoff to 2**-13.
53131         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53132         cutoff to 2**-25.
53133         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53134         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53135         small.
53136         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53137         * math/libm-test.inc (y0_test): New tests.
53138         (y1_test): New tests.
53139         * sysdeps/i386/fpu/libm-test-ulps: Update.
53140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53143 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53145         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53146         64-bit targets.
53147         * configure: Regenerated.
53149 2012-11-17  David S. Miller  <davem@davemloft.net>
53151         [BZ #14811]
53152         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53153         nonzero exponents with absolute value below 0x1p-128 to +/-
53154         0x1p-128.
53156 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53158         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53160         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53162         * posix/getconf-speclist.c: New file.
53163         * posix/posix-envs.def: Likewise.
53164         * posix/confstr.c (START_ENV_GROUP): New macro.
53165         (END_ENV_GROUP): Likewise.
53166         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53167         (KNOWN_PRESENT_ENV_STRING): Likewise.
53168         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53169         (UNKNOWN_ENVIRONMENT): Likewise.
53170         (confstr): Include posix-envs.def instead of handling
53171         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53172         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53173         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53174         (END_ENV_GROUP): Likewise.
53175         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53176         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53177         (UNKNOWN_ENVIRONMENT): Likewise.
53178         (__sysconf): Include posix-envs.def instead of handling associated
53179         cases directly here.
53180         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53181         preprocessing getconf-speclist.c rather than running getconf or
53182         generating empty file.
53184 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53186         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53188 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53190         [BZ #14672]
53191         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53193 2012-11-16  David S. Miller  <davem@davemloft.net>
53195         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53196         smaller than LDBL_EPSILON/2.0L, just return xm1.
53198 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53200         * elf/tst-array1.c (init): Set constructor priority to 1000.
53201         (fini): Set destructor priority to 1000.
53202         * elf/tst-array2dep.c: Likewise.
53204 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53206         [BZ #11741]
53207         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53208         (_IO_new_file_xsputn): Also return EOF if none of the input
53209         data was written when overflow failed.
53210         * libio/iopadn.c (_IO_padn): Likewise.
53211         * libio/iowpadn.c (_IO_wpadn): Likewise.
53212         * stdio-common/tst-put-error.c: Add copyright notice.
53213         (do_test): Add case for printing padded string.
53214         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53215         _IO_padn returned error.
53216         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53217         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53218         return EOF.
53220 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53222         * libio/libioP.h: Add comment note that the references to C++
53223         bits are now obsolete.
53225 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53227         * math/libm-test.inc (check_complex): Use asprintf.
53229 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53231         * debug/pcprofiledump.c (print_version): Update copyright year.
53232         * malloc/memusagestat.c (print_version): Likewise.
53234 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53236         [BZ #14831]
53237         * elf/Makefile (tests): Add tst-audit8.
53238         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53239         ($(objpfx)tst-audit8.out): New target.
53240         (tst-audit8-ENV): New variable.
53241         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53242         audit if l_reloc_result is NULL.
53243         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53244         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53245         * elf/tst-audit8.c: New file.
53247 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53249         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53250         * misc/Makefile (CFLAGS-select.c): Define.
53251         * posix/Makefile (CFLAGS-pause.c): Define.
53253 2012-11-13  David S. Miller  <davem@davemloft.net>
53255         * crypt/Makefile: Move test targets after toplevel Rules
53256         inclusion.  Grab any necessary sysdep routines when linking.
53257         * crypt/md5.c (md5_process_block): Remove define, we will always
53258         name it __md5_process_block.
53259         (md5_finish_ctx): Update md5_process_block call.
53260         (md5_stream): Likewise.
53261         (md5_process_bytes): Likewise.
53262         (md5_process_block): Rename to __md5_process_block and move to ...
53263         * crypt/md5-block.c: ... here.
53264         * crypt/sha256.c (sha256_process_block): Move to ...
53265         * crypt/sha256-block.c: ... here.
53266         * crypt/sha512.c (sha512_process_block): Move to ...
53267         * crypt/sha512-block.c: ... here.
53268         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53269         path.
53270         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53271         * sysdeps/sparc/sparc64/multiarch/Makefile
53272         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53273         crypt subdir.
53274         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53275         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53276         multiarch changes.
53277         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53278         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53279         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53280         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53281         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53282         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53283         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53284         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53285         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53286         file.
53287         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53288         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53289         file.
53290         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53292 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53294         * timezone/tzselect.ksh: Update from tzcode git revision
53295         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53296         * timezone/zdump.c: Likewise.
53297         * timezone/zic.c: Likewise.
53298         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53299         in TZVERSION setting, not $(PKGVERSION).
53300         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53301         REPORT_BUGS_TO settings.
53303         [BZ #14838]
53304         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53305         macro.
53307 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53309         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53310         detection to immediately after _FP_ROUND().
53311         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53312         bits are 0.
53314 2012-11-11  David S. Miller  <davem@davemloft.net>
53316         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53317         inttypes.h
53318         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53319         __close rather than their public counterparts.
53321 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53323         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53324         file.
53325         [UNIX98] (sem_timedwait): Do not expect.
53326         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53327         [XPG4 || UNIX98] (sockatmark): Do not expect.
53328         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53329         (clock_getcpuclockid): Do not expect.
53330         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53331         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53332         Do not expect.
53333         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53334         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53335         [UNIX98] (vwscanf): Likewise.
53336         [UNIX98] (vswscanf): Likewise.
53338 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53340         * timezone/version.h: Remove file.
53341         * timezone/README: Do not refer to version.h.
53342         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53343         $(objpfx)version.h.
53344         ($(objpfx)zdump.o): Likewise.
53345         ($(objpfx)version.h): New target.
53347         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53348         2012i.
53349         * timezone/README: Don't mention modification to tzselect.ksh.
53350         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53351         work on unmodified tzselect.ksh.  Substitute version numbers in
53352         tzselect.ksh.
53354         * Makefile (format-me): Remove.
53355         (INSTALL): Adjust indentation.  Use commands directly instead of
53356         using $(format-me).
53358         * aclocal.m4 (ACX_PKGVERSION): New macro.
53359         (ACX_BUGURL): Likewise.
53360         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53361         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53362         (REPORT_BUGS_TO): Likewise.
53363         * configure: Regenerated.
53364         * config.h.in (PKGVERSION): New macro.
53365         (REPORT_BUGS_TO): Likewise.
53366         * config.make.in (PKGVERSION): New variable.
53367         (PKGVERSION_TEXI): Likewise.
53368         (REPORT_BUGS_TO): Likewise.
53369         (REPORT_BUGS_TEXI): Likewise.
53370         * Makefile (format-me): Use -I$(common-objpfx)manual.
53371         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53372         ($(common-objpfx)manual/%): New target.
53373         (manual/%): Remove target.
53374         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53375         (print_version): Use PKGVERSION.
53376         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53377         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53378         and REPORT_BUGS_TO.
53379         ($(objpfx)xtrace): Likewise.
53380         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53381         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53382         (print_version): Use PKGVERSION.
53383         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53384         (do_version): Use PKGVERSION.
53385         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53386         REPORT_BUGS_TO.
53387         (common-ldd-rewrite): Likewise.
53388         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53389         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53390         (print_version): Use PKGVERSION.
53391         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53392         * elf/pldd.c (argp_program_bug_address): Remove variable.
53393         (more_help): New function.
53394         (argp): Use more_help.
53395         (print_version): Use PKGVERSION.
53396         * elf/sln.c (main): Use PKGVERSION.
53397         (usage): Use REPORT_BUGS_TO.
53398         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53399         (top level): Use PKGVERSION.
53400         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53401         (print_version): Use PKGVERSION.
53402         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53403         (print_version): Use PKGVERSION.
53404         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53405         (print_version): Use PKGVERSION.
53406         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53407         (print_version): Use PKGVERSION.
53408         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53409         (print_version): Use PKGVERSION.
53410         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53411         (print_version): Use PKGVERSION.
53412         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53413         and BUGURL.
53414         ($(objpfx)memusage): Likewise.
53415         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53416         (do_version): Use PKGVERSION.
53417         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53418         (print_version): Use PKGVERSION.
53419         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53420         ($PKGVERSION): New variable.
53421         ($REPORT_BUGS_TO): Likewise.
53422         (usage): Use $REPORT_BUGS_TO.
53423         (top level): Use $PKGVERSION.
53424         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53425         ($(objpfx)pkgvers.texi): New rule.
53426         ($(objpfx)stamp-pkgvers): Likewise.
53427         * manual/install.texi: Include pkgvers.texi.
53428         (--with-pkgversion): Document new configure option.
53429         (--with-bugurl): Likewise.
53430         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53431         than necessarily for this particular distribution.  Use
53432         REPORT_BUGS_TO for where to report bugs.
53433         * INSTALL: Regenerated.
53434         * manual/libc.texinfo: Include pkgvers.texi.
53435         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53436         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53437         (print_version): Use PKGVERSION.
53438         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53439         (print_version): Use PKGVERSION.
53440         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53441         (print_version): Use PKGVERSION.
53442         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53443         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53444         macro.
53445         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53446         (print_version): Use PKGVERSION.
53447         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53448         (print_version): Use PKGVERSION.
53449         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53450         and PKGVERSION.
53452         * timezone/checktab.awk: Update from tzcode 2012i.
53453         * timezone/ialloc.c: Likewise.
53454         * timezone/private.h: Likewise.
53455         * timezone/scheck.c: Likewise.
53456         * timezone/tzfile.h: Likewise.
53457         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53458         (TZVERSION): Hardcode tzcode version number.
53459         * timezone/zdump.c: Update from tzcode 2012i.
53460         * timezone/zic.c: Likewise.
53461         * timezone/version.h: New file.
53462         * timezone/README: Describe version.h.  Update upstream location.
53464         [BZ #14824]
53465         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53466         (mktemp): Enable declaration.
53467         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53468         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53469         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53470         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53471         Likewise.
53472         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53473         Likewise.
53474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53475         Likewise.
53476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53477         Likewise.
53478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53479         Likewise.
53480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53481         Likewise.
53483         [BZ #14821]
53484         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53485         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53486         for copies of such integer values.
53487         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53488         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53490 2012-11-09  Andreas Jaeger  <aj@suse.de>
53492         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53493         definitions and declarations that are provided by
53494         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53496 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53498         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53499         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53500         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53501         definition.
53503 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53505         * elf/elf.h: Update comment before AArch64 relocations.
53507 2012-11-07  David S. Miller  <davem@davemloft.net>
53509         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53510         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53511         (__start_context): Declare.
53512         (__makecontext_ret): Delete.
53513         (__makecontext): Hook up __start_context instead of
53514         __makecontext_ret.
53515         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53516         (sysdep_routines): Add __start_context when in stdlib.
53518 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53520         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53521         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53522         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53523         hardcoded "nm".
53524         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53525         (READELF): New variable.  Use it instead of hardcoded "readelf".
53527 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53529         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53530         * sysdeps/x86/Makefile: Here.
53531         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53532         * sysdeps/x86/tst-xmmymm.sh: This.
53534 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53536         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53537         expectations.
53538         [UNIX98] (pthread_barrier_t): Do not expect.
53539         [UNIX98] (pthread_barrierattr_t): Likewise.
53540         [UNIX98] (pthread_spinlock_t): Likewise.
53541         [UNIX98] (pthread_barrier_destroy): Likewise.
53542         [UNIX98] (pthread_barrier_init): Likewise.
53543         [UNIX98] (pthread_barrier_wait): Likewise.
53544         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53545         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53546         [UNIX98] (pthread_barrierattr_init): Likewise.
53547         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53548         [UNIX98] (pthread_getcpuclockid): Likewise.
53549         [UNIX98] (pthread_mutex_timedlock): Likewise.
53550         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53551         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53552         [UNIX98] (pthread_sigmask): Likewise.
53553         [UNIX98] (pthread_spin_destroy): Likewise.
53554         [UNIX98] (pthread_spin_init): Likewise.
53555         [UNIX98] (pthread_spin_lock): Likewise.
53556         [UNIX98] (pthread_spin_trylock): Likewise.
53557         [UNIX98] (pthread_spin_unlock): Likewise.
53558         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53559         Do not expect.
53560         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53561         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53562         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53563         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53564         [XPG3 || XPG4] (pthread_key_t): Likewise.
53565         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53566         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53567         [XPG3 || XPG4] (pthread_once_t): Likewise.
53568         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53569         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53570         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53571         [XPG3 || XPG4] (pthread_t): Likewise.
53573         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53574         not expect.
53575         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53577         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53578         Change function return type to int.
53580         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53581         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53582         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53583         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53584         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53585         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53586         [!POSIX] (posix_madvise): Likewise.
53587         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53588         && !UNIX98].
53589         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53590         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53591         (mode_t): Likewise.
53592         (posix_mem_offset): Likewise.
53593         (posix_typed_mem_get_info): Likewise.
53594         (posix_typed_mem_open): Likewise.
53596         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53597         Change condition to [XOPEN2K8].
53599         * conform/conformtest.pl: Preprocess allow-header data with -x c
53600         instead of from stdin.
53601         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53602         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53603         [C99-based standards] (cerfc): Likewise.
53604         [C99-based standards] (cexp2): Likewise.
53605         [C99-based standards] (cexpm1): Likewise.
53606         [C99-based standards] (clog10): Likewise.
53607         [C99-based standards] (clog1p): Likewise.
53608         [C99-based standards] (clog2): Likewise.
53609         [C99-based standards] (clgamma): Likewise.
53610         [C99-based standards] (ctgamma): Likewise.
53611         [C99-based standards] (cerff): Likewise.
53612         [C99-based standards] (cerfcf): Likewise.
53613         [C99-based standards] (cexp2f): Likewise.
53614         [C99-based standards] (cexpm1f): Likewise.
53615         [C99-based standards] (clog10f): Likewise.
53616         [C99-based standards] (clog1pf): Likewise.
53617         [C99-based standards] (clog2f): Likewise.
53618         [C99-based standards] (clgammaf): Likewise.
53619         [C99-based standards] (ctgammaf): Likewise.
53620         [C99-based standards] (cerfl): Likewise.
53621         [C99-based standards] (cerfcl): Likewise.
53622         [C99-based standards] (cexp2l): Likewise.
53623         [C99-based standards] (cexpm1l): Likewise.
53624         [C99-based standards] (clog10l): Likewise.
53625         [C99-based standards] (clog1pl): Likewise.
53626         [C99-based standards] (clog2l): Likewise.
53627         [C99-based standards] (clgammal): Likewise.
53628         [C99-based standards] (ctgammal): Likewise.
53629         * conform/data/inttypes.h-data [C99-based standards]: Include
53630         stdint.h-data.  Remove all expectations for stdint.h contents.
53631         [C99-based standards] (PRI*): Do not allow.
53632         [C99-based standards] (SCN*): Likewise.
53633         [C99-based standards] (*_t): Likewise.
53634         [C99-based-standards] (PRId8): Expect macro.
53635         [C99-based-standards] (PRIi8): Likewise.
53636         [C99-based-standards] (PRIo8): Likewise.
53637         [C99-based-standards] (PRIu8): Likewise.
53638         [C99-based-standards] (PRIx8): Likewise.
53639         [C99-based-standards] (PRIX8): Likewise.
53640         [C99-based-standards] (SCNd8): Likewise.
53641         [C99-based-standards] (SCNi8): Likewise.
53642         [C99-based-standards] (SCNo8): Likewise.
53643         [C99-based-standards] (SCNu8): Likewise.
53644         [C99-based-standards] (SCNx8): Likewise.
53645         [C99-based-standards] (PRIdLEAST8): Likewise.
53646         [C99-based-standards] (PRIiLEAST8): Likewise.
53647         [C99-based-standards] (PRIoLEAST8): Likewise.
53648         [C99-based-standards] (PRIuLEAST8): Likewise.
53649         [C99-based-standards] (PRIxLEAST8): Likewise.
53650         [C99-based-standards] (PRIXLEAST8): Likewise.
53651         [C99-based-standards] (SCNdLEAST8): Likewise.
53652         [C99-based-standards] (SCNiLEAST8): Likewise.
53653         [C99-based-standards] (SCNoLEAST8): Likewise.
53654         [C99-based-standards] (SCNuLEAST8): Likewise.
53655         [C99-based-standards] (SCNxLEAST8): Likewise.
53656         [C99-based-standards] (PRIdFAST8): Likewise.
53657         [C99-based-standards] (PRIiFAST8): Likewise.
53658         [C99-based-standards] (PRIoFAST8): Likewise.
53659         [C99-based-standards] (PRIuFAST8): Likewise.
53660         [C99-based-standards] (PRIxFAST8): Likewise.
53661         [C99-based-standards] (PRIXFAST8): Likewise.
53662         [C99-based-standards] (SCNdFAST8): Likewise.
53663         [C99-based-standards] (SCNiFAST8): Likewise.
53664         [C99-based-standards] (SCNoFAST8): Likewise.
53665         [C99-based-standards] (SCNuFAST8): Likewise.
53666         [C99-based-standards] (SCNxFAST8): Likewise.
53667         [C99-based-standards] (PRId16): Likewise.
53668         [C99-based-standards] (PRIi16): Likewise.
53669         [C99-based-standards] (PRIo16): Likewise.
53670         [C99-based-standards] (PRIu16): Likewise.
53671         [C99-based-standards] (PRIx16): Likewise.
53672         [C99-based-standards] (PRIX16): Likewise.
53673         [C99-based-standards] (SCNd16): Likewise.
53674         [C99-based-standards] (SCNi16): Likewise.
53675         [C99-based-standards] (SCNo16): Likewise.
53676         [C99-based-standards] (SCNu16): Likewise.
53677         [C99-based-standards] (SCNx16): Likewise.
53678         [C99-based-standards] (PRIdLEAST16): Likewise.
53679         [C99-based-standards] (PRIiLEAST16): Likewise.
53680         [C99-based-standards] (PRIoLEAST16): Likewise.
53681         [C99-based-standards] (PRIuLEAST16): Likewise.
53682         [C99-based-standards] (PRIxLEAST16): Likewise.
53683         [C99-based-standards] (PRIXLEAST16): Likewise.
53684         [C99-based-standards] (SCNdLEAST16): Likewise.
53685         [C99-based-standards] (SCNiLEAST16): Likewise.
53686         [C99-based-standards] (SCNoLEAST16): Likewise.
53687         [C99-based-standards] (SCNuLEAST16): Likewise.
53688         [C99-based-standards] (SCNxLEAST16): Likewise.
53689         [C99-based-standards] (PRIdFAST16): Likewise.
53690         [C99-based-standards] (PRIiFAST16): Likewise.
53691         [C99-based-standards] (PRIoFAST16): Likewise.
53692         [C99-based-standards] (PRIuFAST16): Likewise.
53693         [C99-based-standards] (PRIxFAST16): Likewise.
53694         [C99-based-standards] (PRIXFAST16): Likewise.
53695         [C99-based-standards] (SCNdFAST16): Likewise.
53696         [C99-based-standards] (SCNiFAST16): Likewise.
53697         [C99-based-standards] (SCNoFAST16): Likewise.
53698         [C99-based-standards] (SCNuFAST16): Likewise.
53699         [C99-based-standards] (SCNxFAST16): Likewise.
53700         [C99-based-standards] (PRId32): Likewise.
53701         [C99-based-standards] (PRIi32): Likewise.
53702         [C99-based-standards] (PRIo32): Likewise.
53703         [C99-based-standards] (PRIu32): Likewise.
53704         [C99-based-standards] (PRIx32): Likewise.
53705         [C99-based-standards] (PRIX32): Likewise.
53706         [C99-based-standards] (SCNd32): Likewise.
53707         [C99-based-standards] (SCNi32): Likewise.
53708         [C99-based-standards] (SCNo32): Likewise.
53709         [C99-based-standards] (SCNu32): Likewise.
53710         [C99-based-standards] (SCNx32): Likewise.
53711         [C99-based-standards] (PRIdLEAST32): Likewise.
53712         [C99-based-standards] (PRIiLEAST32): Likewise.
53713         [C99-based-standards] (PRIoLEAST32): Likewise.
53714         [C99-based-standards] (PRIuLEAST32): Likewise.
53715         [C99-based-standards] (PRIxLEAST32): Likewise.
53716         [C99-based-standards] (PRIXLEAST32): Likewise.
53717         [C99-based-standards] (SCNdLEAST32): Likewise.
53718         [C99-based-standards] (SCNiLEAST32): Likewise.
53719         [C99-based-standards] (SCNoLEAST32): Likewise.
53720         [C99-based-standards] (SCNuLEAST32): Likewise.
53721         [C99-based-standards] (SCNxLEAST32): Likewise.
53722         [C99-based-standards] (PRIdFAST32): Likewise.
53723         [C99-based-standards] (PRIiFAST32): Likewise.
53724         [C99-based-standards] (PRIoFAST32): Likewise.
53725         [C99-based-standards] (PRIuFAST32): Likewise.
53726         [C99-based-standards] (PRIxFAST32): Likewise.
53727         [C99-based-standards] (PRIXFAST32): Likewise.
53728         [C99-based-standards] (SCNdFAST32): Likewise.
53729         [C99-based-standards] (SCNiFAST32): Likewise.
53730         [C99-based-standards] (SCNoFAST32): Likewise.
53731         [C99-based-standards] (SCNuFAST32): Likewise.
53732         [C99-based-standards] (SCNxFAST32): Likewise.
53733         [C99-based-standards] (PRId64): Likewise.
53734         [C99-based-standards] (PRIi64): Likewise.
53735         [C99-based-standards] (PRIo64): Likewise.
53736         [C99-based-standards] (PRIu64): Likewise.
53737         [C99-based-standards] (PRIx64): Likewise.
53738         [C99-based-standards] (PRIX64): Likewise.
53739         [C99-based-standards] (SCNd64): Likewise.
53740         [C99-based-standards] (SCNi64): Likewise.
53741         [C99-based-standards] (SCNo64): Likewise.
53742         [C99-based-standards] (SCNu64): Likewise.
53743         [C99-based-standards] (SCNx64): Likewise.
53744         [C99-based-standards] (PRIdLEAST64): Likewise.
53745         [C99-based-standards] (PRIiLEAST64): Likewise.
53746         [C99-based-standards] (PRIoLEAST64): Likewise.
53747         [C99-based-standards] (PRIuLEAST64): Likewise.
53748         [C99-based-standards] (PRIxLEAST64): Likewise.
53749         [C99-based-standards] (PRIXLEAST64): Likewise.
53750         [C99-based-standards] (SCNdLEAST64): Likewise.
53751         [C99-based-standards] (SCNiLEAST64): Likewise.
53752         [C99-based-standards] (SCNoLEAST64): Likewise.
53753         [C99-based-standards] (SCNuLEAST64): Likewise.
53754         [C99-based-standards] (SCNxLEAST64): Likewise.
53755         [C99-based-standards] (PRIdFAST64): Likewise.
53756         [C99-based-standards] (PRIiFAST64): Likewise.
53757         [C99-based-standards] (PRIoFAST64): Likewise.
53758         [C99-based-standards] (PRIuFAST64): Likewise.
53759         [C99-based-standards] (PRIxFAST64): Likewise.
53760         [C99-based-standards] (PRIXFAST64): Likewise.
53761         [C99-based-standards] (SCNdFAST64): Likewise.
53762         [C99-based-standards] (SCNiFAST64): Likewise.
53763         [C99-based-standards] (SCNoFAST64): Likewise.
53764         [C99-based-standards] (SCNuFAST64): Likewise.
53765         [C99-based-standards] (SCNxFAST64): Likewise.
53766         [C99-based-standards] (PRIdMAX): Likewise.
53767         [C99-based-standards] (PRIiMAX): Likewise.
53768         [C99-based-standards] (PRIoMAX): Likewise.
53769         [C99-based-standards] (PRIuMAX): Likewise.
53770         [C99-based-standards] (PRIxMAX): Likewise.
53771         [C99-based-standards] (PRIXMAX): Likewise.
53772         [C99-based-standards] (SCNdMAX): Likewise.
53773         [C99-based-standards] (SCNiMAX): Likewise.
53774         [C99-based-standards] (SCNoMAX): Likewise.
53775         [C99-based-standards] (SCNuMAX): Likewise.
53776         [C99-based-standards] (SCNxMAX): Likewise.
53777         [C99-based-standards] (PRIdPTR): Likewise.
53778         [C99-based-standards] (PRIiPTR): Likewise.
53779         [C99-based-standards] (PRIoPTR): Likewise.
53780         [C99-based-standards] (PRIuPTR): Likewise.
53781         [C99-based-standards] (PRIxPTR): Likewise.
53782         [C99-based-standards] (PRIXPTR): Likewise.
53783         [C99-based-standards] (SCNdPTR): Likewise.
53784         [C99-based-standards] (SCNiPTR): Likewise.
53785         [C99-based-standards] (SCNoPTR): Likewise.
53786         [C99-based-standards] (SCNuPTR): Likewise.
53787         [C99-based-standards] (SCNxPTR): Likewise.
53788         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53789         allow.
53790         * conform/data/stdint.h-data: Update comments to clarify
53791         requirements.
53792         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53793         type.
53794         [C99-based standards] (INT8_MAX): Likewise.
53795         [C99-based standards] (INT16_MIN): Likewise.
53796         [C99-based standards] (INT16_MAX): Likewise.
53797         [C99-based standards] (INT32_MIN): Likewise.
53798         [C99-based standards] (INT32_MAX): Likewise.
53799         [C99-based standards] (INT64_MIN): Likewise.
53800         [C99-based standards] (INT64_MAX): Likewise.
53801         [C99-based standards] (UINT8_MAX): Likewise.
53802         [C99-based standards] (UINT16_MAX): Likewise.
53803         [C99-based standards] (UINT32_MAX): Likewise.
53804         [C99-based standards] (UINT64_MAX): Likewise.
53805         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53806         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53807         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53808         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53809         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53810         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53811         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53812         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53813         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53814         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53815         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53816         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53817         [C99-based standards] (INT_FAST8_MIN): Likewise.
53818         [C99-based standards] (INT_FAST8_MAX): Likewise.
53819         [C99-based standards] (INT_FAST16_MIN): Likewise.
53820         [C99-based standards] (INT_FAST16_MAX): Likewise.
53821         [C99-based standards] (INT_FAST32_MIN): Likewise.
53822         [C99-based standards] (INT_FAST32_MAX): Likewise.
53823         [C99-based standards] (INT_FAST64_MIN): Likewise.
53824         [C99-based standards] (INT_FAST64_MAX): Likewise.
53825         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53826         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53827         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53828         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53829         [C99-based standards] (INTPTR_MIN): Likewise.
53830         [C99-based standards] (INTPTR_MAX): Likewise.
53831         [C99-based standards] (UINTPTR_MAX): Likewise.
53832         [C99-based standards] (INTMAX_MIN): Likewise.
53833         [C99-based standards] (INTMAX_MAX): Likewise.
53834         [C99-based standards] (UINTMAX_MAX): Likewise.
53835         [C99-based standards] (PTRDIFF_MIN): Likewise.
53836         [C99-based standards] (PTRDIFF_MAX): Likewise.
53837         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53838         [C99-based standards] (SIZE_MAX): Likewise.
53839         [C99-based standards] (WCHAR_MAX): Likewise.
53840         [C99-based standards] (WINT_MAX): Likewise.
53841         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53842         constraint on value.
53843         [C99-based standards] (WCHAR_MIN): Likewise.
53844         [C99-based standards] (WINT_MIN): Likewise.
53845         [C99-based standards] (*_t): Allow.
53846         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53847         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53848         Include math.h-data and complex.h-data.  Remove all expectations
53849         of math.h and complex.h contents.
53850         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53851         at end of line.
53852         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53853         (struct tm): Expect tag.
53854         [C99-based-standards] (wcstof): Expect function.
53855         [C99-based-standards] (wcstold): Likewise.
53856         [C99-based-standards] (wcstoll): Likewise.
53857         [C99-based-standards] (wcstoull): Likewise.
53858         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53859         macro-int-constant.  Specify type.
53860         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53861         constraint on value.
53862         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53863         Specify type.
53864         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53865         Specify value.
53866         [ISO C standards]: Do not allow headers.
53867         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53868         wcs[abcdefghijklmnopqrstuvwxyz]*.
53869         [ISO C standards] (*_t): Do not allow.
53870         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53871         Expect function.
53872         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53873         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53874         Specify type.
53875         [ISO C standards]: Do not allow headers.
53876         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53877         is[abcdefghijklmnopqrstuvwxyz]*.
53878         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53879         to[abcdefghijklmnopqrstuvwxyz]*.
53880         [ISO C standards] (*_t): Do not allow.
53881         * conform/data/stdalign.h-data: New file.
53882         * conform/data/stdbool.h-data: Likewise.
53883         * conform/data/stdnoreturn.h-data: Likewise.
53885 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53887         [BZ #14815]
53888         * manual/filesys.texi (Directory Entries): Typo fix.
53889         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53891 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53893         * elf/elf.h (EM_AARCH64): New macro.
53894         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53895         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53896         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53897         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53898         (R_AARCH64_TLSDESC): Likewise.
53899         (NT_ARM_TLS): Likewise.
53900         (NT_ARM_HW_BREAK): Likewise.
53901         (NT_ARM_HW_WATCH): Likewise.
53903 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53905         [BZ #14811]
53906         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53907         (__ieee754_powl): Saturate nonzero exponents with absolute value
53908         below 0x1p-79 to +/- 0x1p-79.
53909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53910         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53911         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53912         nonzero exponents with absolute value below 0x1p-32 to +/-
53913         0x1p-32.
53914         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53915         (__ieee754_powl): Saturate nonzero exponents with absolute value
53916         below 0x1p-79 to +/- 0x1p-79.
53917         * math/libm-test.inc (pow_test): Add more tests.
53919 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53921         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53922         _dl_s390_cap_flags with kernel. Increase string length.
53923         (_dl_s390_platforms): Add z196 and zEC12.
53925 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53927         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53928         Change XOPEN21K to XOPEN2K.
53930 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53932         * string/memmove.c: Use memcpy when possible.
53934 2012-11-06  Andreas Jaeger  <aj@suse.de>
53936         * po/eo.po: Update from translation team.
53938 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53940         [BZ #14793]
53941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53942         exponent and small x and y exponents, scale x or y up.  Increase
53943         by 2 the exponent used in scaling up.
53944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53946         * math/libm-test.inc (fma_test): Add more tests.
53947         (fma_test_towardzero): Likewise.
53948         (fma_test_downward): Likewise.
53949         (fma_test_upward): Likewise.
53951 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53953         [BZ #14805]
53954         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53955         fenv_t *.
53957         [BZ #14801]
53958         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53959         namespace for names of struct fields.
53960         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53961         fenv_t fields.
53962         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53963         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53965 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53967         [BZ #3665]
53968         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53970 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53972         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53973         PTR_DEMANGLE.
53975         [BZ #5246]
53976         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53977         PTR_DEMANGLE.
53979 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53981         [BZ #14797]
53982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53983         definitely overflow as x * y not x * y + z.
53984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53985         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53986         * math/libm-test.inc (fma_test): Add more tests.
53987         (fma_test_towardzero): Likewise.
53988         (fma_test_downward): Likewise.
53989         (fma_test_upward): Likewise.
53991 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53993         [BZ #157]
53995         * include/stub-tag.h: Remove file.
53996         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53997         '#include' of it.
53998         * manual/maint.texi (Porting): Don't reference it.
53999         * Makerules ($(objpfx)stubs): Likewise.
54000         * dirent/closedir.c: Don't include <stub-tag.h>.
54001         * dirent/dirfd.c: Likewise.
54002         * dirent/fdopendir.c: Likewise.
54003         * dirent/getdents.c: Likewise.
54004         * dirent/getdents64.c: Likewise.
54005         * dirent/opendir.c: Likewise.
54006         * dirent/readdir.c: Likewise.
54007         * dirent/readdir64.c: Likewise.
54008         * dirent/readdir64_r.c: Likewise.
54009         * dirent/readdir_r.c: Likewise.
54010         * dirent/rewinddir.c: Likewise.
54011         * dirent/seekdir.c: Likewise.
54012         * dirent/telldir.c: Likewise.
54013         * gmon/profil.c: Likewise.
54014         * grp/setgroups.c: Likewise.
54015         * inet/if_index.c: Likewise.
54016         * io/access.c: Likewise.
54017         * io/chdir.c: Likewise.
54018         * io/chmod.c: Likewise.
54019         * io/chown.c: Likewise.
54020         * io/close.c: Likewise.
54021         * io/dup.c: Likewise.
54022         * io/dup2.c: Likewise.
54023         * io/dup3.c: Likewise.
54024         * io/euidaccess.c: Likewise.
54025         * io/faccessat.c: Likewise.
54026         * io/fchdir.c: Likewise.
54027         * io/fchmod.c: Likewise.
54028         * io/fchmodat.c: Likewise.
54029         * io/fchown.c: Likewise.
54030         * io/fchownat.c: Likewise.
54031         * io/fcntl.c: Likewise.
54032         * io/flock.c: Likewise.
54033         * io/fstatfs.c: Likewise.
54034         * io/fstatfs64.c: Likewise.
54035         * io/fstatvfs.c: Likewise.
54036         * io/fstatvfs64.c: Likewise.
54037         * io/futimens.c: Likewise.
54038         * io/fxstat.c: Likewise.
54039         * io/fxstat64.c: Likewise.
54040         * io/fxstatat.c: Likewise.
54041         * io/fxstatat64.c: Likewise.
54042         * io/getcwd.c: Likewise.
54043         * io/isatty.c: Likewise.
54044         * io/lchmod.c: Likewise.
54045         * io/lchown.c: Likewise.
54046         * io/link.c: Likewise.
54047         * io/linkat.c: Likewise.
54048         * io/lseek.c: Likewise.
54049         * io/lseek64.c: Likewise.
54050         * io/lxstat64.c: Likewise.
54051         * io/mkdir.c: Likewise.
54052         * io/mkdirat.c: Likewise.
54053         * io/mkfifo.c: Likewise.
54054         * io/mkfifoat.c: Likewise.
54055         * io/open.c: Likewise.
54056         * io/open64.c: Likewise.
54057         * io/openat.c: Likewise.
54058         * io/openat64.c: Likewise.
54059         * io/pipe.c: Likewise.
54060         * io/pipe2.c: Likewise.
54061         * io/poll.c: Likewise.
54062         * io/posix_fadvise.c: Likewise.
54063         * io/posix_fadvise64.c: Likewise.
54064         * io/posix_fallocate.c: Likewise.
54065         * io/posix_fallocate64.c: Likewise.
54066         * io/read.c: Likewise.
54067         * io/readlink.c: Likewise.
54068         * io/readlinkat.c: Likewise.
54069         * io/rmdir.c: Likewise.
54070         * io/sendfile.c: Likewise.
54071         * io/sendfile64.c: Likewise.
54072         * io/statfs.c: Likewise.
54073         * io/statfs64.c: Likewise.
54074         * io/statvfs.c: Likewise.
54075         * io/statvfs64.c: Likewise.
54076         * io/symlink.c: Likewise.
54077         * io/symlinkat.c: Likewise.
54078         * io/ttyname.c: Likewise.
54079         * io/ttyname_r.c: Likewise.
54080         * io/umask.c: Likewise.
54081         * io/unlink.c: Likewise.
54082         * io/unlinkat.c: Likewise.
54083         * io/utime.c: Likewise.
54084         * io/utimensat.c: Likewise.
54085         * io/write.c: Likewise.
54086         * io/xmknod.c: Likewise.
54087         * io/xmknodat.c: Likewise.
54088         * io/xstat.c: Likewise.
54089         * io/xstat64.c: Likewise.
54090         * login/getpt.c: Likewise.
54091         * login/grantpt.c: Likewise.
54092         * login/unlockpt.c: Likewise.
54093         * math/e_acoshl.c: Likewise.
54094         * math/e_acosl.c: Likewise.
54095         * math/e_asinl.c: Likewise.
54096         * math/e_atan2l.c: Likewise.
54097         * math/e_atanhl.c: Likewise.
54098         * math/e_coshl.c: Likewise.
54099         * math/e_expl.c: Likewise.
54100         * math/e_fmodl.c: Likewise.
54101         * math/e_gammal_r.c: Likewise.
54102         * math/e_hypotl.c: Likewise.
54103         * math/e_j0l.c: Likewise.
54104         * math/e_j1l.c: Likewise.
54105         * math/e_jnl.c: Likewise.
54106         * math/e_lgammal_r.c: Likewise.
54107         * math/e_log10l.c: Likewise.
54108         * math/e_log2l.c: Likewise.
54109         * math/e_logl.c: Likewise.
54110         * math/e_powl.c: Likewise.
54111         * math/e_rem_pio2l.c: Likewise.
54112         * math/e_sinhl.c: Likewise.
54113         * math/e_sqrtl.c: Likewise.
54114         * math/fclrexcpt.c: Likewise.
54115         * math/fedisblxcpt.c: Likewise.
54116         * math/feenablxcpt.c: Likewise.
54117         * math/fegetenv.c: Likewise.
54118         * math/fegetexcept.c: Likewise.
54119         * math/fegetround.c: Likewise.
54120         * math/feholdexcpt.c: Likewise.
54121         * math/fesetenv.c: Likewise.
54122         * math/fesetround.c: Likewise.
54123         * math/feupdateenv.c: Likewise.
54124         * math/fgetexcptflg.c: Likewise.
54125         * math/fraiseexcpt.c: Likewise.
54126         * math/fsetexcptflg.c: Likewise.
54127         * math/ftestexcept.c: Likewise.
54128         * math/k_cosl.c: Likewise.
54129         * math/k_rem_pio2l.c: Likewise.
54130         * math/k_sinl.c: Likewise.
54131         * math/k_tanl.c: Likewise.
54132         * math/s_asinhl.c: Likewise.
54133         * math/s_atanl.c: Likewise.
54134         * math/s_cbrtl.c: Likewise.
54135         * math/s_erfl.c: Likewise.
54136         * math/s_expm1l.c: Likewise.
54137         * math/s_log1pl.c: Likewise.
54138         * math/s_tanhl.c: Likewise.
54139         * misc/acct.c: Likewise.
54140         * misc/brk.c: Likewise.
54141         * misc/chflags.c: Likewise.
54142         * misc/chroot.c: Likewise.
54143         * misc/fchflags.c: Likewise.
54144         * misc/fgetxattr.c: Likewise.
54145         * misc/flistxattr.c: Likewise.
54146         * misc/fremovexattr.c: Likewise.
54147         * misc/fsetxattr.c: Likewise.
54148         * misc/fsync.c: Likewise.
54149         * misc/ftruncate.c: Likewise.
54150         * misc/futimes.c: Likewise.
54151         * misc/futimesat.c: Likewise.
54152         * misc/getdomain.c: Likewise.
54153         * misc/getdtsz.c: Likewise.
54154         * misc/gethostid.c: Likewise.
54155         * misc/gethostname.c: Likewise.
54156         * misc/getloadavg.c: Likewise.
54157         * misc/getpagesize.c: Likewise.
54158         * misc/getsysstats.c: Likewise.
54159         * misc/getxattr.c: Likewise.
54160         * misc/gtty.c: Likewise.
54161         * misc/ioctl.c: Likewise.
54162         * misc/lgetxattr.c: Likewise.
54163         * misc/listxattr.c: Likewise.
54164         * misc/llistxattr.c: Likewise.
54165         * misc/lremovexattr.c: Likewise.
54166         * misc/lsetxattr.c: Likewise.
54167         * misc/lutimes.c: Likewise.
54168         * misc/madvise.c: Likewise.
54169         * misc/mincore.c: Likewise.
54170         * misc/mlock.c: Likewise.
54171         * misc/mlockall.c: Likewise.
54172         * misc/mmap.c: Likewise.
54173         * misc/mprotect.c: Likewise.
54174         * misc/msync.c: Likewise.
54175         * misc/munlock.c: Likewise.
54176         * misc/munlockall.c: Likewise.
54177         * misc/munmap.c: Likewise.
54178         * misc/preadv.c: Likewise.
54179         * misc/preadv64.c: Likewise.
54180         * misc/ptrace.c: Likewise.
54181         * misc/pwritev.c: Likewise.
54182         * misc/pwritev64.c: Likewise.
54183         * misc/readv.c: Likewise.
54184         * misc/reboot.c: Likewise.
54185         * misc/remap_file_pages.c: Likewise.
54186         * misc/removexattr.c: Likewise.
54187         * misc/revoke.c: Likewise.
54188         * misc/select.c: Likewise.
54189         * misc/setdomain.c: Likewise.
54190         * misc/setegid.c: Likewise.
54191         * misc/seteuid.c: Likewise.
54192         * misc/sethostid.c: Likewise.
54193         * misc/sethostname.c: Likewise.
54194         * misc/setregid.c: Likewise.
54195         * misc/setreuid.c: Likewise.
54196         * misc/setxattr.c: Likewise.
54197         * misc/sstk.c: Likewise.
54198         * misc/stty.c: Likewise.
54199         * misc/swapoff.c: Likewise.
54200         * misc/swapon.c: Likewise.
54201         * misc/sync.c: Likewise.
54202         * misc/syncfs.c: Likewise.
54203         * misc/syscall.c: Likewise.
54204         * misc/truncate.c: Likewise.
54205         * misc/ualarm.c: Likewise.
54206         * misc/usleep.c: Likewise.
54207         * misc/ustat.c: Likewise.
54208         * misc/utimes.c: Likewise.
54209         * misc/vhangup.c: Likewise.
54210         * misc/writev.c: Likewise.
54211         * posix/_exit.c: Likewise.
54212         * posix/alarm.c: Likewise.
54213         * posix/execve.c: Likewise.
54214         * posix/fexecve.c: Likewise.
54215         * posix/fork.c: Likewise.
54216         * posix/fpathconf.c: Likewise.
54217         * posix/getaddrinfo.c: Likewise.
54218         * posix/getegid.c: Likewise.
54219         * posix/geteuid.c: Likewise.
54220         * posix/getgid.c: Likewise.
54221         * posix/getgroups.c: Likewise.
54222         * posix/getlogin.c: Likewise.
54223         * posix/getlogin_r.c: Likewise.
54224         * posix/getpgid.c: Likewise.
54225         * posix/getpid.c: Likewise.
54226         * posix/getppid.c: Likewise.
54227         * posix/getresgid.c: Likewise.
54228         * posix/getresuid.c: Likewise.
54229         * posix/getsid.c: Likewise.
54230         * posix/getuid.c: Likewise.
54231         * posix/glob64.c: Likewise.
54232         * posix/nanosleep.c: Likewise.
54233         * posix/pathconf.c: Likewise.
54234         * posix/pause.c: Likewise.
54235         * posix/posix_madvise.c: Likewise.
54236         * posix/pread.c: Likewise.
54237         * posix/pread64.c: Likewise.
54238         * posix/pwrite.c: Likewise.
54239         * posix/pwrite64.c: Likewise.
54240         * posix/sched_getaffinity.c: Likewise.
54241         * posix/sched_getp.c: Likewise.
54242         * posix/sched_gets.c: Likewise.
54243         * posix/sched_primax.c: Likewise.
54244         * posix/sched_primin.c: Likewise.
54245         * posix/sched_rr_gi.c: Likewise.
54246         * posix/sched_setaffinity.c: Likewise.
54247         * posix/sched_setp.c: Likewise.
54248         * posix/sched_sets.c: Likewise.
54249         * posix/sched_yield.c: Likewise.
54250         * posix/setgid.c: Likewise.
54251         * posix/setlogin.c: Likewise.
54252         * posix/setpgid.c: Likewise.
54253         * posix/setresgid.c: Likewise.
54254         * posix/setresuid.c: Likewise.
54255         * posix/setsid.c: Likewise.
54256         * posix/setuid.c: Likewise.
54257         * posix/sleep.c: Likewise.
54258         * posix/spawni.c: Likewise.
54259         * posix/sysconf.c: Likewise.
54260         * posix/times.c: Likewise.
54261         * posix/wait.c: Likewise.
54262         * posix/wait3.c: Likewise.
54263         * posix/wait4.c: Likewise.
54264         * posix/waitpid.c: Likewise.
54265         * resolv/gai_sigqueue.c: Likewise.
54266         * resource/getpriority.c: Likewise.
54267         * resource/getrlimit.c: Likewise.
54268         * resource/getrusage.c: Likewise.
54269         * resource/nice.c: Likewise.
54270         * resource/setpriority.c: Likewise.
54271         * resource/setrlimit.c: Likewise.
54272         * resource/ulimit.c: Likewise.
54273         * rt/aio_cancel.c: Likewise.
54274         * rt/aio_fsync.c: Likewise.
54275         * rt/aio_read.c: Likewise.
54276         * rt/aio_sigqueue.c: Likewise.
54277         * rt/aio_suspend.c: Likewise.
54278         * rt/aio_write.c: Likewise.
54279         * rt/clock_getres.c: Likewise.
54280         * rt/clock_gettime.c: Likewise.
54281         * rt/clock_nanosleep.c: Likewise.
54282         * rt/clock_settime.c: Likewise.
54283         * rt/lio_listio.c: Likewise.
54284         * rt/mq_close.c: Likewise.
54285         * rt/mq_getattr.c: Likewise.
54286         * rt/mq_notify.c: Likewise.
54287         * rt/mq_open.c: Likewise.
54288         * rt/mq_receive.c: Likewise.
54289         * rt/mq_send.c: Likewise.
54290         * rt/mq_setattr.c: Likewise.
54291         * rt/mq_timedreceive.c: Likewise.
54292         * rt/mq_timedsend.c: Likewise.
54293         * rt/mq_unlink.c: Likewise.
54294         * rt/shm_open.c: Likewise.
54295         * rt/shm_unlink.c: Likewise.
54296         * rt/timer_create.c: Likewise.
54297         * rt/timer_delete.c: Likewise.
54298         * rt/timer_getoverr.c: Likewise.
54299         * rt/timer_gettime.c: Likewise.
54300         * rt/timer_settime.c: Likewise.
54301         * setjmp/__longjmp.c: Likewise.
54302         * setjmp/setjmp.c: Likewise.
54303         * signal/kill.c: Likewise.
54304         * signal/killpg.c: Likewise.
54305         * signal/raise.c: Likewise.
54306         * signal/sigaction.c: Likewise.
54307         * signal/sigaltstack.c: Likewise.
54308         * signal/sigblock.c: Likewise.
54309         * signal/sigignore.c: Likewise.
54310         * signal/sigintr.c: Likewise.
54311         * signal/signal.c: Likewise.
54312         * signal/sigpause.c: Likewise.
54313         * signal/sigpending.c: Likewise.
54314         * signal/sigqueue.c: Likewise.
54315         * signal/sigreturn.c: Likewise.
54316         * signal/sigset.c: Likewise.
54317         * signal/sigsetmask.c: Likewise.
54318         * signal/sigstack.c: Likewise.
54319         * signal/sigsuspend.c: Likewise.
54320         * signal/sigtimedwait.c: Likewise.
54321         * signal/sigvec.c: Likewise.
54322         * signal/sigwait.c: Likewise.
54323         * signal/sigwaitinfo.c: Likewise.
54324         * signal/sysv_signal.c: Likewise.
54325         * socket/accept.c: Likewise.
54326         * socket/accept4.c: Likewise.
54327         * socket/bind.c: Likewise.
54328         * socket/connect.c: Likewise.
54329         * socket/getpeername.c: Likewise.
54330         * socket/getsockname.c: Likewise.
54331         * socket/getsockopt.c: Likewise.
54332         * socket/isfdtype.c: Likewise.
54333         * socket/listen.c: Likewise.
54334         * socket/recv.c: Likewise.
54335         * socket/recvfrom.c: Likewise.
54336         * socket/recvmsg.c: Likewise.
54337         * socket/send.c: Likewise.
54338         * socket/sendmsg.c: Likewise.
54339         * socket/sendto.c: Likewise.
54340         * socket/setsockopt.c: Likewise.
54341         * socket/shutdown.c: Likewise.
54342         * socket/sockatmark.c: Likewise.
54343         * socket/socket.c: Likewise.
54344         * socket/socketpair.c: Likewise.
54345         * stdio-common/ctermid.c: Likewise.
54346         * stdio-common/cuserid.c: Likewise.
54347         * stdio-common/remove.c: Likewise.
54348         * stdio-common/rename.c: Likewise.
54349         * stdio-common/renameat.c: Likewise.
54350         * stdio-common/tempname.c: Likewise.
54351         * stdlib/getcontext.c: Likewise.
54352         * stdlib/makecontext.c: Likewise.
54353         * stdlib/setcontext.c: Likewise.
54354         * stdlib/swapcontext.c: Likewise.
54355         * stdlib/system.c: Likewise.
54356         * streams/fattach.c: Likewise.
54357         * streams/fdetach.c: Likewise.
54358         * streams/getmsg.c: Likewise.
54359         * streams/getpmsg.c: Likewise.
54360         * streams/putmsg.c: Likewise.
54361         * streams/putpmsg.c: Likewise.
54362         * sysdeps/unix/bsd/getpt.c: Likewise.
54363         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54364         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54365         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54367         Likewise.
54368         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54369         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54370         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54371         * sysvipc/msgctl.c: Likewise.
54372         * sysvipc/msgget.c: Likewise.
54373         * sysvipc/msgrcv.c: Likewise.
54374         * sysvipc/msgsnd.c: Likewise.
54375         * sysvipc/semctl.c: Likewise.
54376         * sysvipc/semget.c: Likewise.
54377         * sysvipc/semop.c: Likewise.
54378         * sysvipc/semtimedop.c: Likewise.
54379         * sysvipc/shmat.c: Likewise.
54380         * sysvipc/shmctl.c: Likewise.
54381         * sysvipc/shmdt.c: Likewise.
54382         * sysvipc/shmget.c: Likewise.
54383         * termios/tcdrain.c: Likewise.
54384         * termios/tcflow.c: Likewise.
54385         * termios/tcflush.c: Likewise.
54386         * termios/tcgetattr.c: Likewise.
54387         * termios/tcgetpgrp.c: Likewise.
54388         * termios/tcsendbrk.c: Likewise.
54389         * termios/tcsetattr.c: Likewise.
54390         * termios/tcsetpgrp.c: Likewise.
54391         * time/adjtime.c: Likewise.
54392         * time/clock.c: Likewise.
54393         * time/getitimer.c: Likewise.
54394         * time/gettimeofday.c: Likewise.
54395         * time/setitimer.c: Likewise.
54396         * time/settimeofday.c: Likewise.
54397         * time/stime.c: Likewise.
54398         * time/time.c: Likewise.
54400 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54402         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54403         /usr/old/bin.
54405         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54406         instead of spaces.
54407         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54409 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54411         [BZ #14796]
54412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54413         FE_TONEAREST before applying Dekker multiplication and Knuth
54414         addition.  Clear inexact exceptions and check for exact zero
54415         results afterwards.
54416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54419         * math/libm-test.inc (fma_test): Add more tests.
54420         (fma_test_towardzero): Likewise.
54421         (fma_test_downward): Likewise.
54422         (fma_test_upward): Likewise.
54423         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54424         function.
54425         (libc_fesetround): New macro.
54426         (libc_fesetroundf): Likewise.
54427         (libc_fesetroundl): Likewise.
54428         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54429         function.
54430         (libc_fesetround_387): Likewise.
54431         (libc_fesetroundf): New macro.
54432         (libc_fesetround): Likewise.
54433         (libc_fesetroundl): Likewise.
54434         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54435         function.
54436         (libc_fesetroundf): New macro.
54437         (libc_fesetround): Likewise.
54438         (libc_fesetroundl): Likewise.
54439         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54440         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54441         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54442         libm_hidden_ver.
54443         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54444         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54445         libm_hidden_def.
54446         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54447         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54448         libm_hidden_ver.
54449         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54450         libm_hidden_def.
54452         [BZ #3439]
54453         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54454         integer constant usable in #if and use that to give value to enum
54455         constant.
54456         (FE_DIVBYZERO): Likewise.
54457         (FE_UNDERFLOW): Likewise.
54458         (FE_OVERFLOW): Likewise.
54459         (FE_INVALID): Likewise.
54460         (FE_INVALID_SNAN): Likewise.
54461         (FE_INVALID_ISI): Likewise.
54462         (FE_INVALID_IDI): Likewise.
54463         (FE_INVALID_ZDZ): Likewise.
54464         (FE_INVALID_IMZ): Likewise.
54465         (FE_INVALID_COMPARE): Likewise.
54466         (FE_INVALID_SOFTWARE): Likewise.
54467         (FE_INVALID_SQRT): Likewise.
54468         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54469         (FE_TONEAREST): Likewise.
54470         (FE_TOWARDZERO): Likewise.
54471         (FE_UPWARD): Likewise.
54472         (FE_DOWNWARD): Likewise.
54473         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54474         (FE_DIVBYZERO): Likewise.
54475         (FE_OVERFLOW): Likewise.
54476         (FE_UNDERFLOW): Likewise.
54477         (FE_INEXACT): Likewise.
54478         (FE_TONEAREST): Likewise.
54479         (FE_DOWNWARD): Likewise.
54480         (FE_UPWARD): Likewise.
54481         (FE_TOWARDZERO): Likewise.
54482         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54483         (FE_UNDERFLOW): Likewise.
54484         (FE_OVERFLOW): Likewise.
54485         (FE_DIVBYZERO): Likewise.
54486         (FE_INVALID): Likewise.
54487         (FE_TONEAREST): Likewise.
54488         (FE_TOWARDZERO): Likewise.
54489         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54490         (FE_OVERFLOW): Likewise.
54491         (FE_UNDERFLOW): Likewise.
54492         (FE_DIVBYZERO): Likewise.
54493         (FE_INEXACT): Likewise.
54494         (FE_TONEAREST): Likewise.
54495         (FE_TOWARDZERO): Likewise.
54496         (FE_UPWARD): Likewise.
54497         (FE_DOWNWARD): Likewise.
54498         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54499         (FE_DIVBYZERO): Likewise.
54500         (FE_OVERFLOW): Likewise.
54501         (FE_UNDERFLOW): Likewise.
54502         (FE_INEXACT): Likewise.
54503         (FE_TONEAREST): Likewise.
54504         (FE_DOWNWARD): Likewise.
54505         (FE_UPWARD): Likewise.
54506         (FE_TOWARDZERO): Likewise.
54508 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54510         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54512 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54514         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54515         commands.  Quote $PWD.
54516         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54517         -x" by "export".
54518         (remove_newlines): Remove.
54520 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54522         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54523         * stdlib/stdlib.h (atof): Moved to ...
54524         * include/bits/stdlib-float.h: Here.  New file.
54525         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54526         * stdlib/bits/stdlib-float.h: New file.
54527         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54528         -mno-sse -mno-mmx.
54529         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54530         <xmmintrin.h>.
54532 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54534         * conform/conformtest.pl (@headers): Add fenv.h.
54535         * conform/data/fenv.h-data: New file.
54536         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54537         include of <math/fenv.h>.
54539         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54540         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54541         && !UNIX98].  Enables tests for XOPEN2K8.
54542         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54543         POSIX2008]: Likewise.
54545         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54546         (struct rusage): Do not expect type or its members.
54548         [BZ #3439]
54549         * math/math.h (FP_NAN): Define macro to integer constant usable in
54550         #if and use that to give value to enum constant.
54551         (FP_INFINITE): Likewise.
54552         (FP_ZERO): Likewise.
54553         (FP_SUBNORMAL): Likewise.
54554         (FP_NORMAL): Likewise.
54556 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54558         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54559         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54560         arguments.
54562 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54564         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54565         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54566         autoconf-time if not.
54567         * configure.in: Remove AC_PREREQ.
54569 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54571         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54572         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54573         of the internal implementation.
54575 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54577         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54578         except include of <misc/sys/syslog.h>.
54580 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54583         function returns with a NULL context exit with zero.
54585 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54587         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54589 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54591         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54592         (run_program_cmd): This.
54593         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54594         (tst_langinfo): New variable.  Use it.
54596 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54598         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54599         floating point opcodes.
54601 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54603         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54604         variable.
54606         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54608         * sysdeps/mach/hurd/powerpc: Remove directory.
54609         * sysdeps/mach/powerpc: Likewise.
54611 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54613         * scripts/check-local-headers.sh: Ignore c++ headers.
54615 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54617         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54618         __libc_cleanup_region_start argument.
54620 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54622         [BZ #14784]
54623         [BZ #14785]
54624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54625         x * y using scaling, not as x * y + z.
54626         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54628         * math/libm-test.inc (fma_test): Add more tests.
54629         (fma_test_towardzero): Likewise.
54630         (fma_test_downward): Likewise.
54631         (fma_test_upward): Likewise.
54633 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54635         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54637 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54639         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54640         New variable.
54642 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54644         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54646 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54649         Fix sort order.
54650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54651         Likewise.
54653 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54656         Fix the order of the list for glibc 2.17.
54657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54658         Likewise.
54660 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54664 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54666         [BZ #14610]
54667         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54668         for low part of x being zero before using __atanl (y).
54669         * math/libm-test.inc (atan2_test): Add another test.
54671         * manual/install.texi (Configuring and compiling): Document
54672         general use of test-wrapper and test-wrapper-env.
54673         * INSTALL: Regenerated.
54675         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54676         (__fma): Do not extract and scale down low bits on after-rounding
54677         systems when result rounded to normal precision would have normal
54678         exponent.
54679         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54680         (__fmal): Do not extract and scale down low bits on after-rounding
54681         systems when result rounded to normal precision would have normal
54682         exponent.
54683         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54684         (__fmal): Do not extract and scale down low bits on after-rounding
54685         systems when result rounded to normal precision would have normal
54686         exponent.
54687         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54688         macro.
54689         (fma_test): Add more tests.
54690         (fma_test_towardzero): Likewise.
54691         (fma_test_downward): Likewise.
54692         (fma_test_upward): Likewise.
54694 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54696         * sysdeps/i386/tininess.h: Renamed to ...
54697         * sysdeps/x86/tininess.h: This.
54698         * sysdeps/x86_64/tininess.h: Removed.
54700 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54702         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54703         input.  Use $(build-program-cmd).
54704         ($(objpfx)tst-array1-static.out): Likewise.
54705         ($(objpfx)tst-array2.out): Likewise.
54706         ($(objpfx)tst-array3.out): Likewise.
54707         ($(objpfx)tst-array4.out): Likewise.
54708         ($(objpfx)tst-array5.out): Likewise.
54709         ($(objpfx)tst-array5-static.out): Likewise.
54711 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54713         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54714         if defined.
54716         * nss/nsswitch.h (nss_interface_function): Provide new
54717         macro for use with NSS functions.
54718         * grp/initgroups.c: Use new macro.
54719         * nss/getXXbyYY.c: Likewise.
54720         * nss/getXXbyYY_r.c: Likewise.
54721         * nss/getXXent.c: Likewise.
54722         * nss/getXXent_r.c: Likewise.
54723         * sysdeps/posix/getaddrinfo.c: Likewise.
54725 2012-10-30  Andreas Jaeger  <aj@suse.de>
54727         * po/ru.po: Update Russion translation from translation project.
54729 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54731         [BZ #14152]
54732         [BZ #14783]
54733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54734         result and shift together with sticky bit instead of replicating
54735         round-to-nearest rounding.
54736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54737         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54738         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54739         missing underflow exceptions.
54740         (fma_test_towardzero): Add more tests.
54741         (fma_test_downward): Likewise.
54742         (fma_test_upward): Likewise.
54744         [BZ #14047]
54745         * sysdeps/generic/tininess.h: New file.
54746         * sysdeps/i386/tininess.h: Likewise.
54747         * sysdeps/sh/tininess.h: Likewise.
54748         * sysdeps/x86_64/tininess.h: Likewise.
54749         * stdlib/tst-strtod-underflow.c: Likewise.
54750         * stdlib/tst-tininess.c: Likewise.
54751         * stdlib/strtod_l.c: Include <tininess.h>.
54752         (round_and_return): Do not set errno for exact underflow cases.
54753         Force an underflow exception when setting errno for underflow.
54754         Determine underflow based on rounding to normal precision if
54755         TININESS_AFTER_ROUNDING.
54756         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54757         ERANGE for exact underflow cases.
54758         * stdlib/Makefile (tests): Add tst-tininess and
54759         tst-strtod-underflow.
54760         ($(objpfx)tst-tininess): Use $(link-libm).
54761         ($(objpfx)tst-strtod-underflow): Likewise.
54763 2012-10-30  Andreas Jaeger  <aj@suse.de>
54765         [BZ#14767]
54766         * elf/Makefile (tests): Remove conditional for have-initfini-array
54767         since this is now always required and the variable does not exist
54768         anymore.
54769         (tests-static): Likewise.
54770         (modules-names): Likewise.
54772         * po/eo.po: Add Esperanto translation from translation project.
54774         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54775         merged with constructor/destructor.
54776         (init_array): Likewise.
54777         * elf/tst-array2dep.c (fini_array): Likewise.
54778         (init_array): Likewise.
54780 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54782         * manual/message.texi: Delete @cartouche tags.
54784 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54786         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54787         EOPNOTSUPP.
54788         * sysdeps/mach/hurd/fsync.c: Likewise.
54790         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54791         [_POSIX_REALTIME_SIGNALS]: Change condition to
54792         [_POSIX_REALTIME_SIGNALS > 0].
54794 2012-10-27  Andreas Jaeger  <aj@suse.de>
54796         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54797         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54799         [__WORDSIZE != 64]: Likewise.
54801 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54803         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54804         *  iconvdata/tst-tables.sh: Likewise.
54806 2012-10-25  David S. Miller  <davem@davemloft.net>
54808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54809         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54810         of strtoull.
54812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54813         ifunc-impl-list.c
54814         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54815         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54816         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54817         file.
54819 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54822         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54823         __getdirentries.
54825 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54826             Jim Blandy  <jimb@codesourcery.com>
54828         * scripts/cross-test-ssh.sh: New file.
54829         * manual/install.texi (Configuring and compiling): Document use of
54830         cross-test-ssh.sh.
54831         * INSTALL: Regenerated.
54833 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54835         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54836         EOPNOTSUPP.
54838 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54840         * Makeconfig (run-program-prefix): Fix comment.
54842 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54843             Jim Blandy  <jimb@codesourcery.com>
54845         * Makeconfig (test-wrapper): New variable,
54846         (test-wrapper-env): Likewise.
54847         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54848         (run-built-tests): Define to yes.
54849         (run-program-prefix): Use $(test-wrapper).
54850         (built-program-cmd): Likewise.
54851         * Rules (make-test-out): Use $(test-wrapper-env) and
54852         $(host-built-program-cmd).
54853         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54854         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54855         tst-pathopt.sh.
54856         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54857         $(test-wrapper-env) to tst-rtld-load-self.sh.
54858         ($(objpfx)order2.out): Use $(test-wrapper).
54859         ($(objpfx)tst-initorder.out): Likewise.
54860         ($(objpfx)tst-initorder2.out): Likewise.
54861         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54862         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54863         (test_wrapper_env): New variable.  Use it to run ld.so.
54864         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54865         Use it to run ld.so.
54866         (test_wrapper_env): Likewise.
54867         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54868         $(test-wrapper) to run-iconv-test.sh.
54869         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54870         (ICONV): Use $test_wrapper.
54871         * posix/Makefile ($(objpfx)globtest.out): Pass
54872         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54873         globtest.sh, not $(run-program-prefix).
54874         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54875         (test_wrapper): Likewise.
54876         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54877         set together with run_via_rtld_prefix.
54878         (run_program_prefix): Define in terms of test_wrapper and
54879         run_via_rtld_prefix.
54881 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54883         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54884         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54885         Targets removed.
54887         [BZ #14743]
54888         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54889         Declare __clock_getres, __clock_gettime, __clock_settime,
54890         __clock_nanosleep, and __clock_getcpuclockid.
54891         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54892         Remove librt_hidden_def (clock_gettime).
54893         * sysdeps/unix/clock_gettime.c: Likewise.
54894         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54895         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54896         * rt/clock_getres.c: Define __clock_getres as an alias.
54897         * sysdeps/posix/clock_getres.c: Likewise.
54898         * rt/clock_settime.c: Define __clock_settime as an alias.
54899         * sysdeps/unix/clock_settime.c: Likewise.
54900         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54901         * sysdeps/unix/clock_nanosleep.c: Likewise.
54902         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54903         * rt/clock-compat.c: New file.
54904         * rt/Makefile (librt-routines): Add clock-compat and move
54905         $(clock-routines) to ...
54906         (routines): ... here, new variable.
54907         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54908         Don't add get_clockfreq here.
54909         * rt/Versions (libc: GLIBC_2.17): New version set.
54910         Add clock_* symbols here.
54911         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54912         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54913         (GLIBC_2.17): Add clock_* symbols.
54914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54918         Likewise.
54919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54920         Likewise.
54921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54925         * NEWS: Mention the move.
54927         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54928         Use __open, __read, __close rather than their public counterparts.
54929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54930         (__get_clockfreq_via_cpuinfo): Likewise.
54931         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54932         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54934         * config.h.in (HAVE_IFUNC): New #undef.
54935         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54936         was successful.
54937         * configure: Regenerated.
54939 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54941         * configure.in: Move READELF check to start of file.
54942         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54943         libc_cv_asm_gnu_indirect_function in the process.
54944         * configure: Regenerated.
54946 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54948         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54949         send the output to /dev/null.
54950         (libc_cv_cc_with_libunwind): Likewise.
54951         (libc_cv_as_noexecstack): Likewise.
54952         * configure: Regenerate.
54954 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54956         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54958         * posix/globtest.sh (TMPDIR): Do not set.
54959         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54960         (testout): Likewise.
54962 2012-10-24  Andreas Jaeger  <aj@suse.de>
54964         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54965         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54966         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54967         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54968         posix_fadvise64, posix_fallocate64.
54970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54971         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54972         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54973         Likewise.
54974         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54975         Likewise.
54976         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54979         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54980         <bits/fcntl-linux.h>.
54981         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54984         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54985         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54986         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54987         [__WORDSIZE != 64]: Likewise.
54989 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54991         * Makeconfig (run-built-tests): New variable.
54992         * Rules [$(cross-compiling) = yes]: Change condition to
54993         [$(run-built-tests) = no].
54994         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54995         to [$(run-built-tests) = yes].
54996         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54997         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54998         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54999         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55000         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55001         * io/Makefile [$(cross-compiling) = no]: Likewise.
55002         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55003         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55004         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55005         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55006         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55007         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55008         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55009         * string/Makefile [$(cross-compiling) = no]: Likewise.
55011         * posix/Makefile ($(objpfx)globtest.out): Pass
55012         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55013         $(rtld-installed-name).
55014         * posix/globtest.sh (elf_objpfx): Remove variable.
55015         (rtld_installed_name): Likewise.
55016         (library_path): Likewise.
55017         (run_program_prefix): New variable.  Use for running globtest
55018         binary.
55020 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55021             Joseph Myers  <joseph@codesourcery.com>
55023         * Makeconfig (host-built-program-cmd): New variable.
55024         * elf/Makefile (tst-stackguard1-ARGS): Use
55025         $(host-built-program-cmd).
55026         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55027         (tst-spawn-ARGS): Likewise.
55028         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55030 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55031             Jim Blandy  <jimb@codesourcery.com>
55033         * Makeconfig (run-via-rtld-prefix): New variable.
55034         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55035         (built-program-cmd): Likewise.
55037 2012-10-22  Andreas Jaeger  <aj@suse.de>
55039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55040         __O_RSYNC if it exists, otherwise to O_SYNC.
55042 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55043             Joseph Myers  <joseph@codesourcery.com>
55045         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55046         /dev/null.
55047         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55048         from /dev/null
55049         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55050         /dev/null.
55052 2012-10-22  Andreas Jaeger  <aj@suse.de>
55054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55055         Define always.
55056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55059         bits/fcntl-linux.h.
55061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55062         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55065         to __O_LARGEFILE.
55066         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55067         to __O_LARGEFILE.
55069 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55070             Joseph Myers  <joseph@codesourcery.com>
55072         * config.make.in (NM): New variable.
55074 2012-10-21  Andreas Jaeger  <aj@suse.de>
55076         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55077         definitions and declarations that are provided by
55078         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55080 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55082         [BZ #14683]
55083         * elf/Makefile (tests-static): Add tst-leaks1-static.
55084         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55085         ($(objpfx)tst-leaks1-static): New rule.
55086         ($(objpfx)tst-leaks1-static-mem): Likewise.
55087         (tst-leaks1-static-ENV): New macro.
55088         * elf/dl-open.c (dl_open_worker): Check the main application
55089         only if SHARED is defined.
55090         * elf/tst-leaks1-static.c: New file.
55092 2012-10-20  Andreas Jaeger  <aj@suse.de>
55094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55095         generic values for Linux.
55096         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55097         and declarations that are provided by <bits/fcntl-linux.h> and
55098         include <bits/fcntl-linux.h>.
55099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55102 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55104         * io/fcntl.h: Move include of <bits/types.h> to the top and
55105         include it unconditionally.
55107 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55109         * wcsmbs/Makefile (tests-ifunc): New variable.
55110         (tests): Add $(tests-ifunc).
55111         * wcsmbs/test-wcschr-ifunc.c: New file.
55112         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55113         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55114         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55115         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55116         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55118         * string/Makefile (tests-ifunc): New variable.
55119         (tests): Add $(tests-ifunc).
55120         * string/test-memccpy.c (TEST_NAME): New macro.
55121         * string/test-memchr.c (TEST_NAME): Likewise.
55122         * string/test-memcmp.c (TEST_NAME): Likewise.
55123         * string/test-memcpy.c (TEST_NAME): Likewise.
55124         * string/test-memmem.c (TEST_NAME): Likewise.
55125         * string/test-memmove.c (TEST_NAME): Likewise.
55126         * string/test-memset.c (TEST_NAME): Likewise.
55127         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55128         * string/test-stpcpy.c (TEST_NAME): Likewise.
55129         * string/test-stpncpy.c (TEST_NAME): Likewise.
55130         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55131         * string/test-strcasestr.c (TEST_NAME): Likewise.
55132         * string/test-strcat.c (TEST_NAME): Likewise.
55133         * string/test-strchr.c (TEST_NAME): Likewise.
55134         * string/test-strcmp.c(TEST_NAME): Likewise.
55135         * string/test-strcpy.c (TEST_NAME): Likewise.
55136         * string/test-strcspn.c (TEST_NAME): Likewise.
55137         * string/test-strlen.c (TEST_NAME): Likewise.
55138         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55139         * string/test-strncmp.c (TEST_NAME): Likewise.
55140         * string/test-strncpy.c (TEST_NAME): Likewise.
55141         * string/test-strnlen.c (TEST_NAME): Likewise.
55142         * string/test-strpbrk.c (TEST_NAME): Likewise.
55143         * string/test-strrchr.c (TEST_NAME): Likewise.
55144         * string/test-strspn.c (TEST_NAME): Likewise.
55145         * string/test-strstr.c (TEST_NAME): Likewise.
55146         * string/test-bcopy-ifunc.c: New file.
55147         * string/test-bzero-ifunc.c: Likewise.
55148         * string/test-memccpy-ifunc.c: Likewise.
55149         * string/test-memchr-ifunc.c: Likewise.
55150         * string/test-memcmp-ifunc.c: Likewise.
55151         * string/test-memcpy-ifunc.c: Likewise.
55152         * string/test-memmem-ifunc.c: Likewise.
55153         * string/test-memmove-ifunc.c: Likewise.
55154         * string/test-mempcpy-ifunc.c: Likewise.
55155         * string/test-memset-ifunc.c: Likewise.
55156         * string/test-rawmemchr-ifunc.c: Likewise.
55157         * string/test-stpcpy-ifunc.c: Likewise.
55158         * string/test-stpncpy-ifunc.c: Likewise.
55159         * string/test-strcasecmp-ifunc.c: Likewise.
55160         * string/test-strcasestr-ifunc.c: Likewise.
55161         * string/test-strcat-ifunc.c: Likewise.
55162         * string/test-strchr-ifunc.c: Likewise.
55163         * string/test-strchrnul-ifunc.c: Likewise.
55164         * string/test-strcmp-ifunc.c: Likewise.
55165         * string/test-strcpy-ifunc.c: Likewise.
55166         * string/test-strcspn-ifunc.c: Likewise.
55167         * string/test-strlen-ifunc.c: Likewise.
55168         * string/test-strncasecmp-ifunc.c: Likewise.
55169         * string/test-strncat-ifunc.c: Likewise.
55170         * string/test-strncmp-ifunc.c: Likewise.
55171         * string/test-strncpy-ifunc.c: Likewise.
55172         * string/test-strnlen-ifunc.c: Likewise.
55173         * string/test-strpbrk-ifunc.c: Likewise.
55174         * string/test-strrchr-ifunc.c: Likewise.
55175         * string/test-strspn-ifunc.c: Likewise.
55176         * string/test-strstr-ifunc.c: Likewise.
55178         * debug/Makefile (tests-ifunc): New variable.
55179         (tests): Add $(tests-ifunc).
55180         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55181         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55182         * debug/test-stpcpy_chk-ifunc.c: New file.
55183         * debug/test-strcpy_chk-ifunc.c: Likewise.
55185 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55187         [BZ #13601]
55188         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55189         header is not read in.
55191 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55193         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55194         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55195         directly.  Pass built executable to script as
55196         $(built-program-cmd).
55197         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55198         $testprogram without using LD_LIBRARY_PATH and $ldso.
55200         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55201         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55202         $(rtld-installed-name).
55203         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55204         (rtld_installed_name): Likewise.
55205         (library_path): Likewise.
55206         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55207         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55208         $(run-program-prefix) to tst-tables.sh.
55209         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55210         it to run tst-table-from and tst-table-to.
55211         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55212         Pass it to tst-table.sh.
55213         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55214         $(run-program-prefix) to tst-gettext.sh.
55215         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55216         tst-translit.sh.
55217         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55218         tst-gettext2.sh.
55219         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55220         to run tst-gettext.
55221         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55222         to run tst-gettext2.
55223         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55224         to run tst-translit.
55225         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55226         $(run-program-prefix) to tst-mtrace.sh.
55227         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55228         to run tst-mtrace.
55229         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55230         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55231         $(rtld-installed-name).
55232         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55233         (rtld_installed_name): Likewise.
55234         (run_program_prefix): New variable.  Use it to run wordexp-test.
55236         * Makeconfig (ARCH): Remove all definitions.
55237         (machine): Likewise.
55238         [ARCH]: Remove conditional code.
55239         [!objdir]: Give error.
55240         [!objdir] (objpfx): Remove.
55241         [!objdir] (common-objpfx): Likewise.
55242         [!objdir] (common-objdir): Likewise.
55243         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55244         AC_CONFIG_FILES call.
55245         * configure: Regenerated.
55247         [BZ #13888]
55248         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55249         or TMPDIR.
55250         (testout): Likewise.
55252         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55253         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55254         $(rtld-installed-name).
55255         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55256         (rtld_installed_name): Likwise.
55257         (runit): Remove function.
55258         (run_getconf): New variable,  Use it for running getconf binary.
55260 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55262         [BZ #14716]
55263         * string/test-memmem.c (check_result): New function.
55264         (do_one_test): Use it.
55265         (check1): New function.
55266         (test_main): Use it.
55268 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55270         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55272 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55274         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55275         (_G_LSEEK64): Likewise.
55276         (_G_MMAP64): Likewise.
55277         (_G_FSTAT64): Likewise.
55278         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55279         (_G_LSEEK64): Likewise.
55280         (_G_MMAP64): Likewise.
55281         (_G_FSTAT64): Likewise.
55282         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55283         unconditional.  Call __mmap64 directly.
55284         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55285         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55286         __lseek64 directly.
55287         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55288         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55289         __mmap64 directly.
55290         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55291         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55292         __lseek64 directly.
55293         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55294         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55295         __lseek64 directly.
55296         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55297         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55298         __lseek64 directly.
55299         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55300         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55301         __fxstat64 directly.
55302         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55303         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55304         unconditional.
55305         (freopen64) [!_G_OPEN64]: Remove conditional code.
55306         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55307         unconditional.
55308         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55309         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55310         unconditional.
55311         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55312         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55313         unconditional.
55314         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55315         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55316         unconditional.
55317         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55318         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55319         unconditional.
55320         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55321         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55322         unconditional.
55323         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55324         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55325         unconditional.
55326         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55328 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55330         [BZ #12140]
55331         * manual/memory.texi (Malloc Tunable Parameters): Add note
55332         about free list pointers overwriting some perturb bytes.
55333         Wording suggested by Roland McGrath.
55335 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55337         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55338         (lgamma_test): Likewise.
55339         (tgamma_test): Likewise.
55341 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55343         [BZ #14700]
55344         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55345         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55347 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55349         * NEWS: Mention BZ #14716.
55350         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55351         when removing AVAILABLE1_USES_J macro.
55353 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55355         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55356         (__bswap_64): __uint64_t for unsigned 64-bit int.
55358 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55360         * include/string.h (memmem): Declare libc hidden alias.
55361         * string/memmem.c (memmem): Define libc hidden alias.
55362         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55363         __read, __close instead of open, read, close.
55365 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55368         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55369         global and hidden.
55370         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55371         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55372         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55373         Likewise.
55374         (__rawmemchr_sse2): Likewise.
55375         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55376         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55377         (__strchr_sse2): Likewise.
55378         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55379         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55380         (__strcasecmp_sse2): Likewise.
55381         (__strncasecmp_sse2): Likewise.
55382         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55383         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55384         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55385         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55386         (__strrchr_sse2): Likewise.
55387         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55388         ifunc-impl-list.c.
55389         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55390         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55391         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55392         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55393         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55394         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55395         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55396         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55397         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55398         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55399         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55400         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55401         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55402         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55403         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55404         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55405         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55406         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55407         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55408         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55409         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55410         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55411         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55412         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55413         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55414         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55415         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55416         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55417         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55418         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55420         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55421         global and hidden.
55422         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55423         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55424         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55425         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55426         Likewise.
55427         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55428         Likewise.
55429         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55430         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55431         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55432         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55433         ifunc-impl-list.c.
55434         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55435         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55436         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55437         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55438         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55439         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55440         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55441         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55442         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55443         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55444         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55445         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55446         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55447         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55448         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55450         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55451         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55452         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55453         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55454         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55455         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55456         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55457         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55458         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55459         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55460         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55461         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55462         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55463         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55464         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55465         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55466         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55467         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55468         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55469         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55470         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55471         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55472         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55473         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55474         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55476         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55477         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55478         * include/ifunc-impl-list.h: New file.
55479         * misc/ifunc-impl-list.c: Likewise.
55480         * misc/Makefile (routines): Add ifunc-impl-list.
55481         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55482         * string/test-string.h: Include <ifunc-impl-list.h>.
55483         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55484         TEST_NAME]: New variables.
55485         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55486         are defined.
55487         (test_init): Call __libc_ifunc_impl_list to initialize
55488         func_list if TEST_IFUNC and TEST_NAME are defined.
55490         * string/Makefile (strop-tests): Add bcopy and bzero.
55491         * string/test-bcopy.c: New file.
55492         * string/test-bzero.c: Likewise.
55493         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55494         defined.
55495         * string/test-memset.c: Support bzero test if TEST_BZERO is
55496         defined.
55497         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55498         __libc_memmove.
55499         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55500         __libc_memset.
55501         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55502         of memset.
55504 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55506         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55507         * configure: Regenerated.
55509         * Makeconfig (+link-static-before-libc): Don't include
55510         $(link-static-libc).
55512         * libio/libio.h (_IO_pos_t): Remove.
55514 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55516         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55517         McGrath.
55519 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55521         * crypt/crypt-entry.c: Include fips-private.h.
55522         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55523         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55524         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55525         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55527 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55529         * crypt/crypt-private.h: Include stdbool.h.
55530         (_ufc_setup_salt_r): Return bool.
55531         * crypt/crypt-entry.c: Include errno.h.
55532         (__crypt_r): Return NULL with EINVAL for bad salt.
55533         * crypt/crypt_util.c (bad_for_salt): New.
55534         (_ufc_setup_salt_r): Check that salt is long enough and within
55535         the specified alphabet.
55536         * crypt/badsalttest.c: New file.
55537         * crypt/Makefile (tests): Add it.
55538         ($(objpfx)badsalttest): New.
55540 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55542         * NEWS: Add entry for BZ #14602.
55544 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55546         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55547         type-generic.
55548         * math/libm-test.inc: Update comment listing what functions and
55549         macros are tested.
55550         (isgreater_test): New function.
55551         (isgreaterequal_test): Likewise.
55552         (isless_test): Likewise.
55553         (islessequal_test): Likewise.
55554         (islessgreater_test): Likewise.
55555         (isunordered_test): Likewise.
55556         (main): Call the new functions.
55558 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55560         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55561         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55562         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55563         * sysdeps/i386/configure: Regenerated.
55564         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55565         * sysdeps/mach/configure: Regenerated.
55566         * sysdeps/mach/hurd/configure: Regenerated.
55567         * sysdeps/powerpc/configure: Regenerated.
55568         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55569         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55570         * sysdeps/s390/s390-32/configure: Regenerated.
55571         * sysdeps/s390/s390-64/configure: Regenerated.
55572         * sysdeps/sh/configure: Regenerated.
55573         * sysdeps/sparc/configure: Regenerated.
55574         * sysdeps/unix/sysv/linux/configure: Regenerated.
55575         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55576         * sysdeps/x86_64/configure: Regenerated.
55578         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55579         defined.  Don't check if MAP is NULL.
55581 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55583         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55584         (_G_stat64): Likewise.
55585         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55586         (_G_stat64): Likewise.
55587         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55588         instead of struct _G_stat64.
55589         * libio/fileops.c (mmap_remap_check): Likewise.
55590         (decide_maybe_mmap): Likewise.
55591         (_IO_new_file_seekoff): Likewise.
55592         (_IO_file_stat): Likewise.
55593         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55594         _G_off64_t.
55595         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55596         instead of struct _G_stat64.
55597         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55599 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55601         [BZ #14602]
55602         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55603         Replace with ...
55604         (CHECK_EOL): New macro.
55605         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55606         CHECK_EOL.
55607         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55608         Replace with CHECK_EOL.
55609         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55610         Replace with CHECK_EOL.
55612 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55614         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55615         type-generic.
55616         * math/libm-test.inc: Update comment listing what functions and
55617         macros are tested.
55618         (finite_test): New function.
55619         (isinf_test): Likewise.
55620         (isnan_test): Likewise.
55621         (fpclassify_test): Test subnormal input.
55622         (isfinite_test): Likewise.
55623         (isnormal_test): Likewise.
55624         (main): Call the new functions.
55626 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55628         [BZ #14660]
55629         * Makerules (%.dynsym): Force C locale when running
55630         $(OBJDUMP) --dynamic-syms.
55632 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55634         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55635         <stdint.h>.
55637 2012-10-06  David S. Miller  <davem@davemloft.net>
55639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55640         upper 32-bits of the length value in %o2 since we use branch-on-register
55641         tests which consider the entire 64-bit register.
55643 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55645         * string/test-strstr.c (check2): Add a test for page boundary.
55647 2012-10-05  David S. Miller  <davem@davemloft.net>
55649         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55650         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55651         file.
55652         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55653         sysdep_routines.
55654         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55655         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55656         and bzero when HWCAP_SPARC_CRYPTO is present.
55658 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55660         [BZ #14602]
55661         * string/test-strstr.c (check2): New function.
55662         (test_main): Call check2.
55664         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55665         and bug-strchr1.
55666         * string/bug-strcasestr1.c (do_test): Moved to ...
55667         * string/test-strcasestr.c (check1): Here.  New function.
55668         (do_one_test): Break out result checking code into ...
55669         (check_result): This.  New function.
55670         (do_one_test): Call check_result.
55671         (test_main): Call check1.
55672         * string/bug-strchr1.c (do_test): Moved to ...
55673         * string/test-strchr.c (check1): Here.  New function.
55674         (do_one_test): Break out result checking code into ...
55675         (check_result): This.  New function.
55676         (do_one_test): Call check_result.
55677         (test_main): Call check1.
55678         * string/bug-strstr1.c (main): Moved to ...
55679         * string/test-strstr.c (check1): Here.  New function.
55680         (do_one_test): Break out result checking code into ...
55681         (check_result): This.  New function.
55682         (do_one_test): Call check_result.
55683         (test_main): Call check1.
55684         * string/bug-strcasestr1.c: Removed.
55685         * string/bug-strchr1.c: Likewise.
55686         * string/bug-strstr1.c: Likewise.
55688         * elf/Makefile (dl-routines): Add hwcaps.
55689         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55690         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55691         (_dl_important_hwcaps): Moved to ...
55692         * elf/dl-hwcaps.c: Here.  New file.
55693         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55695         [BZ #14557]
55696         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55697         if IS_IN_rtld isn't defined.
55699         * elf/dl-support.c (_dl_sysinfo_map): New.
55700         Include "get-dynamic-info.h" and "setup-vdso.h".
55701         (_dl_non_dynamic_init): Call setup_vdso.
55702         * elf/dynamic-link.h: Don't include <assert.h>.
55703         (elf_get_dynamic_info): Moved to ...
55704         * elf/get-dynamic-info.h: Here.  New file.
55705         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55706         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55707         * elf/setup-vdso.h: Here.  New file.
55708         * elf/rtld.c: Include "setup-vdso.h".
55709         (dl_main): Call setup_vdso.
55711 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55713         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55714         creal in comment listing functions tested.  List finite, isinf,
55715         isnan, isless, islessequal, isgreater, isgreaterequal,
55716         islessgreater, isunordered, lgamma_r and pow10 as functions and
55717         macros not tested.  Mention which functions not tested are aliases
55718         for other functions.  Fix typo.  Note that signs of NaNs are not
55719         tested.
55721         * scripts/config.guess: Update from config.git.
55722         * scripts/config.sub: Likewise.
55724 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55726         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55727         * misc/madvise.c (madvise): Renamed to __madvise.
55728         Make madvise a weak alias.
55729         * include/sys/mman.h: Declare __madvise.
55730         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55731         * sysdeps/unix/syscalls.list
55732         (madvise): Make __madvise the strong name, and madvise a weak alias.
55733         * sysdeps/unix/sysv/linux/syscalls.list
55734         (madvise, mmap): Remove redundant entries.
55735         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55736         * malloc/malloc.c (mtrim): Likewise.
55737         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55739 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55741         * sysdeps/mach/hurd/dl-cache.c: File removed.
55742         * config.h.in (USE_LDCONFIG): New #undef.
55743         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55744         * configure: Regenerated.
55745         * elf/Makefile (dl-routines): Add dl-cache only under
55746         [$(use-ldconfig) = yes].
55747         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55748         cache on [USE_LDCONFIG].
55749         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55750         [USE_LDCONFIG].
55751         * elf/rtld.c (dl_main): Likewise.
55753 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55755         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55756         _SC_LEVEL4_CACHE_LINESIZE.
55758 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55760         * sysdeps/unix/bsd/confstr.h: File removed.
55762 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55764         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55765         sys/sdt-config.h.
55767 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55769         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55770         Make 'mapoff' field ElfW(Off) rather than off_t.
55772 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55774         * nscd/Makefile: Remove nscd-cflags and all its users.
55775         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55776         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55778         [BZ #10631]
55779         * malloc.c (malloc_printerr): Clarify error message.
55781 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55783         [BZ #14648]
55784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55785         Set bit_FMA_Usable if FMA is supported.
55786         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55787         macro.
55788         (bit_FMA4_Usable): Updated.
55789         (index_FMA_Usable): New macro.
55790         (CPUID_FMA): Likewise.
55791         (HAS_FMA): Defined with bit_FMA_Usable.
55793 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55795         * bits/types.h (__swblk_t): Type removed.
55796         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55797         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55798         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55799         (__SWBLK_T_TYPE): Likewise.
55800         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55801         (__SWBLK_T_TYPE): Likewise.
55802         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55803         (__SWBLK_T_TYPE): Likewise.
55804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55805         (__SWBLK_T_TYPE): Likewise.
55807 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55808             Honza Horak <hhorak@redhat.com>
55810         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55811         (xdr_mapname): Use YPMAXMAP as maxsize.
55812         (xdr_peername): Use YPMAXPEER as maxsize.
55813         (xdr_keydat): Use YPAXRECORD as maxsize.
55814         (xdr_valdat): Use YPMAXRECORD as maxsize.
55816 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55818         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55820         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55821         * csu/init-first.c: ... here.
55822         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55823         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55824         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55825         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55826         * sysdeps/i386/init-first.c: File removed.
55827         * sysdeps/sh/init-first.c: File removed.
55829 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55831         [BZ #14645]
55832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55833         if x * y might underflow to zero and z is zero.
55834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55835         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55836         * math/libm-test.inc (min_subnorm_value): New variable.
55837         (fma_test): Add more tests.
55838         (fma_test_towardzero): Likewise.
55839         (fma_test_downward): Likewise.
55840         (fma_test_upward): Likewise.
55841         (initialize): Set min_subnorm_value.
55843 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55845         [BZ #14638]
55846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55847         0 + 0.
55848         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55849         mode for addition resulting in exact zero.
55850         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55852         exact 0 + 0.
55853         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55855         * math/libm-test.inc (fma_test): Add more tests.
55856         (fma_test_towardzero): New function.
55857         (fma_test_downward): Likewise.
55858         (fma_test_upward): Likewise.
55859         (main): Call the new functions.
55861 2012-09-28  David S. Miller  <davem@davemloft.net>
55863         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55865 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55867         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55868         instead of SIGALRM.
55870         * sysdeps/gnu/_G_config.h: Moved to ...
55871         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55872         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55873         * sysdeps/generic/_G_config.h: ... here.
55875         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55877         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55879         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55880         Conditionalize target on [libnss_test1.so-version].
55882         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55884         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55885         (elfobjdir): Move out of conditionals.
55887         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55888         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55889         (__nss_lookup_function): Conditionalize label remove_from_tree on
55890         [!DO_STATIC_NSS || SHARED], matching its only use.
55892 2012-09-28  David S. Miller  <davem@davemloft.net>
55894         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55895         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55896         file.
55897         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55898         sysdep_routines.
55899         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55901         when HWCAP_SPARC_CRYPTO is present.
55903 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55905         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55907 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55909         [BZ #6530]
55910         * stdio-common/vfprintf.c (process_string_arg): Revert
55911         2000-07-22 change.
55913 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55915         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55916         for testcase.
55917         * stdio-common/tst-sprintf.c: Include <locale.h>
55918         (main): Test sprintf's handling of incomplete multibyte
55919         characters.
55921 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55923         * elf/dl-runtime.c (VERSYMIDX): Removed.
55924         * elf/dl-version.c (VERSYMIDX): Likewise.
55925         * elf/do-rel.h (VERSYMIDX): Likewise.
55926         (VALIDX): Likewise.
55927         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55928         * elf/rtld.c (VALIDX): Likewise.
55929         (ADDRIDX): Likewise.
55930         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55931         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55932         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55933         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55934         (VALIDX): Likewise.
55935         (ADDRIDX): Likewise.
55937 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55939         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55941 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55943         [BZ #11438]
55944         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55945         to global scope.
55946         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55947         addresses are in the same scope as 192.0.2/24.
55948         * posix/gai.conf: Document new scope table defaults.
55950 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55952         [BZ #5298]
55953         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55954         for ftell.  Compute offsets from write pointers instead.
55955         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55957 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55959         [BZ #14543]
55960         * libio/Makefile (tests): New test case tst-fseek.
55961         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55962         combination works in wide mode.
55963         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55964         state when the external buffer state changes.
55966 2012-09-27  David S. Miller  <davem@davemloft.net>
55968         [BZ #14376]
55969         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55970         pass reloc->r_addend in as the 'high' argument to
55971         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55975 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55977         * rt/tst-aio2.c: Include <pthread.h>.
55978         * rt/tst-aio3.c: Likewise.
55980 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55982         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55984 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55986         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55987         contents on [SHARED].
55989 2012-09-26  Marek Polacek  <polacek@redhat.com>
55991         [BZ #14530]
55992         [BZ #13741]
55993         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55994         for C++ and GCC <4.3 as well as for non GCC compilers.
55996 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56000 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56002         * Makefile.in (all, install): Declare with .PHONY.
56003         Reported by Michael Hope <michael.hope@linaro.org>.
56005 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56007         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56008         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56009         system header.
56010         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56011         Likewise.
56012         (sydep_routines): Add the new and the internal functions.
56013         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56014         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56016         (GLIBC_2.17): Add the new function.
56017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56018         (GLIBC_2.17): Likewise.
56019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56020         (GLIBC_2.17): Likewise.
56021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56022         (GLIBC_2.17): Likewise.
56023         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56025 2012-09-25  Alan Modra  <amodra@gmail.com>
56027         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56028         Add release barrier before setting once_control to say
56029         initialisation is done.  Add hints on lwarx.  Use macro in
56030         place of isync.
56031         (clear_once_control): Add release barrier.
56033 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56035         [BZ #13629]
56036         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56037         specially.
56038         * math/s_clog10.c (__clog10): Likewise.
56039         * math/s_clog10f.c (__clog10f): Likewise.
56040         * math/s_clog10l.c (__clog10l): Likewise.
56041         * math/s_clogf.c (__clogf): Likewise.
56042         * math/s_clogl.c (__clogl): Likewise.
56043         * math/Makefile (libm-calls): Add x2y2m1.
56044         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56045         (__x2y2m1): Likewise.
56046         (__x2y2m1l): Likewise.
56047         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56048         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56049         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56050         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56051         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56052         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56053         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56054         * sysdeps/i386/fpu/libm-test-ulps: Update.
56055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56057         [BZ #14621]
56058         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56059         int as type of variable DEPTH.
56060         (glob): Use size_t instead of int as type of variables NEWCOUNT
56061         and OLD_PATHC.
56063 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56065         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56066         Add s_sincosf-sse2.
56067         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56068         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56069         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56070         macros for using routine as __sincosf_ia32.
56071         Use macro for function declaration and weak_alias.
56072         * sysdeps/i386/fpu/libm-test-ulps: Update.
56074         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56077         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56078         subnormal argument.
56079         * math/s_cexpf.c (__cexpf): Likewise.
56080         * math/s_csinf.c (__csinf): Likewise.
56081         * math/s_csinhf.c (__csinhf): Likewise.
56082         * math/s_ctanf.c (__ctanf): Likewise.
56083         * math/s_ctanhf.c (__ctanhf): Likewise.
56084         * math/s_ccosh.c (__ccoshf): Likewise.
56085         * math/s_cexp.c (__cexpl): Likewise.
56086         * math/s_csin.c (__csin): Likewise.
56087         * math/s_csinh.c (__csinh): Likewise.
56088         * math/s_ctan.c (__ctan): Likewise.
56089         * math/s_ctanh.c (ctanh): Likewise.
56090         * math/s_ccoshl.c (__ccoshl): Likewise.
56091         * math/s_cexpl.c (__cexpl): Likewise.
56092         * math/s_csinl.c (__csinl): Likewise.
56093         * math/s_csinhl.c (__csinhl): Likewise.
56094         * math/s_ctanl.c (__ctanl): Likewise.
56095         * math/s_ctanhl.c (__ctanhl): Likewise.
56097 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56099         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56100         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56101         (_IO_off_t): Define to __off_t, not _G_off_t.
56102         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56103         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56104         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56105         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56106         type of __dummy and __dummy2 fields.
56107         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56108         (_G_ssize_t): Likewise.
56109         (_G_off_t): Likewise.
56110         (_G_pid_t): Likewise.
56111         (_G_uid_t): Likewise.
56112         (_G_wchar_t): Likewise.
56113         (_G_wint_t): Likewise.
56114         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56115         (_G_ssize_t): Likewise.
56116         (_G_off_t): Likewise.
56117         (_G_pid_t): Likewise.
56118         (_G_uid_t): Likewise.
56119         (_G_wchar_t): Likewise.
56120         (_G_wint_t): Likewise.
56121         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56122         (_G_ssize_t): Likewise.
56123         (_G_off_t): Likewise.
56124         (_G_pid_t): Likewise.
56125         (_G_uid_t): Likewise.
56126         (_G_wchar_t): Likewise.
56127         (_G_wint_t): Likewise.
56129 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56131         * malloc/arena.c: Include malloc-sysdep.h.
56132         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56133         is sufficient to shrink the heap or an unmap is needed.
56134         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56135         new function check_may_shrink_heap.
56136         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56137         new function check_may_shrink_heap.
56139 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56141         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56142         comments.
56144 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56146         * catgets/test-gencat.sh: Add "set -e".
56147         * elf/tst-pathopt.sh: Likewise.
56148         * grp/tst_fgetgrent.sh: Likewise.
56149         * iconvdata/run-iconv-test.sh: Likewise.
56150         * intl/tst-gettext.sh: Likewise.
56151         * intl/tst-gettext2.sh: Likewise.
56152         * intl/tst-gettext4.sh: Likewise.
56153         * intl/tst-gettext6.sh: Likewise.
56154         * intl/tst-translit.sh: Likewise.
56155         * io/ftwtest-sh: Likewise.
56156         * libio/test-freopen.sh: Likewise.
56157         * malloc/tst-mtrace.sh: Likewise.
56158         * posix/globtest.sh: Likewise.
56159         * posix/tst-getconf.sh: Likewise.
56160         * posix/wordexp-tst.sh: Likewise.
56161         * stdio-common/tst-printf.sh: Likewise.
56162         * stdio-common/tst-unbputc.sh: Likewise.
56163         * stdlib/tst-fmtmsg.sh: Likewise.
56164         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56165         * catgets/Makefile: Do not specify -e option when running
56166         testsuite shell scripts.
56167         * elf/Makefile: Likewise.
56168         * grp/Makefile: Likewise.
56169         * iconvdata/Makefile: Likewise.
56170         * intl/Makefile: Likewise.
56171         * io/Makefile: Likewise.
56172         * libio/Makefile: Likewise.
56173         * malloc/Makefile: Likewise.
56174         * posix/Makefile: Likewise.
56175         * stdio-common/Makefile: Likewise.
56176         * stdlib/Makefile: Likewise.
56177         * sysdeps/x86_64/Makefile: Likewise.
56179         * io/ftwtest-sh: Add copyright header.
56180         * posix/globtest.sh: Likewise.
56181         * posix/tst-getconf.sh: Likewise.
56182         * posix/wordexp-tst.sh: Likewise.
56183         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56185 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56187         [BZ #13679]
56188         * Makeconfig (+link): Defined as $(+link-static) if
56189         $(build-shared) isn't yes.
56190         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56191         isn't yes.
56192         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56194         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56196         [BZ #14562]
56197         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56198         new chunk size with MALLOC_ALIGN_MASK.
56200 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56202         [BZ #5044]
56203         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56204         <rounding-mode.h>.
56205         (__printf_fphex): Determine rounding using get_rounding_mode and
56206         round_away.
56207         * stdio-common/tst-printf-round.c (struct hex_test): New
56208         structure.
56209         (hex_tests): New variable.
56210         (test_hex_in_one_mode): New function.
56211         (do_test): Also run tests for hex float output.
56213 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56215         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56216         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56217         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56218         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56219         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56220         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56221         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56222         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56224 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56226         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56227         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56228         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56229         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56231 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56233         [BZ #14579]
56234         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56235         mode only.
56236         * elf/tst-rtld-load-self.sh: New test.
56237         * elf/Makefile: Run it.
56239 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56241         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56242         (tst-writev-ENV): Remove.
56243         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56245 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56247         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56249 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56251         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56252         unconditional.
56253         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56254         Likewise.
56255         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56256         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56257         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56258         Likewise.
56260 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56262         [BZ #14587]
56263         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56264         * config.make.in (have-cpp-asm-debuginfo): Removed.
56265         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56266         * configure: Regenerated.
56268 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56270         [BZ #5044]
56271         * stdio-common/printf_fp.c: Include <stdbool.h> and
56272         <rounding-mode.h>.
56273         (___printf_fp): Determine rounding using get_rounding_mode and
56274         round_away.
56275         * stdio-common/tst-printf-round.c: New file.
56276         * stdio-common/Makefile (tests): Add tst-printf-round.
56277         (link-libm): New variable.
56278         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56280 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56282         [BZ #14576]
56283         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56284         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56285         Likewise.
56286         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56287         Likewise.
56289 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56291         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56292         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56293         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56294         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56296 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56298         [BZ #14518]
56299         * include/rounding-mode.h: New file.
56300         * sysdeps/generic/get-rounding-mode.h: Likewise.
56301         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56302         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56303         (MAX_VALUE): New macro.
56304         (MIN_VALUE): Likewise.
56305         (overflow_value): New function.
56306         (underflow_value): Likewise.
56307         (round_and_return): Use overflow_value and underflow_value to
56308         determine return values in overflow and underflow cases.  Use
56309         round_away to determine rounding depending on rounding mode.
56310         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56311         determine return values in overflow and underflow cases.
56312         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56313         (struct test_results): New structure.
56314         (struct test): Use struct test_results to store expected results
56315         for all rounding modes.
56316         (TEST): Include expected results for all rounding modes.
56317         (test_in_one_mode): New function.
56318         (do_test): Use test_in_one_mode to compute and check results.
56319         Check results for all rounding modes.
56320         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56321         $(link-libm).
56323 2012-12-09  Allan McRae  <allan@archlinux.org>
56325         * sysdeps/i386/fpu/libm-test-ulps: Update
56327 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56329         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56330         (_G_int32_t): Likewise.
56331         (_G_uint16_t): Likewise.
56332         (_G_uint32_t): Likewise.
56333         (_G_HAVE_BOOL): Likewise.
56334         (_G_HAVE_ATEXIT): Likewise.
56335         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56336         (_G_HAVE_IO_FILE_OPEN): Likewise.
56337         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56338         (_G_int32_t): Likewise.
56339         (_G_uint16_t): Likewise.
56340         (_G_uint32_t): Likewise.
56341         (_G_HAVE_BOOL): Likewise.
56342         (_G_HAVE_ATEXIT): Likewise.
56343         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56344         (_G_HAVE_IO_FILE_OPEN): Likewise.
56345         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56346         (_G_int32_t): Likewise.
56347         (_G_uint16_t): Likewise.
56348         (_G_uint32_t): Likewise.
56349         (_G_HAVE_BOOL): Likewise.
56350         (_G_HAVE_ATEXIT): Likewise.
56351         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56352         (_G_HAVE_IO_FILE_OPEN): Likewise.
56354 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56356         * csu/libc-tls.c: Update copyright years.
56358 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56360         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56361         [!_G_USING_THUNKS]: Remove conditional code.
56362         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56363         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56365         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56366         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56367         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56368         (_G_VTABLE_LABEL_PREFIX): Likewise.
56369         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56370         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56371         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56372         (_G_VTABLE_LABEL_PREFIX): Likewise.
56373         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56374         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56375         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56376         (_G_VTABLE_LABEL_PREFIX): Likewise.
56377         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56379 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56381         * libio/Makefile: Include ../Makeconfig before tests.
56382         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56383         only if $(build-shared) is yes.
56385         * iconv/gconv_db.c: Update copyright years.
56387 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56389         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56390         unwind info if defined PIC. Fix special cases description.
56391         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56393         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56394         DP_HI_MASK entry.
56395         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56397 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56399         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56401         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56402         is NULL.
56404         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56405         (LDLIBS-tst-chk4): This.
56406         (LDFLAGS-tst-chk5): Renamed to ...
56407         (LDLIBS-tst-chk5): This.
56408         (LDFLAGS-tst-chk6): Renamed to ...
56409         (LDLIBS-tst-chk6): This.
56410         (LDFLAGS-tst-lfschk4): Renamed to ...
56411         (LDLIBS-tst-lfschk4): This.
56412         (LDFLAGS-tst-lfschk5): Renamed to ...
56413         (LDLIBS-tst-lfschk5): This.
56414         (LDFLAGS-tst-lfschk6): Renamed to ...
56415         (LDLIBS-tst-lfschk6): This.
56417         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56418         on $(common-objpfx)soversions.mk.
56420 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56422         [BZ #10014]
56423         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56424         example host name.
56426 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56428         * malloc/arena.c (arena_get_retry): New function that gets
56429         another arena for the caller to try its request on.
56430         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56431         current arena cannot fulfill the request.
56432         (__libc_memalign): Likewise.
56433         (__libc_memalign): Likewise.
56434         (__libc_pvalloc): Likewise.
56435         (__libc_calloc): Likewise.
56437 2012-09-05  John Tobey  <john.tobey@gmail.com>
56439         [BZ #13542]
56440         * manual/arith.texi (Operations on Complex): Fix description
56441         of carg branch cut.
56443 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56445         [BZ #10014]
56446         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56447         host name.
56449         [BZ #10038]
56450         * manual/memory.texi (Memory): Make order of menu items match
56451         order of sections.
56453 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56455         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56456         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56457         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56459 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56461         * csu/libc-tls.c (static_dtv): Renamed to ...
56462         (_dl_static_dtv): This.  Make it global.
56463         (_dl_initial_dtv): Removed.
56464         (__libc_setup_tls): Updated.
56465         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56466         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56467         DL_INITIAL_DTV.
56469 2012-09-06  Petr Machata  <pmachata@redhat.com>
56471         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56472         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56473         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56474         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56476 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56478         [BZ #14545]
56479         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56480         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56481         freeing dtv[-1].
56483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56485         [BZ #14544]
56486         * Makeconfig (link-static-before-libc): Replace $(+prector)
56487         with $(+prectorT).
56488         (link-static-after-libc): Replace $(+postctor) with
56489         $(+postctorT).
56490         (link-bounded): Replace $(+prector)/$(+postctor) with
56491         $(+prectorT)/$(+postctorT).
56492         (+prectorT): New macro.
56493         (+postctorT): Likewise.
56495 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56497         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56498         (round_str): Handle values above the maximum for IBM long double
56499         as inexact.
56500         * stdlib/tst-strtod-round.c (tests): Regenerated.
56502 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56504         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56505         assembler flag.
56506         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56507         zarch_nohighgprs around the zarch optimized routines.
56508         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56509         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56510         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56511         for zarch.
56513 2012-09-05  David S. Miller  <davem@davemloft.net>
56515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56517         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56518         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56519         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56520         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56521         entries.
56523 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56525         * malloc/arena.c: Fold copyright years.
56526         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56528 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56530         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56532 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56534         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56536 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56538         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56539         change internal state upon failure.
56541 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56543         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56544         * malloc/memusage.c (mmap): Likewise.
56545         (mmap64, mremap): Likewise.  Adjust name in comment.
56547 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56549         * libio/fileops.c: Fix typos in comments.
56550         * libio/oldfileops.c: Likewise.
56551         * libio/wfileops.c: Likewise.
56553 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56555         [BZ #1349]
56556         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56557         (tst-malloc-usable-ENV): Set environment for test case.
56558         * malloc/hooks.c (malloc_check_get_size): New function to get
56559         requested size.
56560         * malloc/malloc.c (musable): Use malloc_check_get_size.
56561         * malloc/tst-malloc-usable.c: New test case.
56563 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56565         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56567 2012-09-05  Allan McRae  <allan@archlinux.org>
56569         [BZ #13966]
56570         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56571         determine header location.
56572         * configure: Regenerated.
56574 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56576         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56577         float format.
56578         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56579         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56580         format.
56581         (test): Regenerate.
56583 2012-09-04  David S. Miller  <davem@davemloft.net>
56585         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56586         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56589 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56591         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56592         failures.
56594         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56596 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56598         [BZ #9914]
56599         * libio/iogetdelim.c: Include <limits.h>.
56600         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56601         + len + 1 would overflow.
56603 2012-09-03  Andreas Jaeger  <aj@suse.de>
56605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56606         * sysdeps/i386/fpu/libm-test-ulps: Update.
56608 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56610         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56611         Add s_sinf-sse2, s_conf-sse2.
56613         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56614         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56615         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56616         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56618         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56619         for using routine as __sinf_ia32.
56620         Use macro for function declaration and weak_alias.
56621         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56622         for using routine as __cosf_ia32.
56623         Use macro for function declaration and weak_alias.
56625         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56626         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56628         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56629         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56632         * math/libm-test.inc (cos_test): Add more test cases.
56633         (sin_test): Likewise.
56634         (sincos_test): Likewise.
56636 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56638         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56639         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56640         hidden.
56641         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56643 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56645         [BZ #14538]
56646         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56647         first element of the GOT.
56648         (elf_machine_load_address): Return the difference between
56649         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56651 2012-09-01  Allan McRae  <allan@archlinux.org>
56653         [BZ #13412]
56654         * configure.in (AWK): Require gawk version 3.0 or later.
56655         * configure: Regenerated.
56657 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56659         * sysdeps/unix/sysv/linux/kernel-features.h
56660         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56661         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56662         [__NR_clock_getres]: Make code unconditional.
56663         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56664         (clock_getcpuclockid): Remove code left unreachable by removal of
56665         conditionals.
56666         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56667         code unconditional.
56668         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56669         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56670         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56671         Make code unconditional.
56672         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56673         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56674         * sysdeps/unix/sysv/linux/clock_settime.c
56675         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56676         conditional code.
56677         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56678         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56680 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56682         [BZ #14476]
56683         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56684         scripts/test-installation.pl.
56686         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56687         and $ld_so_version if it is set.
56689 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56691         [BZ #14516]
56692         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56693         failure if reading from procfs failed.
56694         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56696 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56698         * sysdeps/unix/sysv/linux/kernel-features.h
56699         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56700         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56701         Remove conditional code.
56702         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56703         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56704         Remove conditional code.
56705         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56706         * sysdeps/unix/sysv/linux/i386/fxstat.c
56707         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56708         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56709         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56710         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56711         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56712         * sysdeps/unix/sysv/linux/i386/lxstat.c
56713         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56714         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56715         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56716         Remove conditional code.
56717         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56718         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56719         Remove conditional code.
56720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56721         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56722         <kernel-features.h>.
56723         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56724         Remove.
56725         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56726         Remove conditional code.
56727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56728         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56729         Remove conditional.
56731 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56733         [BZ #5400]
56734         * NEWS: Add fixed bug number.
56736 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56738         [BZ #14519]
56739         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56740         underflowing exponent in case of negative sign.
56741         * stdlib/tst-strtod-round-data: Add more tests.
56742         * stdlib/tst-strtod-round.c (tests): Regenerated.
56744         [BZ #3479]
56745         * stdlib/strtod_l.c (NDIG): Remove.
56746         (HEXNDIG): Likewise.
56747         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56748         smallest representable value.
56749         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56750         lie within an exact representation of 1/2 ulp of the result.
56751         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56752         unconditionally.
56753         (TENS_P9_IDX): Define unconditionally.
56754         (TENS_P9_SIZE): Likewise.
56755         (TENS_P10_IDX): Likewise.
56756         (TENS_P10_SIZE): Likewise.
56757         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56758         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56759         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56760         entries for 10^2^13 and 10^2^14.
56761         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56762         (TENS_P13_IDX): Define.
56763         (TENS_P13_SIZE): Likewise.
56764         (TENS_P14_IDX): Likewise.
56765         (TENS_P14_SIZE): Likewise.
56766         (_fpioconst_pow10): Change array size to
56767         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56768         unconditional.
56769         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56770         1024]: Add entries for 10^2^13 and 10^2^14.
56771         [LAST_POW10 > _LAST_POW10]: Remove #error.
56772         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56773         (_fpioconst_pow10): Change array size to
56774         FPIOCONST_POW10_ARRAY_SIZE.
56775         * stdlib/gen-fpioconst.c: New file.
56776         * stdlib/gen-tst-strtod-round.c: Likewise.
56777         * stdlib/tst-strtod-round-data: Likewise.
56778         * stdlib/tst-strtod-round.c: Likewise.
56779         * stdlib/Makefile (tests): Add tst-strtod-round.
56781         [BZ #14459]
56782         * stdlib/strtod_l.c: Include <stdint.h>.
56783         (NDEBUG): Do not define.
56784         (round_and_return): Change EXPONENT parameter to type intmax_t.
56785         Rearrange calculations to avoid internal overflow possibilities.
56786         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56787         Rearrange calculations to avoid internal overflow possibilities.
56788         Assert that number fits inside MPNSIZE limbs.
56789         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56790         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56791         calculations and add assertions to avoid internal overflow
56792         possibilities.  Add casts to avoid signed/unsigned operations.
56793         * stdlib/tst-strtod-overflow.c: New file.
56794         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56796 2012-08-25  Marek Polacek  <polacek@redhat.com>
56798         * time/time.h: Fix some typos in comments.
56800 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56802         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56803         * posix/tst-rfc3484-2.c: Likewise.
56804         * posix/tst-rfc3484-3.c: Likewise.
56806 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56808         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56809         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56811 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56813         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56814         #include of fxstatat64.c.
56816 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56818         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56819         * shadow/getspent_r.c: Likewise.
56820         * shadow/getspnam.c: Likewise.
56821         * shadow/getspnam_r.c: Likewise.
56822         * gshadow/getsgent.c: Likewise.
56823         * gshadow/getsgent_r.c: Likewise.
56824         * gshadow/getsgnam.c: Likewise.
56825         * gshadow/getsgnam_r.c: Likewise.
56826         * inet/getnetbyad.c: Likewise.
56827         * inet/getnetbyad_r.c: Likewise.
56828         * inet/getnetbynm.c: Likewise.
56829         * inet/getnetbynm_r.c: Likewise.
56830         * inet/getnetent.c: Likewise.
56831         * inet/getnetent_r.c: Likewise.
56832         * inet/getproto.c: Likewise.
56833         * inet/getproto_r.c: Likewise.
56834         * inet/getprtent.c: Likewise.
56835         * inet/getprtent_r.c: Likewise.
56836         * inet/getprtname.c: Likewise.
56837         * inet/getprtname_r.c: Likewise.
56838         * inet/getrpcbyname.c: Likewise.
56839         * inet/getrpcbyname_r.c: Likewise.
56840         * inet/getrpcbynumber.c: Likewise.
56841         * inet/getrpcbynumber_r.c: Likewise.
56842         * inet/getrpcent.c: Likewise.
56843         * inet/getrpcent_r.c: Likewise.
56844         * inet/getaliasent.c: Likewise.
56845         * inet/getaliasent_r.c: Likewise.
56846         * inet/getaliasname.c: Likewise.
56847         * inet/getaliasname_r.c: Likewise.
56848         * nscd/getgrgid_r.c: Likewise.
56849         * nscd/getgrnam_r.c: Likewise.
56850         * nscd/gethstbyad_r.c: Likewise.
56851         * nscd/gethstbynm3_r.c: Likewise.
56852         * nscd/getpwnam_r.c: Likewise.
56853         * nscd/getpwuid_r.c: Likewise.
56854         * nscd/getsrvbynm_r.c: Likewise.
56855         * nscd/getsrvbypt_r.c: Likewise.
56856         * nscd/gai.c: Likewise.
56858         * configure.in (build_nscd): New substituted variable, set
56859         by --disable-build-nscd and defaults to $use_nscd.
56860         * configure: Regenerated.
56861         * config.make.in (build-nscd): New substituted variable.
56862         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56863         Change conditional to require [$(build-nscd) = yes] as well.
56864         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56866         [BZ# 13696]
56867         * configure.in (use_nscd): New substituted variable, set by
56868         --disable-nscd.  If enabled, define USE_NSCD.
56869         * configure: Regenerated.
56870         * config.h.in: Add USE_NSCD.
56871         * config.make.in (use-nscd): New substituted variable.
56872         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56873         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56874         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56875         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56876         (CFLAGS-getgrnam_r.c): Likewise.
56877         (CFLAGS-initgroups.c): Likewise.
56878         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56879         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56880         Variables removed.
56881         * inet/getnetgrent_r.c
56882         (nscd_setnetgrent): New function, broken out of ...
56883         (setnetgrent): ... here.  Call it.
56884         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56885         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56886         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56887         * nscd/Makefile (routines, aux): Move definitions after include of
56888         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56889         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56890         Conditionalize on [USE_NSCD].
56891         (is_nscd, nscd_init_cb): Likewise.
56892         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56893         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56894         * nss/nss_db/db-init.c: Likewise.
56895         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56896         [USE_NSCD].
56897         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56898         (make_request): Use it.
56899         (cache_valid_p): New function.
56900         (__check_pf): Use it.
56901         * NEWS: Add item for --disable-nscd.
56903 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56905         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56906         to support sed >= 4.2.1-20-ga9bf076.
56907         * configure: Regenerated.
56909 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56911         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56912         Conditionalize whole body on [IREL].
56914 2012-08-22  Jeff Law <law@redhat.com>
56916         [BZ #14505]
56917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56918         if the family is PF_UNSPEC.
56920 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56922         * Makerules (lib-version): Rename from V.
56923         (install-lib-nosubdir): Change V to lib-version.
56925 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56927         [BZ #14252]
56928         * powerpc32/power6/wcschr.c: New file.
56929         * powerpc32/power6/wcscpy.c: New file.
56930         * powerpc32/power6/wcsrchr.c: New file.
56931         * powerpc64/power6/wcschr.c: New file.
56932         * powerpc64/power6/wcscpy.c: New file.
56933         * powerpc64/power6/wcsrchr.c: New file.
56935 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56937         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56938         (two_way_short_needle): Use it.
56939         * string/strstr.c (AVAILABLE1_USES_J): Define.
56940         * string/strcasestr.c: Likewise.
56942         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56943         array references.
56944         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56946         [BZ #11607]
56947         * NEWS: Add an entry.
56948         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56949         define their defaults.
56950         (two_way_short_needle): Detect end-of-string on-the-fly.
56951         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56952         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56953         * string/bug-strcasestr1.c: New test.
56954         * string/Makefile: Run it.
56956 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56958         [BZ #11607]
56959         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56960         the first character.
56962 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56964         * csu/elf-init.c (__libc_csu_irel): Function removed.
56965         * csu/libc-start.c (apply_irel): New function.
56966         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56968 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56970         * sysdeps/unix/sysv/linux/kernel-features.h
56971         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56972         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56973         <kernel-features.h>.
56974         [__NR_fadvise64_64]: Make code unconditional.
56975         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56976         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56977         !__NR_fadvise64_64)]: Likewise.
56978         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56979         !__NR_fadvise64_64))]: Likewise.
56980         [__NR_fadvise64]: Make code unconditional.
56981         [!__NR_fadvise64]: Remove conditional code.
56982         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56983         <kernel-features.h>.
56984         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56985         unconditional.
56986         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56987         conditional code.
56988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56989         not include <kernel-features.h>.
56990         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56991         unconditional.
56992         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56993         conditional code.
56994         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56995         include <kernel-features.h>.
56996         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56997         unconditional.
56998         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56999         conditional code.
57001 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57003         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57004         slight instruction rearrangements per scrollpipe analysis.
57005         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57007 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57009         * manual/syslog.texi (syslog; vsyslog, closelog):
57010         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57011         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57013         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57014         DSOCAPS to match condition on defining it.
57016 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57018         * sysdeps/unix/sysv/linux/kernel-features.h
57019         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57021         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57022         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57024         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57025         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57027         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57028         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57030         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57031         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57033         * sysdeps/unix/sysv/linux/kernel-features.h
57034         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57035         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57036         unconditional.
57037         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57038         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57039         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57040         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57041         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57042         Make code unconditional.
57043         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57044         (__mmap64) [!__NR_mmap2]: Likewise.
57045         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57046         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57047         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57048         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57049         [__NR_mmap2]: Make code unconditional.
57050         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57051         (__mmap64) [!__NR_mmap2]: Likewise.
57053 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57055         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57057 2012-08-18  Andreas Jaeger  <aj@suse.de>
57059         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57061 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57063         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57064         * include/unistd.h (__have_sock_cloexec): Likewise.
57065         (__have_pipe2): Likewise.
57066         (__have_dup3): Likewise.
57068 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57070         [BZ #9685]
57071         * include/unistd.h (__have_pipe2): Change define into an extern int.
57072         (__have_dup3): Likewise.
57073         * socket/have_sock_cloexec.c: Include fcntl.h.
57074         (__have_pipe2): New variable.
57075         (__have_dup3): Likewise.
57077 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57079         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57081 2012-08-17  Marek Polacek  <polacek@redhat.com>
57083         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57084         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57086 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57088         * configure.in: Add AC_SUBST for sysheaders.
57089         * configure: Regenerated.
57090         * config.make.in (sysheaders): New substituted variable.
57092         * sysdeps/unix/mkfifo.c: Moved ...
57093         * sysdeps/posix/mkfifo.c: ... here.
57094         * sysdeps/unix/mkfifoat.c: Moved ...
57095         * sysdeps/posix/mkfifoat.c: ... here.
57097         * sysdeps/unix/utime.c: Moved ...
57098         * sysdeps/posix/utime.c: ... here.
57100         * sysdeps/unix/time.c: Moved ...
57101         * sysdeps/posix/time.c: ... here.
57102         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57103         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57105         * sysdeps/unix/nice.c: Moved ...
57106         * sysdeps/posix/nice.c: ... here.
57108         * sysdeps/unix/alarm.c: Moved ...
57109         * sysdeps/posix/alarm.c: ... here.
57111         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57113 2012-08-17  Jeff Law <law@redhat.com>
57115         * intl/Makefile (codeset_mo): New variable.
57116         ($(codeset_mo)): New target.
57117         (tst-codeset.out): Depend on that.  Remove explicit rule.
57118         (tst-gettext3.out, tst-gettext5.out): Likewise.
57119         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57120         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57121         * intl/tst-codeset.sh: Remove.
57122         * intl/tst-gettext3.sh: Likewise.
57123         * intl/tst-gettext5.sh: Likewise.
57125 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57127         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57128         * sysdeps/unix/syscalls.list: ... here.
57130         * sysdeps/posix/getaddrinfo.c
57131         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57132         (gaiconf_init, gaiconf_reload): Use them.
57133         [!_STATBUF_ST_NSEC]
57134         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57135         Define using time_t rather than struct timespec.
57137         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57138         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57139         Macros removed.
57140         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57141         [!NO_THREADS].
57142         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57143         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57144         Likewise.
57146         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57147         __libc_cleanup_push argument.
57149         * bits/param.h: New file.
57150         * misc/sys/param.h: New file.
57151         * include/sys/param.h: New file.
57152         * misc/Makefile (headers): Add bits/param.h.
57153         * sysdeps/generic/sys/param.h: File removed.
57154         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57155         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57156         * sysdeps/mach/hurd/bits/param.h: New file.
57157         * sysdeps/mach/hurd/sys/param.h: File removed.
57159         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57160         last change.
57162         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57163         [_IO_MTSAFE_IO].
57164         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57165         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57166         New macros.
57168         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57169         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57170         rather than -D_IO_MTSAFE_IO conditionally.
57171         * stdio-common/Makefile (CPPFLAGS): Likewise.
57172         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57173         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57174         Use $(libio-mtsafe).
57175         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57176         of -D_IO_MTSAFE_IO.
57177         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57178         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57179         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57180         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57181         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57182         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57183         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57184         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57185         (CFLAGS-fread_u_chk.c): Likewise.
57186         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57187         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57188         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57189         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57190         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57191         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57192         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57193         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57194         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57196         * libio/Makefile: Test [$(libc-reentrant) = yes]
57197         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57199         * Makeconfig
57200         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57201         * sysdeps/pthread/configure: File removed.
57202         * sysdeps/pthread/Makeconfig: New file.
57203         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57204         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57206 2012-08-16  Gary Benson  <gbenson@redhat.com>
57208         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57209         unmapping the first object in a namespace.
57211 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57213         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57214         (__internal_setnetgrent): ... this.  Add internal_function to
57215         definition.  Add libc_hidden_def.
57216         (setnetgrent): Update caller.
57217         (internal_endnetgrent): Renamed to ...
57218         (__internal_endnetgrent): ... this.  Add internal_function to
57219         definition.  Add libc_hidden_def.
57220         (endnetgrent): Update caller.
57221         (internal_getnetgrent_r): Renamed to ...
57222         (__internal_getnetgrent_r): ... this.  Add internal_function to
57223         definition.  Add libc_hidden_def.
57224         (__getnetgrent_r): Update caller.
57225         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57227 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57229         * stdlib/longlong.h: Update from GCC.
57231 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57233         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57234         on _QL, which is set by umul_ppmm but never used.
57235         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57236         variables, which are set by GMP macros but never used.
57237         * stdio-common/_itowa.c (_itowa): Likewise.
57238         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57239         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57241 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57243         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57244         struct La_sh_regs is not constant.
57245         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57246         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57247         and struct La_sparc64_regs are not constant.
57249 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57251         * sysdeps/unix/sysv/linux/kernel-features.h
57252         (__ASSUME_POSIX_TIMERS): Remove.
57253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57254         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57255         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57256         Make code unconditional.
57257         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57258         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57259         Make code unconditional.
57260         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57261         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57262         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57263         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57264         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57265         Make code unconditional.
57266         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57267         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57268         (__libc_missing_posix_timers): Remove.
57270 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57272         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57273         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57275         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57277         * elf/dl-sym.c: Include <stdlib.h>.
57279         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57280         constants, which avoids warnings in 32-bit builds.
57282         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57283         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57285         * misc/lseek.c: File moved to ...
57286         * io/lseek.c: ... here.
57288         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57290         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57291         shifting LEN more than 31 bits at once.
57293 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57295         [BZ #14195]
57296         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57297         segmentation fault for a case of two empty input strings.
57298         * string/test-strncasecmp.c (check1): Renamed to...
57299         (bz12205): ...this.
57300         (bz14195): Add new testcase for two empty input strings and N > 0.
57301         (test_main): Call new testcase, adapt for renamed function.
57303 2012-08-15  Andreas Jaeger  <aj@suse.de>
57305         [BZ #14090]
57306         * crypt/md5test2.c: New test, based on test supplied by Serge
57307         Belyshev <belyshev@depni.sinp.msu.ru>.
57308         * crypt/Makefile (xtests): Add md5test-giant..
57309         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57311 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57313         [BZ #14090]
57314         * crypt/md5.c (md5_process_block): Don't assume the buffer
57315         length is less than 2**32.
57316         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57317         length is less than 2**64.
57319 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57321         * string/str-two-way.h: Include <sys/param.h>.
57322         (MAX): Macro removed.
57324         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57325         Move #define and #undef of memmove to just before and after
57326         including <string.h>.
57328         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57329         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57330         and after including <string.h>.  Move declarations of
57331         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57332         to before #include "string/memmove.c".
57334         * include/dirent.h: Declare __getdirentries.
57336         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57337         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57339 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57341         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57342         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57343         * sysdeps/i386/configure: Regenerated.
57344         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57345         STABS_CURRENT_FILE, and STABS_FUN.
57346         (END): Remove call to STABS_FUN_END.
57347         (STABS_CURRENT_FILE1): Delete.
57348         (STABS_CURRENT_FILE): Likewise.
57349         (STABS_FUN): Likewise.
57350         (STABS_FUN_END): Likewise.
57351         (STABS_FUN2): Likewise.
57352         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57353         * sysdeps/x86_64/configure: Regenerated.
57355 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57357         * elf/dl-open.c: Include <atomic.h>.
57358         * elf/dl-lookup.c: Likewise.
57360 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57362         * sysdeps/unix/sysv/linux/kernel-features.h
57363         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57364         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57365         unconditionally.
57366         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57367         unconditionally.
57368         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57369         condition on __ASSUME_CLONE_THREAD_FLAGS.
57371 2012-08-14  Andreas Jaeger  <aj@suse.de>
57373         * sysdeps/i386/fpu/libm-test-ulps: Update.
57375 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57377         * include/atomic.h (atomic_exchange_and_add): Split into ...
57378         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57379         New atomic macros.
57381 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57385 2012-08-13  Jeff Law <law@redhat.com>
57387         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57388         null byte in the output string.
57390 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57392         * sysdeps/unix/sysv/linux/kernel-features.h
57393         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57394         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57395         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57396         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57397         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57398         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57399         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57401 2012-08-09  Jeff Law <law@redhat.com>
57403         [BZ #13939]
57404         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57405         When avoid_arena is set, don't retry in the that arena.  Pick the
57406         next one, whatever it might be.
57407         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57408         (arena_lock): Pass in new parameter to arena_get2.
57409         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57410         arena_get2.
57411         (__libc_malloc): Unify retrying after main arena failure with
57412         __libc_memalign version.
57413         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57415 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57417         [BZ #14166]
57418         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57419         to __redirect_strstr.
57420         (__strstr_sse42): Use typeof __redirect_strstr.
57421         (__strstr_ia32): Likewise.
57422         (__libc_strstr): New prototype.
57423         (strstr): Renamed to ...
57424         (__libc_strstr): This.
57425         (strstr): New strong alias of __libc_strstr.
57426         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57427         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57428         __redirect_time.
57429         Include <time.h>.
57430         (__libc_time): New prototype.
57431         (time_ifunc): Replace time with __libc_time.
57432         (time): New strong alias and hidden definition of __libc_time.
57433         (__GI_time): Remove strong alias.
57434         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57435         Include <stddef.h>.
57436         (memmove): Redefined to __redirect_memmove.
57437         (__memmove_sse2): Use typeof __redirect_memmove.
57438         (__memmove_ssse3): Likewise.
57439         (__memmove_ssse3_back): Likewise.
57440         (__libc_memmove): New prototype.
57441         (memmove): Renamed to ...
57442         (__libc_memmove): This.
57443         (memmove): New strong alias of __libc_memmove.
57445 2012-08-08  Mark Salter  <msalter@redhat.com>
57447         * elf/elf.h
57448         (R_MN10300_TLS_GD): Define.
57449         (R_MN10300_TLS_LD): Likewise.
57450         (R_MN10300_TLS_LDO): Likewise.
57451         (R_MN10300_TLS_GOTIE): Likewise.
57452         (R_MN10300_TLS_IE): Likewise.
57453         (R_MN10300_TLS_LE): Likewise.
57454         (R_MN10300_TLS_DTPMOD): Likewise.
57455         (R_MN10300_TLS_DTPOFF): Likewise.
57456         (R_MN10300_TLS_TPOFF): Likewise.
57457         (R_MN10300_SYM_DIFF): Likewise.
57458         (R_MN10300_ALIGN): Likewise.
57459         (R_MN10300_NUM): Update.
57461 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57464         Remove.
57466 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57468         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57470         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57471         sysdeps/unix -> sysdeps/posix move.
57472         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57474 2012-08-07      Allan McRae     <allan@archlinux.org>
57476         [BZ #14303]
57477         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57478         (SUNOS_CPP): Likewise.
57479         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57480         not found.
57481         (open_input): Call CPP using execvp.
57483 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57485         * sysdeps/unix/sysv/linux/kernel-features.h
57486         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57487         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57488         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57489         (__ASSUME_WAITID_SYSCALL): Likewise.
57490         * sysdeps/unix/sysv/linux/dl-execstack.c
57491         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57492         code unconditional.
57493         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57494         conditional code.
57495         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57496         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57497         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57498         code.
57499         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57500         unconditional.
57501         [__ASSUME_WAITID_SYSCALL]: Likewise.
57502         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57504 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57506         * sysdeps/unix/closedir.c: Renamed to ...
57507         * sysdeps/posix/closedir.c: ... here.
57508         * sysdeps/unix/dirfd.c: Renamed to ...
57509         * sysdeps/posix/dirfd.c: ... here.
57510         * sysdeps/unix/dirstream.h: Renamed to ...
57511         * sysdeps/posix/dirstream.h: ... here.
57512         * sysdeps/unix/fdopendir.c: Renamed to ...
57513         * sysdeps/posix/fdopendir.c: ... here.
57514         * sysdeps/unix/opendir.c: Renamed to ...
57515         * sysdeps/posix/opendir.c: ... here.
57516         * sysdeps/unix/readdir.c: Renamed to ...
57517         * sysdeps/posix/readdir.c: ... here.
57518         * sysdeps/unix/readdir_r.c: Renamed to ...
57519         * sysdeps/posix/readdir_r.c: ... here.
57520         * sysdeps/unix/rewinddir.c: Renamed to ...
57521         * sysdeps/posix/rewinddir.c: ... here.
57522         * sysdeps/unix/seekdir.c: Renamed to ...
57523         * sysdeps/posix/seekdir.c: ... here.
57524         * sysdeps/unix/telldir.c: Renamed to ...
57525         * sysdeps/posix/telldir.c: ... here.
57526         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57527         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57528         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57529         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57531         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57532         * bits/fcntl.h: ... here.
57534         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57535         not 0.
57536         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57537         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57538         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57539         (struct flock): Move l_start, l_len to the beginning.
57540         Use __pid_t for l_pid.
57541         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57542         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57543         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57544         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57545         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57546         [__USE_LARGEFILE64] (struct flock64): New type.
57547         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57549         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57550         * bits/dirent.h: ... here.
57552         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57553         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57555 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57557         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57558         Change from 2.6.0 to 2.6.16.
57559         * sysdeps/unix/sysv/linux/configure: Regenerated.
57560         * sysdeps/unix/sysv/linux/kernel-features.h
57561         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57562         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57563         version.
57564         (__ASSUME_UTIMES): Likewise.
57565         (__ASSUME_CLONE_STOPPED): Remove.
57566         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57567         architectures, not kernel version.
57568         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57569         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57570         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57571         (__ASSUME_WAITID_SYSCALL): Likewise.
57572         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57573         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57574         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57575         refer to older versions.
57577 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57579         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57580         Define alphasort64 as an alias.
57581         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57582         Define versionsort64 as an alias.
57583         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57584         Define scandir64 as an alias.
57585         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57586         Define scandirat64 as an alias.
57587         * dirent/alphasort64.c (alphasort64):
57588         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57589         * dirent/versionsort64.c: Likewise.
57590         * dirent/scandir64.c: Likewise.
57591         * dirent/scandirat64.c: Likewise.
57592         * sysdeps/wordsize-64/alphasort.c: File removed.
57593         * sysdeps/wordsize-64/alphasort64.c: File removed.
57594         * sysdeps/wordsize-64/scandir.c: File removed.
57595         * sysdeps/wordsize-64/scandir64.c: File removed.
57596         * sysdeps/wordsize-64/scandirat.c: File removed.
57597         * sysdeps/wordsize-64/scandirat64.c: File removed.
57598         * sysdeps/wordsize-64/versionsort.c: File removed.
57599         * sysdeps/wordsize-64/versionsort64.c: File removed.
57600         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57601         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57602         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57603         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57604         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57605         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57606         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57607         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57609         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57611         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57613         [defined __arch64__ || defined __sparcv9]
57614         (__INO_T_MATCHES_INO64_T): New macro.
57615         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57616         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57617         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57618         * sysdeps/unix/sysv/linux/bits/dirent.h
57619         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57620         (_DIRENT_MATCHES_DIRENT64): New macro.
57622         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57623         Define lockf64 as an alias.
57624         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57625         Define fseeko64 as an alias.
57626         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57627         Define ftello64 as an alias.
57628         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57629         Define _IO_fgetpos64 and fgetpos64 as aliases.
57630         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57631         Define _IO_fsetpos64 and fsetpos64 as aliases.
57632         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57633         Conditionalize body on this.
57634         * libio/fseeko64.c: Likewise.
57635         * libio/ftello64.c: Likewise.
57636         * libio/iofgetpos64.c: Likewise.
57637         * libio/iofsetpos64.c: Likewise.
57638         * sysdeps/wordsize-64/lockf.c: File removed.
57639         * sysdeps/wordsize-64/lockf64.c: File removed.
57640         * sysdeps/wordsize-64/fseeko.c: File removed.
57641         * sysdeps/wordsize-64/fseeko64.c: File removed.
57642         * sysdeps/wordsize-64/ftello.c: File removed.
57643         * sysdeps/wordsize-64/ftello64.c: File removed.
57644         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57645         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57646         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57647         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57648         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57649         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57650         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57651         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57652         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57653         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57654         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57655         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57656         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57657         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57659         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57661         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57663         [defined __arch64__ || defined __sparcv9]
57664         (__OFF_T_MATCHES_OFF64_T): New macro.
57665         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57666         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57668         (__OFF_T_MATCHES_OFF64_T): New macro.
57670 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57672         * stdlib/secure-getenv.c (__secure_getenv): Replace
57673         GLIBC_2_16 with GLIBC_2_17.
57675 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57677         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57678         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57680 2012-08-03  David S. Miller  <davem@davemloft.net>
57682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57684 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57687         Remove.
57688         (__ASSUME_CORRECT_SI_PID): Likewise.
57689         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57690         (__ASSUME_TMPFS_NAME): Likewise.
57691         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57692         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57693         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57694         (HAVE_AUX_SECURE): Make definition unconditional.
57695         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57696         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57698 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57700         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57701         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57702         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57703         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57704         __eloop_threshold instead of SYMLOOP_MAX.
57706         * sysdeps/generic/eloop-threshold.h: New file.
57707         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57708         of MAXSYMLINKS.
57709         * elf/chroot_canon.c (chroot_canon): Likewise.
57711 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57713         [BZ #13717]
57714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57715         Change to 2.6.0 everywhere.
57716         * sysdeps/unix/sysv/linux/configure: Regenerated.
57717         * sysdeps/unix/sysv/linux/kernel-features.h
57718         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57719         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57720         kernel versions.
57721         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57722         (__ASSUME_FUTEX_REQUEUE): Remove.
57723         (__ASSUME_STATFS64): Define unconditionally.
57724         (__ASSUME_AT_SECURE): Likewise.
57725         (__ASSUME_CORRECT_SI_PID): Likewise.
57726         (__ASSUME_TGKILL): Define without depending on kernel version for
57727         i386.
57728         (__ASSUME_UTIMES): Likewise.
57729         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57730         kernel version.
57731         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57732         (__ASSUME_TMPFS_NAME): Likewise.
57733         * README: Update reference to Linux kernel versions.
57735 2012-08-02  Marek Polacek  <polacek@redhat.com>
57737         [BZ# 14150]
57738         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57739         libc_cv_asm_type_prefix with %.
57740         * configure: Regenerated.
57741         * include/libc-symbols.h: Remove comment about
57742         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57743         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57744         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57745         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57746         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57747         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57748         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57749         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57750         * elf/tst-unique2mod1.c: Likewise.
57751         * elf/tst-unique1mod2.c: Likewise.
57752         * elf/tst-unique1mod1.c: Likewise.
57753         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57754         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57755         Replace ASM_TYPE_DIRECTIVE with .type.
57756         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57757         * sysdeps/i386/sysdep.h: Likewise.
57758         * sysdeps/x86_64/sysdep.h: Likewise.
57759         * sysdeps/sh/sysdep.h: Likewise.
57760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57761         Do not define ASM_TYPE_DIRECTIVE.
57762         * sysdeps/powerpc/sysdep.h: Likewise.
57763         * sysdeps/powerpc/powerpc32/sysdep.h:
57764         Replace ASM_TYPE_DIRECTIVE with .type.
57765         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57766         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57767         * sysdeps/i386/fpu/e_powf.S: Likewise.
57768         * sysdeps/i386/fpu/e_expl.S: Likewise.
57769         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57770         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57771         * sysdeps/i386/fpu/e_pow.S: Likewise.
57772         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57773         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57774         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57775         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57776         * sysdeps/i386/fpu/e_log2.S: Likewise.
57777         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57778         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57779         * sysdeps/i386/fpu/e_powl.S: Likewise.
57780         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57781         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57782         * sysdeps/i386/fpu/e_logl.S: Likewise.
57783         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57784         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57785         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57786         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57787         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57788         * sysdeps/i386/fpu/e_log.S: Likewise.
57789         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57790         * sysdeps/i386/fpu/e_logf.S: Likewise.
57791         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57792         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57793         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57794         * sysdeps/i386/fpu/e_log10.S: Likewise.
57795         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57796         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57797         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57798         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57799         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57800         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57801         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57802         * sysdeps/i386/i686/strtok.S: Likewise.
57803         * sysdeps/i386/i386-mcount.S: Likewise.
57804         * sysdeps/i386/strtok.S: Likewise.
57805         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57808         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57809         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57810         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57811         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57812         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57813         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57814         * sysdeps/x86_64/_mcount.S: Likewise.
57815         * sysdeps/x86_64/strtok.S: Likewise.
57816         * sysdeps/sh/_mcount.S: Likewise.
57818 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57820         * libio/iofopen.c: Include <fcntl.h>.
57821         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57822         (_IO_fopen64, fopen64): Define as aliases.
57823         * libio/iofopen64.c: Include <fcntl.h>.
57824         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57825         Conditionalize body on this.
57826         * sysdeps/wordsize-64/iofopen.c: File removed.
57827         * sysdeps/wordsize-64/iofopen64.c: File removed.
57829 2012-08-01  Marek Polacek  <polacek@redhat.com>
57831         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57832         Use dlfcn directly instead of a variable.
57833         (binfmt-subdir): Do not define.
57834         (dlfcn): Likewise.
57836 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57839         Remove all definitions.
57840         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57841         <kernel-features.h>.
57842         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57843         (miss_F_GETOWN_EX): Remove all definitions.
57844         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57845         macro definition.
57846         [!__ASSUME_FCNTL64]: Remove conditional code.
57847         [__ASSUME_FCNTL64]: Make code unconditional.
57848         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57849         <kernel-features.h>.
57850         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57851         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57852         (lockf64) [__NR_fcntl64]: Make code unconditional.
57853         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57855         * sysdeps/unix/sysv/linux/kernel-features.h
57856         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57857         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57858         Make code unconditional.
57859         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57860         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57862         [__NR_vfork]: Make code unconditional.
57863         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57864         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57866         [__NR_vfork]: Make code unconditional.
57867         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57868         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57870 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57872         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57873         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57875         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57876         Define mkstemp64 as an alias.
57877         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57878         Define mkstemps64 as an alias.
57879         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57880         Define mkostemp64 as an alias.
57881         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57882         Define mkostemps64 as an alias.
57883         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57884         Conditionalize body on this.
57885         * misc/mkostemp64.c: Likewise.
57886         * misc/mkostemps64.c: Likewise.
57887         * misc/mkstemps64.c: Likewise.
57888         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57889         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57890         * sysdeps/wordsize-64/mkostemp.c: File removed.
57891         * sysdeps/wordsize-64/mkstemp.c: File removed.
57892         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57893         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57894         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57895         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57897         [BZ #14138]
57898         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57899         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57900         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57901         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57903         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57904         compat_symbol macros from <shlib-compat.h> rather than the underlying
57905         default_symbol_version and symbol_version macros, so that DEFAULT
57906         lines in shlib-versions are respected.
57907         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57909 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57911         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57912         Declare with warn_unused_result.
57913         (setgid, setregid, setegid, setresgid): Likewise.
57914         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57915         Likewise.
57916         * WUR-REPORT: Remove set*id functions.
57918 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57920         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57922 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57924         [BZ #10191]
57925         * include/sys/socket.h (__libc_accept, __libc_accept4):
57926         Add attribute_hidden.
57927         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57929         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57930         use of PTR_MANGLE.
57931         * inet/getnetgrent_r.c (setup): Likewise.
57933         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57935 2012-07-31  David S. Miller  <davem@davemloft.net>
57937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57939 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57941         [BZ #13629]
57942         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57943         value between 1.0 and 2.0 and smaller part has absolute value less
57944         than 1.0.
57945         * math/s_clog10.c (__clog10): Likewise.
57946         * math/s_clog10f.c (__clog10f): Likewise.
57947         * math/s_clog10l.c (__clog10l): Likewise.
57948         * math/s_clogf.c (__clogf): Likewise.
57949         * math/s_clogl.c (__clogl): Likewise.
57950         * math/libm-test.inc (clog_test): Add more tests.
57951         (clog10_test): Likewise.
57952         * sysdeps/i386/fpu/libm-test-ulps: Update.
57953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57955 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57957         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57958         Exit with zero in case no suitable GID is found, and write a
57959         message to standard error.
57961 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57963         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57964         rather than to 1.
57965         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57966         (MAXPATHLEN): Removed.
57967         (NOGROUP, NODEV): New macros.
57968         (setbit, clrbit, isset, isclr): New macros.
57969         (howmany, roundup, powerof2): New macros.
57970         (DEV_BSIZE): New macro.
57972         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57973         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57975         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57976         definition on [!__NO_LONG_DOUBLE_MATH].
57978         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57979         PTR_MANGLE and PTR_DEMANGLE.
57981         * socket/accept4.c (accept4): Rename to __libc_accept4.
57982         Define accept4 as a weak alias.
57984         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57985         on [_DIRENT_HAVE_D_TYPE].
57986         * io/ftw.c (ftw_dir): Likewise.
57988         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57990         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57992         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57993         Use the BSD numbers rather than the arbitrary ones we had.
57994         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57995         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57996         (SIGXCPU, SIGXFSZ): New macros.
57997         (_NSIG): Now 32.
57999         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58000         initializer on [_LIBC_REENTRANT].
58002         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58003         definitions inside [_POSIX_MAPPED_FILES].
58005         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58007         * dirent/opendir.c: Include <fcntl.h>.
58009         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58010         (__libc_getspecific): Likewise.
58011         (__libc_key_create): Likewise.
58013         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58014         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58015         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58016         (tmpfile64): Define as alias.
58017         * sysdeps/wordsize-64/tmpfile.c: File removed.
58018         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58019         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58020         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58022         * stdio-common/vfscanf.c: Include <stdbool.h>.
58023         * nss/makedb.c: Likewise.
58024         * stdio-common/_i18n_number.h: Likewise.
58025         * argp/argp-help.c: Likewise.
58026         * posix/wordexp.c: Likewise.
58027         * sysdeps/posix/spawni.c: Likewise.
58028         * nss/nss_files/files-initgroups.c: Likewise.
58029         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58030         * nss/nss_files/files-initgroups.c: Likewise.
58031         * nss/nss_db/db-netgrp.c: Likewise.
58032         * nss/nss_db/db-initgroups.c: Likewise.
58033         * io/fchmodat.c: Include <sys/stat.h>.
58035         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58036         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58038         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58039         [HAVE_MMAP].
58041         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58042         Add multiple inclusion protection.
58044 2012-07-27  David S. Miller  <davem@davemloft.net>
58046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58048 2012-07-27  Gary Benson  <gbenson@redhat.com>
58050         [BZ #14298]
58051         * elf/rtld.c: Include <stap-probe.h>.
58052         (dl_main): Added static probes "init_start" and "init_complete".
58053         * elf/dl-load.c: Include <stap-probe.h>.
58054         (lose): Take new parameter "nsid".
58055         Added static probe "map_failed".
58056         (_dl_map_object_from_fd): Pass namespace id to lose.
58057         Added static probe "map_start".
58058         (open_verify): Pass namespace id to lose.
58059         * elf/dl-open.c: Include <stap-probe.h>.
58060         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58061         and "reloc_complete".
58062         * elf/dl-close.c: Include <stap-probe.h>.
58063         (_dl_close_worker): Added static probes "unmap_start" and
58064         "unmap_complete".
58065         * elf/rtld-debugger-interface.txt: New file documenting the above.
58067 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58069         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58070         rather than a string variable.
58071         * sunrpc/rpc_main.c (h_output): Likewise.
58072         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58074 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58076         * inet/check_native.c: New file.
58078 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58080         [BZ #13629]
58081         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58082         if larger part has absolute value 1.0.
58083         * math/s_clog10.c (__clog10): Likewise.
58084         * math/s_clog10f.c (__clog10f): Likewise.
58085         * math/s_clog10l.c (__clog10l): Likewise.
58086         * math/s_clogf.c (__clogf): Likewise.
58087         * math/s_clogl.c (__clogl): Likewise.
58088         * math/libm-test.inc (clog_test): Add more tests.
58089         (clog10_test): Likewise.
58090         * sysdeps/i386/fpu/libm-test-ulps: Update.
58091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58093         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58094         (pltexit): Likewise.
58095         (La_regs): Likewise.
58096         (La_retval): Likewise.
58097         (int_retval): Likewise.
58098         Update #error for removed macros to refer only to definitions in
58099         tst-audit.h.
58100         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58101         macro.
58102         (pltexit): Likewise.
58103         (La_regs): Likewise.
58104         (La_retval): Likewise.
58105         (int_retval): Likewise.
58106         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58107         macro.
58108         (pltexit): Likewise.
58109         (La_regs): Likewise.
58110         (La_retval): Likewise.
58111         (int_retval): Likewise.
58112         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58113         macro.
58114         (pltexit): Likewise.
58115         (La_regs): Likewise.
58116         (La_retval): Likewise.
58117         (int_retval): Likewise.
58118         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58119         macro.
58120         (pltexit): Likewise.
58121         (La_regs): Likewise.
58122         (La_retval): Likewise.
58123         (int_retval): Likewise.
58124         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58125         macro.
58126         (pltexit): Likewise.
58127         (La_regs): Likewise.
58128         (La_retval): Likewise.
58129         (int_retval): Likewise.
58130         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58131         macro.
58132         (pltexit): Likewise.
58133         (La_regs): Likewise.
58134         (La_retval): Likewise.
58135         (int_retval): Likewise.
58136         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58137         macro definitions in tst-audit.h.
58138         * sysdeps/i386/tst-audit.h: New file.
58139         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58140         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58141         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58142         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58143         * sysdeps/sh/tst-audit.h: Likewise.
58144         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58145         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58146         * sysdeps/x86_64/tst-audit.h: Likewise.
58148 2012-07-26  Andreas Jaeger  <aj@suse.de>
58150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58151         ptrace.
58153         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58154         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58155         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58156         PTRACE_O_MASK.
58157         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58158         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58159         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58161         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58162         value.
58164         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58165         _sigsys.
58166         (si_call_addr, si_syscall, si_arch): Define new macro.
58167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58168         _sigsys.
58169         (si_call_addr, si_syscall, si_arch): Define new marcro.
58170         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58171         _sigsys.
58172         (si_call_addr, si_syscall, si_arch): Define new macro.
58173         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58174         _sigsys.
58175         (si_call_addr, si_syscall, si_arch): Define new macro.
58177 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58179         [BZ #13717]
58180         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58181         Change to 2.4.21 where previously 2.4.1.
58182         * sysdeps/unix/sysv/linux/configure: Regenerated.
58183         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58184         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58185         Linux kernel version.
58186         (__ASSUME_STD_AUXV): Remove.
58187         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58188         kernel version.
58189         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58190         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58191         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58192         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58193         (__ASSUME_NETLINK_SUPPORT): Likewise.
58194         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58195         (__no_netlink_support): Remove conditional definition.
58196         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58197         Remove.
58198         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58199         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58200         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58201         (if_nameindex_ioctl): Remove.
58202         (if_nameindex_netlink): Do not handle __no_netlink_support.
58203         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58204         code.
58205         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58206         Remove conditional code.
58207         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58208         code.
58209         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58210         unconditional.
58211         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58212         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58213         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58214         Remove.
58215         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58216         [!__ASSUME_STD_AUXV]: Remove conditional code.
58217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58218         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58219         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58221         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58222         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58223         code.
58224         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58226         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58227         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58228         conditional code.
58229         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58231         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58232         code.
58233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58234         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58235         conditional code.
58236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58237         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58238         code unconditional.
58239         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58240         conditional code.
58241         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58242         unconditional.
58243         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58244         conditional code.
58245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58246         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58247         unconditional.
58248         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58249         conditional code.
58250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58251         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58252         code unconditional.
58253         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58254         conditional code.
58255         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58256         unconditional.
58257         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58258         conditional code.
58259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58260         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58261         code unconditional.
58262         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58263         conditional code.
58264         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58265         unconditional.
58266         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58267         conditional code.
58269 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58271         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58272         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58273         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58274         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58275         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58276         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58277         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58278         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58279         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58280         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58281         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58282         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58283         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58284         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58285         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58286         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58287         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58289         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58291         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58292         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58293         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58295 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58297         * Versions.def: Add GLIBC_2.17.
58298         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58299         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58300         Introduce __libc_secure_getenv.
58301         * stdlib/Versions (2.17): Add secure_getenv
58302         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58303         * stdlib/secure-getenv.c: Rename __secure_getenv to
58304         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58305         symbol __secure_getenv for GLIBC_2.0.
58306         * stdlib/tst-secure-getenv.c: New.
58307         * stdlib/Makefile (tests): Add testcase.
58308         * manual/startup.texi (Environment Access): Document
58309         secure_getenv.
58310         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58311         __libc_secure_getenv.
58312         * inet/ruserpass.c (ruserpass): Likewise.
58313         * malloc/mtrace.c (mtrace): Likewise.
58314         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58315         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58316         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58317         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58318         HAVE_SECURE_GETENV.
58319         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58320         __secure_getenv to __libc_secure_getenv.
58321         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58323         Likewise.
58324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58325         Likewise.
58326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58328         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58334 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58336         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58337         (struct La_i86_retval): Likewise.
58338         (struct La_x86_64_regs): Likewise.
58339         (struct La_x86_64_retval): Likewise.
58340         (struct La_x32_regs): Likewise.
58341         (struct La_x32_retval): Likewise.
58342         (struct La_ppc32_regs): Likewise.
58343         (struct La_ppc32_retval): Likewise.
58344         (struct La_ppc64_regs): Likewise.
58345         (struct La_ppc64_retval): Likewise.
58346         (struct La_sh_regs): Likewise.
58347         (struct La_sh_retval): Likewise.
58348         (struct La_s390_32_regs): Likewise.
58349         (struct La_s390_32_retval): Likewise.
58350         (struct La_s390_64_regs): Likewise.
58351         (struct La_s390_64_retval): Likewise.
58352         (struct La_sparc32_regs): Likewise.
58353         (struct La_sparc32_retval): Likewise.
58354         (struct La_sparc64_regs): Likewise.
58355         (struct La_sparc64_retval): Likewise.
58356         (struct audit_ifaces): Remove architecture-specific pltenter and
58357         pltexit members.
58358         * sysdeps/i386/ldsodefs.h: New file.
58359         * sysdeps/powerpc/ldsodefs.h: Likewise.
58360         * sysdeps/s390/ldsodefs.h: Likewise.
58361         * sysdeps/sh/ldsodefs.h: Likewise.
58362         * sysdeps/sparc/ldsodefs.h: Likewise.
58363         * sysdeps/x86_64/ldsodefs.h: Likewise.
58365 2012-07-25  Marek Polacek  <polacek@redhat.com>
58367         [BZ #6808]
58368         * math/libm-test.inc (yn_test): Add another test.
58369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58370         to ERANGE when the result is +-Inf.
58371         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58372         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58373         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58374         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58376 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58378         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58379         equal to 0.
58380         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58381         clock_t.
58382         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58384 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58386         * configure.in <sysdeps resolving>: Correct printing
58387         Implies_before.
58388         * configure: Regenerate.
58390 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58392         * math/w_ilogb.c: Include <limits.h>.
58393         * math/w_ilogbl.c: Likewise.
58395 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58397         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58398         va_copy.  Document allowing for unavailable va_copy only as
58399         pre-C99 compatibility.
58400         * manual/string.texi (Copying and Concatenation): Use va_copy
58401         instead of __va_copy in concat example.
58403 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58405         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58406         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58407         it if not null.
58409         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58410         with O_NOLINK passed to __file_name_lookup.
58412         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58413         with O_NOLINK passed to __file_name_lookup.
58415         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58416         negative N or less than NGIDS.
58418         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58419         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58420         enough.  Use memcpy instead of strncpy.
58422 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58424         * elf/Makefile (check-data): Remove.
58425         (localplt.data): New vpath directive.
58426         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58427         instead of $(check-data).
58428         * scripts/data/localplt-generic.data: Move to ...
58429         * sysdeps/generic/localplt.data: ... here.
58430         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58431         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58432         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58434         ... here.
58435         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58437         ... here.
58438         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58440         ... here.
58441         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58443         ... here.
58444         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58446         ... here.
58447         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58449         ... here.
58451 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58453         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58454         PPC32 and PPC64 files.
58455         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58456         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58458 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58460         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58461         __makecontext_ret to ...
58462         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58463         ... here and call exit if uc_link is NULL.  New file.
58464         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58465         __makecontext_ret.S.
58466         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58467         __makecontext_ret to ...
58468         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58469         ... here and call exit if uc_link is NULL.  New file.
58470         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58471         __makecontext_ret.S.
58473 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58475         * elf/elf.h (R_390_IRELATIVE): New definition.
58476         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58477         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58478         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58480         (elf_machine_lazy_rel): Likewise.
58481         * sysdeps/s390/dl-irel.h: New file.
58482         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58483         * sysdeps/s390/s390-64/memset.S: New asm code.
58484         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58485         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58486         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58487         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58488         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58489         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58490         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58491         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58492         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58493         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58494         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58495         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58496         * sysdeps/s390/s390-32/memset.S: New asm code.
58497         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58499 2012-07-17  Marek Polacek  <polacek@redhat.com>
58501         [BZ #14349]
58502         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58503         * sysdeps/s390/s390-64/configure.in: Likewise.
58504         * sysdeps/sparc/configure.in: Likewise.
58505         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58506         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58507         * sysdeps/i386/configure.in: Likewise.
58508         * sysdeps/x86_64/configure.in: Likewise.
58509         * sysdeps/sh/configure.in: Likewise.
58510         * sysdeps/s390/s390-32/configure: Regenerated.
58511         * sysdeps/s390/s390-64/configure: Likewise.
58512         * sysdeps/x86_64/configure: Likewise.
58513         * sysdeps/sh/configure: Likewise.
58514         * sysdeps/powerpc/powerpc64/configure: Likewise.
58515         * sysdeps/powerpc/powerpc32/configure: Likewise.
58516         * sysdeps/sparc/configure: Likwise.
58517         * sysdeps/i386/configure: Likewise.
58519         * elf/dl-open.c: Comment fixes.
58521 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58523         * Makefile [CXX] (check-data): Remove.
58524         [CXX] (c++-types.data): New vpath directive.
58525         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58526         vpath.  Do not allow for C++ type data being missing.
58527         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58528         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58529         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58530         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58531         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58532         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58533         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58535         ... here.
58536         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58538         ... here.
58539         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58541         ... here.
58542         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58544         ... here.
58545         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58547         ... here.
58548         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58550         ... here.
58551         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58553         ... here.
58554         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58557         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58558         definitions to architecture-specific files.
58559         (TLS_IE): Likewise.
58560         (TLS_LD): Likewise.
58561         (TLS_GD): Likewise.
58562         * sysdeps/i386/tls-macros.h: New file.
58563         * sysdeps/powerpc/tls-macros.h: Likewise.
58564         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58565         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58566         * sysdeps/sh/tls-macros.h: Likewise.
58567         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58568         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58569         * sysdeps/x86_64/tls-macros.h: Likewise.
58571 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58573         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58574         zero value for regular exit case.
58576         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58577         (__start_context): Preserve zero value for regular exit case.
58579 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58580             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58582         * manual/setjmp.texi (setcontext): Clarify normal process
58583         termination when uc_link is the null pointer.
58584         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58585         exit call.
58587 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58589         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58590         preprocessor.  Test for each exception mask separately.
58592 2012-07-16  Andreas Jaeger  <aj@suse.de>
58594         * po/ru.po: Update from translation team.
58596 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58598         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58599         equal to 0.
58600         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58601         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58602         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58603         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58604         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58606 2012-07-13  Andreas Jaeger  <aj@suse.de>
58608         * po/fr.po: Update from translation team.
58610 2012-07-12  Marek Polacek  <polacek@redhat.com>
58612         [BZ #14173]
58613         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58615         loop condition.
58617 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58619         [BZ #13717]
58620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58621         Change to 2.4.1 where previously 2.4.0.
58622         * sysdeps/unix/sysv/linux/configure: Regenerated.
58623         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58624         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58625         version.
58626         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58627         (__ASSUME_AT_CLKTCK): Remove.
58628         (__ASSUME_AT_PAGESIZE): Likewise.
58629         (__ASSUME_AT_XID): Likewise.
58630         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58631         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58632         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58633         unconditionally.
58634         (HAVE_AUX_PAGESIZE): Likewise.
58635         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58636         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58637         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58639 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58641         [BZ #14307]
58642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58643         the temporary buffer used to invoke __gethostbyname2_r,
58644         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58645         host_data / struct gaih_addrtuple.
58646         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58647         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58648         header file nss/nsswitch.h.
58649         * nss/nsswitch.h (global scope): Add definition of implementation
58650         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58651         resolv/nss_dns/dns-host.c).
58653 2012-07-11  Andreas Jaeger  <aj@suse.de>
58655         * po/fr.po: Update from translation team.
58657         * po/sv.po: Update from translation team
58658         * po/fr.po: Another update from translation team.
58660 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58662         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58663         for subnormals or multiply small sinh result by itself.
58664         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58667 2012-07-11  David S. Miller  <davem@davemloft.net>
58669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58671 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58673         [BZ #14347]
58674         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58675         (INTERNAL_MARK): Shift it here.
58677 2012-07-10  Marek Polacek  <polacek@redhat.com>
58679         [BZ #14151]
58680         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58681         libc_cv_asm_global_directive with .globl.
58682         * configure: Regenerated.
58683         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58684         with .globl.
58685         * sysdeps/i386/configure: Regenerated.
58686         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58687         with .globl.
58688         * sysdeps/x86_64/configure: Regenerated.
58689         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58690         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58691         * elf/tst-unique2mod2.c: Likewise.
58692         * elf/tst-unique2mod1.c: Likewise.
58693         * elf/tst-unique1mod2.c: Likewise.
58694         * elf/tst-unique1mod1.c: Likewise.
58695         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58696         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58698         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58699         * sysdeps/mach/sysdep.h: Likewise.
58700         * sysdeps/i386/sysdep.h: Likewise.
58701         * sysdeps/i386/i386-mcount.S: Likewise.
58702         * sysdeps/x86_64/_mcount.S: Likewise.
58703         * sysdeps/x86_64/sysdep.h: Likewise.
58704         * sysdeps/sh/_mcount.S: Likewise.
58705         * sysdeps/sh/sysdep.h: Likewise.
58706         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58707         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58708         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58709         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58710         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58711         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58712         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58713         * locale/localeinfo.h: Likewise.
58714         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58715         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58717 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58719         [BZ #14336]
58720         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58721         system".
58722         * manual/message.texi (The Uniforum approach): Likewise.
58723         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58724         (glibc iconv Implementation): Likewise.
58726 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58728         [BZ #14337]
58729         * math/s_clog.c (__clog): Avoid scaling a value down where that
58730         could result in underflow.
58731         * math/s_clog10.c (__clog10): Likewise.
58732         * math/s_clog10f.c (__clog10f): Likewise.
58733         * math/s_clog10l.c (__clog10l): Likewise.
58734         * math/s_clogf.c (__clogf): Likewise.
58735         * math/s_clogl.c (__clogl): Likewise.
58736         * math/libm-test.inc (clog_test): Add more tests.
58737         (clog10_test): Likewise.
58738         * sysdeps/i386/fpu/libm-test-ulps: Update.
58739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58741 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58743         [BZ #14283]
58744         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58745         by 7 not 8 to examine high bit of fractional part.
58747         [BZ #14042]
58748         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58749         for call to __mcount_internal.
58750         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58751         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58752         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58754 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58756         [BZ #14154]
58757         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58758         approximation for values within 0x1p-13f of an odd multiple of
58759         pi/4.
58760         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58761         exception.  Add more tests.
58762         * sysdeps/i386/fpu/libm-test-ulps: Update.
58764         [BZ #6778]
58765         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58766         inputs and return -1 for them.  Do not check for +Inf in case not
58767         reachable for +Inf.
58768         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58769         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58770         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58771         and return -1 for them.  Do not check for +Inf in case not
58772         reachable for +Inf.
58773         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58774         define.
58775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58776         and return -1 for them.  Do not check for +Inf in case not
58777         reachable for +Inf.
58778         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58779         spurious underflow.
58780         * sysdeps/i386/fpu/libm-test-ulps: Update.
58781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58783 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58785         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58787 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58789         [BZ #14157]
58790         [BZ #14331]
58791         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58792         could result in spurious underflow.  Scale down values above
58793         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58794         * math/s_csqrtf.c (__csqrtf): Likewise.
58795         * math/s_csqrtl.c (__csqrtl): Likewise.
58796         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58797         spurious underflow.
58798         * sysdeps/i386/fpu/libm-test-ulps: Update.
58799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58801 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58803         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58804         xopen-msg.sed.
58805         * catgets/xopen-msg.awk: New file.
58806         * catgets/xopen-msg.sed: Removed.
58808         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58809         po2text.sed.
58810         * intl/po2test.awk: New file.
58811         * intl/po2test.sed: Removed.
58813 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58815         [BZ #14328]
58816         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58817         or multiply small sinh result by itself.
58818         * math/s_ctanf.c (__ctanf): Likewise.
58819         * math/s_ctanh.c (__ctanh): Likewise.
58820         * math/s_ctanhf.c (__ctanhf): Likewise.
58821         * math/s_ctanhl.c (__ctanhl): Likewise.
58822         * math/s_ctanl.c (__ctanl): Likewise.
58823         * math/libm-test.inc (ctan_test_tonearest): New function.
58824         (ctan_test_towardzero): Likewise.
58825         (ctan_test_downward): Likewise.
58826         (ctan_test_upward): Likewise.
58827         (ctanh_test_tonearest): Likewise.
58828         (ctanh_test_towardzero): Likewise.
58829         (ctanh_test_downward): Likewise.
58830         (ctanh_test_upward): Likewise.
58831         (main): Call these new functions.
58832         * sysdeps/i386/fpu/libm-test-ulps: Update.
58833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58835 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58837         * .gitignore: Delete /ports entry.
58839 2012-07-03  Andreas Jaeger  <aj@suse.de>
58841         * po/bg.po: Update from translation team.
58842         * po/cs.po: Likewise.
58843         * po/de.po: Likewise.
58844         * po/hr.po: Likewise.
58845         * po/nl.pl: Likewise.
58846         * po/pl.po: Likewise.
58847         * po/vi.po: Likewise.
58849 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58851         * Makeconfig [!+link] (+link-before-libc): New variable.
58852         [!+link] (+link-after-libc): Likewise.
58853         [!+link] (+link-tests): Likewise.
58854         [!+link] (+link): Define in terms of $(+link-before-libc) and
58855         $(+link-after-libc).
58856         [!+link-static] (+link-static-before-libc): New variable.
58857         [!+link-static] (+link-static-after-libc): Likewise.
58858         [!+link-static] (+link-static-tests): Likewise.
58859         [!+link-static] (+link-static): Define in terms of
58860         $(+link-static-before-libc) and $(+link-static-after-libc).
58861         [build-shared] (link-libc-before-gnulib): New variable.
58862         [build-shared] (link-libc-tests): Likewise.
58863         [build-shared] (link-libc): Define in terms of
58864         $(link-libc-before-gnulib).
58865         [!build-shared] (link-libc-tests): New variable.
58866         (link-libc-static-tests): New variable.
58867         [!gnulib] (gnulib-arch): New variable.
58868         [!gnulib] (gnulib-tests): Likewise.
58869         [!gnulib] (static-gnulib-arch): Likewise.
58870         [!gnulib] (static-gnulib-tests): Likewise.
58871         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58872         Define with "=" instead of ":=".
58873         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58874         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58875         * Rules (binaries-all-notests): New variable.
58876         (binaries-all-tests): Likewise.
58877         (binaries-static-notests): Likewise.
58878         (binaries-static-tests): Likewise.
58879         (binaries-all): Define using $(binaries-all-notests) and
58880         $(binaries-all-tests).
58881         (binaries-static): Define using $(binaries-static-notests) and
58882         $(binaries-static-tests).
58883         (binaries-shared-tests): New variable.
58884         (binaries-shared-notests): Likewise.
58885         (binaries-shared): Remove variable.
58886         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58887         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58888         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58889         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58890         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58891         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58892         * elf/Makefile (sln-modules): New variable.
58893         (extra-objs): Add $(sln-modules:=.o).
58894         (ldconfig-modules): Add static-stubs.
58895         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58896         * elf/static-stubs.c: New file.
58898         [BZ #14283]
58899         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58900         by 7 not 8 to examine high bit of fractional part.  Use volatile
58901         variables when splitting into final array of floats if
58902         __FLT_EVAL_METHOD__ != 0.
58903         * math/libm-test.inc (cos_test): Add another test.
58904         (sin_test): Likewise.
58905         * sysdeps/i386/fpu/libm-test-ulps: Update.
58907         [BZ #14273]
58908         * math/libm-test.inc (cosh_test): Add more tests.
58910         * version.h (RELEASE): Set to "development".
58911         (VERSION): Set to "2.16.90".
58913 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58915         * NEWS: Update copyright. Remove last-updated date.
58916         Mention math library bug fixes and timezone data changes.
58917         * README: Mention GNU/Hurd, x32, and HPPA support status.
58919 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58921         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58923 2012-06-27  Andreas Jaeger  <aj@suse.de>
58925         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58927 2012-06-25  Andreas Jaeger  <aj@suse.de>
58929         * sysdeps/s390/fpu/libm-test-ulps: Update.
58931 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58932             Thomas Schwinge  <thomas@codesourcery.com>
58934         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58935         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58936         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58937         fanotify_mark.
58939 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58941         * sysdeps/mach/start.c: Remove file.
58942         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58943         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58944         * sysdeps/sh/init-first.c: Likewise.
58946         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58947         registers for frame unwinding purposes, add CFI directives.
58948         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58949         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58950         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58951         Likewise.
58953         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58954         __fortify_fail returning.
58955         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58957         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58958         sysdeps/sh/____longjmp_chk.S.
58959         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58960         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58961         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58962         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58964         * sysdeps/sh/abort-instr.h: New file.
58965         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58966         process in case exit returns.
58968         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58969         initialize the GOT register before use.
58971         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58972         calculation of ARGC > 4.
58974         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58975         meaningful names to some local labels.
58977 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58978             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58980         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58981         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58982         (__arch_compare_and_exchange_val_16_acq): Likewise.
58983         (__arch_compare_and_exchange_val_32_acq): Likewise.
58984         (atomic_exchange_and_add): Fix gUSA sequence.
58985         (atomic_add): Likewise.
58986         (atomic_add_negative): Likewise.
58987         (atomic_add_zero): Likewise.
58988         (atomic_bit_test_set): Likewise.
58990 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58992         [BZ #13579]
58993         * include/link.h (struct link_map): Add l_free_initfini.
58994         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58995         l_initfini.
58996         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58997         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58998         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58999         set.
59001 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59003         * configure.in: Use AC_LANG_SOURCE.
59004         * configure: Regenerate.
59006 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59008         * configure.in (libc_cv_localstatedir): New substituted variable.
59009         * configure: Regenerated.
59010         * config.make.in (localstatedir): New variable, substituted from
59011         libc_cv_localstatedir.
59012         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59013         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59014         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59015         * sysdeps/gnu/configure: Regenerated.
59017 2012-06-21  Jeff Law  <law@redhat.com>
59019         [BZ #14277]
59020         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59021         free.  Simplify list management for _LIBC case.
59023 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59025         [BZ #14273]
59026         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59027         Clear sign bit of 64-bit integer value before comparing against
59028         overflow value.
59030         * sysdeps/mach/configure: Regenerated.
59032 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59034         [BZ #14278]
59035         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59037 2012-06-21  Jeff Law  <law@redhat.com>
59039         [BZ #13882]
59040         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59041         uint16_t for elements in the "seen" array to avoid char overflows.
59042         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59043         * elf/dl-open.c (dl_open_worker): Likewise.
59045 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59047         * scripts/list-sources.sh: Scan PORTS for translations.
59048         * po/libc.pot: Regenerated.
59050 2012-06-21  Andreas Jaeger  <aj@suse.de>
59052         [BZ #12194]
59053         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59054         warning.
59055         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59056         * bits/byteswap-16.h (__bswap_16): Likewise.
59057         * bits/byteswap.h (__bswap_constant_16): Likewise.
59059 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59061         [BZ #14117]
59062         * sysdeps/i386/fpu_control.h: Removed.
59063         * sysdeps/x86_64/fpu_control.h: Moved to ...
59064         * sysdeps/x86/fpu_control.h: Here.
59066         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59067         (_FPU_SETCW): Likewise.
59069 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59071         [BZ #14117]
59072         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59073         * sysdeps/x86/fpu/bits/mathinline.h: This.
59074         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59076         [BZ #14050]
59077         [BZ #14117]
59078         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59079         functions if __x86_64__ is defined.
59081 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59083         * string/endian.h: Add !__ASSEMBLER__ condition for including
59084         conversion interfaces.
59086 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59088         [BZ #14241]
59089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59090         of ABS(x) in calculating zero to negative powers other than odd
59091         integers.
59092         * math/libm-test.inc (pow_test): Add more tests.
59094 2012-06-15  Andreas Jaeger  <aj@suse.de>
59096         * manual/contrib.texi (Contributors): Update entry of Liubov
59097         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59098         Machado Filho.
59100 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59102         * string/string.h: Add __wur to GNU version of strerror_r.
59104 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59106         [BZ #14229]
59107         * string/Makefile (tests): Add tst-strtok_r.
59108         * string/tst-strtok_r.c: New file.
59109         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59110         RAX_LP/RDX_LP on SAVE_PTR.
59112 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59114         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59116 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59118         * libm_test.inc (csqrt_test): Allow more spurious underflow
59119         exceptions.
59120         (j0_test): Likewise.
59121         (j1_test): Likewise.
59122         (y0_test): Likewise.
59123         (y1_test): Likewise.
59125 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59127         * po/Makefile (libc.pot): Use UTF-8 charset.
59129 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59131         [BZ #14210]
59132         Suppress sign-conversion warning from FD_SET.
59133         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59134         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59135         not unsigned long int.
59136         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59138 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59140         [BZ #14050]
59141         [BZ #14117]
59142         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59143         __extern_always_inline instead of __extern_inline.
59144         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59145         (__signbit): Likewise.
59146         (__signbitl): Support C++ namespace.
59147         (lrintf): New inline function.
59148         (lrint): Likewise.
59149         (llrintf): Likewise.
59150         (llrint): Likewise.
59151         (fmaxf): Likewise.
59152         (fmax): Likewise.
59153         (fminf): Likewise.
59154         (fmin): Likewise.
59155         (rint): Likewise.
59156         (rintf): Likewise.
59157         (ceil): Likewise.
59158         (ceilf): Likewise.
59159         (floor): Likewise.
59160         (floorf): Likewise.
59161         (nearbyint): Likewise.
59162         (nearbyintf): Likewise.
59164 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59166         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59167         non-default versions.
59169 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59171         [BZ #14218]
59172         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59174 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59176         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59177         (FE_UPWARD, FE_DOWNWARD): Don't define.
59178         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59179         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59181         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59182         reading it.
59183         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59184         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59186 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59188         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59189         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59190         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59191         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59193 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59195         [BZ #14117]
59196         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59197         * sysdeps/i386/fpu/Implies: New file.
59198         * sysdeps/x86_64/fpu/Implies: Likewise.
59199         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59200         * sysdeps/x86/fpu/bits/fenv.h: This.
59202         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59203         __SSE_MATH__.
59205 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59207         [BZ #14134]
59208         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59209         character 0xffff that matches the last element of the
59210         conversion table.
59212 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59215         fmodl commit.
59217 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59220         values higher than 25.6283.
59222 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59225         subnormal exponent extraction and add some __builtin_expect.
59226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59227         Fix for subnormal mantissa calculation.
59229 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59231         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59232         cpu2 is -1 and errno is not ENOSYS.
59234 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59236         [BZ #14117]
59237         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59238         * sysdeps/x86/bits/string.h: This.
59239         * sysdeps/x86_64/bits/string.h: Removed.
59241         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59242         if not compiling for x86-64, but compiling for >= i486.
59244         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59245         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59247         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59248         New macro from Linux kernel 3.4.0.
59249         (FP_XSTATE_MAGIC2): Likewise.
59250         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59251         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59252         (struct _fpx_sw_bytes): New struct.
59253         (struct _xsave_hdr): Likewise.
59254         (struct _ymmh_state): Likewise.
59255         (struct _xstate): Likewise.
59257         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59258         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59259         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59260         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59261         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59262         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59264         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59265         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59266         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59267         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59268         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59269         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59271 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59273         [BZ #13743]
59274         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59275         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59276         (sysdep_headers): Include sys/platform/ppc.h.
59277         * sysdeps/powerpc/test-gettimebase.c: Test for
59278         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59279         * manual/Makefile (appendices): Include platform.texi.
59280         * manual/contrib.texi (Contributors): Update @node pointers.
59281         * manual/maint.texi (Maintenance): Likewise.
59282         (Platform): New node.
59283         * manual/platform.texi: New file.  Document the new features.
59285 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59286             Jakub Jelinek  <jakub@redhat.com>
59288         [BZ #14188]
59289         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59290         where __builtin_expect is unavailable.
59292 2012-06-03  David S. Miller  <davem@davemloft.net>
59294         * stdlib/longlong.h: Updated from GCC.
59296 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59298         [BZ #14042]
59299         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59300         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59301         __mcount_internal.
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59303         (GLIBC_2.16): Likewise.
59305 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59307         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59309 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59312         (default-abi): New variable.
59313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59314         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59315         variable.
59316         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59317         Likewise.
59318         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59319         Likewise.
59320         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59321         Likewise.
59323         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59324         definition.  Document in comment.
59326 2012-06-01  David S. Miller  <davem@davemloft.net>
59328         * stdlib/longlong.h: Updated from GCC.
59330 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59332         [BZ #14117]
59333         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59334         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59335         sys/debugreg.h sys/io.h here.
59336         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59337         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59338         sys/io.h.
59339         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59340         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59341         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59342         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59343         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59344         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59346         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59347         Define only if __x86_64__ is defined.
59349 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59351         [BZ #14048]
59352         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59353         Use int64_t for variable i.
59354         * math/libm-test.inc (fmod_test): Add more tests.
59356         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59357         z computation is not scheduled after fetestexcept.
59358         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59359         Use math_force_eval instead of asm to ensure calculation scheduled
59360         before exception test.
59361         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59362         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59364 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59367         computation is not scheduled after fetestexcept.
59369 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59371         [BZ #14117]
59372         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59373         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59375 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59377         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59378         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59380 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59382         [BZ #14117]
59383         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59384         <bits/wordsize.h>.
59385         (__WCHAR_MIN): Support __WORDSIZE == 64.
59386         (__WCHAR_MAX): Likewise.
59388         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59389         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59391         [BZ #14183]
59392         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59393         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59395         [BZ #14117]
59396         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59397         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59399         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59400         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59402         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59403         Defined to 1 if __x86_64__ isn't defined.
59404         (_STAT_VER_LINUX_OLD): New.
59405         (st_atime): Remove duplicate.
59406         (st_mtime): Likewise.
59407         (st_ctime): Likewise.
59409 2012-05-31  David S. Miller  <davem@davemloft.net>
59411         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59412         entries.
59414 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59416         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59417         gen-libm-test.pl.
59419         [BZ #14132]
59420         * elf/dl-reloc.c: Include <_itoa.h>.
59421         (_dl_reloc_bad_type): Remove use of INTUSE.
59422         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59423         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59424         * stdio-common/psiginfo.c (psiginfo): Likewise.
59425         * stdio-common/psignal.c (psignal): Likewise.
59426         * string/strsignal.c (strsignal): Likewise.
59427         * include/signal.h (_sys_siglist): Declare hidden proto.
59428         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59429         INTVARDEF with libc_hidden_data_def.
59430         * stdio-common/itoa-udigits.c: Likewise.
59431         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59432         (_itoa_lower_digits_internal): Remove declaration.
59433         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59434         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59435         (_sys_sigabbrev_internal): Remove aliases.
59436         (_sys_siglist): Define hidden alias.
59438 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59441         bits/sysctl.h.
59443 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59445         [BZ #14117]
59446         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59447         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59449         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59450         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59451         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59452         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59453         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59454         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59456         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59457         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59458         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59460         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59461         with __addr.
59462         (insw): Likewise.
59463         (insl): Likewise.
59464         (outsb): Likewise.
59465         (outsw): Likewise.
59466         (outsl): Likewise.
59468         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59469         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59470         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59472         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59473         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59474         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59475         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59476         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59477         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59479         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59480         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59482         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59483         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59485         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59486         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59487         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59489         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59490         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59491         to ...
59492         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59494         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59495         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59496         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59498         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59499         for x86-64.
59500         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59502 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59504         * math/math.h (M_El): Use two more decimal places.
59505         (M_LOG2El): Likewise.
59506         (M_LOG10El): Likewise.
59507         (M_LN2l): Likewise.
59508         (M_LN10l): Likewise.
59509         (M_PIl): Likewise.
59510         (M_PI_2l): Likewise.
59511         (M_PI_4l): Likewise.
59512         (M_1_PIl): Likewise.
59513         (M_2_PIl): Likewise.
59514         (M_2_SQRTPIl): Likewise.
59515         (M_SQRT2l): Likewise.
59516         (M_SQRT1_2l): Likewise.
59518 2012-05-31  David S. Miller  <davem@davemloft.net>
59520         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59521         values between float registers.
59522         * sysdeps/sparc/sparc64/memset.S: Likewise.
59523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59525 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59527         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59528         -D_FORTIFY_SOURCE=1.
59529         (CPPFLAGS-tst-longjmp_chk.c): Define.
59530         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59531         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59532         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59533         CFLAGS-tst-wchar-h.c.
59535 2012-05-31  Marek Polacek  <polacek@redhat.com>
59537         [BZ #14132]
59538         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59539         __endmntent_internal): Remove declaration.
59540         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59541         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59542         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59544 2012-05-30  David S. Miller  <davem@davemloft.net>
59546         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59547         (___Q_simulate_exceptions): Use real FP ops rather than writing
59548         into the %fsr.
59549         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59550         Likewise.
59552 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59554         [BZ #14117]
59555         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59556         * sysdeps/x86/bits/xtitypes.h: This.
59558         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59559         * sysdeps/x86/bits/wordsize.h: This.
59561         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59562         * sysdeps/x86/bits/huge_vall.h: This.
59564         * sysdeps/i386/bits/select.h: Removed.
59565         * sysdeps/x86_64/bits/select.h: Renamed to ...
59566         * sysdeps/x86/bits/select.h: This.
59568         * sysdeps/i386/bits/setjmp.h: Removed.
59569         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59570         * sysdeps/x86/bits/setjmp.h: This.
59572         * sysdeps/i386/bits/mathdef.h: Removed.
59573         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59574         * sysdeps/x86/bits/mathdef.h: This.
59576 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59578         [BZ #14132]
59579         * include/sys/socket.h (__connect_internal)
59580         (__libc_sa_len_internal): Remove declaration.
59581         (__connect, __libc_sa_len): Declare hidden_proto.
59582         (SA_LEN): Remove use of INTUSE.
59583         * socket/connect.c: Add libc_hidden_def.
59584         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59585         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59586         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59587         alias.
59588         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59589         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59590         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59591         of adding _internal alias.
59593 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59595         [BZ #14117]
59596         * sysdeps/i386/bits/link.h: Removed.
59597         * sysdeps/i386/bits/linkmap.h: Likewise.
59598         * sysdeps/x86_64/bits/link.h: Renamed to ...
59599         * sysdeps/x86/bits/link.h: This.
59600         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59601         * sysdeps/x86/bits/linkmap.h: This.
59603         * sysdeps/i386/bits/endian.h: Removed.
59604         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59605         * sysdeps/x86/bits/endian.h: This.
59607         * sysdeps/i386/bits/byteswap.h: Removed.
59608         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59609         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59610         * sysdeps/x86/bits/byteswap.h: This.
59611         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59612         * sysdeps/x86/bits/byteswap-16.h: This.
59613         * sysdeps/i386/Implies: Add x86.
59614         * sysdeps/x86_64/Implies: Likewise.
59616 2012-05-30  David S. Miller  <davem@davemloft.net>
59618         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59619         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59620         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59621         (FP_TRAPPING_EXCEPTIONS): Define.
59622         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59623         (FP_TRAPPING_EXCEPTIONS): Define.
59624         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59625         subnormals only when inexact has been signalled or underflow
59626         exceptions are enabled.
59627         (_FP_PACK_CANONICAL): Likewise.
59629 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59631         [BZ #14183]
59632         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59633         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59635 2012-05-30  Richard Henderson  <rth@twiddle.net>
59637         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59638         with #ifndef NOT_IN_libc.
59640         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59641         marked to avoid plt entry.
59643 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59645         [BZ #14112]
59646         * Makeconfig (default-abi): New macro.
59647         (abi-includes): Likewise.
59648         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59649         $(abi-$(default-abi)-lib-soname) for soname if defined.
59650         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59651         abi-variants.
59652         * Makefile (installed-stubs): Likewise.
59653         * include/stubs-biarch.h: Removed.
59654         * scripts/lib-names.awk: Only handle one library at a time.
59655         * scripts/soversions.awk: Remove WORDSIZE support.
59656         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59657         entries.
59658         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59659         Removed.
59660         (syscall-list-default-condition): Likewise.
59661         (syscall-list-default-condition): Likewise.
59662         (syscall-list-includes): Likewise.
59663         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59664         syscall-list-* with abi-*.  Handle undefined abi-variants.
59665         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59666         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59667         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59668         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59669         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59670         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59671         Removed.
59672         (syscall-list-32-options): Likewise.
59673         (syscall-list-32-condition): Likewise.
59674         (syscall-list-64-options): Likewise.
59675         (syscall-list-64-condition): Likewise.
59676         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59677         macro.
59678         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59679         Renamed to ...
59680         (abi-*): This.
59681         (abi-64-ld-soname): New macro.
59682         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59683         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59684         Renamed to ...
59685         (abi-*): This.
59686         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59687         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59689 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59691         * sysdeps/unix/sysv/linux/kernel-features.h
59692         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59693         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59694         include <kernel-features.h>.
59695         [!__NR_ftruncate64]: Remove conditional code.
59696         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59697         [__NR_ftruncate64]: Make code unconditional.
59698         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59699         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59700         include <kernel-features.h>.
59701         [!__NR_ftruncate64]: Remove conditional code.
59702         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59703         [__NR_ftruncate64]: Make code unconditional.
59704         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59706         include <kernel-features.h>.
59707         [!__NR_ftruncate64]: Remove conditional code.
59708         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59709         [__NR_ftruncate64]: Make code unconditional.
59710         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59712         include <kernel-features.h>.
59713         [!__NR_ftruncate64]: Remove conditional code.
59714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59715         [__NR_ftruncate64]: Make code unconditional.
59716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59718         * configure.in (libc_cv_fpie): Weaken to a compile test using
59719         LIBC_TRY_CC_OPTION.
59720         * configure: Regenerated.
59722 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59728         Refreshed.
59729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59735         Refreshed.
59737 2012-05-27  David S. Miller  <davem@davemloft.net>
59739         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59740         (___Q_zero): New.
59741         (__Q_simulate_exceptions): Return void.  Change to simulate
59742         exceptions by writing into the %fsr.
59743         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59744         (__Qp_handle_exceptions): Likewise.
59745         (numbers): Delete.
59746         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59747         __Qp_handle_exceptions.
59748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59749         __Qp_handle_exceptions.
59750         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59751         as unused and give dummy FP_RND_NEAREST initializer.
59752         (FP_INHIBIT_RESULTS): Define.
59753         (___Q_simulate_exceptions): Update declaration.
59754         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59755         formatting.
59756         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59757         as unused and give dummy FP_RND_NEAREST initializer.
59758         (__Qp_handle_exceptions): Update declaration.
59759         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59760         formatting.
59762 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59764         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59765         the temporary FPU control word.
59766         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59767         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59768         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59769         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59770         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59771         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59772         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59773         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59774         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59775         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59776         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59778 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59780         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59781         fields.
59783 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59785         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59786         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59787         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59788         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59789         Likewise.
59790         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59791         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59792         Likewise.
59794 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59796         * po/h.po: Update from translation team.
59798 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59800         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59802         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59803         handling of denormals.
59804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59805         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59806         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59807         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59810         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59811         Likewise.
59813 2012-05-26  Marek Polacek  <polacek@redhat.com>
59815         [BZ #14152]
59816         * math/libm-test.inc (fma_test): Don't always expect underflow
59817         exception.
59819 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59821         [BZ #12416]
59822         * elf/tst-execstack.c: Include stackinfo.h.
59823         (do_test): Adjust test case to ensure that pthread_getattr_np
59824         behaviour remains the same after marking stack executable.
59826 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59828         * sysdeps/unix/sysv/linux/kernel-features.h
59829         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59830         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59831         kernel-features.h.
59832         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59833         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59834         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59835         kernel-features.h.
59836         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59837         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59839 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59841         * configure.in: Define the default includes to being none.
59842         * configure: Regenerated.
59844 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59846         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59847         * sysdeps/x86_64/setjmp.S: Likewise.
59848         * sysdeps/i386/bsd-setjmp.S: Likewise.
59849         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59850         * sysdeps/i386/setjmp.S: Likewise.
59851         * sysdeps/i386/__longjmp.S: Likewise.
59852         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59853         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59855         * include/stap-probe.h: New file.
59856         * configure.in: Handle --enable-systemtap.
59857         * configure: Regenerated.
59858         * config.h.in (USE_STAP_PROBE): New #undef.
59859         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59860         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59861         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59863 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59865         [BZ #13717]
59866         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59867         to 2.4.0 where earlier.
59868         * sysdeps/unix/sysv/linux/configure: Regenerated.
59869         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59870         <kernel-features.h>.
59871         [__ASSUME_32BITUIDS]: Make code unconditional.
59872         [!__ASSUME_32BITUIDS]: Remove conditional code.
59873         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59874         <kernel-features.h>.
59875         [__ASSUME_32BITUIDS]: Make code unconditional.
59876         [!__ASSUME_32BITUIDS]: Remove conditional code.
59877         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59878         [__ASSUME_32BITUIDS]: Make code unconditional.
59879         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59880         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59881         <kernel-features.h>.
59882         [__ASSUME_32BITUIDS]: Make code unconditional.
59883         [!__ASSUME_32BITUIDS]: Remove conditional code.
59884         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59885         <kernel-features.h>.
59886         [__ASSUME_32BITUIDS]: Make code unconditional.
59887         [!__ASSUME_32BITUIDS]: Remove conditional code.
59888         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59889         <kernel-features.h>.
59890         [__ASSUME_32BITUIDS]: Make code unconditional.
59891         [!__ASSUME_32BITUIDS]: Remove conditional code.
59892         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59893         <kernel-features.h>.
59894         [__ASSUME_32BITUIDS]: Make code unconditional.
59895         [!__ASSUME_32BITUIDS]: Remove conditional code.
59896         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59897         <kernel-features.h>.
59898         [__ASSUME_32BITUIDS]: Make code unconditional.
59899         [!__ASSUME_32BITUIDS]: Remove conditional code.
59900         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59901         <kernel-features.h>.
59902         [__ASSUME_32BITUIDS]: Make code unconditional.
59903         [!__ASSUME_32BITUIDS]: Remove conditional code.
59904         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59905         <kernel-features.h>.
59906         [__ASSUME_32BITUIDS]: Make code unconditional.
59907         [!__ASSUME_32BITUIDS]: Remove conditional code.
59908         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59909         <kernel-features.h>.
59910         [__ASSUME_32BITUIDS]: Make code unconditional.
59911         [!__ASSUME_32BITUIDS]: Remove conditional code.
59912         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59913         <kernel-features.h>.
59914         [__ASSUME_32BITUIDS]: Make code unconditional.
59915         [!__ASSUME_32BITUIDS]: Remove conditional code.
59916         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59917         <kernel-features.h>.
59918         [__ASSUME_32BITUIDS]: Make code unconditional.
59919         [!__ASSUME_32BITUIDS]: Remove conditional code.
59920         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59921         <kernel-features.h>.
59922         [__NR_setresgid] (__setresgid): Do not declare.
59923         [__ASSUME_32BITUIDS]: Make code unconditional.
59924         [!__ASSUME_32BITUIDS]: Remove conditional code.
59925         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59926         <kernel-features.h>.
59927         [__NR_setresuid] (__setresuid): Do not declare.
59928         [__ASSUME_32BITUIDS]: Make code unconditional.
59929         [!__ASSUME_32BITUIDS]: Remove conditional code.
59930         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59931         <kernel-features.h>.
59932         [__ASSUME_32BITUIDS]: Make code unconditional.
59933         [!__ASSUME_32BITUIDS]: Remove conditional code.
59934         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59935         <kernel-features.h>.
59936         [__ASSUME_32BITUIDS]: Make code unconditional.
59937         [!__ASSUME_32BITUIDS]: Remove conditional code.
59938         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59939         <kernel-features.h>.
59940         [__ASSUME_32BITUIDS]: Make code unconditional.
59941         [!__ASSUME_32BITUIDS]: Remove conditional code.
59942         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59943         <kernel-features.h>.
59944         [__ASSUME_32BITUIDS]: Make code unconditional.
59945         [!__ASSUME_32BITUIDS]: Remove conditional code.
59946         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59947         <kernel-features.h>.
59948         [__ASSUME_32BITUIDS]: Make code unconditional.
59949         [!__ASSUME_32BITUIDS]: Remove conditional code.
59950         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59951         <kernel-features.h>.
59952         [__ASSUME_32BITUIDS]: Make code unconditional.
59953         [!__ASSUME_32BITUIDS]: Remove conditional code.
59954         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59955         <kernel-features.h>.
59956         [__ASSUME_32BITUIDS]: Make code unconditional.
59957         [!__ASSUME_32BITUIDS]: Remove conditional code.
59958         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59959         <kernel-features.h>.
59960         [__ASSUME_32BITUIDS]: Make code unconditional.
59961         [!__ASSUME_32BITUIDS]: Remove conditional code.
59962         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59963         <kernel-features.h>.
59964         [__ASSUME_32BITUIDS]: Make code unconditional.
59965         [!__ASSUME_32BITUIDS]: Remove conditional code.
59966         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59967         <kernel-features.h>.
59968         [__ASSUME_32BITUIDS]: Make code unconditional.
59969         [!__ASSUME_32BITUIDS]: Remove conditional code.
59970         * sysdeps/unix/sysv/linux/kernel-features.h
59971         (__ASSUME_SETRESUID_SYSCALL): Remove.
59972         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59973         (__ASSUME_32BITUIDS): Likewise.
59974         (__ASSUME_LDT_WORKS): Likewise.
59975         (__ASSUME_O_DIRECTORY): Likewise.
59976         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59977         architecture but not kernel version.
59978         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59979         (__ASSUME_MMAP2_SYSCALL): Likewise.
59980         (__ASSUME_STAT64_SYSCALL): Likewise.
59981         (__ASSUME_IPC64): Likewise.
59982         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59983         <kernel-features.h>.
59984         [__ASSUME_32BITUIDS]: Make code unconditional.
59985         [!__ASSUME_32BITUIDS]: Remove conditional code.
59986         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59987         <kernel-features.h>.
59988         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59989         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59990         132096]: Remove conditional code.
59991         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59992         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59993         <kernel-features.h>.
59994         [__ASSUME_32BITUIDS]: Make code unconditional.
59995         [!__ASSUME_32BITUIDS]: Remove conditional code.
59996         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59997         <kernel-features.h>.
59998         [__ASSUME_32BITUIDS]: Make code unconditional.
59999         [!__ASSUME_32BITUIDS]: Remove conditional code.
60000         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60001         <kernel-features.h>.
60002         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60003         unconditional.
60004         (__setresgid): Do not declare.
60005         [__ASSUME_32BITUIDS]: Make code unconditional.
60006         [!__ASSUME_32BITUIDS]: Remove conditional code.
60007         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60008         <kernel-features.h>.
60009         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60010         unconditional.
60011         (__setresuid): Do not declare.
60012         [__ASSUME_32BITUIDS]: Make code unconditional.
60013         [!__ASSUME_32BITUIDS]: Remove conditional code.
60014         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60015         <kernel-features.h>.
60016         [__ASSUME_32BITUIDS]: Make code unconditional.
60017         [!__ASSUME_32BITUIDS]: Remove conditional code.
60018         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60019         <kernel-features.h>.
60020         [__ASSUME_32BITUIDS]: Make code unconditional.
60021         [!__ASSUME_32BITUIDS]: Remove conditional code.
60023 2012-05-25  Richard Henderson  <rth@twiddle.net>
60025         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60026         dl_hwcap to ifunc resolver.
60027         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60028         elf_ifunc_invoke.
60029         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60030         dl_hwcap to ifunc resolver.
60031         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60033 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60035         [BZ #14153]
60036         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60037         for |x| <= 2**-26, not 2**-57.
60038         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60039         exception.
60041 2012-05-24  Jeff Law  <law@redhat.com>
60043         * stdio-common/Makefile (tests): Add bug25.
60044         * stdio-common/bug25.c: New test.
60046 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60048         [BZ #13576]
60049         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60050         multiple of MALLOC_ALIGNMENT in size.
60051         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60053 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60055         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60056         Require >= 256.
60057         (FILENAME_MAX): Use macro-int-constant.
60058         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60059         (_IOFBF): Use macro-int-constant.
60060         (_IOLBF): Likewise.
60061         (_IONBF): Likewise.
60062         (SEEK_CUR): Likewise.
60063         (SEEK_END): Likewise.
60064         (SEEK_SET): Likewise.
60065         (TMP_MAX): Likewise.
60066         (EOF): Use macro-int-constant.  Require < 0.
60067         (NULL): Use macro-constant.  Require == 0.
60068         (stdin): Require type to be FILE *.
60069         (stdout): Likewise.
60070         (stderr): Likewise.
60071         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60072         macro-int-constant.
60073         (EXIT_SUCCESS): Likewise.
60074         (NULL): Use macro-constant.  Require == 0.
60075         (RAND_MAX): Use macro-int-constant.
60076         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60077         [C99-based standards] (strtof): Require function.
60078         [C99-based standards] (strtold): Likewise.
60079         [C99-based standards] (strtoll): Likewise.
60080         [C99-based standards] (strtoull): Likewise.
60081         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60082         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60083         [ISO || ISO99 || ISO11] (math.h): Likewise.
60084         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60085         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60086         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60088 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60090         [BZ #14132]
60091         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60092         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60093         * intl/dgettext.c (DCGETTEXT): Likewise.
60094         * intl/gettext.c (DCGETTEXT): Likewise.
60095         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60096         * posix/regex_internal.h (gettext): Likewise.
60097         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60098         Remove declaration.
60099         * include/argz.h (__argz_count_internal)
60100         (__argz_stringify_internal): Remove declaration.
60101         (__argz_count, __argz_stringify): Declare hidden proto.
60102         * intl/dcgettext.c: Remove use of INTDEF.
60103         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60104         * string/argz-stringify.c: Likewise.
60105         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60106         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60107         Declare hidden proto.
60108         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60109         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60110         Declare hidden proto.
60111         * include/stdio.h (__asprintf_internal): Don't declare.
60112         (__asprintf): Don't define as macro.  Declare hidden proto.
60113         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60114         (__fsetlocking): Declare hidden proto.
60115         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60116         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60117         hidden proto.
60118         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60119         (_IO_setlinebuf): Remove use of INTUSE.
60120         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60121         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60122         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60123         Remove declaration.
60124         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60125         (_IO_do_flush): Remove use of INTUSE.
60126         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60127         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60128         (_IO_adjust_column, _IO_least_wmarker)
60129         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60130         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60131         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60132         (_IO_default_doallocate, _IO_wdefault_doallocate)
60133         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60134         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60135         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60136         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60137         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60138         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60139         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60140         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60141         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60142         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60143         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60144         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60145         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60146         proto.
60147         (_IO_flush_all_internal, _IO_adjust_column_internal)
60148         (_IO_default_uflow_internal, _IO_default_finish_internal)
60149         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60150         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60151         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60152         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60153         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60154         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60155         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60156         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60157         (_IO_file_close_internal, _IO_file_close_it_internal)
60158         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60159         (_IO_file_init_internal, _IO_file_attach_internal)
60160         (_IO_file_fopen_internal, _IO_file_read_internal)
60161         (_IO_file_sync_internal, _IO_file_seek_internal)
60162         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60163         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60164         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60165         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60166         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60167         (_IO_list_all_internal, _IO_link_in_internal)
60168         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60169         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60170         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60171         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60172         (_IO_do_write_internal, _IO_padn_internal)
60173         (_IO_getline_info_internal, _IO_getline_internal)
60174         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60175         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60176         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60177         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60178         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60179         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60180         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60181         with libc_hidden_ver, remove use of INTUSE.
60182         * libio/genops.c: Likewise.
60183         * libio/freopen.c: Likewise.
60184         * libio/freopen64.c: Likewise.
60185         * libio/iofclose.c: Likewise.
60186         * libio/iofdopen.c: Likewise.
60187         * libio/iofflush.c: Likewise.
60188         * libio/iofflush_u.c: Likewise.
60189         * libio/iofgets.c: Likewise.
60190         * libio/iofgets_u.c: Likewise.
60191         * libio/iofopen.c: Likewise.
60192         * libio/iofopncook.c: Likewise.
60193         * libio/iofread.c: Likewise.
60194         * libio/iofread_u.c: Likewise.
60195         * libio/ioftell.c: Likewise.
60196         * libio/iofwrite.c: Likewise.
60197         * libio/iogetline.c: Likewise.
60198         * libio/iogets.c: Likewise.
60199         * libio/iogetwline.c: Likewise.
60200         * libio/iopadn.c: Likewise.
60201         * libio/iopopen.c: Likewise.
60202         * libio/ioseekoff.c: Likewise.
60203         * libio/ioseekpos.c: Likewise.
60204         * libio/iosetbuffer.c: Likewise.
60205         * libio/iosetvbuf.c: Likewise.
60206         * libio/ioungetc.c: Likewise.
60207         * libio/ioungetwc.c: Likewise.
60208         * libio/iovdprintf.c: Likewise.
60209         * libio/iovsprintf.c: Likewise.
60210         * libio/iovsscanf.c: Likewise.
60211         * libio/memstream.c: Likewise.
60212         * libio/obprintf.c: Likewise.
60213         * libio/oldfileops.c: Likewise.
60214         * libio/oldiofclose.c: Likewise.
60215         * libio/oldiofdopen.c: Likewise.
60216         * libio/oldiofopen.c: Likewise.
60217         * libio/oldiopopen.c: Likewise.
60218         * libio/oldstdfiles.c: Likewise.
60219         * libio/putc.c: Likewise.
60220         * libio/setbuf.c: Likewise.
60221         * libio/setlinebuf.c: Likewise.
60222         * libio/stdfiles.c: Likewise.
60223         * libio/strops.c: Likewise.
60224         * libio/vasprintf.c: Likewise.
60225         * libio/vscanf.c: Likewise.
60226         * libio/vsnprintf.c: Likewise.
60227         * libio/vswprintf.c: Likewise.
60228         * libio/wfiledoalloc.c: Likewise.
60229         * libio/wfileops.c: Likewise.
60230         * libio/wgenops.c: Likewise.
60231         * libio/wmemstream.c: Likewise.
60232         * libio/wstrops.c: Likewise.
60233         * libio/__fpurge.c: Likewise.
60234         * libio/__fsetlocking.c: Likewise.
60235         * assert/assert.c: Likewise.
60236         * debug/fgets_chk.c: Likewise.
60237         * debug/fgets_u_chk.c: Likewise.
60238         * debug/fread_chk.c: Likewise.
60239         * debug/fread_u_chk.c: Likewise.
60240         * debug/gets_chk.c: Likewise.
60241         * debug/obprintf_chk.c: Likewise.
60242         * debug/vasprintf_chk.c: Likewise.
60243         * debug/vdprintf_chk.c: Likewise.
60244         * debug/vsnprintf_chk.c: Likewise.
60245         * debug/vsprintf_chk.c: Likewise.
60246         * malloc/mtrace.c: Likewise.
60247         * misc/error.c: Likewise.
60248         * misc/syslog.c: Likewise.
60249         * stdio-common/asprintf.c: Likewise.
60250         * stdio-common/fxprintf.c: Likewise.
60251         * stdio-common/getw.c: Likewise.
60252         * stdio-common/isoc99_fscanf.c: Likewise.
60253         * stdio-common/isoc99_scanf.c: Likewise.
60254         * stdio-common/isoc99_vfscanf.c: Likewise.
60255         * stdio-common/isoc99_vscanf.c: Likewise.
60256         * stdio-common/isoc99_vsscanf.c: Likewise.
60257         * stdio-common/printf-prs.c: Likewise.
60258         * stdio-common/printf_fp.c: Likewise.
60259         * stdio-common/printf_fphex.c: Likewise.
60260         * stdio-common/printf_size.c: Likewise.
60261         * stdio-common/putw.c: Likewise.
60262         * stdio-common/scanf.c: Likewise.
60263         * stdio-common/sprintf.c: Likewise.
60264         * stdio-common/tmpfile.c: Likewise.
60265         * stdio-common/vfprintf.c: Likewise.
60266         * stdio-common/vfscanf.c: Likewise.
60267         * stdlib/strfmon_l.c: Likewise.
60268         * sunrpc/openchild.c: Likewise.
60269         * sunrpc/xdr_stdio.c: Likewise.
60270         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60271         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60273 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60275         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60277         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60278         in the third column, to generate for the shared library an IFUNC
60279         that uses _dl_vdso_vsym.
60280         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60281         * Makeconfig (object-suffixes-noshared): New variable.
60283         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60284         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60285         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60286         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60288         [BZ #14132]
60289         * include/sys/time.h (__gettimeofday): Remove macro.
60290         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60291         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60292         Remove INTDEF.
60293         (__gettimeofday): Add libc_hidden_def.
60294         (gettimeofday): Add libc_hidden_weak.
60295         * sysdeps/mach/gettimeofday.c: Likewise.
60296         * sysdeps/posix/gettimeofday.c: Likewise.
60297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60298         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60300         (__gettimeofday_internal): Remove strong_alias.
60301         (__gettimeofday): Add libc_hidden_def.
60302         (gettimeofday): Add libc_hidden_weak.
60303         * sysdeps/unix/syscalls.list (gettimeofday):
60304         Remove __gettimeofday_internal alias.
60306 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60307             H.J. Lu  <hongjiu.lu@intel.com>
60309         [BZ #12495]
60310         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60311         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60312         (largebin_index_32_big): New.
60313         (largebin_index): Use it for 16-byte alignment.
60314         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60315         correction with front_misalign.
60317 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60321         Likewise.
60322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60323         Likewise.
60324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60325         Likewise.
60326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60327         Likewise.
60328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60329         Likewise.
60330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60331         Likewise.
60332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60333         Likewise.
60334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60335         Likewise.
60336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60337         Likewise.
60338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60339         Likewise.
60340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60341         Likewise.
60342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60343         Likewise.
60345         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60346         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60348 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60350         [BZ #10846]
60351         [BZ #14036]
60352         * math/libm-test.inc (exp_test): Add test from bug 14036.
60353         (pow_test): Add test from bug 10846.
60355         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60356         and other flags.
60357         (special_function): Do not include flags in test name.
60358         (parse_args): Likewise.
60359         * sysdeps/i386/fpu/libm-test-ulps: Update.
60360         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60361         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60362         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60365         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60366         exceptions.
60367         * math/libm-test.inc ("Philosophy"): Update comment about
60368         exception testing.
60369         (UNDERFLOW_EXCEPTION): New macro.
60370         (UNDERFLOW_EXCEPTION_OK): Likewise.
60371         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60372         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60373         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60374         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60375         (INVALID_EXCEPTION_OK): Update value.
60376         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60377         (OVERFLOW_EXCEPTION_OK): Likewise.
60378         (IGNORE_ZERO_INF_SIGN): Likewise.
60379         (test_exceptions): Handle underflow exceptions.
60380         (acos_test): Update for underflow exception expectations.
60381         (cexp_test): Likewise.
60382         (clog_test): Likewise.
60383         (clog10_test): Likewise.
60384         (csqrt_test): Likewise.
60385         (ctan_test): Likewise.
60386         (ctanh_test): Likewise.
60387         (exp_test): Likewise.
60388         (exp10_test): Likewise.
60389         (exp2_test): Likewise.
60390         (expm1_test): Likewise.
60391         (fma_test): Likewise.
60392         (j0_test): Likewise.
60393         (jn_test): Likewise.
60394         (nexttoward_test): Likewise.
60395         (pow_test): Likewise.
60396         (scalbn_test): Likewise.
60397         (scalbln_test): Likewise.
60398         (tan_test): Likewise.
60399         (y1_test): Likewise.
60400         * sysdeps/i386/fpu/libm-test-ulps: Update.
60401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60403 2012-05-23  David S. Miller  <davem@davemloft.net>
60405         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60406         (__libc_sigaction): Remove unused local variables.
60408 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60410         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60412 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60414         mktime: avoid signed integer overflow
60415         * time/mktime.c (__mktime_internal): Do not mishandle the case
60416         where diff == INT_MIN.
60418         mktime: simplify computation of average
60419         * time/mktime.c (ranged_convert): Use new time_t_avg function
60420         instead of rolling our own (probably-slower) code.
60422         mktime: do not assume signed right shift propagates sign bit
60423         * time/mktime.c (isdst_differ): New static function.
60424         (__mktime_internal): No need to normalize tm_isdst now.
60425         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60426         tm_isdst values.
60428         mktime: merge another wrapv change from gnulib
60429         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60430         from some compilers.
60432         mktime: remove incorrect attempt at unusual arithmetics
60433         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60434         The code didn't really work on such machines anyway.
60435         (TYPE_MINIMUM): Assume two's complement.
60436         (twos_complement_arithmetic): Verify that long_int and time_t
60437         are two's complement (or unsigned, in the latter case).
60439         mktime: check signed shifts on long_int and time_t, too
60440         * time/mktime.c (SHR): Check that shifts work as desired
60441         on the types long_int and time_t too, as SHR is used on
60442         such types.
60444         mktime: do not assume 'long' is wide enough
60445         * time/mktime.c (verify): Move decl up.
60446         (long_int): New type.
60447         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60448         to remove assumption in the code that 'long' is wide enough to
60449         store year values.  This assumption is not true on x32 and on
60450         some non-glibc platforms.
60452         mktime: merge wrapv change from gnulib
60453         * time/mktime.c (WRAPV): New macro.
60454         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60455         (guess_time_tm, __mktime_internal): Do not assume that signed
60456         integer overflow wraps around; modern compilers generate code
60457         where this assumption is no longer valid.
60459 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60461         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60462         Replace "jmp L(pseudo_end)" with "ret".
60463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60464         Likewise.
60466 2012-05-23  Andreas Jaeger  <aj@suse.de>
60468         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60469         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60471 2012-05-23  Andreas Jaeger  <aj@suse.de>
60472             Maximilian Attems  <max@stro.at>
60474         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60475         New macros.
60477 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60479         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60480         code so that pseudo_end is just ret and the stack pointer is
60481         correct also for static library in error case.
60483 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60485         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60486         move to syscalls.list.
60487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60492         * manual/install.texi (Running make install): Do not mention Linux
60493         kernel version for which pt_chown is not needed.
60494         (Linux): Do not mention problems with nscd with 2.0 kernels.
60495         * INSTALL: Regenerated.
60497 2012-05-23  Andreas Jaeger  <aj@suse.de>
60499         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60500         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60501         macro.
60502         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60503         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60504         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60505         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60506         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60507         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60508         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60509         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60510         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60511         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60512         * sysdeps/unix/sysv/linux/bits/in.h
60513         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60515 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60517         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60518         (PREPARE_VERSION): Just use assert instead, it will be elided
60519         under [NDEBUG] anyway.
60521 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60523         * sysdeps/unix/sysv/linux/Makefile: Include
60524         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60525         (sysdep_routines): Remove sysctl.
60526         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60527         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60528         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60529         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60530         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60532 2012-05-22  Andreas Jaeger  <aj@suse.de>
60534         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60535         that pseudo_end is just ret and the stack pointer is correct also
60536         for static library in error case.
60538 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60540         [BZ #14122]
60541         * nss/nsswitch.c (defconfig_entries): New variable.
60542         (__nss_database_lookup): Don't leak defconfig entries.
60543         (nss_parse_service_list): Don't leak on error paths.
60544         (free_database_entries): New function.
60545         (free_defconfig): New function.
60546         (free_mem): Move common code to free_database_entries.
60548 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60550         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60551         Add arch_prctl.
60552         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60554         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60555         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60557         New macro.
60558         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60559         (INTERNAL_SYSCALL_TYPES): Likewise.
60560         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60561         (LOAD_REGS_TYPES_[1-6]): Likewise.
60562         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60563         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60565 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60567         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60568         copysignl for GLIBC_2_0.
60569         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60570         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60572         logbl for GLIBC_2_0.
60573         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60574         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60576 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60578         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60579         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60581         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60582         Use "neg %eax".
60584         * time/mktime.c: Update copyright years.
60586 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60588         mktime: merge comment-quoting-style change from gnulib
60589         * time/mktime.c: Quote 'like this' in comments.
60590         The GNU coding standards suggest that we no longer quote `like this',
60591         as "`" and "'" are typically rendered asymmetrically nowadays.
60592         The typical gnulib style is to quote 'like this' when quoting
60593         code, and "like this" when quoting English.
60595         * time/mktime.c (compile-command): Add "-I.".
60597         mktime: merge mktime-internal.h change from gnulib
60598         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60600         mktime: merge time_r change from gnulib
60601         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60603         mktime: merge DEBUG change from gnulib
60604         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60605         case system <time.h> has a #define.
60607         mktime: merge <sys/types.h> change from gnulib
60608         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60609         since <time.t> is now guaranteed to define time_t.
60611         mktime: merge HAVE_CONFIG_H change from gnulib
60612         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60614 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60617         Use "neg %eax".
60619         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60620         __rlim_t cast.
60621         (struct rusage): Use anonymous union to pad each field to
60622         __syscall_slong_t.
60624 2012-05-21  David S. Miller  <davem@davemloft.net>
60626         * Makefules (o-iterator): Remove .s cases.
60627         (compile-command.s): Delete.
60628         (COMPILE.s): Delete.
60629         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60631 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60633         * configure.in (libc_cv_predef_stack_protector): Only consider
60634         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60635         * configure: Regenerated.
60637 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60640         New macro.  Use R*LP on int and pointer.
60641         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60642         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60643         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60644         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60646         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60647         [__WORDSIZE_TIME64_COMPAT32] instead of
60648         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60649         (struct utmp): Likewise.
60650         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60651         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60652         Renamed to ...
60653         (__WORDSIZE_TIME64_COMPAT32): This.
60654         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60655         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60656         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60657         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60658         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60659         (__WORDSIZE_TIME64_COMPAT32): New macro.
60661 2012-05-21  Andreas Jaeger  <aj@suse.de>
60663         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60664         only if [SHARED]. Add prototype for __wcschr_ia32.
60666 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60668         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60669         of %rbp unmolested in the jmp_buf while mangling the low bits.
60670         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60671         unmolested high bits of %rbp while demangling the low bits.
60672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60674 2012-05-21  Andreas Jaeger  <aj@suse.de>
60676         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60677         * sunrpc/svc_simple.c: Use it for registerrpc.
60678         * sunrpc/xcrypt.c: Use it for passwd2des.
60680         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60682 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60684         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60685         Don't define if [__SYSCALL_WORDSIZE != 32].
60686         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60687         New macro.
60689 2012-05-21  Bruno Haible  <bruno@clisp.org>
60690             Andreas Jaeger  <aj@suse.de>
60692         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60693         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60694         inptr and inend for must_buffer_ch.
60695         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60696         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60697         * stdio-common/Makefile (tests): Remove bug15.
60698         (bug15-ENV): Remove macro.
60699         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60700         anymore.
60702 2012-05-19  Andreas Jaeger  <aj@suse.de>
60703             Roland McGrath  <roland@hack.frob.com>
60705         * manual/contrib.texi: Completely rewritten. It contains now an
60706         alphabetical list of contributors and their contributions.
60708 2012-05-21  Richard Henderson  <rth@twiddle.net>
60710         * misc/getauxval.c (__getauxval): Use unsigned long int.
60711         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60712         (getauxval): Use unsigned long int.
60714 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60716         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60718 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60720         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60721         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60722         __alignof__ (long double).
60724 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60728 2012-05-20  Richard Henderson  <rth@twiddle.net>
60730         * misc/getauxval.c: New file.
60731         * misc/sys/auxv.h: New file.
60732         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60733         (routines): Add getauxval.
60734         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60735         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60736         * elf/dl-sysdep.c (_dl_auxv): Remove.
60737         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60738         * elf/dl-support.c (_dl_auxv): New variable.
60739         (_dl_aux_init): Initialize it.
60740         * manual/startup.texi (Auxiliary Vector): New node.
60741         * sysdeps/generic/bits/hwcap.h: New file.
60742         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60743         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60744         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60745         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60746         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60747         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60749         Update.
60750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60753         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60759 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60763 2012-05-19  David S. Miller  <davem@davemloft.net>
60765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60767 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60769         [BZ #14123]
60770         * math/s_ccosh.c: Include <float.h>
60771         (__ccosh): Avoid internal overflow calculating sinh and cosh
60772         values before multiplying by sin and cos values.
60773         * math/s_ccoshf.c: Likewise.
60774         * math/s_ccoshl.c: Likewise.
60775         * math/s_csin.c: Likewise.
60776         * math/s_csinf.c: Likewise.
60777         * math/s_csinl.c: Likewise.
60778         * math/s_csinh.c: Likewise.
60779         * math/s_csinhf.c: Likewise.
60780         * math/s_csinhl.c: Likewise.
60781         * math/libm-test.inc (ccos_test): Add more tests.
60782         (ccosh_test): Likewise.
60783         (csin_test): Likewise.
60784         (csinh_test): Likewise.
60785         * sysdeps/i386/fpu/libm-test-ulps: Update.
60786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60788 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60790         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60791         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60793         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60795 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60797         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60798         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60799         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60800         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60801         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60802         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60803         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60804         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60805         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60806         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60807         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60808         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60809         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60810         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60811         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60812         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60813         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60814         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60815         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60816         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60817         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60818         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60819         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60820         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60821         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60822         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60823         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60824         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60825         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60826         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60827         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60829 2012-05-18  Andreas Jaeger  <aj@suse.de>
60831         * csu/.gitignore: Delete.
60833 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60835         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60836         (timex): Use __syscall_slong_t.
60838 2012-05-18  Andreas Jaeger  <aj@suse.de>
60839             Carlos O'Donell  <carlos_odonell@mentor.com>
60841         * manual/install.texi (Configuring and compiling): Update
60842         description about files modified in the source directory.
60843         * INSTALL: Regenerated.
60845 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60847         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60848         value.  Use "or" to set return value to -1.
60849         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60850         negate return value.
60852 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60854         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60855         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60856         failure if the compiler has Graphite support disabled.
60857         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60858         Likewise.
60859         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60860         (CFLAGS-memmove.c): Likewise.
60861         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60862         Likewise.
60864 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60866         * sysdeps/x86_64/x32/_itoa.h: New file.
60868         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60869         getdents system call only if kernel and user dirents have the
60870         same d_ino and d_off.
60872         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60873         LLONG_MAX != LONG_MAX.
60874         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60875         (_fitoa_word): Likewise.
60877         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60878         years.
60879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60880         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60881         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60883         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60884         include <bits/wordsize.h>.  Check __x86_64__ instead of
60885         __WORDSIZE.
60886         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60887         if __x86_64__ is defined.  Use anonymous union on fpstate.
60889         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60890         anonymous union.
60892 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60894         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60895         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60896         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60897         Refer to _rtld_local_ro instead of _rtld_global_ro.
60898         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60899         Likewise.
60900         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60901         Likewise.
60902         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60903         Likewise.
60904         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60905         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60906         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60908         [BZ #10882]
60909         * sysdeps/powerpc/powerpc32/dl-machine.c
60910         (__elf_machine_runtime_setup) [PROF]: Don't reference
60911         _dl_prof_resolve.
60913 2012-05-18  Andreas Jaeger  <aj@suse.de>
60915         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60916         function only available for GCCs before 3.4 since GCC 3.4
60917         introduced a builtin.
60918         (lrint): Likewise.
60919         (llrintf): Likewise.
60920         (llrint): Likewise.
60921         (fmaxf): Likewise.
60922         (fmax): Likewise.
60923         (fminf): Likewise.
60924         (fmin): Likewise.
60925         (rint): Likewise.
60926         (rintf): Likewise.
60927         (nearbyint): Likewise.
60928         (nearbyintf): Likewise.
60929         (ceil): Likewise.
60930         (ceilf): Likewise.
60931         (floor): Likewise.
60932         (floorf): Likewise.
60934 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60936         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60937         on both fields and cast pointer to __syscall_ulong_t.
60939         * bits/types.h (__fsword_t): New type.
60940         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60941         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60942         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60943         (__FSWORD_T_TYPE): Likewise.
60944         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60945         (__FSWORD_T_TYPE): Likewise.
60946         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60947         (__FSWORD_T_TYPE): Likewise.
60948         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60949         (__FSWORD_T_TYPE): Likewise.
60950         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60951         __SWORD_TYPE with __fsword_t.
60952         (statfs64): Likewise.
60954 2012-05-17  David S. Miller  <davem@davemloft.net>
60956         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60958 2012-05-17  Andreas Jaeger  <aj@suse.de>
60960         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60961         warning.
60963 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60965         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60967 2012-05-17  Andreas Jaeger  <aj@suse.de>
60969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60970         when it is used.
60972 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60974         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60976 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60978         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60979         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60981 2012-05-17  Andreas Jaeger  <aj@suse.de>
60982             Carlos O'Donell  <carlos_odonell@mentor.com>
60984         [BZ #14059]
60985         * sysdeps/x86_64/multiarch/init-arch.h
60986         (bit_YMM_Usable): Rename to...
60987         (bit_AVX_Usable): ... this.
60988         (bit_FMA4_Usable): New macro.
60989         (bit_XMM_state): New macro.
60990         (bit_YMM_state): New macro.
60991         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60992         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60993         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60994         (CPUID_OSXSAVE): New macro.
60995         (CPUID_AVX): New macro.
60996         (CPUID_FMA4): New macro.
60997         (index_YMM_Usable): Rename to...
60998         (index_AVX_Usable): ... this.
60999         (HAS_AVX): Use HAS_ARCH_FEATURE.
61000         (HAS_FMA4): Likewise.
61001         (HAS_YMM_USABLE): Remove.
61002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61003         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61004         are present.
61005         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61006         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61007         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61008         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61009         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61011 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61013         * math/libm-test.c: Support platforms without multiple rounding modes.
61014         * math/bug-nextafter.c: Support platforms without FP exceptions.
61015         * math/bug-nexttoward.c: Likewise.
61016         * math/test-fenv.c: Likewise.
61017         * math/test-misc.c: Likewise.
61018         * stdlib/bug-getcontext.c: Likewise.
61020 2012-05-17  Andreas Jaeger  <aj@suse.de>
61022         * manual/examples/search.c (critter_cmp): Change signature to
61023         avoid warnings.
61024         * manual/string.texi (Collation Functions): Likewise.
61026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61028         * bits/types.h: Fold copyright years.
61029         * bits/typesizes.h: Likewise.
61030         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61031         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61033         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61034         * time/time.h: Likewise.
61036 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61038         [BZ #208]
61039         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61040         in instead of returning them.  Return void.
61041         (__libc_mallinfo): Accumulate over all arenas.
61042         (__malloc_stats): Adjust for change in int_mallinfo interface.
61044 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61046         [BZ #10375]
61047         * configure.in (NM): Add AC_CHECK_TOOL for it.
61048         (libc_extra_cflags): New substituted variable.
61049         Check for -fstack-protector being used implicitly.
61050         * configure: Regenerated.
61051         * config.make.in (config-extra-cflags): New variable,
61052         gets @libc_extra_cflags@.
61053         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61055         [BZ #10375]
61056         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61057         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61058         * configure: Regenerated.
61059         * config.make.in (CPPUNDEFS): New substituted variable.
61060         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61061         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61062         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61064 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61066         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61067         (mq_attr): Use __syscall_slong_t.
61069 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61071         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61072         Check __x86_64__ instead of __WORDSIZE.
61073         (_STAT_VER_LINUX): Likewise.
61074         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61075         __syscall_ulong_t and __syscall_slong_t.
61076         (stat64): Likewise.
61078 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61082 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61084         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61086 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61088         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61089         __syscall_ulong_t.
61091         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61092         include <bits/wordsize.h>.  Check __x86_64__ instead of
61093         __WORDSIZE.
61094         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61095         defined.
61096         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61098         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61099         include <bits/wordsize.h>.  Check __x86_64__ instead of
61100         __WORDSIZE.
61101         (user_regs_struct): Use "__extension__ unsigned long long"
61102         instead of "unsigned long" if __x86_64__ is defined.
61103         (user): Likewise.  Pad after pointer field if __ILP32__ is
61104         defined.
61106 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61108         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61109         versions 5 to 9.
61110         * configure: Regenerated.
61111         * manual/install.texi (texinfo): Increase version requirement to
61112         4.5 or later.
61113         * INSTALL: Regenerated.
61115         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61117 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61119         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61121         * sysdeps/x86_64/x32/ffs.c: New file.
61123         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61124         __syscall_ulong_t.
61125         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61126         defined.  Use __syscall_ulong_t.
61127         (shminfo): Use __syscall_ulong_t.
61128         (shm_info): Likewise.
61130         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61131         __syscall_ulong_t.
61133         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61134         <bits/wordsize.h>.
61135         (msgqnum_t): Use __syscall_ulong_t.
61136         (msglen_t): Likewise.
61137         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61138         __syscall_ulong_t.
61140         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61141         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61143         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61145         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61146         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61148         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61149         __syscall_slong_t.
61151         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61152         include <bits/wordsize.h>.  Check __x86_64__ instead of
61153         __WORDSIZE.
61155         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61156         "unsigned long long int" if __x86_64__ is defined.
61157         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61159         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61160         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61161         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61163         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61164         <stdint.h>.
61165         (GET_PC): Cast to uintptr_t first.
61166         (GET_FRAME): Likewise.
61167         (GET_STACK): Likewise.
61169         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61170         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61171         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61172         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61173         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61174         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61175         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61176         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61177         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61178         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61179         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61180         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61181         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61182         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61183         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61184         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61185         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61186         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61187         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61188         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61189         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61190         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61191         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61192         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61193         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61194         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61195         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61196         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61197         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61199 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61201         * Makerules (+depfiles): Also collect depfiles from .oS in
61202         $(extra-objs).
61203         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61204         .oS, $(libnldbl-routines)).
61206         * Makerules (native-compile-mkdep-flags): Define.
61207         * sunrpc/Makefile (extra-objs): Add $(addprefix
61208         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61209         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61210         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61211         calling $(make-target-directory).
61213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61215         * bits/types.h (__snseconds_t): Removed.
61216         * time/time.h (struct timespec): Replace __snseconds_t with
61217         __syscall_slong_t.
61218         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61219         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61220         Likewise.
61221         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61222         (__SNSECONDS_T_TYPE): Likewise.
61223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61224         (__SNSECONDS_T_TYPE): Likewise.
61225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61226         (__SNSECONDS_T_TYPE): Likewise.
61228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61230         * sysdeps/mach/hurd/bits/typesizes.h
61231         (__SYSCALL_SLONG_TYPE): New macro.
61232         (__SYSCALL_ULONG_TYPE): Likewise.
61234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61236         * bits/types.h (__syscall_slong_t): New type.
61237         (__syscall_ulong_t): Likewise.
61239         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61240         (__SYSCALL_ULONG_TYPE): Likewise.
61241         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61242         (__SYSCALL_SLONG_TYPE): Likewise.
61243         (__SYSCALL_ULONG_TYPE): Likewise.
61244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61245         (__SYSCALL_SLONG_TYPE): Likewise.
61246         (__SYSCALL_ULONG_TYPE): Likewise.
61247         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61248         (__SYSCALL_SLONG_TYPE): Likewise.
61249         (__SYSCALL_ULONG_TYPE): Likewise.
61251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61253         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61254         Add sigaltstack-offsets.sym.
61255         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61256         <sigaltstack-offsets.h>.
61257         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61258         longjmp_msg pointer.
61259         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61260         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61261         signal stack.
61262         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61264 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61266         * elf/stackguard-macros.h: Remove file.
61267         * sysdeps/generic/stackguard-macros.h: New file.
61268         * sysdeps/i386/stackguard-macros.h: Likewise.
61269         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61270         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61271         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61272         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61273         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61274         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61275         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61276         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61277         <elf/stackguard-macros.h>.
61279         [BZ #14109]
61280         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61281         __aligned__ in attribute.
61282         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61283         (gregset_t): Likewise.
61285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61287         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61288         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61289         * sysdeps/x86_64/x32/Implies-after: New file.
61291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61293         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61294         and access return value for _dl_profile_fixup.  Use R10_LP to
61295         load frame size.
61297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61299         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61303         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61304         * sysdeps/x86_64/x32/sysdep.h: New file.
61306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61308         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61309         * sysdeps/x86_64/setjmp.S: Likewise.
61311 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61313         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61314         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61315         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61316         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61317         remove unused global constant.
61319 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61321         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61322         include of <not-cancel.h>.
61324 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61326         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61328 2012-05-15  Jeff Law  <law@redhat.com>
61329             Andreas Jaeger  <aj@suse.de>
61331         [BZ #13594]
61332         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61333         out from...
61334         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61335         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61336         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61337         code changing __hst_map_handle.map.
61339 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61341         * configure.in (sysnames): Look for Implies-before and Implies-after
61342         files.
61343         * configure: Regenerated.
61345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61347         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61348         8-byte data alignment with LP_SIZE alignment.
61350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61353         into R10_LP.
61355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61357         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61361         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61362         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61363         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61364         Likewise.
61365         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61369         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61370         (stackinfo_sub_sp): Likewise.
61372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61374         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61375         RAX_LP.
61377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61380         into R*_LP.
61382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61384         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61385         sizes into R*_LP.
61387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61389         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61393         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61394         into R11_LP and load __x86_64_shared_cache_size_half into
61395         R8_LP.
61397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61399         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61400         R8_LP.
61402 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61404         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61405         logb for POWER7.
61406         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61407         logbf for POWER7.
61408         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61409         logbl for POWER7.
61410         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61411         powerpc32/power7/fpu/s_logb.c via #include.
61412         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61413         powerpc32/power7/fpu/s_logbf.c via #include.
61414         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61415         powerpc32/power7/fpu/s_logbl.c via #include.
61417 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61419         * README.libm: Remove file.
61421 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61423         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61424         count for x32.  Use R*_LP and omit operand-size suffix.
61426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61428         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61429         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61430         * sysdeps/x86_64/x32/shlib-versions: New file.
61432 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61434         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61435         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61436         Use _dl_fatal_printf instead.
61438 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61440         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61441         set if not set by the user.  Do not allow for being unset.
61442         * sysdeps/unix/sysv/linux/configure: Regenerated.
61444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61446         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61447         the `q' suffix from lea and replace .quad with ASM_ADDR.
61449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61452         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61453         instead of $17.
61454         (PTR_DEMANGLE): Likewise.
61456 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61458         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61459         (LP_OP): Likewise.
61460         (ASM_ADDR): Likewise.
61461         (RAX_LP): Likewise.
61462         (RBP_LP): Likewise.
61463         (RBX_LP): Likewise.
61464         (RCX_LP): Likewise.
61465         (RDI_LP): Likewise.
61466         (RSI_LP): Likewise.
61467         (RSP_LP): Likewise.
61468         (R8_LP): Likewise.
61469         (R9_LP): Likewise.
61470         (R10_LP): Likewise.
61471         (R10_LP): Likewise.
61472         (R11_LP): Likewise.
61473         (R12_LP): Likewise.
61474         (R13_LP): Likewise.
61475         (R14_LP): Likewise.
61476         (R15_LP): Likewise.
61478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61480         * sysdeps/x86_64/x32/dl-machine.h: New file.
61482 2012-05-14  Andreas Jaeger  <aj@suse.de>
61484         * manual/Makefile (subdir): Remove export of subdir.
61485         (all): Remove target.
61486         (.PHONY): Remove all from list.
61487         (mkinstalldirs): Remove.
61488         (.PHONY): Remove installdirs from list.
61489         ($(inst_infodir)/libc.info): Use make-target-directory.
61490         (installdirs): Remove.
61491         (subdir_%): Remove.
61492         (glibc-targets): Remove.
61493         (lib): Remove.
61494         (stubs): Remove.
61495         ($(objpfx)stubs ../po/manual.pot): Remove.
61496         ($(objpfx)stamp%): Remove.
61497         (make-target-directory): Remove.
61498         (subdir_install): Remove.
61499         (routines): Remove.
61500         (aux): Remove.
61501         (sources): Remove.
61502         (objects): Remove.
61503         (headers): Remove.
61505         [BZ #13750]
61506         * manual/.gitignore: Remove, it's not needed anymore.
61507         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61508         all files in it.
61509         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61510         directory.
61511         (texis): Renamed to $(objpfx)texis.
61512         (texis-path): New, contains path to generated files.
61513         (chapters.%): Use texis-path for complete path, add extra argument
61514         libc-texinfo.sh.
61515         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61516         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61517         (summary,texi, stamp-summary): Use complete path of
61518         files. Generate files in build dir.
61519         (dir-add.texi): Build in build dir.
61520         (libm-err.texi,stamp-libm-err): Likewise.
61521         (version.texi, stamp-version): Likewise.
61522         (.%c.texi): Likewise.
61523         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61524         (mostlyclean): Remove target.
61525         (realclean): Remove target.
61526         (generated): Add new variable with contents from mostlyclean and
61527         realclean, remove entries duplicated in common-mostlyclean, add
61528         stamp-libm-err and stamp-version.
61529         (generated-dirs): Add libc directory.
61530         ($(inst_infodir)/libc.info): Install files from build dir.
61532         * manual/install.texi (Configuring and compiling): Adjust since
61533         the info files are not part of the tar ball anymore.
61535 2012-05-14  Andreas Jaeger  <aj@suse.de>
61537         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61538         variable.
61540 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61542         [BZ #13717]
61543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61544         to 2.2.0 where earlier.
61545         * sysdeps/unix/sysv/linux/configure: Regenerated.
61546         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61547         Remove conditional code.
61548         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61549         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61550         Remove conditional code.
61551         [!__NR_lchown]: Likewise.
61552         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61553         [__NR_lchown]: Likewise.
61554         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61555         comment referencing __ASSUME_LCHOWN_SYSCALL.
61556         * sysdeps/unix/sysv/linux/i386/sigaction.c
61557         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61558         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61559         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61560         Remove conditional code.
61561         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61562         (__protocol_available): Remove #if 0 code.
61563         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61564         conditional code.
61565         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61566         * sysdeps/unix/sysv/linux/kernel-features.h
61567         (__ASSUME_GETCWD_SYSCALL): Don't define.
61568         (__ASSUME_REALTIME_SIGNALS): Likewise.
61569         (__ASSUME_PREAD_SYSCALL): Likewise.
61570         (__ASSUME_PWRITE_SYSCALL): Likewise.
61571         (__ASSUME_POLL_SYSCALL): Likewise.
61572         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61573         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61574         non-SPARC.
61575         (__ASSUME_SIOCGIFNAME): Don't define.
61576         (__ASSUME_MSG_NOSIGNAL): Likewise.
61577         (__ASSUME_SENDFILE): Define unconditionally.
61578         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61579         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61580         conditional code.
61581         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61582         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61583         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61584         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61585         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61586         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61587         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61589         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61592         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61593         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61595         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61596         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61598         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61599         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61601         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61602         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61604         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61605         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61607         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61608         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61610         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61611         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61612         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61613         Remove conditional code.
61614         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61615         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61616         Remove conditional code.
61617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61618         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61619         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61620         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61621         Remove conditional code.
61622         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61623         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61624         Remove conditional code.
61625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61626         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61627         Remove conditional code.
61628         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61629         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61630         Remove conditional code.
61631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61632         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61633         Remove conditional code.
61634         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61635         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61636         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61638         * sysdeps/unix/sysv/linux/sigaction.c
61639         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61640         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61641         * sysdeps/unix/sysv/linux/sigpending.c
61642         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61643         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61644         * sysdeps/unix/sysv/linux/sigprocmask.c
61645         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61646         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61647         * sysdeps/unix/sysv/linux/sigsuspend.c
61648         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61649         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61650         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61651         (__libc_missing_rt_sigs): Remove.
61652         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61653         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61654         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61655         Remove conditional code.
61656         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61657         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61658         return 1.
61659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61660         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61661         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61662         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61664 2012-05-14  Andreas Jaeger  <aj@suse.de>
61666         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61667         it's not used in glibc.
61668         (__coshm1): Likewise.
61669         (__acosh1p): Likewise.
61670         (__sgn): Likewise.
61672         * manual/string.texi (Copying and Concatenation): Add missing
61673         variable in concat example.
61674         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61678         [BZ #14103]
61679         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61680         __builtin_clzl with __builtin_clzll.
61682 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61684         [BZ #14104]
61685         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61686         libc_freeres_ptr.
61688 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61690         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61691         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61692         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61695 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61697         * NEWS: Update ia64 info.
61699 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61701         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61702         used as bcopy.
61704 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61706         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61707         * sysdeps/unix/syscalls.list (dup3): Likewise.
61708         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61709         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61711 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61713         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61714         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61716 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61718         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61719         thread pointer.
61720         (TLS_IE): Use mov/add instead of movq/addq to load thread
61721         pointer.
61722         (TLS_GD_PREFIX): New.
61723         (TLS_GD): Use it.
61725 2012-05-11  David S. Miller  <davem@davemloft.net>
61727         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61728         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61729         (_FPU_SETCW): Likewise.
61731 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61733         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61734         is 32-byte aligned.
61736 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61738         [BZ #11837]
61739         * iconvdata/gb18030.c: Update tables.
61740         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61741         characters specially.
61742         (BODY for TO_LOOP): Add encoding of missing ranges.
61744 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61746         [BZ #13673]
61747         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61748         * sysdeps/mach/hurd/dup3.c: Likewise.
61749         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61750         * sysdeps/powerpc/memmove.c:: Likewise.
61752 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61755         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61757 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61759         * elf/elf.h (R_X86_64_RELATIVE64): New.
61760         (R_X86_64_NUM): Updated.
61761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61762         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61763         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61764         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61765         tst-quad1pie tst-quad2pie
61766         (modules-names): Add tst-quadmod1 tst-quadmod2.
61767         ($(objpfx)tst-quad1): New dependency.
61768         ($(objpfx)tst-quad2): Likewise.
61769         ($(objpfx)tst-quad1pie): Likewise.
61770         ($(objpfx)tst-quad2pie): Likewise.
61771         * sysdeps/x86_64/tst-quad1.c: New file.
61772         * sysdeps/x86_64/tst-quad1pie.c: New file.
61773         * sysdeps/x86_64/tst-quad2.c: Likewise.
61774         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61775         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61776         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61777         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61778         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61782         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61783         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61784         * streams/stropts.h (t_scalar_t): Define type.
61786         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61787         (_PATH_PRESERVE): Set to "/var/lib".
61788         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61790         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61791         instead of int.
61793         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61794         if __dir_mkfile succeeded.
61796         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61797         checking for _hurd_dtablesize.  Unlock it right after having
61798         finished _hurd_dtable allocation.
61800 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61802         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61803         * sysdeps/mach/hurd/configure: Regenerated.
61804         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61805         special-casing to...
61806         * sysdeps/gnu/configure.in: ... this new file.
61807         * sysdeps/unix/sysv/linux/configure: Regenerated.
61808         * sysdeps/gnu/configure: New generated file.
61810         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61811         for Linux: use nsec instead of usec, as well as:
61812         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61813         members of type struct timespec.
61814         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61815         New macros.
61816         (struct stat64): Likewise.
61817         (_STATBUF_ST_NSEC): New macro.
61818         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61820         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61821         __strtoul_internal rather than strtoul.
61823 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61825         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61826         and reject them.
61828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61830         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61831         which preserves existing values.
61832         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61834 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61836         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61837         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61838         greater than FD_SETSIZE.
61840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61842         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61843         allocated, call __vm_protect to finish enabling the existing space, and
61844         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61845         allocate the remainder.
61847 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61849         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61850         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61854         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61855         sysdeps/mach/hurd/readlink.c.
61857         * posix/tst-sysconf.c (posix_options): Only use
61858         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61859         _POSIX_SYNCHRONIZED_IO when they are defined
61860         * sysdeps/mach/hurd/bits/posix_opt.h:
61861         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61862         (_XOPEN_REALTIME): Undefine macro.
61863         (_XOPEN_REALTIME_THREADS): Undefine macro.
61864         (_XOPEN_SHM): Undefine macro.
61865         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61866         macro to -1.
61867         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61868         macro to -1.
61869         (_POSIX_ASYNC_IO): Undefine macro.
61870         (_POSIX_PRIORITIZED_IO): Undefine macro.
61871         (_POSIX_SPIN_LOCKS): Define macro to -1.
61873         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61874         SA_NODEFER, SA_RESETHAND.
61875         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61876         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61877         F_DUPFD_CLOEXEC.
61879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61881         * elf/Makefile (pldd-modules): Define unconditionally.
61883 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61885         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61889         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61890         Return ENOENT when name is empty.
61891         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61895         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61897         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61901         Fix mlock in all cases except non-readable pages.
61902         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61903         instead of VM_PROT_ALL as parameter to __vm_wire function.
61905         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61906         (__mkdir): When path is `/', just fail with EEXIST.
61907         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61909 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61911         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61912         <sys/uio.h> (for writev).
61913         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61914         and <sys/param.h> (for MIN).
61916 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61918         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61919         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61920         if interrupted.
61922 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61924         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61925         Depend on against $(link-rpcuserlibs).
61927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61929         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61930         (__libc_stack_end): Do not use attribute_relro.
61931         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61932         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61933         to libthread-provided value.
61934         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61935         attribute_relro.
61937 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61939         [BZ #3748]
61940         * bits/libc-lock.h (__libc_once_get): New macro.
61941         * sysdeps/mach/bits/libc-lock.h: Likewise.
61942         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61943         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61944         instead of using implementation details.
61946         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61947         * libio/freopen.c: Likewise.
61948         * libio/freopen64.c: Likewise.
61949         * misc/syslog.c: Likewise.
61950         * nscd/connections.c: Likewise.
61951         * nscd/netgroupcache.c: Likewise.
61952         * sysdeps/posix/getcwd.c: Likewise.
61954 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61956         * math/w_ilogbf.c: Add #include <limits.h>.
61958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61960         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61961         path instead of returning without unlocking.
61963         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61964         immediate-write ioctls.
61965         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61969         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61970         __builtin_frame_address instead of making assumptions about the
61971         location of the return address relative to DATA.  Force early load of
61972         the return address.
61973         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61974         __builtin_frame_address.
61976         dup3 for GNU Hurd.
61977         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61978         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61979         implement dup3 and do some further code clean-ups.
61980         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61981         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61983 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61985         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61987         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61988         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61989         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61990         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61991         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61992         d->port.lock.
61994         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61995         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61996         when handler == SIG_ERR, not when handler != SIG_ERR.
61998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62000         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62001         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62002         definitions.
62004         accept4 for GNU Hurd.
62005         * include/sys/socket.h (__libc_accept4): New prototype.
62006         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62007         to implement __libc_accept4.
62008         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62009         __libc_accept4.
62010         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62012         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62013         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62014         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62015         signal-defines.sym.
62017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62019         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62023         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62024         assertion on O_CLOEXEC flag.
62025         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62026         * hurd/intern-fd.c: Likewise.
62027         * hurd/port2fd.c: Likewise.
62029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62031         [BZ #3906]
62032         * bits/in.h (IPV6_PKTINFO): Define new macro.
62033         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62035 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62037         [BZ #13954]
62038         [BZ #13955]
62039         [BZ #13956]
62040         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62041         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62042         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62043         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62045         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62046         * math/libm-test.inc (logb_test) : Additional logb tests.
62048 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62049             Andreas Jaeger  <aj@suse.de>
62051         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62052         * configure: Regenerated.
62053         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62054         * config.make.in (link-obsolete-rpc): New substituted variable.
62055         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62056         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62057         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62058         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62059         so that libc.a contains the symbols.
62060         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62061         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62062         * sunrpc/auth_none.c: Likewise.
62063         * sunrpc/auth_unix.c: Likewise.
62064         * sunrpc/authdes_prot.c: Likewise.
62065         * sunrpc/authuxprot.c: Likewise.
62066         * sunrpc/clnt_gen.c: Likewise.
62067         * sunrpc/clnt_perr.c: Likewise.
62068         * sunrpc/clnt_raw.c: Likewise.
62069         * sunrpc/clnt_simp.c: Likewise.
62070         * sunrpc/clnt_tcp.c: Likewise.
62071         * sunrpc/clnt_udp.c: Likewise.
62072         * sunrpc/clnt_unix.c: Likewise.
62073         * sunrpc/des_crypt.c: Likewise.
62074         * sunrpc/des_soft.c: Likewise.
62075         * sunrpc/get_myaddr.c: Likewise.
62076         * sunrpc/key_call.c: Likewise.
62077         * sunrpc/key_prot.c: Likewise.
62078         * sunrpc/netname.c: Likewise.
62079         * sunrpc/pm_getmaps.c: Likewise.
62080         * sunrpc/pm_getport.c: Likewise.
62081         * sunrpc/pmap_clnt.c: Likewise.
62082         * sunrpc/pmap_prot.c: Likewise.
62083         * sunrpc/pmap_prot2.c: Likewise.
62084         * sunrpc/pmap_rmt.c: Likewise.
62085         * sunrpc/publickey.c: Likewise.
62086         * sunrpc/rpc_cmsg.c: Likewise.
62087         * sunrpc/rpc_common.c: Likewise.
62088         * sunrpc/rpc_dtable.c: Likewise.
62089         * sunrpc/rpc_prot.c: Likewise.
62090         * sunrpc/rpc_thread.c: Likewise.
62091         * sunrpc/rtime.c: Likewise.
62092         * sunrpc/svc.c: Likewise.
62093         * sunrpc/svc_auth.c: Likewise.
62094         * sunrpc/svc_raw.c: Likewise.
62095         * sunrpc/svc_run.c: Likewise.
62096         * sunrpc/svc_tcp.c: Likewise.
62097         * sunrpc/svc_udp.c: Likewise.
62098         * sunrpc/svc_unix.c: Likewise.
62099         * sunrpc/svcauth_des.c: Likewise.
62100         * sunrpc/xcrypt.c: Likewise.
62101         * sunrpc/xdr.c: Likewise.
62102         * sunrpc/xdr_array.c: Likewise.
62103         * sunrpc/xdr_float.c: Likewise.
62104         * sunrpc/xdr_intXX_t.c: Likewise.
62105         * sunrpc/xdr_mem.c: Likewise.
62106         * sunrpc/xdr_rec.c: Likewise.
62107         * sunrpc/xdr_ref.c: Likewise.
62108         * sunrpc/xdr_sizeof.c: Likewise.
62109         * sunrpc/xdr_stdio.c: Likewise.
62111 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62113         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62114         change.  Update copyright years.
62116 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62118         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62120 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62121             Joseph Myers  <joseph@codesourcery.com>
62122             Paul Pluzhnikov  <ppluzhnikov@google.com>
62124         [BZ #14012]
62125         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62126         requiring rpcgen.
62127         [cross-compiling] (extra-libs): Likewise.
62128         [cross-compiling] (extra-libs-others): Likewise.
62129         [cross-compiling] (librpcsvc-routines): Likewise.
62130         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62131         [cross-compiling] (omit-deps): Likewise.
62132         (sunrpc-CPPFLAGS): New variable.
62133         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62134         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62135         (cross-rpcgen-objs): New variable.
62136         (extra-objs): Append $(cross-rpcgen-objs).
62137         ($(cross-rpcgen-objs)): New rule.
62138         ($(objpfx)cross-rpcgen): Likewise.
62139         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62140         comment.
62141         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62142         ($(objpfx)x%.stmp): Likewise.
62143         * sunrpc/proto.h [IS_IN_build] (_): Define.
62144         [IS_IN_build] (_libc_intl_domainname): Likewise.
62146 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62148         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62149         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62150         and R_X86_64_TPOFF64.
62152 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62154         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62155         sysdeps/unix/sysv/syscalls.list.
62156         (stime): Likewise.
62157         (utime): Likewise.
62158         * sysdeps/unix/sysv/syscalls.list: Remove file.
62160 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62162         [BZ #3440]
62163         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62164         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62165         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62166         (__LC_IDENTIFICATION): Make these macros useful in #if
62167         expressions, as required by C99.
62169 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62171         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62172         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62173         after this.
62175 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62177         * stdlib/longlong.h: Updated from GCC.
62179 2012-05-09  Andreas Jaeger  <aj@suse.de>
62181         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62182         default is first entry.
62183         (run_mode): Set type.
62184         (main): Remove informal message about syslog.
62185         (options): Fix typo.
62187         [BZ #14053]
62188         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62189         to asm.
62190         (lrint): Likewise.
62191         (llrintf): Likewise.
62192         (llrint): Likewise.
62193         (rint): Likewise.
62194         (rintf): Likewise.
62195         (nearbyint): Likewise.
62196         (nearbyintf): Likewise.
62198 2012-05-09  Andreas Jaeger  <aj@suse.de>
62199             Pedro Alves  <palves@redhat.com>
62201         * nscd/nscd.c (run_mode): Use enum.
62202         (main): Cleanup coding style issue.
62204 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62205             Andreas Jaeger  <aj@suse.de>
62207         * nscd/nscd.c (go_background): Replaced with...
62208         (run_mode): ... this.
62209         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62210         (options): Add -F --foreground.
62211         (main): Implement it.
62212         (parse_opt): Parse it.
62214 2012-05-09  Andreas Jaeger  <aj@suse.de>
62216         [BZ #14083]
62217         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62218         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62219         -Wconversion warning.
62220         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62221         Likewise.
62223 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62225         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62226         == 0.
62227         (LC_ALL): Use macro-int-constant.
62228         (LC_COLLATE): Likewise.
62229         (LC_CTYPE): Likewise.
62230         (LC_MESSAGES): Likewise.
62231         (LC_MONETARY): Likewise.
62232         (LC_NUMERIC): Likewise.
62233         (LC_TIME): Likewise.
62234         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62235         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62236         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62237         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62238         Specify type.
62239         [C99-based standards] (float_t): Expect type.
62240         [C99-based standards] (double_t): Expect type.
62241         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62242         type.
62243         [C99-based standards] (HUGE_VALL): Likewise.
62244         [C99-based standards] (INFINITY): Likewise.
62245         [C99-based standards] (NAN): Likewise.
62246         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62247         [C99-based standards] (FP_NAN): Likewise.
62248         [C99-based standards] (FP_NORMAL): Likewise.
62249         [C99-based standards] (FP_SUBNORMAL): Likewise.
62250         [C99-based standards] (FP_ZERO): Likewise.
62251         [C99-based standards] (FP_FAST_FMA): Use
62252         optional-macro-int-constant.  Specify type.  Require == 1.
62253         [C99-based standards] (FP_FAST_FMAF): Likewise.
62254         [C99-based standards] (FP_FAST_FMAL): Likewise.
62255         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62256         [C99-based standards] (FP_ILOGBNAN): Likewise.
62257         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62258         Specify type.
62259         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62260         [C99-based standards] (math_errhandling): Specify type.
62261         [ISO99 || ISO11] (signgam): Do not allow.
62262         [non-C99-based standards] (copysignf): Do not allow.
62263         [non-C99-based standards] (exp2f): Likewise.
62264         [non-C99-based standards] (log2f): Likewise.
62265         [non-C99-based standards] (modff): Allow.
62266         [non-C99-based standards] (erff): Do not allow.
62267         [non-C99-based standards] (erfcf): Likewise.
62268         [non-C99-based standards] (gammaf): Likewise.
62269         [non-C99-based standards] (hypotf): Likewise.
62270         [non-C99-based standards] (j0f): Likewise.
62271         [non-C99-based standards] (j1f): Likewise.
62272         [non-C99-based standards] (jnf): Likewise.
62273         [non-C99-based standards] (lgammaf): Likewise.
62274         [non-C99-based standards] (tgammaf): Likewise.
62275         [non-C99-based standards] (y0f): Likewise.
62276         [non-C99-based standards] (y1f): Likewise.
62277         [non-C99-based standards] (ynf): Likewise.
62278         [non-C99-based standards] (isnanf): Likewise.
62279         [non-C99-based standards] (acoshf): Likewise.
62280         [non-C99-based standards] (asinhf): Likewise.
62281         [non-C99-based standards] (atanhf): Likewise.
62282         [non-C99-based standards] (cbrtf): Likewise.
62283         [non-C99-based standards] (expm1f): Likewise.
62284         [non-C99-based standards] (ilogbf): Likewise.
62285         [non-C99-based standards] (log1pf): Likewise.
62286         [non-C99-based standards] (logbf): Likewise.
62287         [non-C99-based standards] (nextafterf): Likewise.
62288         [non-C99-based standards] (remainderf): Likewise.
62289         [non-C99-based standards] (rintf): Likewise.
62290         [non-C99-based standards] (scalbf): Likewise.
62291         [non-C99-based standards] (copysignl): Likewise.
62292         [non-C99-based standards] (exp2l): Likewise.
62293         [non-C99-based standards] (log2l): Likewise.
62294         [non-C99-based standards] (modfl): Allow.
62295         [non-C99-based standards] (erfl): Do not allow.
62296         [non-C99-based standards] (erfcl): Likewise.
62297         [non-C99-based standards] (gammal): Likewise.
62298         [non-C99-based standards] (hypotl): Likewise.
62299         [non-C99-based standards] (j0l): Likewise.
62300         [non-C99-based standards] (j1l): Likewise.
62301         [non-C99-based standards] (jnl): Likewise.
62302         [non-C99-based standards] (lgammal): Likewise.
62303         [non-C99-based standards] (tgammal): Likewise.
62304         [non-C99-based standards] (y0l): Likewise.
62305         [non-C99-based standards] (y1l): Likewise.
62306         [non-C99-based standards] (ynl): Likewise.
62307         [non-C99-based standards] (isnanl): Likewise.
62308         [non-C99-based standards] (acoshl): Likewise.
62309         [non-C99-based standards] (asinhl): Likewise.
62310         [non-C99-based standards] (atanhl): Likewise.
62311         [non-C99-based standards] (cbrtl): Likewise.
62312         [non-C99-based standards] (expm1l): Likewise.
62313         [non-C99-based standards] (ilogbl): Likewise.
62314         [non-C99-based standards] (log1pl): Likewise.
62315         [non-C99-based standards] (logbl): Likewise.
62316         [non-C99-based standards] (nextafterl): Likewise.
62317         [non-C99-based standards] (remainderl): Likewise.
62318         [non-C99-based standards] (rintl): Likewise.
62319         [non-C99-based standards] (scalbl): Likewise.
62320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62321         [non-C99-based standards] (FP_*): Do not allow.
62322         [C99-based standards] (FP_*): Change to
62323         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62324         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62325         allow.
62326         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62327         (SIG_ERR): Likewise.
62328         [X/Open-based standards] (SIG_HOLD): Likewise.
62329         (SIG_IGN): Likewise.
62330         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62331         positive value.
62332         (SIGFPE): Likewise.
62333         (SIGILL): Likewise.
62334         (SIGINT): Likewise.
62335         (SIGSEGV): Likewise.
62336         (SIGTER): Likewise.
62337         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62338         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62339         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62340         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62341         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62342         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62343         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62344         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62345         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62346         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62347         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62348         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62349         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62350         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62351         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62352         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62353         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62354         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62355         [X/Open-based standards] (SIGTRAP): Likewise.
62356         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62357         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62358         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62359         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62360         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62361         allow.
62363 2012-05-08  Ian Wienand  <ianw@vmware.com>
62365         [BZ #14080]
62366         * time/tzset.c (__tzset_parse_tz): Update default rules for
62367         daylight time changes in the Energy Policy Act of 2005.
62369 2012-05-09  Andreas Jaeger  <aj@suse.de>
62371         [BZ #13983]
62372         * elf/ldconfig.c (parse_conf): Change string to make clear that
62373         ldconfig only issued a warning if ld.so.conf does not exist.
62375 2012-05-08  David S. Miller  <davem@davemloft.net>
62377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62378         movxtod instead of popping the value on the stack.
62380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62382 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62384         * config.h.in: Add HAVE_ARM_PCS_VFP.
62386 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62388         [BZ #13979]
62389         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62390         checking but the checks are disabled for any reason.
62392 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62394         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62395         and ELF64_R_TYPE with ELFW(R_TYPE).
62397 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62399         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62400         (ulimit): Likewise.
62402         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62403         (settimeofday): Likewise.
62405 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62407         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62408         a struct th_u2 inside the union, and move tu_block/tu_code into
62409         a new th_u3 union of tu_block/tu_code inside of that.  Move
62410         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62411         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62412         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62413         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62414         (th_stuff): Change to th_u1.tu_stuff.
62415         (th_data): Define.
62416         (th_msg): Change to th_u1.th_u2.tu_data.
62418 2012-05-07  David S. Miller  <davem@davemloft.net>
62420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62422         [BZ #14074]
62423         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62424         (SETUP_PIC_REG): Use it.
62425         (SETUP_PIC_REG_LEAF): Use it.
62427 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62429         [BZ #13885]
62430         [BZ #13923]
62431         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62432         USE_AS_EXPM1L.
62433         (EXPL_FINITE): Likewise.
62434         (FLDLOG): Likewise.
62435         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62436         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62437         e_expl.S.
62438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62439         USE_AS_EXPM1L.
62440         (EXPL_FINITE): Likewise.
62441         (FLDLOG): Likewise.
62442         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62443         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62444         e_expl.S.
62445         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62446         test of -max_value argument for long double.
62447         * sysdeps/i386/fpu/libm-test-ulps: Update.
62448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62450 2012-05-06  David S. Miller  <davem@davemloft.net>
62452         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62453         quad soft-float symbols whose references which are compiler
62454         generated.
62455         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62457 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62459         [BZ #13884]
62460         [BZ #13914]
62461         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62462         USE_AS_EXP10L.
62463         (EXPL_FINITE): Likewise.
62464         (FLDLOG): Likewise.
62465         (c0): Likewise.
62466         (c1): Likewise.
62467         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62468         Adjust comments for base varying.
62469         (__expl_finite): Change alias to EXPL_FINITE.
62470         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62471         e_expl.S.
62472         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62473         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62474         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62475         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62476         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62477         USE_AS_EXP10L.
62478         (EXPL_FINITE): Likewise.
62479         (FLDLOG): Likewise.
62480         (c0): Likewise.
62481         (c1): Likewise.
62482         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62483         Adjust comments for base varying.
62484         (__expl_finite): Change alias to EXPL_FINITE.
62485         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62486         tests for bugs.
62487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62489         [BZ #14064]
62490         * math/libm-test.inc (check_float_internal): Correct ulp
62491         calculation for subnormal expected results.
62493 2012-05-06  Andreas Jaeger  <aj@suse.de>
62495         * Makeconfig (+math-flags): New, set to -frounding-math.
62496         (+cflags): Add +math-flags so that all of glibc gets compiled with
62497         it.
62499         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62501 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62503         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62504         Disable one test.
62506         [BZ #13787]
62507         [BZ #13922]
62508         [BZ #14036]
62509         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62510         (__ieee754_expl): Allow for and saturate large arguments.
62511         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62512         (u_threshold): Likewise.
62513         (__exp): Call __ieee754_exp before checking for overflow and
62514         underflow.
62515         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62516         (u_threshold): Likewise.
62517         (__expf): Call __ieee754_expf before checking for overflow and
62518         underflow.
62519         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62520         (u_threshold): Likewise.
62521         (__expl): Call __ieee754_expl before checking for overflow and
62522         underflow.
62523         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62524         (__ieee754_expl): Allow for and saturate large arguments.
62525         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62526         missing overflow exception on overflow.
62527         (expm1_test): Do not allow missing overflow exception on overflow.
62529         * sysdeps/i386/fpu/e_expl.c: Move to ...
62530         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62531         rather than using inline asm.
62532         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62533         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62534         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62536         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62537         (nice): Likewise.
62538         (poll): Likewise.
62539         (signal): Likewise.
62540         (time): Likewise.
62541         (times): Likewise.
62543 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62545         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62546         sysdeps/unix/common/syscalls.list.
62547         (fchmod): Likewise.
62548         (fchown): Likewise.
62549         (ftruncate): Likewise.
62550         (getrusage): Likewise.
62551         (gettimeofday): Likewise.
62552         (setpgid): Likewise.
62553         (setregid): Likewise.
62554         (setreuid): Likewise.
62555         (sigaction): Likewise.
62556         (truncate): Likewise.
62557         (vhangup): Likewise.
62558         * sysdeps/unix/common/syscalls.list: Remove file.
62559         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62560         * sysdeps/unix/sysv/linux/Implies: Likewise.
62562 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62564         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62566         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62567         Moved to ...
62568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62569         Here.
62570         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62571         to ...
62572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62573         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62574         to ...
62575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62576         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62577         to ...
62578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62579         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62580         to ...
62581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62582         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62583         to ...
62584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62585         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62586         to ...
62587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62588         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62589         to ...
62590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62591         Here.
62592         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62593         to ...
62594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62595         Here.
62596         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62597         to ...
62598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62599         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62600         Moved to ...
62601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62602         Here.
62603         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62604         to ...
62605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62607 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62609         * sysdeps/unix/common/bits/dirent.h: Remove file.
62610         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62612         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62613         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62614         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62615         * sysdeps/unix/bsd/isatty.c: Likewise.
62616         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62617         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62618         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62620 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62622         [BZ #13563]
62623         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62624         long double comparison inaccuracies.
62625         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62628 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62630         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62631         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62633 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62635         [BZ #14049]
62636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62637         nonzero digits before rounding a hex value.
62638         * stdlib/tst-strtod.c (tests): Add another test.
62640 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62642         * sysdeps/s390/fpu/libm-test-ulps: Update.
62644 2012-05-03  Andreas Jaeger  <aj@suse.de>
62646         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62647         does not get optimized out.
62648         (malloc_opt_barrier): New.
62650 2012-05-03  Andreas Jaeger  <aj@suse.de>
62651             Roland McGrath  <roland@hack.frob.com>
62653         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62654         intermediate file deletion.
62655         (generated): Add .symlist files.
62657 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62659         [BZ #13775]
62660         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62661         Redirect under this condition.
62662         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62663         [__USE_GNU] (__dprintf_chk): Not under this condition.
62664         [__USE_GNU] (__vdprintf_chk): Likewise.
62665         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62666         under this condition.
62667         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62668         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62669         [__USE_XOPEN2K8] (vdprintf): Likewise.
62670         [__USE_GNU] (__dprintf_chk): Not under this condition.
62671         [__USE_GNU] (__vdprintf_chk): Likewise.
62672         [__USE_GNU] (dprintf): Likewise.
62673         [__USE_GNU] (vdprintf): Likewise.
62675 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62677         * elf/Makefile (common-generated): Set this instead of generated for
62678         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62679         $(all-built-dso)-derived lists.
62681 2012-05-03  Andreas Jaeger  <aj@suse.de>
62683         * sysdeps/i386/fpu/libm-test-ulps: Update.
62685         * FAQ: Removed.
62686         * FAQ.in: Likewise.
62687         * scripts/gen-FAQ.pl: Likewise.
62688         * manual/install.texi (Installation): Point to online location of
62689         FAQ.
62690         * Makefile (files-for-dist): Remove FAQ.
62691         (FAQ): Remove.
62693 2012-05-02  Allan McRae  <allan@archlinux.org>
62695         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62696         (LDFLAGS-reldepmod5.so): Likewise.
62697         (LDFLAGS-reldep6mod1.so): Likewise.
62698         (LDFLAGS-reldep6mod4.so): Likewise.
62699         (LDFLAGS-reldep8mod3.so): Likewise.
62700         (LDFLAGS-unload4mod1.so): Likewise.
62701         (LDFLAGS-unload4mod2.so): Likewise.
62702         (LDFLAGS-tst-initorder): Likewise.
62703         (LDFLAGS-tst-initordera2.so): Likewise.
62704         (LDFLAGS-tst-initordera3.so): Likewise.
62705         (LDFLAGS-tst-initordera4.so): Likewise.
62706         (LDFLAGS-tst-initorderb2.so): Likewise.
62707         (LDFLAGS-noload): Likewise.
62708         (LDFLAGS-next): Likewise.
62709         (LDFLAGS-order2mod1.so): Likewise.
62710         (LDFLAGS-order2mod2.so): Likewise.
62711         (LDFLAGS-tst-initorder2): Likewise.
62712         (LDFLAGS-tst-initorder2a.so): Likewise.
62713         (LDFLAGS-tst-initorder2b.so): Likewise.
62714         (LDFLAGS-tst-initorder2c.so): Likewise.
62715         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62717 2012-05-02  David S. Miller  <davem@davemloft.net>
62719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62721 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62723         [BZ #14055]
62724         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62726 2012-05-02  Andreas Jaeger  <aj@suse.de>
62728         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62729         since we manipulate rounding mode.
62730         (CPPFLAGS-test-idouble.c): Likewise.
62731         (CPPFLAGS-test-ifloat.c): Likewise.
62732         (CFLAGS-test-ldouble.c): Likewise.
62733         (CFLAGS-test-double.c): Likewise.
62734         (CFLAGS-test-float.c): Likewise.
62735         (CFLAGS-test-misc.c): Likewise.
62736         (CFLAGS-test-test-fenv.c): Likewise.
62738 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62740         [BZ #2550]
62741         [BZ #2570]
62742         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62743         comparisons to determine direction to adjust input.
62745 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62747         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62748         output to the target.
62750         * scripts/localplt.awk: New file.
62751         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62752         (check-localplt-CFLAGS): Variable removed.
62753         ($(all-built-dso:=.jmprel)): New static pattern rule.
62754         (generated): Add those targets.
62755         (localplt-built-dso): New variable.
62756         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62758         * elf/check-localplt.c: File removed.
62760         * scripts/check-execstack.awk: New file.
62761         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62762         (check-execstack-CFLAGS): Variable removed.
62763         ($(objpfx)check-execstack.h): Target removed.
62764         ($(objpfx)execstack-default): New target.
62765         (generated): Add that instead of check-execstack.h.
62766         ($(all-built-dso:=.phdr)): New static pattern rule.
62767         (generated): Add those targets.
62768         * elf/check-execstack.c: File removed.
62770         * scripts/check-textrel.awk: New file.
62771         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62772         (check-textrel-CFLAGS): Variable removed.
62773         (all-built-dso): Use := to define.o
62774         ($(all-built-dso:=.dyn)): New static pattern rule.
62775         (generated): Add those targets.
62776         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62777         * config.make.in (READELF): New substituted variable.
62778         * elf/check-textrel.c: File removed.
62780 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62782         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62783         allow.
62784         * conform/data/ctype.h-data [C99-based standards] (isblank):
62785         Expect function.
62786         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62787         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62788         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62789         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62790         Specify type.  Require positive value.
62791         (EILSEQ): Likewise.
62792         (ERANGE): Likewise.
62793         [ISO || POSIX] (EILSEQ): Do not expect.
62794         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62795         Specify type.  Require positive value.
62796         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62797         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62798         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62799         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62800         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62801         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62802         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62803         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62804         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62805         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62806         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62807         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62808         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62809         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62810         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62811         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62812         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62813         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62814         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62815         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62816         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62817         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62818         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62819         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62820         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62821         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62822         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62823         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62824         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62825         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62826         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62827         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62828         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62829         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62830         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62831         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62832         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62833         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62834         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62835         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62836         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62837         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62838         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62839         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62840         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62841         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62842         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62843         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62844         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62845         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62846         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62847         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62848         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62849         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62850         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62851         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62852         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62853         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62854         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62855         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62856         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62857         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62858         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62859         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62860         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62861         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62862         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62863         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62864         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62865         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62866         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62867         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62868         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62869         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62870         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62871         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62872         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62873         Require >= 2.
62874         (FLT_ROUNDS): Expect as macro, not constant.
62875         (FLT_MANT_DIG): Use macro-int-constant.
62876         (DBL_MANT_DIG): Likewise.
62877         (LDBL_MANT_DIG): Likewise.
62878         (FLT_DIG): Likewise.
62879         (DBL_DIG): Likewise.
62880         (LDBL_DIG): Likewise.
62881         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62882         (DBL_MIN_EXP): Likewise.
62883         (LDBL_MIN_EXP): Likewise.
62884         (FLT_MAX_EXP): Use macro-int-constant.
62885         (DBL_MAX_EXP): Likewise.
62886         (LDBL_MAX_EXP): Likewise.
62887         (FLT_MAX_10_EXP): Likewise.
62888         (DBL_MAX_10_EXP): Likewise.
62889         (LDBL_MAX_10_EXP): Likewise.
62890         (FLT_MAX): Use macro-constant.
62891         (DBL_MAX): Likewise.
62892         (LDBL_MAX): Likewise.
62893         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62894         (DBL_EPSILON): Likewise.
62895         (LDBL_EPSILON): Likewise.
62896         (FLT_MIN): Likewise.
62897         (DBL_MIN): Likewise.
62898         (LDBL_MIN): Likewise.
62899         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62900         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62901         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62902         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62903         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62904         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62905         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62906         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62907         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62908         [ISO11] (FLT_TRUE_MIN): Likewise.
62909         [ISO11] (LDBL_TRUE_MIN): Likewise.
62910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62911         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62912         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62913         (SCHAR_MAX): Likewise.
62914         (UCHAR_MAX): Likewise.
62915         (CHAR_MIN): Likewise.
62916         (CHAR_MAX): Likewise.
62917         (MB_LEN_MAX): Use macro-int-constant.
62918         (SHRT_MIN): Use macro-int-constant.  Specify type.
62919         (SHRT_MAX): Likewise.
62920         (USHRT_MAX): Likewise.
62921         (INT_MAX): Likewise.
62922         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62923         bound negative.
62924         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62925         bound with "U".
62926         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62927         bound with "L".
62928         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62929         bound negative.  Suffix upper bound with "L".
62930         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62931         bound with "UL".
62932         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62933         Specify type.
62934         [C99-based standards] (LLONG_MAX): Likewise.
62935         [C99-based standards] (ULLONG_MAX): Likewise.
62936         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62937         == 0.
62938         [ISO11] (max_align_t): Require type.
62939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62941         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62942         from $CFLAGS, without defining away __attribute__ calls.
62943         (checknamespace): Use $CFLAGS_namespace.
62945         * conform/conformtest.pl (@keywords): Only include C99 keywords
62946         for standards based on C99 or C11.
62948         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62949         Disable tests.
62950         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62951         UNIX98]: Likewise.
62953         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62954         usability of symbols in #if.
62956         * conform/conformtest.pl: If macro or constant types start
62957         "promoted:", expect the symbol to be of the following type
62958         promoted by the integer promotions.
62960         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62961         in one place.  Also handle "macro-constant".
62963         * conform/conformtest.pl: Only accept expected macro values with
62964         "==".  Parse all "macro" lines in one place.
62965         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62967         * conform/conformtest.pl: Handle braced types on "constant" lines
62968         instead of handling "typed-constant".
62969         * conform/data/signal.h-data: Use "constant" instead of
62970         "typed-constant".
62972         * conform/conformtest.pl: Handle "optional-" at start of lines in
62973         one place rather than duplicating several cases.  Handle each
62974         format of "macro" line with initial "optional-".
62976         * conform/conformtest.pl: Only accept expected constant or
62977         optional-constant values with "==".  Parse all "constant" lines in
62978         one place.  Parse all "optional-constant" lines in one place.
62979         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62980         * conform/data/fmtmsg.h-data: Likewise.
62981         * conform/data/netinet/in.h-data: Likewise.
62982         * conform/data/tar.h-data: Likewise.
62983         * conform/data/limits.h-data: Use "==" form on "constant" and
62984         "optional-constant" lines.
62986         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62987         Use -std=c99 for XOPEN2K.
62988         (@knownproblems): Remove.
62989         (newtoken): Don't check %isknown.
62991         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62992         Do not expect macro.
62993         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62994         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62995         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62996         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62997         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62998         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62999         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63000         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63001         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63002         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63003         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63004         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63005         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63006         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63007         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63008         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63009         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63010         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63011         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63012         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63013         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63014         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63015         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63016         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63017         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63018         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63019         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63020         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63021         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63022         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63023         [XPG3] (acosh): Likewise.
63024         [XPG3] (asinh): Likewise.
63025         [XPG3] (atanh): Likewise.
63026         [XPG3] (cbrt): Likewise.
63027         [XPG3] (expm1): Likewise.
63028         [XPG3] (ilogb): Likewise.
63029         [XPG3] (log1p): Likewise.
63030         [XPG3] (logb): Likewise.
63031         [XPG3] (nextafter): Likewise.
63032         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63033         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63034         [XPG3] (remainder): Likewise.
63035         [XPG3] (rint): Likewise.
63036         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63037         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63038         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63039         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63040         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63041         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63042         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63043         [UNIX98 || XOPEN2K] (scalb): Expect.
63044         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63045         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63046         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63047         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63048         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63049         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63050         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63051         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63052         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63053         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63054         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63055         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63056         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63057         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63058         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63059         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63060         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63061         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63062         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63063         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63064         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63065         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63066         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63067         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63068         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63069         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63070         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63071         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63072         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63073         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63074         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63075         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63076         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63077         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63080         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63081         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63089         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63090         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63091         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63098         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63099         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63100         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63101         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63102         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63103         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63104         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63105         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63106         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63109         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63110         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63118         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63119         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63120         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63154         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63155         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63156         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63157         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63158         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63159         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63160         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63161         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63163         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63164         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63165         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63166         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63167         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63168         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63169         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63170         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63171         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63172         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63173         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63174         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63175         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63176         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63177         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63178         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63179         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63180         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63182         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63183         _XOPEN_SOURCE_EXTENDED for XPG4.
63185         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63187         * Makeconfig (localtime): Remove variable.
63188         (inst_localtime-file): Likewise.
63190 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63193         Update.
63194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63195         Update.
63196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63197         Update.
63198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63199         Update.
63200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63201         Update.
63202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63203         Update.
63204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63205         Update.
63206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63207         Update.
63208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63209         Update.
63211 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63213         [BZ #2550]
63214         [BZ #2570]
63215         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63216         comparisons to determine direction to adjust input.
63217         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63218         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63220         Likewise.
63221         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63222         Likewise.
63223         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63224         Likewise.
63225         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63226         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63227         Likewise.
63228         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63229         Likewise.
63230         * math/libm-test.inc (nexttoward_test): Add more tests.
63232 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63234         [BZ #14040]
63235         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63236         in version GLIBC_2.1, not GLIBC_2.0.
63237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63238         Likewise.
63240 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63242         [BZ #13942]
63243         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63244         (1 - x) * (1 + x).
63245         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63246         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63247         * math/libm-test.inc (acos_test): Add more tests.
63248         (asin_test): Likewise.
63249         * sysdeps/i386/fpu/libm-test-ulps: Update.
63250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63252         [BZ #14034]
63253         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63254         of square root.
63255         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63256         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63257         * math/libm-test.inc (acos_test_tonearest): New function.
63258         (acos_test_towardzero): Likewise.
63259         (acos_test_downward): Likewise.
63260         (acos_test_upward): Likewise.
63261         (asin_test_tonearest): Likewise.
63262         (asin_test_towardzero): Likewise.
63263         (asin_test_downward): Likewise.
63264         (asin_test_upward): Likewise.
63265         (main): Call the new functions.
63266         * sysdeps/i386/fpu/libm-test-ulps: Update.
63267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63269         [BZ #13884]
63270         [BZ #13924]
63271         * math/e_exp10.c: Include <float.h>.
63272         (__ieee754_exp10): Handle underflow here rather than multiplying
63273         large negative argument by M_LN10.
63274         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63275         of __ieee754_expf.
63276         * math/e_exp10l.c: Include <float.h>.
63277         (__ieee754_exp10l): Handle underflow here rather than multiplying
63278         large negative argument by M_LN10l.
63279         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63280         spurious overflow exception on underflow.
63282 2012-04-29  Marek Polacek  <polacek@redhat.com>
63284         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63285         (__fortify_function): New macro.
63286         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63287         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63288         __extern_always_inline.
63289         * libio/bits/stdio2.h: Likewise.
63290         * libio/bits/stdio.h: Likewise.
63291         * string/string.h: Likewise.
63292         * string/bits/string3.h: Likewise.
63293         * include/stdio.h: Likewise.
63294         * stdlib/bits/stdlib.h: Likewise.
63295         * stdlib/stdlib.h: Likewise.
63296         * rt/bits/mqueue2.h: Likewise.
63297         * rt/mqueue.h: Likewise.
63298         * posix/bits/unistd.h: Likewise.
63299         * posix/unistd.h: Likewise.
63300         * io/bits/poll2.h: Likewise.
63301         * io/bits/fcntl2.h: Likewise.
63302         * io/fcntl.h: Likewise.
63303         * io/sys/poll.h: Likewise.
63304         * misc/bits/syslog.h: Likewise.
63305         * misc/bits/syslog-ldbl.h: Likewise.
63306         * misc/sys/syslog.h: Likewise.
63307         * socket/bits/socket2.h: Likewise.
63308         * socket/sys/socket.h: Likewise.
63309         * debug/tst-chk1.c: Likewise.
63310         * wcsmbs/bits/wchar2.h: Likewise.
63311         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63312         * wcsmbs/wchar.h: Likewise.
63314 2012-04-29  Andreas Jaeger  <aj@suse.de>
63316         * Makerules (tests): Remove enable-check-abi protection.
63317         (check-abi-warn): Remove.
63318         (check-abi-%): Remove check-abi-warn usage.
63320         * configure.in: Remove check-abi configure option.
63321         * configure: Regenerated.
63322         * config.make.in (enable-check-abi): Remove.
63324 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63326         [BZ #14033]
63327         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63328         double functions to double *_finite functions.
63330         [BZ #13941]
63331         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63332         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63333         LDBL_MIN_EXP.
63334         * stdio-common/Makefile (tests): Add tst-sprintf3.
63335         * stdio-common/tst-sprintf3.c: New file.
63337         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63338         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63340 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63342         * conform/conformtest.pl: Remove duplicate typed-constant
63343         handling.
63345 2012-04-28  David S. Miller  <davem@davemloft.net>
63347         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63348         (check-abi-%): Remove AWK script prerequisite and explicit
63349         abilist directory.
63350         (check-abi): Rewrite to just diff the symlist with the abilist.
63351         (config-tls, config-abi-config): Delete, no longer used.
63352         (update-abi-%): Remove AWK script and explicit abilist directory.
63353         (update-abi): Rewrite to simply compare and conditionally copy the
63354         symlist and the sysdep abilist file.  Remove update-abi-config
63355         checks.
63356         * abilist/ld.abilist: Remove.
63357         * abilist/libBrokenLocale.abilist: Remove.
63358         * abilist/libanl.abilist: Remove.
63359         * abilist/libcrypt.abilist: Remove.
63360         * abilist/libdl.abilist: Remove.
63361         * abilist/librt.abilist: Remove.
63362         * abilist/libthread_db.abilist: Remove.
63363         * abilist/libutil.abilist: Remove.
63364         * scripts/extract-abilist.awk: Remove.
63365         * scripts/merge-abilist.awk: Remove.
63366         * sysdeps/generic/libcidn.abilist: New file.
63367         * sysdeps/generic/libnss_compat.abilist: New file.
63368         * sysdeps/generic/libnss_db.abilist: New file.
63369         * sysdeps/generic/libnss_dns.abilist: New file.
63370         * sysdeps/generic/libnss_files.abilist: New file.
63371         * sysdeps/generic/libnss_hesiod.abilist: New file.
63372         * sysdeps/generic/libnss_nis.abilist: New file.
63373         * sysdeps/generic/libnss_nisplus.abilist: New file.
63374         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63375         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63376         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63377         file.
63378         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63379         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63380         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63381         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63382         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63383         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63384         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63385         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63386         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63387         file.
63388         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63389         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63390         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63391         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63392         file.
63393         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63394         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63395         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63396         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63397         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63398         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63399         file.
63400         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63401         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63402         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63403         file.
63404         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63406         New file.
63407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63408         New file.
63409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63410         New file.
63411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63412         New file.
63413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63414         New file.
63415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63416         New file.
63417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63418         New file.
63419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63420         New file.
63421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63422         New file.
63423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63424         New file.
63425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63426         New file.
63427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63428         New file.
63429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63430         New file.
63431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63432         file.
63433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63434         New file.
63435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63436         New file.
63437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63438         file.
63439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63440         New file.
63441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63442         New file.
63443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63444         file.
63445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63446         New file.
63447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63448         New file.
63449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63450         New file.
63451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63452         New file.
63453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63454         New file.
63455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63456         New file.
63457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63459         file.
63460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63461         New file.
63462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63463         file.
63464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63465         file.
63466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63467         file.
63468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63469         file.
63470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63471         file.
63472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63473         New file.
63474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63475         file.
63476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63477         file.
63478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63479         New file.
63480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63481         file.
63482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63484         file.
63485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63486         New file.
63487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63488         file.
63489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63490         file.
63491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63492         file.
63493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63494         file.
63495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63496         file.
63497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63498         New file.
63499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63500         file.
63501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63502         file.
63503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63504         New file.
63505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63506         file.
63507         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63508         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63509         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63510         file.
63511         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63512         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63513         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63514         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63515         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63516         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63517         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63518         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63519         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63520         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63523         file.
63524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63525         New file.
63526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63527         file.
63528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63529         file.
63530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63531         file.
63532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63533         file.
63534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63535         file.
63536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63537         New file.
63538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63539         New file.
63540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63541         file.
63542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63543         New file.
63544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63545         file.
63546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63548         file.
63549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63550         New file.
63551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63552         file.
63553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63554         file.
63555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63556         file.
63557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63558         file.
63559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63560         file.
63561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63562         New file.
63563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63564         New file.
63565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63566         file.
63567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63568         New file.
63569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63570         file.
63572 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63574         * conform/conformtest.pl: Fix typo in handling typed-constant from
63575         allow-header.
63577 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63579         * README: Cut down references to pre-2.6 Linux kernels and
63580         Linuxthreads.  Update lists of configurations in libc and ports
63581         and sort alphabetically.  Say "or newer" with Linux kernel version
63582         requirements.
63584         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63586 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63588         [BZ #887]
63589         * math/libm-test.inc (logb_test_downward): New test to expose
63590         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63591         rounding mode.
63593 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63595         [BZ #14027]
63596         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63597         to be done.
63598         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63599         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63601 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63603         * sysdeps/unix/i386/brk.S: Remove file.
63604         * sysdeps/unix/i386/dl-brk.S: Likewise.
63605         * sysdeps/unix/i386/pipe.S: Likewise.
63606         * sysdeps/unix/i386/sigreturn.S: Likewise.
63607         * sysdeps/unix/i386/syscall.S: Likewise.
63608         * sysdeps/unix/i386/vfork.S: Likewise.
63609         * sysdeps/unix/i386/wait.S: Likewise.
63611         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63612         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63614         * configure.in (arm*-none*): Do not allow without
63615         --enable-hacker-mode.
63616         (netbsd*): Remove case setting base_os.
63617         (386bsd*): Likewise.
63618         (freebsd*): Likewise.
63619         (bsdi*): Likewise.
63620         (osf*): Likewise.
63621         (sunos*): Likewise.
63622         (ultrix*): Likewise.
63623         (newsos*): Likewise.
63624         (dynix*): Likewise.
63625         (*bsd*): Likewise.
63626         (sysv*): Likewise.
63627         (isc*): Likewise.
63628         (esix*): Likewise.
63629         (sco*): Likewise.
63630         (minix*): Likewise.
63631         (irix4*): Likewise.
63632         (irix6*): Likewise.
63633         (solaris[2-9]*): Likewise.
63634         (none): Likewise.
63635         * configure: Regenerated.
63637 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63639         [BZ #11521]
63640         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63641         overflow or cancellation in calculating denominator.
63642         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63643         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63644         down expression to avoid unexpected rounding in newer GCCs.
63645         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63647 2012-04-26  David S. Miller  <davem@davemloft.net>
63649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63650         long-double compat symbols.
63651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63665 2012-04-25  David S. Miller  <davem@davemloft.net>
63667         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63668         HWCAP_* values only after the memory barriers have been defined.
63669         (atomic_full_barrier): Define.
63670         (atomic_read_barrier): Define.
63671         (atomic_write_barrier): Define.
63673 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63675         * shlib-versions: Add libgcc_s version information.
63676         * sysdeps/generic/libgcc_s.h: Remove.
63677         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63678         libgcc_s.h.
63679         * sysdeps/gnu/unwind-resume.c: Likewise.
63680         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63682 2012-04-25  David S. Miller  <davem@davemloft.net>
63684         * sysdeps/unix/sparc/brk.S: Delete.
63685         * sysdeps/unix/sparc/dl-brk.S: Delete.
63686         * sysdeps/unix/sparc/pipe.S: Delete.
63687         * sysdeps/unix/sparc/sysdep.S: Delete.
63688         * sysdeps/unix/sparc/sysdep.h: Delete.
63689         * sysdeps/unix/sparc/vfork.S: Delete.
63690         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63691         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63692         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63693         (ret_ERRVAL, r0, r1, MOVE): Define.
63694         (JUMPTARGET): Remove.
63695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63696         sysdeps/unix/sparc/sysdep.h
63697         (ENTRY, END): Remove.
63698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63700 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63702         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63703         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63704         -DIS_IN_build.
63706         * timezone/README: Update upstream location and email address for
63707         tzcode and tzdata.
63708         * timezone/zdump.c: Update from tzcode 2012b.
63709         * timezone/zic.c: Likewise.
63711         * configure.in (libc_cv_as_needed): Remove test.
63712         * configure: Regenerated.
63713         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63714         conditional definition.
63715         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63716         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63717         * config.make.in (have-as-needed): Remove variable.
63719 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63720             Paul Pluzhnikov  <ppluzhnikov@google.com>
63722         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63723         strings correctly.
63725 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63727         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63728         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63729         * sysdeps/sh/strlen.S: Likewise.
63731 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63733         * sysdeps/unix/fork.S: Remove file.
63734         * sysdeps/unix/i386/fork.S: Likewise.
63735         * sysdeps/unix/sparc/fork.S: Likewise.
63737         * sysdeps/unix/system.c: Remove file.
63738         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63740         * sysdeps/unix/getegid.S: Remove file.
63741         * sysdeps/unix/geteuid.S: Likewise.
63743 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63745         * scripts/check-localplt.awk: New file.
63746         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63747         of diff.
63748         * scripts/data/localplt-generic.data: Add a comment.
63750         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63751         NODE when __dir_mkfile failed.
63752         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63753         Reported by Ludovic Courtès <ludo@gnu.org>.
63755 2012-04-24  Andreas Jaeger  <aj@suse.de>
63757         * Makerules (common-clean): Also remove gen-as-const-headers
63758         files.
63760 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63762         * Makerules (native-compile): Do not change working directory for
63763         build.  Use $(OUTPUT_OPTION) in command.
63764         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63766 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63768         [BZ #13886]
63769         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63770         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63771         * math/libm-test.inc (floor_test): Add more tests.
63772         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63774 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63776         * sysdeps/unix/getdents.c: Remove file.
63777         * sysdeps/unix/sysv/getdents.c: Likewise.
63778         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63780         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63781         sysdeps/unix/mman/syscalls.list.
63782         (mmap): Likewise.
63783         (mprotect): Likewise.
63784         (msync): Likewise.
63785         (munmap): Likewise.
63786         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63787         * sysdeps/unix/mman/syscalls.list: Remove.
63788         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63790         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63791         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63792         * configure: Regenerated.
63793         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63794         $(libgcc_s_suffix).
63795         * config.make.in (libgcc_s_suffix): Remove variable.
63797 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63799         * sysdeps/unix/sysv/gethostname.c: Move to ...
63800         * sysdeps/posix/gethostname.c: ... here.
63802         * sysdeps/unix/execve.S: Remove file.
63804         * sysdeps/unix/_exit.S: Remove file.
63806 2012-04-23  Andreas Jaeger  <aj@suse.de>
63808         [BZ #13739]
63809         * manual/Makefile: Remove make dist support, there's no
63810         need for a stand-alone documentation tar ball.
63811         (TEXI2DVI): Define always, it's not in Makeconfig.
63812         (dist): Removed.
63813         (tar-it): Removed.
63814         (edition): Removed.
63815         (glibc-doc-$(edition).tar): Removed
63816         (%.Z): Removed.
63817         (%.gz): Removed.
63818         (%.uu): Removed.
63819         (ETAGS): Remove, it's in Makeconfig.
63820         (move-if-change): Remove, it's in Makeconfig.
63822 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63824         [BZ #13970]
63825         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63826         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63827         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63828         (strtod_l, strtof_l, strtold_l): Remove __wur.
63829         It is not necessarily an error to ignore strtol's return value.
63830         One can reliably look at the stored endptr to decide whether
63831         the number had valid syntax.
63833 2012-04-21  Andreas Jaeger  <aj@suse.de>
63835         [BZ #13739]
63836         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63838 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63840         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63841         * sysdeps/unix/sysv/Versions: Remove file.
63843 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63845         [BZ #13927]
63846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63848 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63850         [BZ #7064]
63851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63852         version from __vm86.
63854 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63856         * sysdeps/unix/common/lxstat.c: Remove file.
63857         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63859         * sysdeps/unix/sysv/Makefile: Remove file.
63861         * sysdeps/unix/sysv/direct.h: Remove file.
63863         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63864         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63865         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63866         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63867         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63868         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63869         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63871         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63873         * sysdeps/unix/xmknod.c: Remove file.
63874         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63876         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63878         * sysdeps/unix/sysv/i386/time.S: Remove file.
63880         * sysdeps/unix/fxstat.c: Remove file.
63881         * sysdeps/unix/xstat.c: Likewise.
63882         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63884         * sysdeps/unix/sysv/sigaction.c: Remove file.
63886         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63887         (sysdep_headers): Remove variable.
63888         [termio.h not in sysdep_headers] (generated): Likewise.
63889         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63890         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63891         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63892         * sysdeps/unix/sysv/tcflow.c: Likewise.
63893         * sysdeps/unix/sysv/tcflush.c: Likewise.
63894         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63895         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63896         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63897         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63898         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63900         * sysdeps/unix/siglist.c: Remove file.
63902         * sysdeps/unix/getppid.S: Remove file.
63904         * sysdeps/unix/mkdir.c: Remove file.
63905         * sysdeps/unix/rmdir.c: Likewise.
63907 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63909         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63910         ERR_MAX value.
63911         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63912         errlist-compat value.
63914 2012-04-18  David S. Miller  <davem@davemloft.net>
63916         * sysdeps/generic/memcopy.h (reg_char): Delete.
63917         * debug/strcat_chk.c: Use char, not reg_char.
63918         * debug/strcpy_chk.c: Likewise.
63919         * debug/strncat_chk.c: Likewise.
63920         * debug/strncpy_chk.c: Likewise.
63921         * string/memchr.c: Likewise.
63922         * string/memrchr.c: Likewise.
63923         * string/rawmemchr.c: Likewise.
63924         * string/strcat.c: Likewise.
63925         * string/strchr.c: Likewise.
63926         * string/strchrnul.c: Likewise.
63927         * string/strcmp.c: Likewise.
63928         * string/strcpy.c: Likewise.
63929         * string/strncat.c: Likewise.
63930         * string/strncmp.c: Likewise.
63931         * string/strncpy.c: Likewise.
63933 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63935         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63936         __builtin_memcopy is called when src and dest ranges are known to not
63937         overlap.
63939 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63941         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63942         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63943         fwd_align_merge macro call.
63944         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63945         bwd_align_merge macro call.
63946         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63948 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63950         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63951         bwd_align_merge macros.
63952         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63953         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63954         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63956 2012-04-18  David S. Miller  <davem@davemloft.net>
63958         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63960 2012-04-18  Andreas Jaeger  <aj@suse.de>
63962         [BZ# 6794]
63963         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63964         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63965         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63967         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63968         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63969         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63971         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63972         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63973         Adjust for changed ldbl-128 files.
63975         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63976         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63977         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63979 2012-04-17  David S. Miller  <davem@davemloft.net>
63981         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63983 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63985         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63986         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63987         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63988         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63989         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63990         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63992 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63994         [BZ #6794]
63995         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63996         * math/libm-test.inc: Add ilogb errno and exception tests.
63997         * math/w_ilogb.c: New file: ilogb wrapper.
63998         * math/w_ilogbf.c: New file: ilogbf wrapper.
63999         * math/w_ilogbl.c: New file: ilogbl wrapper.
64000         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64001         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64002         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64003         exception being thrown with 0.0 as argument.
64004         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64005         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64006         exception being thrown with 0.0 as argument.
64007         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64008         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64009         exception being thrown with 0.0 as argument.
64010         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64011         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64012         exception being thrown with 0.0 as argument.
64013         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64014         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64015         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64016         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64017         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64018         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64019         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64020         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64021         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64023 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64025         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64026         with altivec.
64028 2012-04-16  Marek Polacek  <polacek@redhat.com>
64030         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64032 2012-04-16  Marek Polacek  <polacek@redhat.com>
64034         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64035         operands of fdivp instruction.
64037 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64039         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64040         * elf/tst-auditmod3b.c: Likewise.
64041         * elf/tst-auditmod4b.c: Likewise.
64042         * elf/tst-auditmod5b.c: Likewise.
64043         * elf/tst-auditmod6b.c: Likewise.
64044         * elf/tst-auditmod6c.c: Likewise.
64045         * elf/tst-auditmod7b.c: Likewise.
64046         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64047         * sysdeps/x86_64/preconfigure.in: Likewise.
64048         * sysdeps/x86_64/preconfigure: Regenerated.
64050 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64052         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64053         __ILP32__.
64055 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64057         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64058         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64060 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64062         [BZ #13973]
64063         * locale/iso-639.def: Fix gl language name. Spotted by
64064         Yaron Shahrabani.
64066 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64068         [BZ #2074]
64069         * libio/libio.h (__io_write_fn): Update comment.
64071 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64073         [BZ #2074]
64074         * stdio.texi (Hook Functions): The user provided writer function
64075         is not allowed to return -1.
64077 2012-04-11  David S. Miller  <davem@davemloft.net>
64079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64081 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64083         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64084         Add a leading slash to rtkaio.
64086 2012-04-11  Jim Meyering  <meyering@redhat.com>
64088         [BZ #11959]
64089         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64090         It is not necessarily an error to ignore fwrite's return
64091         value.  One can reliably use ferror to test for errors after
64092         the fact.
64094 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64096         * bits/types.h (__snseconds_t): New type.
64097         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64099         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64101         (__SNSECONDS_T_TYPE): Likewise.
64102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64103         (__SNSECONDS_T_TYPE): Likewise.
64104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64105         (__SNSECONDS_T_TYPE): Likewise.
64107 2012-04-10  Andreas Jaeger  <aj@suse.de>
64109         [BZ #2636]
64110         * manual/time.texi (Processor Time): Return type of times is
64111         elapsed real time since an arbitrary point in the past.
64112         (CPU Time): Move CLK_TCK from here...
64113         (Processor Time): ...to here.  Correct description.
64114         * manual/conf.texi (Constants for Sysconf): Correct description of
64115         _SC_CLK_TCK.
64117 2012-04-10  David S. Miller  <davem@davemloft.net>
64119         [BZ #13967]
64120         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64121         where the is a gap between DT_REL(A) and DT_JMPREL.
64123 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64125         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64126         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64127         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64129 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64131         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64132         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64133         (dl_main): Handle --inhibit-cache.
64134         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64135         _dl_inhibit_cache.
64136         * elf/dl-load.c (_dl_map_object): Use it.
64137         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64139 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64141         [BZ #13872]
64142         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64143         (__ieee754_powl): Saturate large exponents rather than testing for
64144         overflow of y*log2(x).
64145         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64146         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64147         exceptions.
64149         [BZ #11521]
64150         * math/s_ctan.c: Include <float.h>.
64151         (__ctan): Avoid internal overflow or cancellation in calculating
64152         denominator.
64153         * math/s_ctanf.c: Likewise.
64154         * math/s_ctanl.c: Likewise.
64155         * math/s_ctanh.c: Likewise.
64156         * math/s_ctanhf.c: Likewise.
64157         * math/s_ctanhl.c: Likewise.
64158         * math/libm-test.inc (ctan_test): Add more tests.
64159         (ctanh_test): Likewise.
64160         * sysdeps/i386/fpu/libm-test-ulps: Update.
64161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64163 2012-04-09  Andreas Jaeger  <aj@suse.de>
64165         [BZ #6894]
64166         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64167         is an optional BSD extension.
64169         [BZ #10254]
64170         * manual/stdio.texi (Opening Streams): Document additional fopen
64171         parameters.
64173 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64175         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64176         %eax without telling the compiler.
64178 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64180         [BZ # 13963]
64181         * manual/install.texi: Use sourceware.org.
64183 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64185         [BZ #13873]
64186         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64187         (__ieee754_pow): Generate overflow and underflow using huge*huge
64188         and tiny*tiny rather than just returning constant infinity or zero
64189         for large exponents.
64190         * math/libm-test.inc (pow_test): Require overflow exceptions for
64191         applicable cases of large exponents.
64193         [BZ #706]
64194         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64195         (__ieee754_pow): Use iterative multiplication algorithm only for
64196         integer exponents with absolute value below 1024.  Check for odd
64197         integer exponents when using algorithm for real exponents.
64198         * math/libm-test.inc (pow_test): Add more tests.
64199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64201 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64203         [BZ #13705]
64204         * math/libm-test.inc (exp_test): Do not allow overflow exception
64205         on underflow test.
64207 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64209         [BZ #13705]
64210         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64211         instead of __kernel_standard_f.
64213 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64215         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64216         * sysdeps/x86_64/memset_chk.S: Likewise.
64218 2012-04-08  Andreas Jaeger  <aj@suse.de>
64220         [BZ #10153]
64221         * manual/startup.texi (Environment Access): Describe return value
64222         for putenv and setenv.
64224         [BZ #6895]
64225         * manual/filesys.texi (Directory Entries): Add description for
64226         DT_LNK.
64228         [BZ #6890]
64229         * manual/filesys.texi (Directory Entries): Clarify that it's file
64230         system not operating system in the description of DT_UNKNOWN.
64232         [BZ #6578]
64233         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64235 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64237         [BZ #6649]
64238         * manual/llio.texi (Opening and Closing Files): Add cross
64239         reference to explain mode argument.
64241 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64243         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64244         * sysdeps/x86_64/memset_chk.S: Likewise.
64246 2012-04-07  David S. Miller  <davem@davemloft.net>
64248         * elf/elf.h (R_SPARC_WDISP10): Define.
64249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64250         R_SPARC_SIZE32.
64251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64252         R_SPARC_SIZE64 and R_SPARC_H34.
64254 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64256         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64257         conditions and remove no longer applicable assertion.
64259 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64261         * bits/byteswap.h: Include <features.h>.
64262         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64263         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64265 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64267         * bits/byteswap.h (__bswap_16): Removed.
64268         Include <bits/byteswap-16.h> to get __bswap_16.
64269         * sysdeps/i386/bits/byteswap.h: Likewise.
64270         * sysdeps/s390/bits/byteswap.h: Likewise.
64271         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64272         * bits/byteswap-16.h: New file.
64273         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64274         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64275         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64276         * string/Makefile (headers): Add bits/byteswap-16.h.
64278 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64280         [BZ #13895]
64281         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64282         extra indirection.
64283         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64284         * nss/tst-nss-static.c: New.
64286 2012-04-06  Robert Millan  <rmh@gnu.org>
64288         [BZ #6486]
64289         * manual/llio.texi (File Position Primitive): lseek
64290         refers to WHENCE when it really means OFFSET.
64292 2012-04-06  Andreas Jaeger  <aj@suse.de>
64294         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64295         strncmp declarations.
64297         * abilist/libc.abilist: Add __poll and __ppoll.
64299 2012-04-05  David S. Miller  <davem@davemloft.net>
64301         * scripts/check-local-headers.sh: Accept a host triplet in the
64302         path matched by the exclude regexp.
64304         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64305         definition.
64306         * sysdeps/powerpc/powerpc32/dl-machine.h
64307         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64308         * sysdeps/s390/s390-32/dl-machine.h
64309         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64310         * sysdeps/sparc/sparc32/dl-machine.h
64311         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64312         * sysdeps/sparc/sparc64/dl-machine.h
64313         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64315         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64316         lazy binding.
64317         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64318         undefined symbol errors.
64320         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64321         DT_NEEDED entries.
64323 2012-04-05  Michael Matz  <matz@suse.de>
64325         [BZ #13592]
64326         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64328 2012-04-05  Andreas Jaeger  <aj@suse.de>
64330         [BZ #13908]
64331         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64332         comment.
64334 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64336         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64337         which ROUND is no valid rounding mode.
64339 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64341         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64342         read again.
64343         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64345 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64347         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64348         an exception using FPU order intentionally.
64350 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64352         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64353         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64354         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64355         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64357 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64359         [BZ #12340]
64360         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64361         EINVAL when BUFLEN is too smal.
64363 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64365         [BZ #13553]
64366         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64367         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64369 2012-04-03  Andreas Jaeger  <aj@suse.de>
64371         [BZ #13938]
64372         * manual/setjmp.texi (System V contexts): Fix sentence.
64374         [BZ #13926]
64375         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64376         New macro for this case.
64377         [!__GNUC__] (__bswap_64): New inline function for this case.
64378         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64379         * bits/byteswap.h: Likewise.
64380         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64381         ull, guard with __GLIBC_HAVE_LONG_LONG.
64383         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64384         __GLIBC_HAVE_LONG_LONG.
64386         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64387         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64389 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64391         [BZ #13691]
64392         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64393         inptr and inend, rather than using last_ch.
64395 2012-04-02  David S. Miller  <davem@davemloft.net>
64397         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64398         * stdio-common/printf-parse.h (read_int): Change return type to
64399         'int', return -1 on INT_MAX overflow.
64400         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64401         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64402         overflows INT_MAX.  Check for overflow of in-format-string precision
64403         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64404         SIZE_MAX not INT_MAX for integer overflow test.
64405         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64406         skip the construct in the format string but do not record anything.
64407         * stdio-common/bug22.c: Adjust to test both width/prevision
64408         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64409         explicitly for proper errno values.
64411 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64413         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64414         CHAR_MAX.
64415         * string/test-strcmp.c [! WIDE]: Likewise.
64416         * time/tst-mktime2.c: Likewise for INT_MAX.
64417         * string/test-string.h: #include <sys/param.h> for MIN.
64419         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64420         * sysdeps/i386/init-first.c (init): Likewise.
64421         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64422         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64423         * sysdeps/sh/init-first.c (init): Likewise.
64425 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64427         * po/ru.po: Update from translation team.
64428         * po/vi.po: Likewise.
64430 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64432         * resolv/nss_dns/dns-host.c: Merge copyright years.
64434 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64437         Optimize memcpy with prefetch if
64438         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64439         src, dst pointers have unequal 16 byte alignments.
64441 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64443         [BZ #13928]
64444         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64445         from a CNAME entry and return the minimum ttl for the query.
64446         (gaih_getanswer_slice): Likewise.
64448 2012-03-30  Jeff Law  <law@redhat.com>
64450         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64451         due to long keys.
64452         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64453         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64455         * resolv/nss_dns/dns-host.c: Update copyright year.
64457 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64459         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64460         requests to save a system call.  Fix check that all bytes are sent.
64462         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64463         comments for sendmmsg.
64465 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64467         [BZ #13691]
64468         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64469         with only 1 character between 0x0041 and 0x01b0.
64470         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64471         * wcsmbs/tst-mbsnrtowcs.c: New file.
64473 2012-03-29  David S. Miller  <davem@davemloft.net>
64475         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64476         small copies by hand.
64478 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64480         [BZ #13761]
64481         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64482         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64483         group memberships.
64485 2012-03-28  David S. Miller  <davem@davemloft.net>
64487         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64488         that branches into memcpy.
64489         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64492         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64494         bits.
64495         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64496         implementation too.
64497         * sysdeps/sparc/mempcpy.S: New file.
64499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64500         the IFUNC routine in the libc case.
64501         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64503         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64504         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64505         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64506         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64507         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64508         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64509         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64510         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64512         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64513         loop to 256 bytes instead of 64 bytes and fix test signedness.
64515         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64516         * sysdeps/sparc/sparc32/Makefile: rather than here...
64517         * sysdeps/sparc/sparc64/Makefile: and here.
64519 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64521         * malloc/mallocbug.c: Avoid warnings about unused variables.
64523 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64525         [BZ #13760]
64526         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64527         in the right place. Discard and retry query if response is
64528         larger than input buffer size.
64530 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64532         [BZ #369]
64533         [BZ #2678]
64534         [BZ #3866]
64535         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64536         x for large integer exponent.
64537         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64538         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64539         sign of result as needed afterwards.
64540         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64541         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64542         result for underflowing pow the same as for overflow.
64543         (__kernel_standard_l): Handle powl overflow and underflow here
64544         rather than calling __kernel_standard.
64545         * math/libm-test.inc (pow_test): Add more tests.
64547         [BZ #3868]
64548         [BZ #13879]
64549         [BZ #13910]
64550         [BZ #13911]
64551         [BZ #13912]
64552         [BZ #13913]
64553         [BZ #13915]
64554         [BZ #13916]
64555         [BZ #13917]
64556         [BZ #13918]
64557         [BZ #13919]
64558         [BZ #13920]
64559         [BZ #13921]
64560         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64561         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64562         (__kernel_standard_l): New function.
64563         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64564         __kernel_standard.
64565         * math/w_acosl.c (__acosl): Likewise.
64566         * math/w_asinl.c (__asinl): Likewise.
64567         * math/w_atan2l.c (__atan2l): Likewise.
64568         * math/w_atanhl.c (__atanhl): Likewise.
64569         * math/w_coshl.c (__coshl): Likewise.
64570         * math/w_exp10l.c (__exp10l): Likewise.
64571         * math/w_exp2l.c (__exp2l): Likewise.
64572         * math/w_fmodl.c (__fmodl): Likewise.
64573         * math/w_hypotl.c (__hypotl): Likewise.
64574         * math/w_j0l.c (__j0l, __y0l): Likewise.
64575         * math/w_j1l.c (__j1l, __y1l): Likewise.
64576         * math/w_jnl.c (__jnl, __ynl): Likewise.
64577         * math/w_lgammal.c (__lgammal): Likewise.
64578         * math/w_log10l.c (__log10l): Likewise.
64579         * math/w_log2l.c (__log2l): Likewise.
64580         * math/w_logl.c (__logl): Likewise.
64581         * math/w_powl.c (__powl): Likewise.
64582         * math/w_remainderl.c (__remainderl): Likewise.
64583         * math/w_scalbl.c (sysv_scalbl): Likewise.
64584         * math/w_sinhl.c (__sinhl): Likewise.
64585         * math/w_sqrtl.c (__sqrtl): Likewise.
64586         * math/w_tgammal.c (__tgammal): Likewise.
64587         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64588         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64589         * math/libm-test.inc (acos_test): Add more tests.
64590         (acosh_test): Likewise.
64591         (asin_test): Likewise.
64592         (atanh_test): Likewise.
64593         (exp_test): Likewise.
64594         (exp10_test): Likewise.
64595         (exp2_test): Likewise.
64596         (expm1_test): Likewise.
64597         (lgamma_test): Likewise.
64598         (log_test): Likewise.
64599         (log10_test): Likewise.
64600         (log1p_test): Likewise.
64601         (log2_test): Likewise.
64602         (pow_test): Do not allow some spurious overflow exceptions.
64603         (sqrt_test): Add more tests.
64604         (tgamma_test): Likewise.
64605         (y0_test): Likewise.
64606         (y1_test): Likewise.
64607         (yn_test): Likewise.
64609 2012-03-27  Anton Blanchard  <anton@samba.org>
64611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64612         MAP_HUGETLB.
64613         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64614         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64615         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64617 2012-03-27  David S. Miller  <davem@davemloft.net>
64619         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64621         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64622         have-as-vis3 check.
64624 2012-03-27  Andreas Jaeger  <aj@suse.de>
64626         * sysdeps/x86_64/elf/configure.in: Moved to ...
64627         * sysdeps/x86_64/configure.in: ... here.
64628         * sysdeps/x86_64/elf/start.S: Moved to ...
64629         * sysdeps/x86_64/start.S: ... here.
64630         * sysdeps/x86_64/elf/configure: Delete.
64632         * sysdeps/x86_64/configure.in: Merge contents from
64633         sysdeps/i386/configure.in (without i686 check).
64635         * sysdeps/i386/elf/Versions: Merge into ...
64636         * sysdeps/i386/Versions: ... this.
64637         * sysdeps/i386/elf/Versions: Delete file.
64638         * sysdeps/i386/elf/start.S: Moved to ...
64639         * sysdeps/i386/start.S: ...here.
64640         * sysdeps/i386/elf/configure.in: Merge into...
64641         * sysdeps/i386/configure.in: ...here.
64642         * sysdeps/i386/elf/configure.in: Delete file.
64643         * sysdeps/i386/elf/configure: Delete file.
64645         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64646         * debug/backtracesyms.c: ... here.
64647         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64648         * debug/backtracesymsfd.c: ... here.
64649         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64650         * sysdeps/generic/ifunc-sel.h: ... here.
64652         * sysdeps/unix/i386/start.c: Delete file.
64653         * sysdeps/unix/sparc/start.c: Delete file.
64654         * sysdeps/unix/start.c: Delete file.
64656         * sysdeps/sh/elf/configure.in: Moved to ...
64657         * sysdeps/sh/configure.in: ... here.
64658         * sysdeps/sh/elf/start.S: Moved to ...
64659         * sysdeps/sh/start.S: ... here.
64660         * sysdeps/sh/elf/configure: Delete file.
64662         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64663         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64664         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64665         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64666         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64667         * sysdeps/powerpc/powerpc64/start.S: here.
64668         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64669         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64670         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64671         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64672         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64674         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64675         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64676         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64677         * sysdeps/powerpc/powerpc32/start.S: ... here.
64678         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64679         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64680         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64682         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64683         * sysdeps/powerpc/ifunc-sel.h: ... here.
64684         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64685         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64687         * sysdeps/sparc/elf/configure.in: Moved to ...
64688         * sysdeps/sparc/configure.in: ... here.
64689         * sysdeps/sparc/elf/configure: Delete file.
64690         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64691         * sysdeps/sparc/sparc32/start.S: ... here.
64692         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64693         * sysdeps/sparc/sparc64/start.S: ... here.
64694         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64695         * sysdeps/sparc/sparc32/Makefile: ... this.
64696         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64697         * sysdeps/sparc/sparc64/Makefile: ... this.
64699         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64700         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64701         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64702         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64703         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64704         * sysdeps/s390/s390-32/setjmp.S: ... here.
64705         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64706         * sysdeps/s390/s390-32/configure.in: ... here.
64707         * sysdeps/s390/s390-32/elf/configure: Delete file.
64708         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64709         * sysdeps/s390/s390-32/start.S: ... here.
64711         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64712         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64713         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64714         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64715         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64716         * sysdeps/s390/s390-64/setjmp.S: ... here.
64717         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64718         * sysdeps/s390/s390-64/configure.in: ... here
64719         * sysdeps/s390/s390-64/elf/configure: Delete file.
64720         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64721         * sysdeps/s390/s390-64/start.S: ... here.
64722         * sysdeps/s390/s390-64/elf/configure: Delete.
64724         * configure.in: Remove support for elf directories in sysdeps.
64726         * configure: Regenerated.
64727         * sysdeps/i386/configure: Regenerated.
64728         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64729         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64730         * sysdeps/s390/s390-32/configure: Regenerated.
64731         * sysdeps/s390/s390-64/configure: Regenerated.
64732         * sysdeps/sh/configure: Regenerated.
64733         * sysdeps/sparc/configure: Regenerated.
64734         * sysdeps/x86_64/configure: Regenerated.
64736 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64740         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64741         denormal result into account.
64743 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64745         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64746         Reported by Allan McRae <allan@archlinux.org>.
64748 2012-03-23  Jeff Law  <law@redhat.com>
64750         * nss/getnssent.c (__nss_getent): Fix typo.
64752 2012-03-23  David S. Miller  <davem@davemloft.net>
64754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64756 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64758         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64759         to pad to uint64_t for each field.
64760         (dl_tls_index): Replace unsigned long with uint64_t.
64762 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64763         Paul Pluzhnikov  <ppluzhnikov@google.com>
64765         [BZ #6528]
64766         * grp/Makefile (otherlibs): Don't set it.
64767         * inet/Makefile (otherlibs): Likewise.
64768         * login/Makefile (otherlibs): Likewise.
64769         * nscd/Makefile (otherlibs): Likewise.
64770         * posix/Makefile (otherlibs): Likewise.
64771         * pwd/Makefile (otherlibs): Likewise.
64772         * rt/Makefile (otherlibs): Likewise.
64773         * sunrpc/Makefile (otherlibs): Likewise.
64774         * nss/Makefile (otherlibs): Likewise.
64775         Add libnss_files to routines and static-only-routines.
64776         ($(objpfx)getent): Remove rule.
64777         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64778         static-only-routines.
64780 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64782         [BZ #13892]
64783         * math/s_cexp.c: Include <float.h>.
64784         (__cexp): Handle exp result overflowing not necessarily
64785         overflowing both real and imaginary parts of result.
64786         * math/s_cexpf.c: Likewise.
64787         * math/s_cexpl.c: Likewise.
64788         * math/libm-test.inc (cexp_test): Add more tests.
64789         * sysdeps/i386/fpu/libm-test-ulps: Update.
64790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64792 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64794         * include/link.h (ELFW): New macro.
64795         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64796         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64798 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64800         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64801         with uint64_t.
64803 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64805         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64806         declaration.
64807         (struct La_x32_retval): Likewise.
64809 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64811         * sysdeps/x86_64/preconfigure.in: New file.
64812         * sysdeps/x86_64/preconfigure: New generated file.
64814 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64816         [BZ #13824]
64817         * math/e_exp2l.c: Include <float.h>.
64818         (__ieee754_exp2l): Handle overflow and underflow cases
64819         separately.  Only pass fractional part of argument to
64820         __ieee754_expl.
64821         * math/libm-test.inc (exp2_test): Add more tests.
64823         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64824         negating x to take absolute value.
64825         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64826         Likewise.
64827         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64828         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64829         Likewise.
64830         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64831         computing low part if x was negated.
64832         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64834 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64836         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64837         la_x32_gnu_pltexit.
64838         (pltexit): Cast int_retval to ptrdiff_t.
64839         * elf/tst-auditmod3b.c: Likewise.
64840         * elf/tst-auditmod4b.c: Likewise.
64841         * elf/tst-auditmod5b.c: Likewise.
64842         * elf/tst-auditmod6b.c: Likewise.
64843         * elf/tst-auditmod6c.c: Likewise.
64844         * elf/tst-auditmod7b.c: Likewise.
64846         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64847         and x32_gnu_pltexit.
64849         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64850         __ELF_NATIVE_CLASS.
64851         (La_x32_regs): New macro.
64852         (La_x32_retval): Likewise.
64853         (la_x32_gnu_pltenter): New function prototype.
64854         (la_x32_gnu_pltexit): Likewise.
64856 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64858         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64859         exponent.
64861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64863         * configure.in (libc_cv_cc_nofma): Check for option to disable
64864         generation of FMA instructions.
64865         * configure: Regenerate.
64866         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64867         * sysdeps/ieee754/dbl-64/Makefile: New file.
64868         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64869         Remove brandred-fma4.
64870         (CFLAGS-brandred-fma4.c): Remove.
64871         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64872         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64873         define.
64874         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64875         define.
64877 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64879         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64880         LLONG_MAX != LONG_MAX.
64881         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64882         (_fitoa_word): Likewise.
64883         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64884         LLONG_MAX != LONG_MAX.
64885         * stdio-common/_itowa.h: Include <_itoa.h>.
64886         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64887         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64888         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64889         only if not defined.
64890         (_ITOA_WORD_TYPE): Likewise.
64891         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64892         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64894 2012-03-21  David S. Miller  <davem@davemloft.net>
64896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64898 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64900         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64901         of x86_64 when setting libc_cv_slibdir, libdir and
64902         libc_cv_localedir.
64903         * sysdeps/unix/sysv/linux/configure: Regenerated.
64905 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64907         * manual/lang.texi (Old Varargs): Remove section.
64908         (How Variadic): Update menu.
64909         (va_start): Do not mention varargs.h.
64911 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64912             Joseph Myers  <joseph@codesourcery.com>
64914         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64915         link test.
64916         * configure: Regenerated.
64918 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64920         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64921         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64922         conformtest.pl
64924 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64926         * NOTES: Remove.
64927         * Makefile (files-for-dist): Remove NOTES.
64928         (NOTES): Remove rule.
64929         * README: Don't refer to NOTES.
64930         * manual/creature.texi: Don't include macros.texi.
64931         * manual/intro.texi (creature.texi): Remove comment referring to
64932         NOTES.
64934         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64935         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64936         * configure: Regenerated.
64937         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64938         LIBC_TRY_CC_OPTION.
64939         (libc_cv_as_i686): Likewise.
64940         (libc_cv_cc_avx): Likewise.
64941         (libc_cv_cc_sse2avx): Likewise.
64942         (libc_cv_cc_fma4): Likewise.
64943         (libc_cv_cc_novzeroupper): Likewise.
64944         * sysdeps/i386/configure: Regenerated.
64946         [BZ #13883]
64947         * sysdeps/i386/fpu/s_cexp.S: Remove.
64948         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64949         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64950         * math/libm-test.inc (cexp_test): Add more tests.
64951         * sysdeps/i386/fpu/libm-test-ulps: Update.
64952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64954 2012-03-21  Allan McRae  <allan@archlinux.org>
64956         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64958 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64960         [BZ #13871]
64961         * math/w_exp2.c: Do not include <float.h>.
64962         (o_threshold, u_threshold): Remove.
64963         (__exp2): Calculate result before checking finiteness and calling
64964         __kernel_standard.
64965         * math/w_exp2f.c: Likewise.
64966         * math/w_exp2l.c: Likewise.
64967         * math/libm-test.inc (exp2_test): Require overflow exception for
64968         1e6 input.
64970         [BZ #3866]
64971         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64972         range of signed 64-bit integers before using fistpll.  Remove
64973         checks for whether integers fit in mantissa bits.
64974         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64975         the range of signed 32-bit integers before using fistpl.  Remove
64976         checks for whether integers fit in mantissa bits.
64977         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64978         (__ieee754_powl): Test for y outside the range of signed 64-bit
64979         integers before using fistpll.  Reduce 64-bit values to 63-bit
64980         ones as needed.
64981         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64982         divide-by-zero is raised for zero to large negative powers.
64983         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64984         (__ieee754_powl): Test for y outside the range of signed 64-bit
64985         integers before using fistpll.  Reduce 64-bit values to 63-bit
64986         ones as needed.
64987         * math/libm-test.inc (pow_test): Add more tests.
64989 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64991         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64992         <stdio-common/_itoa.h>.
64993         * debug/segfault.c: Likewise.
64994         * elf/dl-cache.c: Likewise.
64995         * elf/dl-minimal.c: Likewise.
64996         * elf/dl-misc.c: Likewise.
64997         * elf/dl-sysdep.c: Likewise.
64998         * elf/dl-version.c: Likewise.
64999         * elf/rtld.c: Likewise.
65000         * hurd/hurdsock.c: Likewise.
65001         * hurd/lookup-retry.c: Likewise.
65002         * malloc/malloc.c: Likewise.
65003         * malloc/mtrace.c: Likewise.
65004         * nscd/nscd_getgr_r.c: Likewise.
65005         * nscd/nscd_getpw_r.c: Likewise.
65006         * nscd/nscd_getserv_r.c: Likewise.
65007         * posix/getopt_init.c: Likewise.
65008         * posix/wordexp.c: Likewise.
65009         * stdio-common/_itoa.c: Likewise.
65010         * stdio-common/printf_fphex.c: Likewise.
65011         * stdio-common/vfprintf.c: Likewise.
65012         * string/_strerror.c: Likewise.
65013         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65014         * sysdeps/i386/i686/hp-timing.h: Likewise.
65015         * sysdeps/mach/_strerror.c: Likewise.
65016         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65017         * sysdeps/mach/hurd/sethostid.c: Likewise.
65018         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65019         * sysdeps/mach/xpg-strerror.c: Likewise.
65020         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65021         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65022         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65023         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65024         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65025         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65026         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65027         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65028         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65029         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65030         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65031         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65032         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65033         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65034         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65035         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65036         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65037         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65038         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65039         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65040         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65042         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65044         * stdio-common/_itoa.h: Moved to ...
65045         * sysdeps/generic/_itoa.h: Here.
65047         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65049         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65050         instead of "_itoa.h" and "_itowa.h".
65051         * stdio-common/vfprintf.: Likewise.
65053 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65055         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65056         <bits/wordsize.h>.
65057         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65058         (__signbit): Likwise.
65059         (llrintf): Likwise.
65060         (llrint): Likwise.
65062 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65064         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65065         __WORDSIZE != 64.
65067 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65069         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65070         OVERFLOW_EXCEPTION_OK.
65071         * math/libm-test.inc ("Philosophy"): Update comment about
65072         exception testing.
65073         (OVERFLOW_EXCEPTION): Define.
65074         (OVERFLOW_EXCEPTION_OK): Likewise.
65075         (INVALID_EXCEPTION_OK): Renumber.
65076         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65077         (IGNORE_ZERO_INF_SIGN): Likewise.
65078         (test_exceptions): Handle FE_OVERFLOW.
65079         (exp10_test): Expect overflow exceptions.
65080         (exp2_test): Likewise.
65081         (expm1_test): Likewise.
65082         (nextafter_test): Likewise.
65083         (pow_test): Likewise.
65084         (scalbn_test): Likewise.
65085         (scalbln_test): Likewise.
65087 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65089         * sysdeps/x86_64/bits/atomic.h
65090         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65091         64bit integer.
65092         (atomic_exchange_acq): Likewise.
65093         (__arch_exchange_and_add_body): Likewise.
65094         (__arch_add_body): Likewise.
65095         (atomic_add_negative): Likewise.
65096         (atomic_add_zero): Likewise.
65098 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65100         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65101         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65103 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65105         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65106         Check __x86_64__ instead of __WORDSIZE.
65108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65110         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65112 2012-03-19  David S. Miller  <davem@davemloft.net>
65114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65116         * sysdeps/sparc/fpu/fenv_private.h: New file.
65117         * sysdeps/sparc/fpu/math_private.h: Use it.
65118         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65119         Remove.
65120         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65121         (libc_feholdexcept_setroundl): Remove.
65122         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65123         Remove.
65124         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65125         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65129         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65130         int64_t instead of long int.
65131         (INSERT_WORDS64): Likwise.
65133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65135         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65136         _Unwind_GetCFA return to _Unwind_Ptr first.
65138 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65140         [BZ #13629]
65141         * math/s_clog.c: Include <float.h>.
65142         (__clog): Scale large or subnormal inputs.
65143         * math/s_clogf.c: Likewise.
65144         * math/s_clogl.c: Likewise.
65145         * math/s_clog10.c: Include <float.h>.
65146         (M_LOG10_2): Define.
65147         (__clog10): Scale large or subnormal inputs.
65148         * math/s_clog10f.c: Likewise.
65149         * math/s_clog10l.c: Likewise.
65150         * math/libm-test.inc (clog_test): Add more tests.
65151         (clog10_test): Likewise.
65152         * sysdeps/i386/fpu/libm-test-ulps: Update.
65153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65155         [BZ #11451]
65156         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65157         x and y.
65158         * math/libm-test.inc (atan2_test): Add another test.
65160         * Makerules (common-objdir-compile): Remove.
65161         * sysdeps/unix/Makefile (config-generated): Do not add
65162         $(unix-generated) to variable.
65163         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65164         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65165         Remove rule.
65166         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65167         Likewise.
65168         [generic bits/local_lim.h] (before-compile): Do not append to
65169         variable.
65170         [generic bits/local_lim.h] (common-generated): Likewise.
65171         [generic sys/param.h] (before-compile): Do not append to variable.
65172         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65173         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65174         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65175         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65176         include.
65177         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65178         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65179         [generic sys/param.h] ($(addprefix
65180         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65181         [generic sys/param.h] (common-generated): Do not append to
65182         variable.
65183         [generic sys/param.h] (sysdep_headers): Likewise.
65184         [generic bits/errno.h] (before-compile): Do not append to
65185         variable.
65186         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65187         rule.
65188         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65189         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65190         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65191         [generic bits/errno.h] (common-generated): Do not append to
65192         variable.
65193         [generic bits/ioctls.h] (before-compile): Do not append to
65194         variable.
65195         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65196         rule.
65197         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65198         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65199         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65200         rule.
65201         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65202         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65203         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65204         [generic bits/ioctls.h] (common-generated): Do not append to
65205         variable.
65206         [generic sys/syscall.h] (syscall.h): Remove variable.
65207         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65208         rule.
65209         [generic sys/syscall.h] (before-compile): Do not append to
65210         variable.
65211         [generic sys/syscall.h] (common-generated): Likewise.
65212         * sysdeps/unix/errnos-tmpl.c: Remove file.
65213         * sysdeps/unix/errnos.awk: Likewise.
65214         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65215         * sysdeps/unix/ioctls.awk: Likewise.
65216         * sysdeps/unix/mk-local_lim.c: Likewise.
65217         * sysdeps/unix/snarf-ioctls: Likewise.
65219 2012-03-19  Richard Henderson  <rth@twiddle.net>
65221         * sysdeps/i386/fpu/fenv_private.h: New file.
65222         * sysdeps/i386/fpu/math_private.h: Use it.
65223         (math_opt_barrier, math_force_eval): Remove.
65224         (libc_feholdexcept_setround_53bit): Remove.
65225         (libc_feupdateenv_53bit): Remove.
65226         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65227         (math_opt_barrier, math_force_eval): Remove.
65228         (libc_feholdexcept): Remove.
65229         (libc_feholdexcept_setround): Remove.
65230         (libc_fetestexcept, libc_fesetenv): Remove.
65231         (libc_feupdateenv_test): Remove.
65232         (libc_feupdateenv, libc_feholdsetround): Remove.
65233         (libc_feresetround): Remove.
65235         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65236         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65238         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65239         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65240         (libc_feupdateenv_testl): New.
65241         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65242         (libc_feupdateenv_testf): New.
65243         (libc_feupdateenv): Use libc_feupdateenv_test.
65244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65245         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65247         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65248         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65249         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65250         (libc_feresetround_noex): New.
65251         (libc_feresetround_noexf): New.
65252         (libc_feresetround_noexl): New.
65253         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65254         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65255         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65256         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65257         SET_RESTORE_ROUND.
65258         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65260         (__cos): Likewise.
65261         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65262         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65263         SET_RESTORE_ROUND_NOEX.
65264         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65265         SET_RESTORE_ROUND_NOEXF.
65266         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65267         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65268         (libc_feholdsetroundf): New.
65269         (libc_feresetround, libc_feresetroundf): New.
65271         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65272         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65273         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65275         * sysdeps/generic/math_private.h: Include <fenv.h>.
65276         (default_libc_feholdexcept): New.
65277         (default_libc_feholdexcept_setround): New.
65278         (default_libc_fesetenv, default_libc_feupdateenv): New.
65279         (libc_feholdexcept): Only define if undefined.
65280         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65281         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65282         (libc_feholdexcept_setroundl): Likewise.
65283         (libc_feholdexcept_setround_53bit): Likewise.
65284         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65285         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65286         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65287         (libc_feupdateenv_53bit): Likewise.
65288         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65289         (libc_feholdexcept): Convert from macro to inline function.
65290         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65291         (libc_fesetenv, libc_feupdateenv): Likewise.
65293         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65294         not previously defined.
65295         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65296         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65297         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65298         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65299         * sysdeps/ieee754/flt-32/math_private.h: New file.
65300         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65301         math_private.h below SET_FLOAT_WORD.
65302         (__isnan, __isinf_ns, __finite): Remove.
65303         (__isnanf, __isinf_nsf, __finitef): Remove.
65305 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65309 2012-03-17  David S. Miller  <davem@davemloft.net>
65311         [BZ #6471]
65312         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65313         for 2.16.
65315 2012-03-16  David S. Miller  <davem@davemloft.net>
65317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65318         warnings.
65320         [BZ #6471]
65321         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65322         properly.
65323         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65324         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65325         sysdep_routines when subdir is sysvipc.
65326         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65327         __getshmlba helper.
65329         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65331 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65333         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65334         [__LP64__].
65336 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65338         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65339         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65340         (__lround): Renamed to ...
65341         (__llround): This.  Replace long int with long long int.
65342         Define lround functions as aliases of llround functions.
65343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65345 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65347         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65348         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65349         adresses to uintptr_t.  Replace "long int" and "unsigned long
65350         int" with "greg_t" on va_arg.
65352 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65354         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65355         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65357         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65358         Move e_machine check before EI_CLASS check.  Handle x32
65359         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65360         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65361         SKIP_EM_IA_64 and include
65362         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65364         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65365         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65366         (add_system_dir): New macro.
65368         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65369         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65371 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65373         [BZ #2551]
65374         [BZ #2552]
65375         [BZ #2553]
65376         [BZ #2554]
65377         [BZ #2562]
65378         [BZ #2563]
65379         [BZ #2565]
65380         [BZ #2566]
65381         [BZ #2576]
65382         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65383         (y0): Likewise.
65384         * math/w_j0f.c (j0f): Likewise.
65385         (y0f): Likewise.
65386         * math/w_j0l.c (__j0l): Likewise.
65387         (__y0l): Likewise.
65388         * math/w_j1.c (j1): Likewise.
65389         (y1): Likewise.
65390         * math/w_j1f.c (j1f): Likewise.
65391         (y1f): Likewise.
65392         * math/w_j1l.c (__j1l): Likewise.
65393         (__y1l): Likewise.
65394         * math/w_jn.c (jn): Likewise.
65395         (yn): Likewise.
65396         * math/w_jnf.c (jnf): Likewise.
65397         (ynf): Likewise.
65398         * math/w_jnl.c (__jnl): Likewise.
65399         (__ynl): Likewise.
65400         * math/libm-test.inc (j0_test): Add more tests.
65401         (j1_test): Likewise.
65402         (jn_test): Likewise.  Add trailing semicolon to existing test.
65403         (y0_test): Likewise.
65404         (y1_test): Likewise.
65405         * sysdeps/i386/fpu/libm-test-ulps: Update.
65406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65408         [BZ #13851]
65409         [BZ #13854]
65410         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65411         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65412         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65413         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65414         (__tanl): Set errno for infinite argument.
65415         * sysdeps/i386/fpu/mptan.c: Remove.
65416         * sysdeps/i386/fpu/s_tan.S: Likewise.
65417         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65418         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65419         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65420         * math/libm-test.inc (tan_test): Add more tests and enable more
65421         tests for double and long double.
65422         * sysdeps/i386/fpu/libm-test-ulps: Update.
65423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65425 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65427         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65428         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65430 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65432         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65433         * configure.in: Use it for both main tree and add-ons.
65434         * configure: Regenerated.
65436 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65438         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65440 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65442         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65443         in comment.
65445         [BZ #13851]
65446         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65447         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65448         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65451         infinite argument.
65452         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65454         != 0 for prec == 2.
65455         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65456         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65457         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65458         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65459         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65460         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65461         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65462         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65463         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65464         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65465         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65466         * math/libm-test.inc (cos_test): Add more tests and enable more
65467         tests for long double.
65468         (sin_test): Likewise.
65469         (sincos_test): Likewise.
65470         * sysdeps/i386/fpu/libm-test-ulps: Update.
65471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65473 2012-03-16  David S. Miller  <davem@davemloft.net>
65475         * sysdeps/sparc/fpu/math_private.h: New file.
65477 2012-03-15  David S. Miller  <davem@davemloft.net>
65479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65480         file.
65481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65483         file.
65484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65490         sysdep routines.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65493         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65494         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65496         * sysdeps/sparc/sparc-ifunc.h: New file.
65497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65498         sparc-ifunc.h
65499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65501         Likewise.
65502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65503         Likewise.
65504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65508         Likewise.
65509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65514         Likewise.
65515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65516         Likewise.
65517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65523         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65524         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65531         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65532         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65533         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65535         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65536         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65537         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65538         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65540         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65542 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65544         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65545         scaling.
65546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65548 2012-03-15  Andreas Jaeger  <aj@suse.de>
65550         [BZ #13852]
65551         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65552         ieee754/flt-32 implementation for sin, cos and sincos.
65553         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65554         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65555         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65556         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65557         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65558         ieee754/flt-32 implementation for tan.
65560         * math/libm-test.inc (cos_test): Enable some large input tests for
65561         float as well
65562         (sin_test): Likewise.
65563         (sincos_test): Likewise.
65564         (tan_test): Add tests for large input.
65566         * sysdeps/i386/fpu/libm-test-ulps: Update.
65568 2012-03-15  Andreas Jaeger  <aj@suse.de>
65570         [BZ #13658]
65571         * math/libm-test.inc (cos_test): Add more test cases.
65572         (sin_test): Likewise.
65573         (sincos_test): Likewise.
65575 2012-03-15  Andreas Jaeger  <aj@suse.de>
65577         [BZ #13837]
65578         * math/libm-test.inc (cos_test): Add a test case for large input
65579         value.
65580         (sin_test): Likewise.
65581         (sincos_test): Likewise.
65583 2012-03-15  Andreas Jaeger  <aj@suse.de>
65584             Joseph Myers  <joseph@codesourcery.com>
65586         [BZ #13658]
65587         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65588         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65589         * sysdeps/i386/fpu/branred.c: Likewise.
65590         * sysdeps/i386/fpu/dosincos.c: Likewise.
65591         * sysdeps/i386/fpu/mpa.c: Likewise.
65592         * sysdeps/i386/fpu/s_cos.S: Likewise.
65593         * sysdeps/i386/fpu/s_sin.S: Likewise.
65594         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65595         * sysdeps/i386/fpu/sincos32.c: Likewise.
65597         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65598         Define.
65599         (libc_feupdateenv_53bit): Define.
65600         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65601         Define.
65602         (libc_feupdateenv_53bit): Define.
65604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65605         53 bit (without extend i386 double precision).
65607         * math/libm-test.inc (sincos_test): Add tests for large input.
65608         (sin): Likewise.
65609         (cos): Likewise.
65611         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65613 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65617 2012-03-15  David S. Miller  <davem@davemloft.net>
65619         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65620         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65621         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65622         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65629         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65635         file.
65636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65638         file.
65639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65641         file.
65642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65644         file.
65645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65647         fmin/fmax sysdep routines.
65648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65650 2012-03-14  David S. Miller  <davem@davemloft.net>
65652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65656         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65657         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65658         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65659         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65666         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65667         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65672         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65673         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65674         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65675         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65676         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65677         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65678         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65679         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65680         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65681         routines.
65682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65683         file.
65684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65686         file.
65687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65689         file.
65690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65692         file.
65693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65695         file.
65696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65698         file.
65699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65700         file.
65701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65702         file.
65703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65704         file.
65705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65706         New file.
65707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65708         file.
65709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65710         file.
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65713         file.
65714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65716         file.
65717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65719         file.
65720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65722         VIS3 routines.
65724         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65725         New file.
65727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65729         * sysdeps/sparc/configure.in: New file.
65730         * sysdeps/sparc/configure: Generate.
65731         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65732         * configure: Regenerate.
65733         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65734         * config.make.in (have-as-vis3): New.
65735         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65736         available use -Av9d instead of -Av9a.
65737         * sysdeps/sparc/sparc64/Makefile: Likewise.
65738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65740         New file.
65741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65742         file.
65743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65744         New file.
65745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65746         file.
65747         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65748         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65749         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65750         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65751         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65753         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65754         fzeros/fnegs to load 0x80000000 into a float register instead of
65755         using the stack.
65756         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65758 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65761         bits/syscall.h.
65762         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65763         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65764         ($(inst_includedir)/bits/syscall.h): Remove rule.
65765         ($(objpfx)bits/syscall.d): Include instead of
65766         $(objpfx)syscall-list.d.
65767         (generated): Change syscall-list.h and syscall-list.d to
65768         bits/syscall.h and bits/syscall.d.
65770 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65772         [BZ #13846]
65773         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65775 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65777         [BZ #13841]
65778         * math/s_csqrt.c: Include <float.h>.
65779         (__csqrt): Scale large or subnormal inputs.
65780         * math/s_csqrtf.c: Likewise.
65781         * math/s_csqrtl.c: Likewise.
65782         * math/libm-test.inc (csqrt_test): Add more tests.
65783         * sysdeps/i386/fpu/libm-test-ulps: Update.
65784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65786         [BZ #13840]
65787         * math/libm-test.inc (hypot_test): Add more tests.
65789 2012-03-13  David S. Miller  <davem@davemloft.net>
65791         [BZ #13840]
65792         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65793         double-precision for the calculation instead of scaling.
65795 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65797         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65798         manipulate bits before adding and subtracting TWO52[sx].
65799         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65800         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65801         Likewise.
65802         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65804 2012-03-13  David S. Miller  <davem@davemloft.net>
65806         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65807         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65808         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65809         rtld-global-offsets.h
65810         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65812         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65813         large parameters.
65815         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65817         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65818         'err' in the ifdef scope in which it is actually used.
65820         * nss/nss_db/db-init.c: Include string.h
65822 2012-03-12  David S. Miller  <davem@davemloft.net>
65824         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65825         masking out of the most significant byte of random value used.
65826         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65827         Fix coding style in previous change.
65829         * sysdeps/unix/sysv/linux/kernel-features.h
65830         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65831         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65832         expression.
65833         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65834         later.
65836 2012-03-11  David S. Miller  <davem@davemloft.net>
65838         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65839         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65840         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65841         for 'resultvar' otherwise things get truncated on 64-bit.
65843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65844         Fix masking out of the most significant byte of random value used.
65846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65848 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65852 2012-03-09  David S. Miller  <davem@davemloft.net>
65854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65855         variables with appropriate CPP guards.
65856         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65857         from the frame pointer, not the stack pointer.  Correct layout
65858         comments.  Fix test on resulting framesize and the management of
65859         the outregs buffer for pltexit.  Preserve floating point return
65860         values across _dl_call_pltexit call.
65861         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65862         framesize and the management of the outregs buffer for pltexit.
65863         Preserve floating point return values across _dl_call_pltexit
65864         call.
65865         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65866         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65867         (la_sparc64_gnu_pltexit): New functions.
65868         (print_exit): Fix format string for return register value.
65870 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65872         * sunrpc/Makefile (others): Add rpcgen.
65873         ($(objpfx)rpcgen): Remove special build rule and dependency on
65874         libc.
65875         * sunrpc/rpcgen.c: New file.
65877 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65879         [BZ #13673]
65880         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65881         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65882         * sysdeps/i386/crti.S: Likewise.
65883         * sysdeps/i386/crtn.S: Likewise.
65884         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65885         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65886         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65887         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65888         * sysdeps/sh/crti.S: Likewise.
65889         * sysdeps/sh/crtn.S: Likewise.
65890         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65892         [BZ #13673]
65893         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65894         with URL.
65895         * locale/programs/locfile-kw.gperf: Likewise.
65896         * locale/programs/charmap-kw.h: Regenerated.
65897         * locale/programs/locfile-kw.h: Likewise.
65899         [BZ #13673]
65900         * intl/plural.y: Replace FSF snail mail address with URL.
65901         * intl/plural.c: Regenerated.
65903 2012-03-09  Richard Henderson  <rth@twiddle.net>
65905         * include/math_private.h: Remove file.
65906         * math/math_private.h: Move file ...
65907         * sysdeps/generic/math_private.h: ... here.
65909         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65910         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65911         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65913         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65914         and <math_private.h>.
65915         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65916         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65917         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65918         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65919         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65920         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65921         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65922         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65923         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65924         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65926         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65927         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65928         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65929         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65930         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65931         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65932         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65933         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65934         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65937         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65938         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65939         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65940         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65941         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65946         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65947         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65948         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65949         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65956         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65957         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65958         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65959         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65960         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65961         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65962         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65963         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65964         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65965         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65967         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65968         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65969         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65970         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65971         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65974         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65975         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65976         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65978         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65979         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65980         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65981         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65982         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65984         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65985         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65986         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65987         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65988         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65990         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65991         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65993         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65994         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66001         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66002         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66003         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66004         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66005         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66006         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66007         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66008         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66009         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66010         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66011         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66012         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66014         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66015         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66016         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66017         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66018         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66019         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66020         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66021         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66022         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66023         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66025         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66026         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66027         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66028         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66029         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66030         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66031         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66032         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66033         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66034         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66035         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66036         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66037         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66038         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66039         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66040         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66041         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66042         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66043         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66044         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66045         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66046         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66047         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66048         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66049         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66050         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66051         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66052         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66053         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66054         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66055         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66056         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66057         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66058         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66059         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66060         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66061         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66062         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66063         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66064         * sysdeps/ieee754/k_standard.c: Likewise.
66065         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66066         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66067         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66068         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66069         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66070         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66071         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66072         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66073         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66074         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66079         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66082         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66084         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66085         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66088         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66089         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66092         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66093         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66094         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66096         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66098         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66099         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66100         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66101         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66102         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66103         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66104         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66107         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66110         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66131         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66132         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66134         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66138         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66180         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66184         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66185         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66187         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66188         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66192         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66199         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66206         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66207         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66213         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66214         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66215         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66221         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66222         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66223         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66224         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66225         * sysdeps/ieee754/s_lib_version.c: Likewise.
66226         * sysdeps/ieee754/s_matherr.c: Likewise.
66227         * sysdeps/ieee754/s_signgam.c: Likewise.
66228         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66229         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66230         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66231         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66232         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66233         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66234         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66235         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66236         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66237         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66238         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66239         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66240         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66241         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66242         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66243         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66244         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66245         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66247         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66248         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66250 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66252         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66253         * sunrpc/rpc_main.c: Likewise.
66254         * sunrpc/rpc_svcout.c: Likewise.
66256 2012-03-09  David S. Miller  <davem@davemloft.net>
66258         * include/math_private.h: New file.
66260 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66262         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66263         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66264         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66265         from <bits/socket_type.h>.
66266         (enum __socket_type): Don't define here.
66267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66269         bits/socket_type.h.
66271         [BZ #13566]
66272         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66273         checking __USE_GNU.
66275         * Makerules ($(inst_includedir)/%.h): New rule.
66276         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66277         (install-others): Remove variable setting.
66278         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66280 2012-03-08  Richard Henderson  <rth@twiddle.net>
66282         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66283         from macro to inline function; merge with the
66284         !__LIBC_INTERNAL_MATH_INLINES version.
66285         (__ieee754_sqrtf): Likewise.
66287         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66288         to inline function.
66289         (__rintf, __floor, __floorf): Likewise.
66291         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66292         macro to inline function.
66293         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66295         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66296         not <math/math_private.h>.
66298 2012-03-08  David S. Miller  <davem@davemloft.net>
66300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66301         copyright year.
66302         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66304 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66306         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66307         normalization.
66308         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66309         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66311 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66313         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66314         be defined individually, they must be defined as a block.  Define
66315         S for printing a string instead of hidint the different by using a
66316         macro for adding the 'l'.
66317         * stdio-common/tst-fphex-wide.c: Adjust.
66319 2012-03-07  Marek Polacek  <polacek@redhat.com>
66321         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66323 2012-03-08  Marek Polacek  <polacek@redhat.com>
66325         [BZ #13806]
66326         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66327         * stdio-common/tst-fphex.c: Define a few macros to make the
66328         test reusable.  Use them.
66329         * stdio-common/tst-fphex-wide.c: New file.
66331 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66333         [BZ #6911]
66334         * manual/macros.texi (gnusystems): New macro.
66335         (nongnusystems): Likewise.
66336         (gnulinuxhurdsystems): Likewise.
66337         (gnuhurdsystems): Likewise..
66338         (gnulinuxsystems): Likewise.
66339         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66340         variants of the GNU system, not "GNU system".
66341         * manual/conf.texi: Likewise.
66342         * manual/errno.texi: Likewise.  Update example of errno macro
66343         expansion.
66344         * manual/filesys.texi: Likewise.
66345         (getumask): Document as specific to GNU/Hurd.
66346         * manual/install.texi: Likewise.  Reword some references to
66347         GNU/Linux.
66348         * manual/intro.texi: Likewise.
66349         * manual/io.texi: Likewise.
66350         (File Name Portability): Detail which constraints are inapplicable
66351         to all GNU systems and which are only inapplicable to GNU/Hurd.
66352         * manual/job.texi: Likewise.
66353         * manual/llio.texi: Likewise.
66354         (O_NOCTTY): Document as present on GNU/Linux.
66355         * manual/maint.texi: Likewise.
66356         * manual/memory.texi: Likewise.
66357         * manual/pattern.texi: Likewise.
66358         * manual/pipe.texi: Likewise.
66359         * manual/process.texi: Likewise.
66360         * manual/resource.texi: Likewise.
66361         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66362         child on GNU/Hurd.
66363         * manual/setjmp.texi: Likewise.
66364         * manual/signal.texi: Likewise.
66365         * manual/startup.texi: Likewise.
66366         * manual/stdio.texi: Likewise.
66367         * manual/terminal.texi: Likewise.
66368         (ONLCR): Document as POSIX.
66369         (OXTABS): Document availability on GNU/Linux as XTABS.
66370         (ONOEOT): Document availability separately from other bits.
66371         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66372         * manual/time.texi: Likewise.
66373         * manual/users.texi: Likewise.
66374         * INSTALL: Regenerated.
66375         * sysdeps/gnu/errlist.c: Regenerated.
66377         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66378         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66379         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66380         puts.
66381         * configure: Regenerated.
66383 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66385         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66386         default includes instead of AC_HEADER_CHECK.
66387         * sysdeps/i386/configure: Regenerated.
66389         [BZ #10716]
66390         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66391         * math/s_cacoshf.c (__cacoshf): Likewise.
66392         * math/s_cacoshl.c (__cacoshl): Likewise.
66393         * math/s_casinh.c (__casinh): Set signs of result from argument.
66394         * math/s_casinhf.c (__casinhf): Likewise.
66395         * math/s_casinhl.c (__casinhl): Likewise.
66396         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66397         (casinh_test): Add more tests.
66398         * sysdeps/i386/fpu/libm-test-ulps: Update.
66399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66401 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66403         * po/zh_TW.po: Update from translation team.
66405         * login/Makefile (distribute): Remove variable.
66406         * catgets/Makefile: Likewise.
66407         * mach/Makefile: Likewise.
66408         * malloc/Makefile: Likewise.
66409         * misc/Makefile: Likewise.
66410         * iconv/Makefile: Likewise.
66411         * nscd/Makefile: Likewise.
66412         * hurd/Makefile: Likewise.
66413         * manual/Makefile: Likewise.
66414         * locale/Makefile: Likewise.
66415         * intl/Makefile: Likewise.
66416         * conform/Makefile: Likewise.
66417         * nss/Makefile: Likewise.
66418         * time/Makefile: Likewise.
66419         * soft-fp/Makefile: Likewise.
66420         * dirent/Makefile: Likewise.
66421         * gmon/Makefile: Likewise.
66422         * po/Makefile: Likewise.
66423         * rt/Makefile: Likewise.
66424         * socket/Makefile: Likewise.
66425         * math/Makefile: Likewise.
66426         * signal/Makefile: Likewise.
66427         * debug/Makefile: Likewise.
66428         * elf/Makefile: Likewise.
66429         * timezone/Makefile: Likewise.
66430         * stdlib/Makefile: Likewise.
66431         * iconvdata/Makefile: Likewise.
66432         * sunrpc/Makefile: Likewise.
66433         * io/Makefile: Likewise.
66434         * argp/Makefile: Likewise.
66435         * inet/Makefile: Likewise.
66436         * hesiod/Makefile: Likewise.
66437         * grp/Makefile: Likewise.
66438         * csu/Makefile: Likewise.
66439         * wctype/Makefile: Likewise.
66440         * crypt/Makefile: Likewise.
66441         * libio/Makefile: Likewise.
66442         * string/Makefile: Likewise.
66443         * nis/Makefile: Likewise.
66444         * resolv/Makefile: Likewise.
66445         * stdio-common/Makefile: Likewise.
66446         * wcsmbs/Makefile: Likewise.
66447         * dlfcn/Makefile: Likewise.
66448         * posix/Makefile: Likewise.
66450         [BZ #6959]
66451         * timezone/Makefile: Don't install timezone files, just the programs
66452         and scripts.
66454 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66456         * nss/databases.def: Add missing gshadow entry.
66458         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66460 2012-03-06  Marek Polacek  <polacek@redhat.com>
66462         [BZ #13726]
66463         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66464         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66465         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66466         * stdio-common/tst-long-dbl-fphex.c: New file.
66468 2012-03-06  David S. Miller  <davem@davemloft.net>
66470         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66471         (set_obp_int): New function.
66472         (get_obp_int): New function.
66473         (__get_clockfreq_via_dev_openprom): Likewise.
66474         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66475         Avoid unused variable warnings on 'val' and use builtin_expect.
66476         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66477         __builtin_expect.
66478         (INLINE_CLONE_SYSCALL): Likewise.
66480 2012-03-05  David S. Miller  <davem@davemloft.net>
66482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66484 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66488         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66489         only for |x| >= 40.
66490         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66492 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66495         Replace gettimeofday with __vdso_gettimeofday.
66497         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66498         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66499         __vdso_clock_gettime and __vdso_getcpu.
66501         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66502         time with __vdso_time.
66504 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66506         * manual/lang.texi (size_t): Note types to which size_t may be
66507         equivalent with the GNU C Library, but do not describe when
66508         differences between them are significant.
66510 2012-03-05  Andreas Jaeger  <aj@suse.de>
66512         * sysdeps/i386/fpu/libm-test-ulps: Update.
66514 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66516         [BZ #3976]
66517         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66518         (__ieee754_pow): Save and restore rounding mode and use
66519         round-to-nearest for main computations.
66520         * math/libm-test.inc (pow_test_tonearest): New function.
66521         (pow_test_towardzero): Likewise.
66522         (pow_test_downward): Likewise.
66523         (pow_test_upward): Likewise.
66524         (main): Call the new functions.
66525         * sysdeps/i386/fpu/libm-test-ulps: Update.
66526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66528         [BZ #3976]
66529         * math/libm-test.inc (cosh_test_tonearest): New function.
66530         (cosh_test_towardzero): Likewise.
66531         (cosh_test_downward): Likewise.
66532         (cosh_test_upward): Likewise.
66533         (sinh_test_tonearest): Likewise.
66534         (sinh_test_towardzero): Likewise.
66535         (sinh_test_downward): Likewise.
66536         (sinh_test_upward): Likewise.
66537         (main): Call the new functions.
66538         * sysdeps/i386/fpu/libm-test-ulps: Update.
66539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66541 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66543         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66544         default stack guard is set in last bytes.
66545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66547 2012-03-05  Kees Cook  <keescook@chromium.org>
66549         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66551         [BZ #13656]
66552         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66553         possibly allocate from heap instead of stack.
66554         * stdio-common/bug-vfprintf-nargs.c: New file.
66555         * stdio-common/Makefile (tests): Add nargs overflow test.
66557 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66561 2012-03-03  Marek Polacek  <polacek@redhat.com>
66563         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66564         * math/math_private.h: Likewise.
66565         * stdlib/tst-strtod.c: Likewise.
66566         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66567         * sysdeps/x86_64/bits/atomic.h: Likewise.
66569 2012-03-02  David S. Miller  <davem@davemloft.net>
66571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66575         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66576         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66577         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66578         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66580 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66582         [BZ #13792]
66583         * manual/examples/README: New file, says the example source files
66584         can be used under GPL>=2.
66585         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66586         line containing just "*/".
66587         * manual/examples/add.c: Add copyright header (GPL>=2).
66588         * manual/examples/argp-ex1.c: Likewise.
66589         * manual/examples/argp-ex2.c: Likewise.
66590         * manual/examples/argp-ex3.c: Likewise.
66591         * manual/examples/argp-ex4.c: Likewise.
66592         * manual/examples/atexit.c: Likewise.
66593         * manual/examples/db.c: Likewise.
66594         * manual/examples/dir.c: Likewise.
66595         * manual/examples/dir2.c: Likewise.
66596         * manual/examples/execinfo.c: Likewise.
66597         * manual/examples/filecli.c: Likewise.
66598         * manual/examples/filesrv.c: Likewise.
66599         * manual/examples/fmtmsgexpl.c: Likewise.
66600         * manual/examples/genpass.c: Likewise.
66601         * manual/examples/inetcli.c: Likewise.
66602         * manual/examples/inetsrv.c: Likewise.
66603         * manual/examples/isockad.c: Likewise.
66604         * manual/examples/longopt.c: Likewise.
66605         * manual/examples/memopen.c: Likewise.
66606         * manual/examples/memstrm.c: Likewise.
66607         * manual/examples/mkfsock.c: Likewise.
66608         * manual/examples/mkisock.c: Likewise.
66609         * manual/examples/mygetpass.c: Likewise.
66610         * manual/examples/pipe.c: Likewise.
66611         * manual/examples/popen.c: Likewise.
66612         * manual/examples/rprintf.c: Likewise.
66613         * manual/examples/search.c: Likewise.
66614         * manual/examples/select.c: Likewise.
66615         * manual/examples/setjmp.c: Likewise.
66616         * manual/examples/sigh1.c: Likewise.
66617         * manual/examples/sigusr.c: Likewise.
66618         * manual/examples/stpcpy.c: Likewise.
66619         * manual/examples/strdupa.c: Likewise.
66620         * manual/examples/strftim.c: Likewise.
66621         * manual/examples/strncat.c: Likewise.
66622         * manual/examples/subopt.c: Likewise.
66623         * manual/examples/swapcontext.c: Likewise.
66624         * manual/examples/termios.c: Likewise.
66625         * manual/examples/testopt.c: Likewise.
66626         * manual/examples/testpass.c: Likewise.
66627         * manual/examples/timeval_subtract.c: Likewise.
66629         [BZ #13792]
66630         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66631         function to ...
66632         * manual/timeval_subtract.c.texi: ... here, new file.
66634 2012-03-02  David S. Miller  <davem@davemloft.net>
66636         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66638 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66640         [BZ #3976]
66641         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66642         (__sin): Save and restore rounding mode and use round-to-nearest
66643         for all computations.
66644         (__cos): Save and restore rounding mode and use round-to-nearest
66645         for all computations.
66646         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66647         <fenv.h>.
66648         (tan): Save and restore rounding mode and use round-to-nearest for
66649         all computations.
66650         * math/libm-test.inc (cos_test_tonearest): New function.
66651         (cos_test_towardzero): Likewise.
66652         (cos_test_downward): Likewise.
66653         (cos_test_upward): Likewise.
66654         (sin_test_tonearest): Likewise.
66655         (sin_test_towardzero): Likewise.
66656         (sin_test_downward): Likewise.
66657         (sin_test_upward): Likewise.
66658         (tan_test_tonearest): Likewise.
66659         (tan_test_towardzero): Likewise.
66660         (tan_test_downward): Likewise.
66661         (tan_test_upward): Likewise.
66662         (main): Call the new functions.
66663         * sysdeps/i386/fpu/libm-test-ulps: Update.
66664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66666         [BZ #10135]
66667         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66668         small n, then large n, before computing and testing k+n.
66669         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66671         Likewise.
66672         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66673         Likewise.
66674         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66675         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66676         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66677         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66678         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66679         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66680         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66681         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66682         * math/libm-test.inc (scalbn_test): Add more tests.
66683         (scalbln_test): Likewise.
66685         * manual/filesys.texi (mode_t): Describe constraints on size and
66686         signedness, not exact equivalence to a particular type.
66687         (ino_t): Likewise.
66688         (ino64_t): Likewise.
66689         (dev_t): Likewise.
66690         (nlink_t): Likewise.
66691         (blkcnt_t): Likewise.
66692         (blkcnt64_t): Likewise.
66693         * manual/llio.texi (off_t): Likewise.
66695         [BZ #3976]
66696         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66697         (__ieee754_exp): Save and restore rounding mode and use
66698         round-to-nearest for all computations.
66699         * math/libm-test.inc (exp_test_tonearest): New function.
66700         (exp_test_towardzero): Likewise.
66701         (exp_test_downward): Likewise.
66702         (exp_test_upward): Likewise.
66703         (main): Call the new functions.
66704         * sysdeps/i386/fpu/libm-test-ulps: Update.
66705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66707 2012-03-01  Chris Demetriou  <cgd@google.com>
66709         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66710         have predictable order.
66712 2012-03-01  David S. Miller  <davem@davemloft.net>
66714         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66716         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66717         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66718         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66719         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66721         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66722         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66723         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66725         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66726         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66727         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66728         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66729         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66733         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66734         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66735         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66737         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66738         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66739         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66740         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66741         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66742         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66743         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66744         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66745         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66746         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66747         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66748         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66749         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66750         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66751         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66753         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66754         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66755         * sysdeps/sparc/elf/configure: Regenerated.
66757 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66759         * configure.in (AS, LD): Require binutils 2.20 or later.
66760         * configure: Regenerated.
66761         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66762         as required minimum version.
66763         * INSTALL: Regenerated.
66765         [BZ #2541]
66766         [BZ #4108]
66767         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66768         before squaring exponent.
66769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66770         bottom long double and 27 bits of top long double before squaring
66771         exponent.
66772         * math/libm-test.inc (erfc_test): Add more tests.
66773         * sysdeps/i386/fpu/libm-test-ulps: Update.
66774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66777 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66779         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66780         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66781         containing bit-fields.
66782         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66783         * soft-fp/single.h (_FP_UNION_S): Likewise.
66784         * soft-fp/double.h (_FP_UNION_D): Likewise.
66786 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66788         [BZ #13786]
66789         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66790         not include ../strcmp.S.
66791         [USE_AS_STRNCASECMP_L]: Likewise.
66792         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66793         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66794         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66795         (__strncasecmp_l_ia32): Define as alias to
66796         __strncasecmp_l_nonascii.
66798         [BZ #5794]
66799         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66800         * sysdeps/i386/fpu/libm-test-ulps: Update.
66801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66803         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66806 2012-02-29  Jeff Law  <law@redhat.com>
66808         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66809         out of bounds read.
66811 2012-02-29  Marek Polacek  <polacek@redhat.com>
66813         [BZ #13706]
66814         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66815         * elf/Makefile: Add rules to run tst-unused-dep.out.
66817 2012-02-28  David S. Miller  <davem@davemloft.net>
66819         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66820         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66821         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66822         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66823         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66824         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66826 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66828         * math/libm-test.inc (llround_test): Move one test from
66829         lround_test.  Use TEST_f_L in moved test.
66830         (lround_test): Move misplaced test to llround_test.  Add testcase
66831         from bug 2561.
66833 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66835         * sysdeps/x86_64/fpu/e_expf.S: New file.
66836         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66838 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66840         [BZ #13637]
66841         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66842         of remain_len that may cause incomplete multi-byte character and
66843         false match.
66844         * posix/bug-regex33.c: New file.
66845         * posix/Makefile (tests): Add bug-regex33.
66847 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66849         * manual/macros.texi: New file.
66850         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66851         * manual/libc.texinfo: Include macros.texi.
66852         * manual/creatute.texi: Likewise.
66853         * manual/install.texi: Likewise.
66854         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66855         @glibcadj{} in references to the GNU C Library.
66856         * manual/charset.texi: Likewise.
66857         * manual/conf.texi: Likewise.
66858         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66859         when not using those macros.
66860         * manual/creature.texi: Likewise.
66861         * manual/crypt.texi: Likewise.
66862         * manual/errno.texi: Likewise.
66863         * manual/filesys.texi: Likewise.
66864         * manual/header.texi: Likewise.
66865         * manual/install.texi: Likewise.
66866         * manual/intro.texi: Likewise.
66867         * manual/io.texi: Likewise.
66868         * manual/job.texi: Likewise.
66869         * manual/lang.texi: Likewise.
66870         * manual/libc.texiinfo: Likewise.
66871         * manual/llio.texi: Likewise.
66872         * manual/locale.texi: Likewise.
66873         * manual/maint.texi: Likewise.
66874         * manual/math.texi: Likewise.
66875         * manual/memory.texi: Likewise.
66876         * manual/message.texi: Likewise.
66877         * manual/nss.texi: Likewise.
66878         * manual/pattern.texi: Likewise.
66879         * manual/process.texi: Likewise.
66880         * manual/resource.texi: Likewise.
66881         * manual/search.texi: Likewise.
66882         * manual/setjmp.texi: Likewise.
66883         * manual/signal.texi: Likewise.
66884         * manual/socket.texi: Likewise.
66885         * manual/startup.texi: Likewise.
66886         * manual/stdio.texi: Likewise.
66887         * manual/string.texi: Likewise.
66888         * manual/sysinfo.texi: Likewise.
66889         * manual/syslog.texi: Likewise.
66890         * manual/terminal.texi: Likewise.
66891         * manual/time.texi: Likewise.
66892         * manual/users.texi: Likewise.
66893         * INSTALL: Regenerated.
66894         * NOTES: Regenerated.
66895         * sysdeps/gnu/errlist.c: Regenerated.
66897 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66899         * include/dirent.h: Include <dirstream.h> before
66900         <dirent/dirent.h>.
66902 2012-02-28  David S. Miller  <davem@davemloft.net>
66904         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66905         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66906         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66907         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66909 2012-02-27  David S. Miller  <davem@davemloft.net>
66911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66913         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66914         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66917         frame pointer instead of stack pointer relative arg slot.
66918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66919         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66920         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66922 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66924         [BZ #3992]
66925         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66927 2012-02-27  David S. Miller  <davem@davemloft.net>
66929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66933         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66934         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66935         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66936         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66938 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66940         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66941         later.  Allow versions 5-9.
66942         * configure: Regenerated.
66943         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66944         required minimum version and 4.6 as recommended version.  Do not
66945         mention bugs in GCC 2.7 and 2.8.
66946         * INSTALL: Regenerated.
66948 2012-02-27  David S. Miller  <davem@davemloft.net>
66950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66954         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66955         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66956         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66957         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66959         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66960         manipulate bits before adding and subtracting TWO112[sx].
66961         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66963 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66965         [BZ #13775]
66966         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66967         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66968         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66969         being in POSIX, because they are in 1003.1-2008.
66971         * rt/tst-aio.c: Include <fcntl.h>.
66972         * rt/tst-aio7.c: Likewise.
66973         * rt/tst-aio64.c: Likewise.
66975         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66977 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66979         * manual/install.texi (--with-headers): Describe headers as
66980         interface headers, not private headers.
66981         (Specific advice for GNU/Linux systems): Describe use of headers
66982         from "make headers_install", not private headers from older
66983         kernels.
66984         * INSTALL: Regenerated.
66985         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66986         Change to 2.6.19.
66987         * sysdeps/unix/sysv/linux/configure: Regenerated.
66989         * manual/llio.texi (fclean): Remove documentation.
66991         * manual/Makefile (libc-texi-generated): New variable.  Include
66992         version.texi.
66993         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66994         $(libc-texi-generated), not duplicated list of files.
66995         (version.texi, stamp-version): New rules.
66996         (realclean): Remove $(libc-texi-generated), not individual files
66997         from that list.  Do not remove dir-add.texinfo.
66998         * manual/libc.texinfo: Comment out uses of edition numbers and
66999         references to printed manual.  Remove last-updated dates.
67000         (EDITION): Comment out.
67001         (ISBN): Likewise.
67002         (VERSION, UPDATED): Remove.
67003         (version.texi): Include.
67005 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67007         * sysdeps/posix/spawni.c: Include <signal.h>.
67008         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67009         * sysdeps/pthread/aio_fsync.c: Likewise.
67011 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67013         * conform/Makefile (tests): Run only when not cross-compiling and
67014         when fast-check is not defined.
67016         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67017         * conform/data/limits.h-data: Fixes for POSIX2008.
67018         * conform/run-conformtest.sh: Run all tests.
67019         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67020         headers.
67021         * include/bits/dlfcn.h: Likewise.
67022         * include/langinfo.h: Likewise.
67023         * include/monetary.h: Likewise.
67024         * include/sys/poll.h: Likewise.
67026         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67027         for __USE_GNU.
67028         * posix/spawn.h: Define __need_sigset_t.
67029         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67030         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67031         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67032         to get sigevent_t only.
67033         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67034         only for __USE_GNU.
67035         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67036         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67037         process_vm_writev only for __USE_GNU.
67038         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67040         * conform/Makefile: For now ignore errors from run-conformtest.
67041         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67042         POSIX to avoid namespace pollution.  Don't prepend headers.
67043         * conform/data/aio.h-data: Fixes for POSIX testing.
67044         * conform/data/fcntl.h-data: Likewise.
67045         * conform/data/glob.h-data: Likewise.
67046         * conform/data/grp.h-data: Likewise.
67047         * conform/data/pthread.h-data: Likewise.
67048         * conform/data/pwd.h-data: Likewise.
67049         * conform/data/signal.h-data: Likewise.
67050         * conform/data/spawn.h-data: Likewise.
67051         * conform/data/stdio.h-data: Likewise.
67052         * conform/data/stdlib.h-data: Likewise.
67053         * conform/data/stropts.h-data: Likewise.
67054         * conform/data/sys/mman.h-data: Likewise.
67055         * conform/data/sys/stat.h-data: Likewise.
67056         * conform/data/sys/types.h-data: Likewise.
67057         * conform/data/sys/wait.h-data: Likewise.
67058         * conform/data/time.h-data: Likewise.
67059         * conform/data/unistd.h-data: Likewise.
67060         * conform/data/utime.h-data: Likewise.
67062         * io/sys/stat.h: fchmod was always in POSIX.
67063         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67064         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67065         * rt/aio.h: Define __need_timespec before including <time.h>.
67066         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67067         struct.  Add forward declaration of pthread_attr_t and use it in
67068         sigevent.
67069         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67070         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67071         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67072         always remove CLK_TCK definition.
67074 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67076         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67078 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67080         * conform/run-conformtest.sh: New file.
67081         * conform/Makefile: Run run-conformtest for tests.
67082         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67083         support.
67085         * conform/data/uchar.h-data: New file.
67086         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67087         * conform/data/arpa/inet.h-data: Likewise.
67088         * conform/data/assert.h-data: Likewise.
67089         * conform/data/complex.h-data: Likewise.
67090         * conform/data/cpio.h-data: Likewise.
67091         * conform/data/ctype.h-data: Likewise.
67092         * conform/data/dirent.h-data: Likewise.
67093         * conform/data/dlfcn.h-data: Likewise.
67094         * conform/data/errno.h-data: Likewise.
67095         * conform/data/fcntl.h-data: Likewise.
67096         * conform/data/float.h-data: Likewise.
67097         * conform/data/fmtmsg.h-data: Likewise.
67098         * conform/data/fnmatch.h-data: Likewise.
67099         * conform/data/ftw.h-data: Likewise.
67100         * conform/data/glob.h-data: Likewise.
67101         * conform/data/grp.h-data: Likewise.
67102         * conform/data/iconv.h-data: Likewise.
67103         * conform/data/inttypes.h-data: Likewise.
67104         * conform/data/langinfo.h-data: Likewise.
67105         * conform/data/libgen.h-data: Likewise.
67106         * conform/data/limits.h-data: Likewise.
67107         * conform/data/locale.h-data: Likewise.
67108         * conform/data/math.h-data: Likewise.
67109         * conform/data/monetary.h-data: Likewise.
67110         * conform/data/mqueue.h-data: Likewise.
67111         * conform/data/ndbm.h-data: Likewise.
67112         * conform/data/net/if.h-data: Likewise.
67113         * conform/data/netdb.h-data: Likewise.
67114         * conform/data/netinet/in.h-data: Likewise.
67115         * conform/data/nl_types.h-data: Likewise.
67116         * conform/data/poll.h-data: Likewise.
67117         * conform/data/pthread.h-data: Likewise.
67118         * conform/data/pwd.h-data: Likewise.
67119         * conform/data/regex.h-data: Likewise.
67120         * conform/data/sched.h-data: Likewise.
67121         * conform/data/search.h-data: Likewise.
67122         * conform/data/semaphore.h-data: Likewise.
67123         * conform/data/setjmp.h-data: Likewise.
67124         * conform/data/signal.h-data: Likewise.
67125         * conform/data/spawn.h-data: Likewise.
67126         * conform/data/stdarg.h-data: Likewise.
67127         * conform/data/stdio.h-data: Likewise.
67128         * conform/data/stdlib.h-data: Likewise.
67129         * conform/data/string.h-data: Likewise.
67130         * conform/data/strings.h-data: Likewise.
67131         * conform/data/stropts.h-data: Likewise.
67132         * conform/data/sys/ipc.h-data: Likewise.
67133         * conform/data/sys/mman.h-data: Likewise.
67134         * conform/data/sys/msg.h-data: Likewise.
67135         * conform/data/sys/resource.h-data: Likewise.
67136         * conform/data/sys/select.h-data: Likewise.
67137         * conform/data/sys/sem.h-data: Likewise.
67138         * conform/data/sys/shm.h-data: Likewise.
67139         * conform/data/sys/socket.h-data: Likewise.
67140         * conform/data/sys/stat.h-data: Likewise.
67141         * conform/data/sys/statvfs.h-data: Likewise.
67142         * conform/data/sys/time.h-data: Likewise.
67143         * conform/data/sys/timeb.h-data: Likewise.
67144         * conform/data/sys/times.h-data: Likewise.
67145         * conform/data/sys/types.h-data: Likewise.
67146         * conform/data/sys/uio.h-data: Likewise.
67147         * conform/data/sys/un.h-data: Likewise.
67148         * conform/data/sys/utsname.h-data: Likewise.
67149         * conform/data/sys/wait.h-data: Likewise.
67150         * conform/data/syslog.h-data: Likewise.
67151         * conform/data/tar.h-data: Likewise.
67152         * conform/data/termios.h-data: Likewise.
67153         * conform/data/utime.h-data: Likewise.
67154         * conform/data/utmpx.h-data: Likewise.
67155         * conform/data/varargs.h-data: Likewise.
67156         * conform/data/wchar.h-data: Likewise.
67157         * conform/data/wctype.h-data: Likewise.
67158         * conform/data/wordexp.h-data: Likewise.
67160         * include/stropts.h: New file.
67161         * include/uchar.h: New file.
67162         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67163         * include/assert.h: Likewise.
67164         * include/ctype.h: Likewise.
67165         * include/dirent.h: Likewise.
67166         * include/dlfcn.h: Likewise.
67167         * include/fcntl.h: Likewise.
67168         * include/fnmatch.h: Likewise.
67169         * include/glob.h: Likewise.
67170         * include/grp.h: Likewise.
67171         * include/libio.h: Likewise.
67172         * include/locale.h: Likewise.
67173         * include/math.h: Likewise.
67174         * include/net/if.h: Likewise.
67175         * include/netdb.h: Likewise.
67176         * include/netinet/in.h: Likewise.
67177         * include/pthread.h: Likewise.
67178         * include/pwd.h: Likewise.
67179         * include/regex.h: Likewise.
67180         * include/sched.h: Likewise.
67181         * include/search.h: Likewise.
67182         * include/setjmp.h: Likewise.
67183         * include/signal.h: Likewise.
67184         * include/stdio.h: Likewise.
67185         * include/stdlib.h: Likewise.
67186         * include/string.h: Likewise.
67187         * include/sys/cdefs.h: Likewise.
67188         * include/sys/mman.h: Likewise.
67189         * include/sys/msg.h: Likewise.
67190         * include/sys/resource.h: Likewise.
67191         * include/sys/select.h: Likewise.
67192         * include/sys/socket.h: Likewise.
67193         * include/sys/stat.h: Likewise.
67194         * include/sys/statvfs.h: Likewise.
67195         * include/sys/time.h: Likewise.
67196         * include/sys/times.h: Likewise.
67197         * include/sys/uio.h: Likewise.
67198         * include/sys/utsname.h: Likewise.
67199         * include/sys/wait.h: Likewise.
67200         * include/termios.h: Likewise.
67201         * include/time.h: Likewise.
67202         * include/ulimit.h: Likewise.
67203         * include/unistd.h: Likewise.
67204         * include/utime.h: Likewise.
67205         * include/wchar.h: Likewise.
67206         * include/wctype.h: Likewise.
67207         * include/wordexp.h: Likewise.
67209         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67211         * time/time.h: TIME_UTC must be a macro.
67212         Make timespec_get available for ISO C11 only as well.
67214 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67216         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67217         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67219 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67221         * configure.in: Use -o not -a in test for unsupported multi-arch.
67223 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67225         * manual/texinfo.tex: Update to version 2012-01-19.16.
67227 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67229         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67231 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67233         [BZ #13738]
67234         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67235         * manual/fdl-1.3.texi: New file.
67236         * manual/fdl-1.1.texi: File removed.
67238         [BZ #13738]
67239         * manual/libc.texinfo (FDL_VERSION): New @set.
67240         Use it for mention of FDL in cover text.
67241         (Documentation License): Use it in @include file name.
67243 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67244             Roland McGrath  <roland@hack.frob.com>
67246         [BZ #5461]
67247         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67248         (not LONG_LONG_MAX and LONG_LONG_MIN.
67249         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67250         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67251         name.
67252         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67254 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67256         [BZ #2547]
67257         [BZ #11365]
67258         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67259         manipulate bits before adding and subtracting TWO23[sx].
67260         * math/libm-test.inc (nearbyint_test): Add more tests.
67262 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67264         [BZ #2548]
67265         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67266         bits before adding and subtracting TWO23[sx].
67267         * math/libm-test.inc (rint_test): Add more tests.
67268         (rint_test_tonearest): Likewise.
67269         (rint_test_towardzero): Likewise.
67270         (rint_test_downward): Likewise.
67271         (rint_test_upward: Likewise.
67273 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67275         [BZ #10110]
67276         * include/stdc-predef.h: New file.  Extracted from features.h.
67277         * include/features.h: Include stdc-predef.h.
67278         * Makefile (headers): Add stdc-predef.h.
67279         * CONFORMANCE (Compiler limitations): Update.
67281 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67283         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67285 2012-02-21  David S. Miller  <davem@davemloft.net>
67287         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67288         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67290 2012-02-20  David S. Miller  <davem@davemloft.net>
67292         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67293         using a normal save/restore sequence, rather than allocating a
67294         dummy stack frame just to store a frame pointer and restore.
67295         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67297 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67299         * manual/install.texi: Fix stray word in line-wrapped comment.
67301 2012-02-20  David S. Miller  <davem@davemloft.net>
67303         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67304         both binutils and gcc support GOTDATA.
67306         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67307         "rd %pc" in the PIC register setup sequences.
67309         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67310         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67311         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67312         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67313         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67314         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67315         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67316         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67318         (SYSCALL_ERROR_HANDLER): Likewise.
67319         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67320         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67322         (SYSCALL_ERROR_HANDLER): Likewise.
67324         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67325         (HAVE_GCC_GOTDATA): New.
67326         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67327         relocation support in both binutils and gcc.
67328         * sysdeps/sparc/elf/configure: Regenerate.
67330         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67331         * sysdeps/sparc/sparc32/elf/configure: Delete.
67332         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67333         * sysdeps/sparc/sparc64/elf/configure: Delete.
67334         * sysdeps/sparc/elf/configure.in: New file.
67335         * sysdeps/sparc/elf/configure: Generate.
67337         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67338         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67339         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67340         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67341         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67343 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67345         * manual/install.texi: Do not mention specific glibc version
67346         numbers.
67347         * manual/libc.texinfo (VERSION, UPDATED): Update.
67348         (@copying): Use @copyright{} and range of years.
67350 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67352         [BZ #13695]
67353         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67354         [crti.S not in sysdirs] (generated): Do not append.
67355         [crti.S not in sysdirs] (omit-deps): Likewise.
67356         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67357         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67358         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67359         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67360         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67361         Likewise.
67362         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67363         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67364         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67365         * csu/defs.awk: Remove file.
67366         * sysdeps/generic/initfini.c: Likewise.
67367         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67368         variable.
67369         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67370         Likewise.
67372 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67374         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67375         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67376         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67377         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67378         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67379         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67380         <bits/epoll.h>.
67381         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67382         (__EPOLL_PACKED): Define to empty if not defined by
67383         <bits/epoll.h>.
67384         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67386         bits/epoll.h.
67388 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67390         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67391         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67392         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67393         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67394         <bits/timerfd.h>.
67395         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67397         bits/timerfd.h.
67399 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67401         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67402         in C locale.
67403         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67404         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67405         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67408 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67410         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67411         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67413 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67415         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67416         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67417         defined.
67418         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67419         Likewise.
67420         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67421         entry for 2.16.
67423 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67425         * math/w_acos.c: Use non-signaling floating-point comparisons.
67426         * math/w_acosf.c: Likewise.
67427         * math/w_acosh.c: Likewise.
67428         * math/w_acoshf.c: Likewise.
67429         * math/w_acoshl.c: Likewise.
67430         * math/w_acosl.c: Likewise.
67431         * math/w_asin.c: Likewise.
67432         * math/w_asinf.c: Likewise.
67433         * math/w_asinl.c: Likewise.
67434         * math/w_atanh.c: Likewise.
67435         * math/w_atanhf.c: Likewise.
67436         * math/w_atanhl.c: Likewise.
67437         * math/w_exp2.c: Likewise.
67438         * math/w_exp2f.c: Likewise.
67439         * math/w_exp2l.c: Likewise.
67440         * math/w_j0.c: Likewise.
67441         * math/w_j0f.c: Likewise.
67442         * math/w_j0l.c: Likewise.
67443         * math/w_j1.c: Likewise.
67444         * math/w_j1f.c: Likewise.
67445         * math/w_j1l.c: Likewise.
67446         * math/w_jn.c: Likewise.
67447         * math/w_jnf.c: Likewise.
67448         * math/w_log.c: Likewise.
67449         * math/w_log10.c: Likewise.
67450         * math/w_log10f.c: Likewise.
67451         * math/w_log10l.c: Likewise.
67452         * math/w_log2.c: Likewise.
67453         * math/w_log2f.c: Likewise.
67454         * math/w_log2l.c: Likewise.
67455         * math/w_logf.c: Likewise.
67456         * math/w_logl.c: Likewise.
67457         * math/w_sqrt.c: Likewise.
67458         * math/w_sqrtf.c: Likewise.
67459         * math/w_sqrtl.c: Likewise.
67460         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67461         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67462         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67463         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67464         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67466 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67468         [BZ #9739]
67469         * manual/string.texi (strnlen): Use correct parameter name in
67470         equivalent expression.
67472 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67474         [BZ #11174]
67475         * manual/users.texi (seteuid): Consistently use neweuid for
67476         argument name.
67478 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67480         [BZ #13704]
67481         * manual/nss.texi (Services in the NSS configuration): Correct
67482         list of services in example configuration file.
67484 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67486         [BZ #11322]
67487         * manual/arith.texi: Remove statements about negative zero
67488         behaving identically to zero.
67490 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67492         [BZ #5993]
67493         * manual/install.texi: Do not document upgrading from libc5.
67495 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67497         [BZ #4596]
67498         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67500 2012-02-18  David S. Miller  <davem@davemloft.net>
67502         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67503         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67504         %o7 across the call.
67505         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67506         instead.
67507         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67508         SETUP_PIC_REG_LEAF.
67509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67510         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67511         * sysdeps/sparc/crtn.S: Likewise.
67513 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67515         * aout/Makefile: Remove.
67517 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67519         [BZ #13058]
67520         * manual/examples/argp-ex1.c (main): Format definition in GNU
67521         style.
67522         * manual/examples/argp-ex2.c (main): Likewise.
67523         * manual/examples/argp-ex3.c (main): Likewise.
67524         * manual/examples/argp-ex4.c (main): Likewise.
67525         * manual/examples/longopt.c (main): Use new-style prototype
67526         definition.
67527         * manual/examples/strncat.c (main): Specify return type and use
67528         (void) for arguments.
67529         * manual/examples/subopt.c (main): Use char **argv argument.
67531 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67533         [BZ #5077]
67534         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67535         rounding modes.
67537 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67539         [BZ #6907]
67540         * manual/string.texi (strchr): Change when strchrnul is
67541         recommended.
67543 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67545         [BZ #174]
67546         * manual/locale.texi (setlocale): Document LOCPATH.
67548 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67550         [BZ #10210]
67551         * manual/process.texi (execle): Move @dots{} before last argument.
67553 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67555         [BZ #12047]
67556         * manual/charset.texi (Generic Charset Conversion): Fix typo
67557         (LC_TYPE -> LC_CTYPE).
67559 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67561         [BZ #5805]
67562         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67563         (scalbnf): Likewise.
67564         (scalbnl): Likewise.
67565         (scalbln): Likewise.
67566         (scalblnf): Likewise.
67567         (scalblnl): Likewise.
67568         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67569         (vwarnx): Likewise.
67570         (verr): Likewise.
67571         (verrx): Likewise.
67572         * manual/filesys.texi (telldir): Use braces around return type.
67573         * manual/llio.texi (mmap): Add space after comma.
67574         (mmap64): Likewise.
67575         * manual/math.texi (jn): Use @var{} on parameter names.
67576         (jnf): Likewise.
67577         (jnl): Likewise.
67578         (yn): Likewise.
67579         (ynf): Likewise.
67580         (ynl): Likewise.
67581         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67582         line.
67583         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67584         "...".
67585         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67586         (sched_get_priority_max): Likewise.
67587         * manual/signal.texi (sigvec): Add space after comma.
67588         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67589         names.
67590         (if_indextoname): Likewise.
67591         (if_freenameindex): Likewise.
67592         (sendto): Use ',' instead of '.' in prototype.
67593         * manual/startup.texi (syscall): Use @dots{} instead of literal
67594         "...".
67595         * manual/stdio.texi (__fpending): Separate initial words of
67596         paragraph from @deftypefun line.
67597         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67598         "...".
67599         (vsyslog): Use @var{} on parameter names.
67600         * manual/terminal.texi (stty): Use @var{} on parameter names.
67601         * manual/users.texi (getutmp): Use @var{} on parameter names.
67602         (getutmpx): Likewise.
67604 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67606         [BZ #6884]
67607         * manual/stdio.texi (fopen): Fix typos in description of
67608         ",ccs=STRING".
67610 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67612         [BZ #4026]
67613         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67614         get clock_id definition.
67616 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67618         [BZ #4822]
67619         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67620         (madvise): Cast every argument to void on its own.
67622 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67624         [BZ #9902]
67625         * manual/startup.texi (Exit Status): Fix typo.
67627 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67629         [BZ #10140]
67630         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67631         * manual/examples/argp-ex2.c: Likewise.
67632         * manual/examples/argp-ex3.c: Likewise.
67634 2012-02-16  Richard Henderson  <rth@redhat.com>
67636         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67637         * sysdeps/s390/s390-32/initfini.c: Remove.
67638         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67639         * sysdeps/s390/s390-64/initfini.c: Remove.
67641 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67643         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67644         compiler output for sysdeps/generic/initfini.c.
67645         * sysdeps/sh/elf/initfini.c: Remove file.
67647 2012-02-16  David S. Miller  <davem@davemloft.net>
67649         [BZ #11494]
67650         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67652         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67653         * sysdeps/sparc/crti.S: New file.
67654         * sysdeps/sparc/crtn.S: New file.
67655         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67656         * sysdeps/sparc/sparc64/Makefile: Likewise.
67658 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67660         [BZ #3335]
67661         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67663 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67665         [BZ #4822]
67666         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67668         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67669         (write, read, close): Likewise.
67670         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67672 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67674         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67675         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67676         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67677         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67678         <bits/signalfd.h>.
67679         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67681         bits/signalfd.h.
67683 2012-02-14  Marek Polacek  <polacek@redhat.com>
67685         * sysdeps/x86_64/crti.S: New file.
67686         * sysdeps/x86_64/crtn.S: New file.
67687         * sysdeps/x86_64/elf/initfini.c: Remove file.
67689 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67691         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67692         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67693         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67694         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67695         <bits/inotify.h>.
67696         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67698         bits/inotify.h.
67700 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67702         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67703         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67704         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67705         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67706         <bits/eventfd.h>.
67707         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67709         bits/eventfd.h.
67711 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67713         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67714         __feraiseexcept instead of feraiseexcept.
67716         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67717         nanosleep invocations.
67718         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67719         strings, and add error checking for a nanosleep invocations.
67721 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67723         Replace FSF snail mail address with URLs, as per GNU coding standards.
67724         Most of the snail mail addresses were wrong anyway, and omitting
67725         them makes the source code easier to maintain.  Almost all of the
67726         changes are to license notices and to locale LC_IDENTIFICATION
67727         addresses, except for this one:
67728         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67729         not its snail mail address.
67731 2012-02-09  Richard Henderson  <rth@twiddle.net>
67733         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67734         of kernel-features.h.
67736         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67738 2012-02-08  Marek Polacek  <polacek@redhat.com>
67740         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67741         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67742         * sysdeps/gnu/_G_config.h: Likewise.
67743         * sysdeps/generic/_G_config.h: Likewise.
67745 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67747         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67748         tests.
67749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67751         * sysdeps/powerpc/powerpc32/crti.S: New file.
67752         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67753         * sysdeps/powerpc/powerpc64/crti.S: New file.
67754         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67756         * Makeconfig (have-initfini): Don't set.
67757         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67758         * configure.in (nopic_initfini): Don't substitute.
67759         * config.h.in (HAVE_INITFINI): Don't #undef.
67760         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67761         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67763 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67765         Support crti.S and crtn.S provided directly by architectures.
67766         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67767         [crti.S in sysdirs] (omit-deps): Likewise.
67768         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67769         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67770         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67771         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67772         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67773         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67774         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67775         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67776         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67777         compiler output for sysdeps/generic/initfini.c.
67778         * sysdeps/i386/elf/Makefile: Remove file.
67779         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67781 2012-02-07  Marek Polacek  <polacek@redhat.com>
67783         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67784         * sysdeps/gnu/_G_config.h: Likewise.
67785         * sysdeps/mach/hurd/_G_config.h: Likewise.
67787 2012-02-07  Marek Polacek  <polacek@redhat.com>
67789         * math/Makefile (tests): Add tst-CMPLX2.
67790         * math/tst-CMPLX2.c: New file.
67792 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67794         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67796         * math/libm-test.inc (jn_test): Add missing L suffix.
67798 2012-02-06  Marek Polacek  <polacek@redhat.com>
67800         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67801         * sysdeps/i386/fpu/e_powf.S: Likewise.
67802         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67803         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67804         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67805         * sysdeps/i386/fpu/e_pow.S: Likewise.
67806         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67807         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67808         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67809         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67810         * sysdeps/i386/fpu/e_log2.S: Likewise.
67811         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67812         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67813         * sysdeps/i386/fpu/e_powl.S: Likewise.
67814         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67815         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67816         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67817         * sysdeps/i386/fpu/e_logl.S: Likewise.
67818         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67819         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67820         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67821         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67822         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67823         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67824         * sysdeps/i386/fpu/e_log.S: Likewise.
67825         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67826         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67827         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67828         * sysdeps/i386/fpu/e_logf.S: Likewise.
67829         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67830         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67831         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67832         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67833         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67834         * sysdeps/i386/fpu/e_log10.S: Likewise.
67835         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67836         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67837         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67838         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67839         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67840         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67841         * sysdeps/i386/asm-syntax.h: Likewise.
67842         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67843         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67844         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67845         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67846         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67847         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67848         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67849         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67850         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67851         * sysdeps/powerpc/sysdep.h: Likewise.
67852         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67853         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67855 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67857         [BZ #411]
67858         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67860 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67862         * sysdeps/i386/sysdep.h: Include <features.h>.
67863         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67864         version.
67866 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67868         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67869         Define.
67870         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67871         LOAD_PIC_REG_STR.
67873 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67875         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67876         (SETUP_PIC_REG): Use GET_PC_THUNK.
67877         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67878         macro.
67880 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67882         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67883         for non-PIC compilation.
67884         (SETUP_PIC_REG): Add .p2align directive.
67885         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67886         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67887         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67888         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67889         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67890         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67891         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67892         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67893         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67894         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67895         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67896         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67897         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67898         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67899         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67900         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67901         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67902         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67903         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67904         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67905         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67906         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67907         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67908         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67909         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67911         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67912         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67913         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67914         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67915         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67916         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67917         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67918         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67919         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67920         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67921         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67922         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67923         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67924         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67925         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67927 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67929         * math/tst-CMPLX.c: Include <stdio.h>.
67931 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67933         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67934         float.
67935         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67936         * sysdeps/sparc/bits/mathdef.h: Likewise.
67938 2012-01-31  Marek Polacek  <polacek@redhat.com>
67940         * libio/libio.h: Don't define _PARAMS.
67941         * locale/programs/config.h: Don't define PARAMS.
67942         * stdlib/strtol_l.c: Likewise.
67943         (__strtol_l): Remove PARAMS from the prototype.
67945 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67947         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67948         names.  Just use the correct names.  Remove unnecessary wrapper
67949         functions.
67950         * malloc/arena.c: Likewise.
67951         * malloc/hooks.c: Likewise.
67953         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67954         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67955         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67957 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67959         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67960         into tail calls.
67961         (update_get_addr): New function.
67962         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67963         GET_ADDR_MODULE parameter.
67965 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67967         * crypt/cert.c: Remove __STDC__ conditionals.
67968         * crypt/crypt-entry.c: Likewise.
67969         * crypt/crypt_util.c: Likewise.
67970         * libio/filedoalloc.c: Likewise.
67971         * libio/fileops.c: Likewise.
67972         * libio/genops.c: Likewise.
67973         * libio/iofclose.c: Likewise.
67974         * libio/iofdopen.c: Likewise.
67975         * libio/iofopen.c: Likewise.
67976         * libio/iofopen64.c: Likewise.
67977         * libio/iogetdelim.c: Likewise.
67978         * libio/iopopen.c: Likewise.
67979         * libio/obprintf.c: Likewise.
67980         * libio/oldfileops.c: Likewise.
67981         * libio/oldiofclose.c: Likewise.
67982         * libio/oldiofdopen.c: Likewise.
67983         * libio/oldiofopen.c: Likewise.
67984         * libio/oldiopopen.c: Likewise.
67985         * libio/wfiledoalloc.c: Likewise.
67986         * libio/wgenops.c: Likewise.
67987         * locale/programs/xmalloc.c: Likewise.
67988         * misc/syslog.c: Likewise.
67989         * stdio-common/xbug.c: Likewise.
67990         * string/memchr.c: Likewise.
67991         * string/memcmp.c: Likewise.
67992         * string/memrchr.c: Likewise.
67993         * string/rawmemchr.c: Likewise.
67994         * sysdeps/posix/getcwd.c: Likewise.
67995         * time/strftime_l.c: Likewise.
67997 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67999         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68000         * config.make.in (config-cflags-sse2avx): Define.
68001         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68002         Fix typo.
68004 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68006         * scripts/config.guess: Update from upstream config git repository.
68007         * scripts/config.sub: Likewise.
68009 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68011         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68012         (EM_NUM): Update.
68013         (R_TILEPRO_*, R_TILEGX_*): New macros.
68015         * scripts/firstversions.awk: Fix bug in version range handling.
68017         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68019         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68021         * include/sys/epoll.h: New file.
68022         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68023         libc_hidden_def.
68025 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68027         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68028         Avoid unnecessary __WORDSIZE == 64 test.
68029         (fmaxf): Use VEX format if possible.
68030         (fmax): Likewise.
68031         (fminf): Likewise.
68032         (fmin): Likewise.
68034         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68035         * math/math_private.h: Remove libc_fegetround* and
68036         libc_fesetround*.
68037         * sysdeps/i386/configure.in: Check for -msse2avx.
68038         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68039         also if SSE2AVX is defined.
68040         Remove libc_fegetround* and libc_fesetround*.
68041         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68042         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68043         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68044         of HAS_YMM_USABLE.
68045         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68046         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68047         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68049         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68051         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68053 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68055         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68056         size is not set.
68057         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68059 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68061         [BZ #13618]
68062         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68063         relocation.
68064         * Makeconfig (libm): Define.
68065         * elf/Makefile: Add rules to build and run tst-relsort1.
68066         * elf/tst-relsort1.c: New file.
68067         * elf/tst-relsort1mod1.c: New file.
68068         * elf/tst-relsort1mod2.c: New file.
68070 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68072         * math/s_ldexp.c: Remove __STDC__ conditionals.
68073         * math/s_ldexpf.c: Likewise.
68074         * math/s_ldexpl.c: Likewise.
68075         * math/s_nextafter.c: Likewise.
68076         * math/s_nexttowardf.c: Likewise.
68077         * math/s_significand.c: Likewise.
68078         * math/s_significandf.c: Likewise.
68079         * math/s_significandl.c: Likewise.
68080         * math/w_jnl.c: Likewise.
68081         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68082         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68083         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68084         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68085         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68086         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68087         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68088         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68089         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68090         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68091         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68092         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68093         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68094         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68095         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68097         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68098         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68100         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68101         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68102         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68103         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68104         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68105         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68106         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68107         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68108         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68109         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68110         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68111         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68112         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68113         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68114         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68115         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68116         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68117         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68118         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68119         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68120         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68121         * sysdeps/ieee754/k_standard.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68152         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68154         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68156         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68161         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68162         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68164         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68166         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68168         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68169         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68170         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68171         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68174         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68175         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68176         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68177         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68178         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68179         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68180         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68181         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68182         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68183         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68186         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68187         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68188         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68189         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68190         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68191         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68192         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68193         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68194         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68195         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68196         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68197         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68198         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68200         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68201         * sysdeps/ieee754/s_matherr.c: Likewise.
68202         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68203         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68204         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68205         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68207 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68209         * crypt/md5.h: Remove __STDC__ conditionals.
68210         * libio/libioP.h: Likewise.
68211         * locale/programs/config.h: Likewise.
68212         * sysdeps/generic/sysdep.h: Likewise.
68213         * sysdeps/i386/asm-syntax.h: Likewise.
68214         * sysdeps/s390/asm-syntax.h: Likewise.
68215         * sysdeps/unix/sysdep.h: Likewise.
68216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68219 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68221         * libio/libio.h: Remove __STDC__ conditionals.
68222         * malloc/obstack.h: Likewise.
68223         * math/complex.h: Likewise.
68224         * math/math.h: Likewise.
68225         * sysdeps/generic/_G_config.h: Likewise.
68226         * sysdeps/gnu/_G_config.h: Likewise.
68227         * sysdeps/mach/hurd/_G_config.h: Likewise.
68228         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68229         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68230         * sysdeps/sparc/bits/mathdef.h: Likewise.
68232 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68234         [BZ #13583]
68235         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68236         Clean up HAS_* macros.
68237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68238         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68239         possible.
68240         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68241         HAS_AVX.
68242         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68243         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68244         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68245         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68246         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68248 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68250         * elf/tst-unique3.cc (gets): Remove declaration.
68251         * elf/tst-unique3lib.cc (gets): Likewise.
68252         * elf/tst-unique3lib2.cc (gets): Likewise.
68253         * elf/tst-unique4.cc (gets): Likewise.
68255 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68257         * include/stdio.h: Add C++ protection.  Add gets declarations and
68258         definitions.
68259         * debug/tst-chk1.c: Don't declare gets here.
68260         * stdio-common/tst-gets.c: Likewise.
68262 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68264         * posix/glob: Remove directory.
68266 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68268         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68270 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68272         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68273         of the non-standard EPFNOSUPPORT.
68275 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68277         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68278         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68279         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68281 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68283         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68285 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68287         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68288         transient errors.
68289         * nscd/grpcache.c (cache_addgr): Likewise.
68290         * nscd/hstcache.c (cache_addhst): Likewise.
68291         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68292         * nscd/pwdcache.c (cache_addpw): Likewise.
68293         * nscd/servicescache.c (cache_addserv): Likewise.
68295 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68297         * malloc/malloc.c: Various cleanups.
68298         * malloc/hooks.c: Likewise.
68300         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68301         * stdlib/bug-fmtmsg1.c: New file.
68303         * stdlib/fmtmsg.c (init): Add missing unlock.
68304         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68306 2012-01-12  Marek Polacek  <polacek@redhat.com>
68308         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68309         and _GNU_SOURCE.
68311 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68313         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68314         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68315         macro to ensure uniqueness of label name.
68316         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68317         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68319 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68321         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68323         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68324         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68326         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68328 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68330         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68332         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68333         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68334         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68336         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68338         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68339         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68340         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68341         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68343         * math/bits/math-finite.h: Add ldexp support.
68345 2012-01-10  Marek Polacek  <polacek@redhat.com>
68347         * locale/programs/localedef.h (show_archive_content): Add noreturn
68348         attribute.
68350 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68354 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68356         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68358         * io/Makefile (headers): Add bits/poll2.h.
68360 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68363         typo #include statement.
68365 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68367         * include/sys/cdefs.h: Define __attribute_alloc_size.
68368         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68369         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68370         * elf/pldd.c: Likewise.
68371         * iconv/iconv_charmap.c: Likewise.
68372         * iconv/iconvconfig.c: Likewise.
68373         * iconv/strtab.c: Likewise.
68374         * locale/programs/locale.c: Likewise.
68375         * locale/programs/localedef.h: Likewise.
68376         * locale/programs/simple-hash.c: Likewise.
68377         * nscd/nscd.h: Likewise.
68378         * nss/makedb.c: Likewise.
68379         * sysdeps/generic/ldconfig.h: Likewise.
68380         * locale/programs/localedef.c: Remove xmalloc prototype.
68381         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68383 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68386         appropriate.
68388 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68390         * math/Makefile (tests): Add tst-CMPLX.
68391         * math/tst-CMPLX.c: New file.
68393         * math/complex.h (CMPLXL): Fix typo.
68395         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68396         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68397         GLIBC_2.16.
68398         * debug/tst-chk1.c: Add poll and ppoll tests.
68399         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68400         * include/sys/poll.h: Add hidden proto for ppoll.
68401         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68402         * sysdeps/mach/hurd/ppoll.c: Likewise.
68403         * io/ppoll.c: Likewise.
68404         * debug/poll_chk.c: New file.
68405         * debug/ppoll_chk.c: New file.
68406         * include/bits/poll2.h: New file.
68407         * io/bits/poll2.h: New file.
68409         [BZ #1350]
68410         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68412         * configure.in: static is always set to yes.  Remove.
68413         * config.make.in: Don't set build-static.
68414         * Makeconfig: Remove use of build-static.
68415         * dlfcn/Makefile: Likewise.
68416         * elf/Makefile: Likewise.
68417         * math/Makefile: Likewise.
68418         * misc/Makefile: Likewise.
68419         * nptl/Makefile: Likewise.
68420         * sysdeps/mach/hurd/Makefile: Likewise.
68422         * configure.in: PWD_P is not used anymore.
68423         * config.make.in: Remove PWD_P entry.
68425         * configure.in: Remove last remnants of RANLIB.
68426         No need to check for signed size_t anymore.
68427         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68428         and IA-64.
68429         Remove __builtin_expect test because we require at least gcc 3.4.
68430         * aclocal.m4: Likewise.
68432         * wcsmbs/mbrtoc16.c: Implement using towc function.
68433         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68434         * wcsmbs/wcsmbsload.c: Likewise.
68435         * iconv/gconv_simple.c: Likewise.
68436         * iconv/gconv_int.h: Likewise.
68437         * iconv/gconv_builtin.h: Likewise.
68438         * iconv/iconv_prog.c: Remove CHAR16 handling.
68440         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68442         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68444         * configure.in: Remove --with-elf and --enable-bounded options.
68445         Dont set base_machine for ia64.  More non-ELF conditions removed.
68446         Remove testing and setting of leading underscore information.
68447         * config.make.in (build-bounded): Set to no.
68448         * config.h.in: Remove NO_UNDERSCORES entry.
68449         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68450         them.
68451         * csu/start.c: Remove !NO_UNDERSCORE code.
68452         * locale/localeinfo.h: Likewise.
68453         * sysdeps/generic/machine-gmon.h: Likewise.
68454         * sysdeps/generic/sysdep.h: Likewise.
68455         * sysdeps/i386/sysdep.h: Likewise.
68456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68457         * sysdeps/mach/sysdep.h: Likewise.
68458         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68459         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68460         * sysdeps/sh/sysdep.h: Likewise.
68461         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68462         * sysdeps/unix/i386/sysdep.S: Likewise.
68463         * sysdeps/unix/sparc/start.c: Likewise.
68464         * sysdeps/unix/sparc/sysdep.S: Likewise.
68465         * sysdeps/unix/sparc/sysdep.h: Likewise.
68466         * sysdeps/unix/start.c: Likewise.
68467         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68468         * sysdeps/x86_64/sysdep.h: Likewise.
68470 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68472         [BZ #13553]
68473         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68474         for non-gcc.
68475         * argp/argp-fmtstream.h: Use const instead __const.
68476         * argp/argp.h: Likewise.
68477         * assert/assert.h: Likewise.
68478         * bits/fenv.h: Likewise.
68479         * bits/sched.h: Likewise.
68480         * bits/sigset.h: Likewise.
68481         * bits/sigthread.h: Likewise.
68482         * catgets/nl_types.h: Likewise.
68483         * conform/data/pthread.h-data: Likewise.
68484         * crypt/crypt-private.h: Likewise.
68485         * crypt/crypt.h: Likewise.
68486         * crypt/crypt_util.c: Likewise.
68487         * ctype/ctype.h: Likewise.
68488         * debug/execinfo.h: Likewise.
68489         * debug/mbsnrtowcs_chk.c: Likewise.
68490         * debug/mbsrtowcs_chk.c: Likewise.
68491         * debug/wcsnrtombs_chk.c: Likewise.
68492         * debug/wcsrtombs_chk.c: Likewise.
68493         * debug/wcstombs_chk.c: Likewise.
68494         * dirent/dirent.h: Likewise.
68495         * dlfcn/dlfcn.h: Likewise.
68496         * elf/neededtest4.c: Likewise.
68497         * grp/grp.h: Likewise.
68498         * gshadow/gshadow.h: Likewise.
68499         * iconv/gconv.h: Likewise.
68500         * iconv/gconv_int.h: Likewise.
68501         * iconv/gconv_simple.c: Likewise.
68502         * iconv/iconv.h: Likewise.
68503         * iconv/loop.c: Likewise.
68504         * iconv/skeleton.c: Likewise.
68505         * include/aio.h: Likewise.
68506         * include/aliases.h: Likewise.
68507         * include/argz.h: Likewise.
68508         * include/arpa/inet.h: Likewise.
68509         * include/assert.h: Likewise.
68510         * include/dirent.h: Likewise.
68511         * include/dlfcn.h: Likewise.
68512         * include/execinfo.h: Likewise.
68513         * include/fcntl.h: Likewise.
68514         * include/fenv.h: Likewise.
68515         * include/glob.h: Likewise.
68516         * include/grp.h: Likewise.
68517         * include/libintl.h: Likewise.
68518         * include/mntent.h: Likewise.
68519         * include/netdb.h: Likewise.
68520         * include/pwd.h: Likewise.
68521         * include/rpc/netdb.h: Likewise.
68522         * include/sched.h: Likewise.
68523         * include/search.h: Likewise.
68524         * include/shadow.h: Likewise.
68525         * include/signal.h: Likewise.
68526         * include/stdio.h: Likewise.
68527         * include/stdlib.h: Likewise.
68528         * include/string.h: Likewise.
68529         * include/sys/socket.h: Likewise.
68530         * include/sys/stat.h: Likewise.
68531         * include/sys/statfs.h: Likewise.
68532         * include/sys/statvfs.h: Likewise.
68533         * include/sys/syslog.h: Likewise.
68534         * include/sys/time.h: Likewise.
68535         * include/sys/uio.h: Likewise.
68536         * include/time.h: Likewise.
68537         * include/unistd.h: Likewise.
68538         * include/utmp.h: Likewise.
68539         * include/wchar.h: Likewise.
68540         * include/wctype.h: Likewise.
68541         * inet/aliases.h: Likewise.
68542         * inet/arpa/inet.h: Likewise.
68543         * inet/netinet/ether.h: Likewise.
68544         * inet/netinet/in.h: Likewise.
68545         * intl/libintl.h: Likewise.
68546         * io/bits/fcntl2.h: Likewise.
68547         * io/fcntl.h: Likewise.
68548         * io/ftw.h: Likewise.
68549         * io/sys/poll.h: Likewise.
68550         * io/sys/stat.h: Likewise.
68551         * io/sys/statfs.h: Likewise.
68552         * io/sys/statvfs.h: Likewise.
68553         * io/utime.h: Likewise.
68554         * libio/bits/stdio.h: Likewise.
68555         * libio/bits/stdio2.h: Likewise.
68556         * libio/libio.h: Likewise.
68557         * libio/libioP.h: Likewise.
68558         * libio/stdio.h: Likewise.
68559         * locale/lc-ctype.c: Likewise.
68560         * locale/locale.h: Likewise.
68561         * login/utmp.h: Likewise.
68562         * malloc/arena.c: Likewise.
68563         * malloc/malloc.c: Likewise.
68564         * malloc/malloc.h: Likewise.
68565         * malloc/mcheck.c: Likewise.
68566         * malloc/mtrace.c: Likewise.
68567         * math/bits/mathcalls.h: Likewise.
68568         * math/fenv.h: Likewise.
68569         * math/math_private.h: Likewise.
68570         * misc/bits/error.h: Likewise.
68571         * misc/bits/syslog.h: Likewise.
68572         * misc/err.h: Likewise.
68573         * misc/error.h: Likewise.
68574         * misc/fstab.h: Likewise.
68575         * misc/mntent.h: Likewise.
68576         * misc/regexp.h: Likewise.
68577         * misc/search.h: Likewise.
68578         * misc/sgtty.h: Likewise.
68579         * misc/sys/mman.h: Likewise.
68580         * misc/sys/syslog.h: Likewise.
68581         * misc/sys/uio.h: Likewise.
68582         * misc/sys/xattr.h: Likewise.
68583         * misc/ttyent.h: Likewise.
68584         * nis/rpcsvc/ypclnt.h: Likewise.
68585         * nss/nss.h: Likewise.
68586         * posix/bits/unistd.h: Likewise.
68587         * posix/fnmatch.h: Likewise.
68588         * posix/glob.h: Likewise.
68589         * posix/sched.h: Likewise.
68590         * posix/spawn.h: Likewise.
68591         * posix/sys/wait.h: Likewise.
68592         * posix/unistd.h: Likewise.
68593         * posix/wordexp.h: Likewise.
68594         * pwd/pwd.h: Likewise.
68595         * resolv/netdb.h: Likewise.
68596         * resource/sys/resource.h: Likewise.
68597         * rt/aio.h: Likewise.
68598         * rt/bits/mqueue2.h: Likewise.
68599         * rt/mqueue.h: Likewise.
68600         * shadow/shadow.h: Likewise.
68601         * signal/signal.h: Likewise.
68602         * socket/send.c: Likewise.
68603         * socket/sendto.c: Likewise.
68604         * socket/sys/socket.h: Likewise.
68605         * stdio-common/printf.h: Likewise.
68606         * stdlib/bits/stdlib.h: Likewise.
68607         * stdlib/fmtmsg.h: Likewise.
68608         * stdlib/monetary.h: Likewise.
68609         * stdlib/stdlib.h: Likewise.
68610         * stdlib/ucontext.h: Likewise.
68611         * streams/stropts.h: Likewise.
68612         * string/argz.h: Likewise.
68613         * string/bits/string2.h: Likewise.
68614         * string/string.h: Likewise.
68615         * string/strings.h: Likewise.
68616         * sunrpc/rpc/auth.h: Likewise.
68617         * sunrpc/rpc/auth_des.h: Likewise.
68618         * sunrpc/rpc/clnt.h: Likewise.
68619         * sunrpc/rpc/netdb.h: Likewise.
68620         * sunrpc/rpc/pmap_clnt.h: Likewise.
68621         * sunrpc/rpc/xdr.h: Likewise.
68622         * sysdeps/generic/inttypes.h: Likewise.
68623         * sysdeps/generic/net/if.h: Likewise.
68624         * sysdeps/generic/sys/swap.h: Likewise.
68625         * sysdeps/gnu/net/if.h: Likewise.
68626         * sysdeps/gnu/utmpx.h: Likewise.
68627         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68628         * sysdeps/i386/i486/bits/string.h: Likewise.
68629         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68630         * sysdeps/s390/bits/string.h: Likewise.
68631         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68632         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68633         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68634         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68635         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68636         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68637         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68638         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68639         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68640         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68641         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68642         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68643         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68644         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68645         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68646         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68647         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68649         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68650         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68651         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68652         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68653         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68654         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68655         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68656         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68657         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68659         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68660         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68661         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68662         * sysvipc/sys/ipc.h: Likewise.
68663         * sysvipc/sys/msg.h: Likewise.
68664         * sysvipc/sys/sem.h: Likewise.
68665         * sysvipc/sys/shm.h: Likewise.
68666         * termios/termios.h: Likewise.
68667         * time/sys/time.h: Likewise.
68668         * time/time.h: Likewise.
68669         * wcsmbs/bits/wchar2.h: Likewise.
68670         * wcsmbs/uchar.h: Likewise.
68671         * wcsmbs/wchar.h: Likewise.
68672         * wctype/wctype.h: Likewise.
68674         [BZ #13551]
68675         * Makeconfig: Remove all but ELF support including AIX support.
68676         * Makerules: Likewise.
68677         * config.h.in: Likewise.
68678         * config.make.in: Likewise.
68679         * configure: Likewise.
68680         * configure.in: Likewise.
68681         * csu/Makefile: Likewise.
68682         * csu/version.c: Likewise.
68683         * debug/Makefile: Likewise.
68684         * dlfcn/Makefile: Likewise.
68685         * elf/Makefile: Likewise.
68686         * extra-lib.mk: Likewise.
68687         * iconv/Makefile: Likewise.
68688         * include/libc-symbols.h: Likewise.
68689         * include/shlib-compat.h: Likewise.
68690         * resolv/Makefile: Likewise.
68691         * resolv/res_libc.c: Likewise.
68692         * rt/Makefile: Likewise.
68693         * sysdeps/i386/asm-syntax.h: Likewise.
68694         * sysdeps/i386/sysdep.h: Likewise.
68695         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68696         * sysdeps/mach/sysdep.h: Likewise.
68697         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68698         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68699         * sysdeps/s390/asm-syntax.h: Likewise.
68700         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68701         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68702         * sysdeps/sh/sysdep.h: Likewise.
68703         * sysdeps/unix/sparc/sysdep.h: Likewise.
68704         * sysdeps/wordsize-32/divdi3.c: Likewise.
68705         * sysdeps/x86_64/sysdep.h: Likewise.
68707         * argp/Versions: Remove _argp_unlock_xxx.
68709         [BZ #13559]
68710         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68711         * abilist/libBrokenLocale.abilist: Likewise.
68712         * abilist/libanl.abilist: Likewise.
68713         * abilist/libc.abilist: Likewise.
68714         * abilist/libcrypt.abilist: Likewise.
68715         * abilist/libdl.abilist: Likewise.
68716         * abilist/libm.abilist: Likewise.
68717         * abilist/libnsl.abilist: Likewise.
68718         * abilist/libpthread.abilist: Likewise.
68719         * abilist/libresolv.abilist: Likewise.
68720         * abilist/librt.abilist: Likewise.
68721         * abilist/libthread_db.abilist: Likewise.
68722         * abilist/libutil.abilist: Likewise.
68723         * abilist/libnss_db.abilist: New file.
68725         * scripts/abilist.awk: Add support for indirect functions.
68727         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68729         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68731         * shlib-versions: Remove entries for ports architectures.
68733         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68734         files in ports.
68735         * elf/stackguard-macros.h: Remove support for IA-64.
68736         * elf/tst-auditmod1.c: Likewise.
68737         * sysdeps/generic/ldsodefs.h: Likewise.
68739         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68740         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68741         configure files.
68743         [BZ #13552]
68744         * configure.in: Remove --enable-omitfp support.
68745         * FAQ.in: Adjust.
68746         * config.make.in: Likewise.
68747         * Makeconfig: Likewise.
68748         * manual/install.texi: Likewise.
68750         In case anyone cares, the IA-64 architecture could move to ports.
68751         * sysdeps/ia64/*: Removed.
68752         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68753         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68755         [BZ #13555]
68756         * configure.in: Remove entries for unsupported architectures.
68758         [BZ #13533]
68759         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68760         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68761         routines.
68762         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68763         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68764         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68765         fall back to using wcrtomb.
68766         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68767         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68768         renaming.
68769         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68770         * wcsmbs/tst-c16c32-1.c: New file.
68772         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68773         local variable.
68775         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68777         * elf/tst-unique3.cc: Add explicit declaration of gets.
68778         * elf/tst-unique3lib.cc: Likewise.
68779         * elf/tst-unique3lib2.cc: Likewise.
68780         * elf/tst-unique4.cc: Likewise.
68782         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68784 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68786         [BZ #13566]
68787         * assert/assert.h (static_assert): Don't define for C++.
68788         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68789         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68791 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68793         * iconv/loop.c (single loop): Fix assertion in storing of
68794         remaining bytes.
68796         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68798 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68800         * posix/getconf.c: Update copyright year.
68801         * nss/getent.c: Likewise.
68802         * nss/makedb.c: Likewise.
68803         * iconv/iconvconfig.c: Likewise.
68804         * iconv/iconv_prog.c: Likewise.
68805         * elf/ldconfig.c: Likewise.
68806         * elf/pldd.c: Likewise.
68807         * elf/sotruss.ksh: Likewise.
68808         * catgets/gencat.c: Likewise.
68809         * csu/version.c: Likewise.
68810         * elf/ldd.bash.in: Likewise.
68811         * elf/sprof.c (print_version): Likewise.
68812         * locale/programs/locale.c: Likewise.
68813         * locale/programs/localedef.c: Likewise.
68814         * login/programs/pt_chown.c: Likewise.
68815         * nscd/nscd.c (print_version): Likewise.
68816         * debug/xtrace.sh: Likewise.
68817         * malloc/memusage.sh: Likewise.
68818         * malloc/mtrace.pl: Likewise.
68819         * debug/catchsegv.sh: Likewise.
68821 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68823         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68824         pure attribute.
68826 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68828         [BZ #13533]
68829         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68830         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68831         transformations.
68832         * iconv/gconv_int.h: Likewise.
68833         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68834         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68835         from libc for GLIBC_2.16.
68836         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68837         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68838         * wcsmbs/uchar.h: Really define mbstate_t.
68839         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68840         * wcsmbs/c16rtomb.c: New file.
68841         * wcsmbs/mbrtoc16.c: New file.
68842         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68843         for C/POSIX locale.
68844         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68845         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68847         * wcsmbs/wchar.h: Add missing __restrict.
68849 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68851         [BZ #13532]
68852         * time/Makefile (routines): Add timespec_get.
68853         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68854         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68855         timespec for ISO C11.
68856         * time/timespec_get.c: New file.
68857         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68858         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68860         [BZ #13531]
68861         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68862         * stdlib/stdlib.h: Declare aligned_alloc.
68863         * Versions.def: Add GLIBC_2.16 for libc.
68864         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68866         [BZ 13527]
68867         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68868         ISO C11.
68870         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68871         code.
68873         [BZ #13528]
68874         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68876         [BZ #13529]
68877         * assert/assert.h (static_assert): Define.
68879         * version.h: Update for 2.16 development version.
68881         [BZ #13526]
68882         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68883         _ISOC11_SOURCE.
68885         * version.h (RELEASE): Bump for 2.15 release.
68886         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68888         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68889         Patch by Marek Polacek <mpolacek@redhat.com>.
68891         * bits/byteswap.h: Protect long long constants with __extension__.
68892         * sysdeps/i386/bits/byteswap.h: Likewise.
68893         * sysdeps/ia64/bits/byteswap.h: Likewise.
68894         * sysdeps/s390/bits/byteswap.h: Likewise.
68895         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68897 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68899         [BZ #13540]
68900         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68901         destination buffer.
68902         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68904 2011-12-23  Marek Polacek  <polacek@redhat.com>
68906         * elf/dl-addr.c (determine_info): Add inline keyword.
68907         * elf/tst-auditmod4b.c (check_avx): Likewise.
68908         * elf/tst-auditmod6b.c (check_avx): Likewise.
68909         * elf/tst-auditmod6c.c (check_avx): Likewise.
68910         * elf/tst-auditmod7b.c (check_avx): Likewise.
68912 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68914         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68915         !__SSE_MATH__.
68917 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68919         [BZ #13540]
68920         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68921         processing for last bytes.
68923 2011-08-06  Bruno Haible  <bruno@clisp.org>
68925         [BZ #13061]
68926         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68927         U+0385, not to U+1FEE.
68929         [BZ #13062]
68930         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68931         entry for U+00A5 U+0301.
68933 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68935         [BZ #13166]
68936         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68937         buffer for the output is too small.
68939         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68940         optimization.
68942         [BZ #13185]
68943         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68944         SSE flags if possible.
68946 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68948         [BZ #13540]
68949         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68950         processing for last bytes.
68952 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68954         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68955         (syscall-list-default-options, syscall-list-default-condition)
68956         (syscall-list-includes): Define.
68957         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68958         list of ABIs and options and #if conditions for each ABI.  Do not
68959         handle common syscalls between ABIs specially.
68960         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68961         Remove.
68962         (syscall-list-variants, syscall-list-32bit-options)
68963         (syscall-list-32bit-condition, syscall-list-64bit-options)
68964         (syscall-list-64bit-condition): Define.
68965         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68966         (syscall-list-variants, syscall-list-32bit-options)
68967         (syscall-list-32bit-condition, syscall-list-64bit-options)
68968         (syscall-list-64bit-condition): Define.
68969         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68970         Remove.
68971         (syscall-list-variants, syscall-list-32bit-options)
68972         (syscall-list-32bit-condition, syscall-list-64bit-options)
68973         (syscall-list-64bit-condition): Define.
68974         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68975         Remove.
68976         (syscall-list-variants, syscall-list-32bit-options)
68977         (syscall-list-32bit-condition, syscall-list-64bit-options)
68978         (syscall-list-64bit-condition): Define.
68980 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68982         * locale/iso-639.def: Add brx entry.
68984         [BZ #13328]
68985         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68986         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68988         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68989         __feraiseexcept_renamed.
68991 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68993         [BZ #13538]
68994         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68995         EPOLLET with unsigned values.
68996         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68999         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69000         to large cancellation.
69001         * math/s_cacoshf.c: Likewise.
69002         * math/s_cacoshl.c: Likewise.
69004 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69006         [BZ #13305]
69007         [BZ #12786]
69008         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69009         * math/s_cacoshf.c: Likewise.
69010         * math/s_cacoshl.c: Likewise.
69012 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69014         [BZ #13439]
69015         * iconv/gconv.h: Define __GCONV_SWAP.
69016         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69017         * iconvdata/utf-16.c: Likewise.
69018         * iconvdata/utf-32.c: Likewise.
69020 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69022         [BZ #13524]
69023         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69024         numerator after shifting it by one limb.
69026 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69028         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69029         under [__USE_EXTERN_INLINES].
69031 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69033         [BZ #13446]
69034         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69036 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69038         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69039         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69040         optimized code.
69041         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69042         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69043         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69044         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69045         for strncasecmp/strncasecmp_l compilation.
69046         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69047         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69049 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69051         [BZ #13484]
69052         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69053         of __asm__.
69055 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69057         [BZ #13506]
69058         * time/tzfile.c (__tzfile_read): Check values from file header.
69060 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69062         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69063         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69064         * powerpc/powerpc32/dl-start.S: Likewise.
69065         * powerpc/powerpc32/elf/start.S: Likewise.
69066         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69067         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69068         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69069         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69070         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69071         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69072         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69073         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69074         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69075         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69076         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69077         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69078         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69079         * powerpc/powerpc32/memset.S: Likewise.
69080         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69081         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69082         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69083         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69084         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69085         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69086         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69087         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69088         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69089         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69090         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69091         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69092         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69094 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69096         * math/libm-test.inc: Added more nearbyint tests.
69097         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69098         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69099         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69100         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69102 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69104         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69105         FD_CLOEXEC.
69107 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69109         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69110         Add wcscpy-ssse3 wcscpy-c.
69111         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69112         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69113         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69114         * sysdeps/x86_64/wcschr.S: New file.
69115         * sysdeps/x86_64/wcsrchr.S: New file.
69116         * string/test-strcmp.c: Remove checking of wcscmp function for
69117         wrong alignments.
69118         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69119         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69120         wcsrchr-sse2 wcsrchr-c.
69121         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69122         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69123         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69124         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69125         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69126         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69127         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69128         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69129         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69130         * wcsmbc/wcschr.c (WCSCHR): New macro.
69132 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69134         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69135         * wcsmbs/test-wcsrchr.c: New file.
69136         * string/test-strrchr.c: Add wcsrchr support.
69137         (WIDE): New macro.
69138         * wcsmbs/test-wcscpy.c: New file.
69139         * string/test-strcpy.c: Add wcscpy support.
69140         (WIDE): New macro.
69142 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69144         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69145         the inner loop.
69147 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69149         [BZ #13472]
69150         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69152 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69154         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69155         Minor optimizations.
69157         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69158         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69159         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69161 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69163         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69164         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69165         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69166         for gcc to avoid warnings.
69167         * inet/Makefile (tests): Add tst-checks.
69168         * inet/tst-checks.c: New file.
69170         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69171         warning.
69173         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69174         __wmemcmp_sse2.
69176         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69177         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69179         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69181 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69183         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69184         problem.
69186         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69188 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69190         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69191         conditional on GCC version.
69192         (__arch_compare_and_exchange_val_8_acq)
69193         (__arch_compare_and_exchange_val_16_acq)
69194         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69195         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69196         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69198 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69200         * sysdeps/sh/backtrace.c: New file.
69202 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69204         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69205         parenthesis.
69207 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69209         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69210         falling back to utime.
69212 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69214         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69215         expectations for float.
69217 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69219         * locale/weight.h (findidx): Add parameter len.
69220         * locale/weightwc.h (findidx): Likewise.
69221         * posix/fnmatch_loop.c (FCT): Adjust caller.
69222         * posix/regcomp.c (build_equiv_class): Likewise.
69223         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69224         * posix/regexec.c (check_node_accept_bytes): Likewise.
69225         * string/strcoll_l.c (STRCOLL): Likewise.
69226         * string/strxfrm_l.c (STRXFRM): Likewise.
69228 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69230         * Makefile.in: Remove CVSOPT handling.
69231         * configure.in: Remove use of AC_REVISION.
69232         * iconvdata/Makefile (distribute): No need to filter out CVS.
69233         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69234         handling.
69236 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69238         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69239         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69240         [USE_AS_STRNCASECMP_L]: Likewise.
69241         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69242         NO_TLS_DIRECT_SEG_REFS.
69243         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69244         Fix argument offsets for non-PIC.
69245         [USE_AS_STRNCASECMP_L]: Likewise.
69246         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69247         NO_TLS_DIRECT_SEG_REFS.
69249 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69251         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69252         O_CLOEXEC.
69253         * locale/loadlocale.c (_nl_load_locale): Likewise.
69255 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69257         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69258         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69259         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69260         (SYSCALL_GETTIME): Set errno on error.
69262         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69263         count references to noai6ai_cached.
69265 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69267         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69269         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69270         FD_CLOEXEC for /proc/self/maps.
69272         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69273         FD_CLOEXEC for /proc/meminfo.
69275         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69276         gai.conf.
69278         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69279         FD_CLOEXEC for given file.
69281         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69283         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69284         FD_CLOEXEC for /etc/hosts.
69285         (_gethtent): Likewise.
69287         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69289         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69290         cancellation and set FD_CLOEXEC for /etc/netgroup.
69292         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69293         reading /etc/publickey.
69295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69296         allow cancellation when reading /etc/group.
69298         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69299         cancellation.
69300         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69302         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69303         when using data file.
69305         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69307         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69308         (write_nis_obj): Use "c" and "e" in fopen.
69310         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69312         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69314         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69316         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69318         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69319         locale.alias.
69321         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69323         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69325         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69327         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69328         file parsing and set FD_CLOEXEC.
69330 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69332         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69334 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69336         * malloc/arena.c (arena_get2): Don't call reused_arena when
69337         _int_new_arena failed.
69339 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69341         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69342         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69343         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69344         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69345         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69346         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69347         to compile strcasecmp and strncasecmp.
69348         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69349         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69353 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69355         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69356         locale-defines.sym to gen-as-const-headers.
69357         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69358         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69360         to compile strcasecmp and strncasecmp.
69361         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69362         strcasecmp_l and strncasecmp_l.
69363         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69364         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69365         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69366         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69367         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69368         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69369         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69370         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69371         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69372         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69373         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69375 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69377         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69378         result of SYSDEP_GETTIME_CPU to retval.
69379         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69380         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69382         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69383         variable.
69385         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69386         mantissa words.
69387         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69389         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69390         from unused variable.
69392         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69393         DWARF definitions.
69394         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69395         for assembling.
69397         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69398         over namespaces.
69400         * sunrpc/rpc_prot.c (rejected): Fix case value.
69402         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69403         unsigned long long int to avoid warnings in shift.
69405         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69406         of use of trans.
69407         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69408         variable tmp.
69410         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69411         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69412         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69414         * nis/nis_table.c (nis_list): Use variable of correct type for
69415         result of __follow_path call.
69417 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69419         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69420         of math functions ceil, trunc, floor, round, and sqrt, when
69421         avaliable on the platform.
69422         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69423         name clash.
69424         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69425         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69426         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69428 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69430         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69431         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69433 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69435         * include/unistd.h: Fix __readlink return type.
69436         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69438 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69440         * stdlib/ucontext.h: Undo last change for makecontext.
69442 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69444         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69446         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69447         * setjmp/setjmp.h: Mark functions as non-leaf.
69448         * setjmp/bits/setjmp2.h: Likewise.
69449         * stdlib/ucontext.h: Likewise.
69451 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69453         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69454         (reused_arena): Don't check arena limit.
69455         (arena_get2): Atomically check arena limit.
69457 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69459         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69460         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69463         instructions.
69465 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69467         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69468         handler when locking.
69470         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69471         Fix size of allocated buffer.
69473 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69475         [BZ #10103]
69476         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69477         declarations for long double functions.
69478         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69480         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69482 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69484         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69485         installed.
69487         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69488         is disabled.
69490 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69492         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69494 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69496         * include/alloca.h (stackinfo_alloca_round): Define.
69497         (extend_alloca): Use it.
69498         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69499         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69500         here.
69502         * scripts/check-local-headers.sh: Ignore libaudit.h.
69504         * nscd/Makefile (extra-objs): Make recursively expanded.
69506 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69508         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69509         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69511         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69512         * posix/tst-rfc3484-2.c: Likewise.
69513         * posix/tst-rfc3484-3.c: Likewise.
69515         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69516         process_vm_writev.
69517         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69518         process_vm_writev.
69519         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69520         process_vm_writev from libc using GLIBC_2.15 version.
69522         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69524 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69526         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69527         stack usage.
69529 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69531         [BZ #13367]
69532         * nss/getent.c (initgroups_keys): Show error message in case no group
69533         names are given.
69535         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69536         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69537         __bump_nl_timestamp.
69538         * nscd/connections (nscd_init): When host database is served open
69539         netlink socket and request notification about configuration changes.
69540         (main_loop_poll): Track netlink file descriptor and bump timestamp
69541         in case data becomes available.
69542         (main_loop_epoll): Likewise.
69543         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69544         (database_pers_head): Add extra_data fileds.
69545         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69546         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69547         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69548         Adjust caller.
69549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69550         in6ai data, call __free_in6ai.
69551         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69552         Add -DHAVE_NETLINK.
69553         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69554         interface information.  Reuse previous data if netlink timestamp
69555         is not changed.
69556         (__bump_nl_timestamp): New function.
69557         (__free_in6ai): New function.
69559 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69561         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69562         close_not_cancel_no_status here.
69563         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69565 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69567         [BZ #13276]
69568         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69569         return value.
69571         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69572         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69573         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69575 2011-07-03  Andreas Jaeger  <aj@suse.de>
69577         [BZ #10709]
69578         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69579         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69580         * math/libm-test.inc (sin_test): Add test case.
69582 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69584         [BZ #13337]
69585         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69586         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69588         * elf/chroot_canon.c (chroot_canon): Cleanups.
69590         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69592         [BZ #13335]
69593         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69594         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69596         * string/test-strchr.c: Make usable for strchrnul testing.
69597         * string/test-strchrnul.c: New file.
69598         * string/Makefile (strop-tests): Add strchrnul.
69600         * po/it.po: Update from translation team.
69601         * po/es.po: Likewise.
69603 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69605         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69606         the three constants needed as parameters.  Drop the others.
69607         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69608         __m128i_strloadu_tolower.
69609         Create and initialize variable zero and use it in all the places
69610         where _mm_setzero_si128 was used.
69612         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69613         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69614         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69615         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69616         anymore.
69617         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69618         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69619         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69620         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69621         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69622         __mpranred, __mptan.
69623         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69624         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69625         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69626         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69627         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69628         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69629         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69630         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69631         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69633 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69635         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69636         redefine if SHARED.
69637         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69639         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69640         wide char related routines to wcsmbs subdir.
69642 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69644         [BZ #13344]
69645         * misc/sys/cdefs.h (__THROWNL): Define.
69646         * posix/unistd.h: Use __THREADNL instead of __THREAD
69647         for memory synchronization functions.
69649 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69651         [BZ #13349]
69652         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69653         doesn't exist.
69654         * manual/stdio.texi (Obstack Streams): Node removed.
69656 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69658         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69659         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69660         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69662         * math/math_private.h (math_force_eval): Allow non-addressable
69663         arguments.
69664         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69666 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69668         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69669         file is not needed.
69671         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69673         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69674         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69675         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69676         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69677         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69678         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69679         Add AVX variants.
69680         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69681         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69682         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69683         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69684         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69685         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69686         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69687         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69688         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69689         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69690         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69691         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69692         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69693         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69694         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69695         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69696         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69697         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69698         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69700         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69701         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69703         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69704         place.  Use VEX encoding when compiling for AVX.
69706 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69708         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69709         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69711         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69713 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69715         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69716         useless if() expression.
69717         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69718         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69719         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69720         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69721         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69722         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69723         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69724         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69725         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69726         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69728         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69730         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69731         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69733         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69734         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69735         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69737         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69739 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69741         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69742         condition.
69743         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69745 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69747         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69748         .text section.  Avoid duplicate constants.
69749         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69751         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69753         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69757         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69758         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69759         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69760         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69761         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69762         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69763         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69764         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69765         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69766         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69767         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69769         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69770         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69771         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69772         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69773         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69774         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69775         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69776         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69777         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69778         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69779         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69780         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69781         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69782         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69783         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69784         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69785         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69786         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69787         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69788         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69789         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69790         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69791         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69792         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69793         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69795 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69797         * sysdeps/x86_64/dla.h: Move to ...
69798         * sysdeps/x86_64/fpu/dla.h: ...here.
69799         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69800         situations.  Use __builtin_fma only for gcc 4.6 and up.
69802         * config.make.in: Add have-mfma4 entry.
69803         * configure.in: Substitute libc_cv_cc_fma4.
69804         * math/Makefile (dbl-only-routines): Add sincostab.
69805         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69806         Use __sincostab not sincos.
69807         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69808         name is a macro.
69809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69812         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69813         using __copysign.
69814         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69815         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69816         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69817         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69818         and __inv.
69819         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69820         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69821         __copysign.
69822         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69823         define aliases when function name is a macro.
69824         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69825         sysdeps/ieee754/dbl-64/sincos.tbl.
69826         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69827         fma4-enabled routines.
69828         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69829         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69830         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69831         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69832         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69833         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69834         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69835         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69836         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69837         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69838         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69839         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69840         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69841         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69842         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69843         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69844         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69845         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69846         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69847         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69848         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69849         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69850         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69851         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69852         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69853         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69854         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69855         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69856         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69857         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69859         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69860         rename.
69861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69866         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69868         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69870 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69872         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69874 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69876         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69878         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69879         prediction.
69880         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69882         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69883         Remove unused variable magic_bits.
69884         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69886         * string/strnlen.c: Define and use STRNLEN macro.
69887         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69888         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69889         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69890         * wcsmbs/wcslen.c: Define and use WCSLEN.
69891         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69892         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69893         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69894         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69895         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69896         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69897         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69899 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69902         strnlen-sse2-no-bsf.
69903         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69904         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69905         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69906         Add strnlen support.
69907         (USE_AS_STRNLEN): New macro.
69908         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69909         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69910         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69911         * sysdeps/x86_64/wcslen.S: New file.
69913 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69915         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69916         XMM-moves are used for copying on small sizes.
69918 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69920         * wcsmbs/Makefile (strop-tests): Add wcschr.
69921         * wcsmbs/test-wcschr.c: New file.
69922         * string/test-strchr.c: Update.
69923         Add wcschr support.
69924         (WIDE): New macro.
69926 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69928         * wcsmbs/Makefile (strop-tests): Add wcslen.
69929         * wcsmbs/test-wcslen.c: New file.
69930         * string/test-strlen.c: Update.
69931         Add wcslen support.
69932         (WIDE): New macro.
69934 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69936         * po/it.po: Update from translation team.
69938 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69940         * sysdeps/x86_64/wcscmp.S: Update.
69941         Fix wrong comparison semantics.
69942         wcscmp shall use signed comparison not unsigned.
69943         Don't use substraction to avoid overflow bug.
69944         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69945         * wcsmbc/wcscmp.c: Likewise.
69946         * string/test-strcmp.c: Likewise.
69947         Add new tests to check cases with negative values.
69949 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69951         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69952         * sysdeps/x86_64/dla.h: ...here.  New file.
69953         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69954         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69958         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69959         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69960         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69961         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69963 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69966         __ynl_finite aliases.
69968 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69972         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69973         define DLA_FMA.
69974         [DLA_FMA] (EMULV): Use DLA_FMA.
69975         [DLA_FMA] (MUL12): Use EMULV.
69976         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69977         that are not needed.
69978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69986 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69988         * math/s_nan.c: Undef __nan.
69989         * math/s_nanf.c: Undef __nanf.
69990         * math/s_nanl.c: Undef __nanl.
69991         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69992         "math_private.h".
69994 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69996         * math/s_catan.c: Add branch predictions.
69997         * math/s_catanf.c: Likewise.
69998         * math/s_catanh.c: Likewise.
69999         * math/s_catanhf.c: Likewise.
70000         * math/s_catanhl.c: Likewise.
70001         * math/s_catanl.c: Likewise.
70002         * math/s_cexp.c: Likewise.
70003         * math/s_cexpf.c: Likewise.
70004         * math/s_cexpl.c: Likewise.
70005         * math/s_clog.c: Likewise.
70006         * math/s_clog10.c: Likewise.
70007         * math/s_clog10f.c: Likewise.
70008         * math/s_clog10l.c: Likewise.
70009         * math/s_clogf.c: Likewise.
70010         * math/s_clogl.c: Likewise.
70011         * math/s_csqrt.c: Likewise.
70012         * math/s_csqrtf.c: Likewise.
70013         * math/s_csqrtl.c: Likewise.
70014         * math/s_ctanf.c: Likewise.
70015         * math/s_ctanh.c: Likewise.
70016         * math/s_ctanhf.c: Likewise.
70017         * math/s_ctanhl.c: Likewise.
70018         * math/s_ctanl.c: Likewise.
70020         * math/math_private.h: Define __nan, __nanf, __nanl.
70021         * math/s_cacosh.c: Include <math_private.h>.
70022         * math/s_cacoshl.c: Likewise.
70023         * math/s_casinh.c: Likewise.
70024         * math/s_casinhf.c: Likewise.
70025         * math/s_casinhl.c: Likewise.
70026         * math/s_ccos.c: Rely entire on ccosh.
70027         * math/s_ccosf.c: Rely entire on ccoshf.
70028         * math/s_ccosl.c: Rely entirely on ccoshl.
70029         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70030         Remove tests for FE_INVALID.
70031         * math/s_ccoshf.c: Likewise.
70032         * math/s_ccoshl.c: Likewise.
70033         * math/s_csin.c: Likewise.
70034         * math/s_csinf.c: Likewise.
70035         * math/s_csinh.c Likewise.
70036         * math/s_csinhf.c: Likewise.
70037         * math/s_csinhl.c: Likewise.
70038         * math/s_csinl.c: Likewise.
70039         * math/s_ctan.c: Likewise.
70040         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70041         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70042         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70044 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70047         compilation problems.
70049         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70050         __builtin_expect.
70052 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70054         * sysdeps/i386/configure.in: Test for -mfma4 option.
70055         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70056         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70057         COMMON_CPUID_INDEX_80000001.
70058         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70059         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70060         use it if FMA3 is not supported.
70061         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70063         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70064         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70066 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70068         [BZ #12892]
70069         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70070         it would create a cycle with a link time dependency.
70072 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70074         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70075         instruction.
70076         * string/Makefile (strop-tests): Add rawmemchr.
70077         * string/test-rawmemchr.c: New file.
70079         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70080         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70081         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70082         when compiling str{,n}casecmp and when AVX is available.  Hook up
70083         new optimized code in initializers.
70085 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70087         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70088         __feraiseexcept instead of feraiseexcept.
70090 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70092         * math/math_private.h: Define defaults for libc_fetestexcept and
70093         libc_feupdateenv.
70094         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70095         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70096         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70097         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70098         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70099         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70100         libc_fetestexcept and libc_feupdateenv.
70102         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70103         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70104         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70105         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70106         libc_feholdexcept_setround.
70108         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70109         Add s_nearbyint-c and s_nearbyintf-c.
70110         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70111         nearbyintf inlines.
70112         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70113         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70114         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70115         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70117         * math/math_private.h: Define defaults for libc_fegetround,
70118         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70119         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70120         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70121         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70122         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70123         standard functions.
70124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70125         Remove comments and hacks for old compiler versions.
70126         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70127         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70128         libc_feholdexceptl.
70130 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70132         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70133         (__feraiseexcept_renamed): Add __NTH.
70134         (feraiseexcept): Add __NTH.  Rename local variables to fix
70135         namespace violations.
70137 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70139         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70141         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70143         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70144         recently added interfaces.
70145         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70147         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70148         about macro parameter expansion.
70150         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70151         __NO_MATH_INLINES is defined.  Cleanups.
70153         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70154         and __floorf is target has SSE4.1.
70155         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70156         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70157         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70158         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70160         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70161         name.
70162         (floorf): Likewise.
70164         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70166 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70168         * misc/sys/cdefs.h: Fix last change.
70170         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70171         database lookup.
70173 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70175         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70177         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70178         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70179         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70180         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70181         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70182         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70183         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70184         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70185         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70186         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70187         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70188         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70189         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70190         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70191         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70192         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70193         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70194         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70195         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70196         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70197         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70198         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70200         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70201         ceil, ceilf, floor, floorf.
70203         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70204         Perform IRELATIVE relocations last.
70206         * elf/do-rel.h: Add another parameter nrelative, replacing the
70207         local variable with the same name.  Change name of the function
70208         to end in Rel or Rela (uppercase).
70209         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70210         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70211         elf_dynamic_do_##reloc function.
70213 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70215         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70216         is sufficient, at least on modern CPUs.
70218         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70220         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70221         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70223         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70224         __expl_finite.
70225         * math/bits/math-finite.h: Add entries for exp.
70226         * math/e_expl.c: Add __*_finite alias.
70227         * sysdeps/i386/fpu/e_exp.S: Likewise.
70228         * sysdeps/i386/fpu/e_expf.S: Likewise.
70229         * sysdeps/i386/fpu/e_expl.c: Likewise.
70230         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70231         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70232         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70234         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70235         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70236         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70238         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70239         is sufficient, at least on modern CPUs.
70241         * ctype/ctype-info.c (__ctype_init): Define.
70242         * include/ctype.h (__ctype_init): Declare.
70243         (__ctype_b_loc): The variable is always initialized.
70244         (__ctype_toupper_loc): Likewise.
70245         (__ctype_tolower_loc): Likewise.
70246         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70247         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70249 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70251         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70253         * configure.in: Also look in $cxxmachine/include for C++ system
70254         headers.
70256 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70258         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70259         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70260         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70261         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70262         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70263         (USE_AS_WMEMCMP): New macro.
70264         Fixing indents.
70265         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70266         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70267         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70268         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70269         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70270         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70271         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70272         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70273         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70274         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70275         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70276         (USE_AS_WMEMCMP): New macro.
70277         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70278         * sysdeps/string/test-memcmp.c: Update.
70279         Fix simple_wmemcmp.
70280         Add new tests.
70281         * wcsmbs/wmemcmp.c: Update.
70282         (WMEMCMP): New macro.
70283         Fix overflow bug.
70285 2011-10-12  Andreas Jaeger  <aj@suse.de>
70287         [BZ #13268]
70288         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70290 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70292         * libio/iofwide.c (do_length): Avoid warning.
70294         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70296 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70298         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70300         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70301         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70302         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70303         * sysdeps/i386/i686/fpu/e_log.S: New file.
70304         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70305         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70307         * ctype/ctype.h: Add support for inlined isXXX functions when
70308         compiling C++ code.
70310 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70312         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70314         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70316 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70318         [BZ #13291]
70319         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70321 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70323         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70324         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70325         feraiseexcept.
70327         * sysdeps/x86_64/memrchr.S: Check for zero size.
70329         * string/stratcliff.c: Add memrchr tests.
70331 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70334         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70335         rawmemchr-sse2 rawmemchr-sse2-bsf.
70336         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70337         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70338         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70339         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70340         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70341         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70342         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70343         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70344         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70345         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70346         * string/memrchr.c (MEMRCHR): New macro.
70348 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70350         Add integration with gcc's -ffinite-math-only and optimize wrapper
70351         functions in libm.
70352         * Versions.def: Define GLIBC_2.15 version for libm.
70353         * math/Makefile (headers): Add bits/math-finite.h.
70354         * math/bits/math-finite.h: New file.
70355         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70356         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70357         * math/e_acoshl.c: Add __*_finite alias.
70358         * math/e_acosl.c: Likewise.
70359         * math/e_asinl.c: Likewise.
70360         * math/e_atan2l.c: Likewise.
70361         * math/e_atanhl.c: Likewise.
70362         * math/e_coshl.c: Likewise.
70363         * math/e_exp10.c: Likewise.
70364         * math/e_exp10f.c: Likewise.
70365         * math/e_exp10l.c: Likewise.
70366         * math/e_exp2l.c: Likewise.
70367         * math/e_fmodl.c: Likewise.
70368         * math/e_gammal_r.c: Likewise.
70369         * math/e_hypotl.c: Likewise.
70370         * math/e_j0l.c: Likewise.
70371         * math/e_j1l.c: Likewise.
70372         * math/e_jnl.c: Likewise.
70373         * math/e_lgammal_r.c: Likewise.
70374         * math/e_log10l.c: Likewise.
70375         * math/e_log2l.c: Likewise.
70376         * math/e_logl.c: Likewise.
70377         * math/e_powl.c: Likewise.
70378         * math/e_sinhl.c: Likewise.
70379         * math/e_sqrtl.c: Likewise.
70380         * math/e_scalb.c: Completely rewritten and optimized.
70381         * math/e_scalbf.c: Likewise.
70382         * math/e_scalbl.c: Likewise.
70383         * math/w_acos.c: Likewise.
70384         * math/w_acosf.c: Likewise.
70385         * math/w_acosl.c: Likewise.
70386         * math/w_acosh.c: Likewise.
70387         * math/w_acoshf.c: Likewise.
70388         * math/w_acoshl.c: Likewise.
70389         * math/w_asin.c: Likewise.
70390         * math/w_asinf.c: Likewise.
70391         * math/w_asinl.c: Likewise.
70392         * math/w_atan2.c: Likewise.
70393         * math/w_atan2f.c: Likewise.
70394         * math/w_atan2l.c: Likewise.
70395         * math/w_atanh.c: Likewise.
70396         * math/w_atanhf.c: Likewise.
70397         * math/w_atanhl.c: Likewise.
70398         * math/w_exp10.c: Likewise.
70399         * math/w_exp10f.c: Likewise.
70400         * math/w_exp10l.c: Likewise.
70401         * math/w_fmod.c: Likewise.
70402         * math/w_fmodf.c: Likewise.
70403         * math/w_fmodl.c: Likewise.
70404         * math/w_j0.c: Likewise.
70405         * math/w_j0f.c: Likewise.
70406         * math/w_j0l.c: Likewise.
70407         * math/w_j1.c: Likewise.
70408         * math/w_j1f.c: Likewise.
70409         * math/w_j1l.c: Likewise.
70410         * math/w_jn.c: Likewise.
70411         * math/w_jnf.c: Likewise.
70412         * math/w_log.c: Likewise.
70413         * math/w_logf.c: Likewise.
70414         * math/w_logl.c: Likewise.
70415         * math/w_log10.c: Likewise.
70416         * math/w_log10f.c: Likewise.
70417         * math/w_log10l.c: Likewise.
70418         * math/w_log2.c: Likewise.
70419         * math/w_log2f.c: Likewise.
70420         * math/w_log2l.c: Likewise.
70421         * math/w_pow.c: Likewise.
70422         * math/w_powf.c: Likewise.
70423         * math/w_powl.c: Likewise.
70424         * math/w_remainder.c: Likewise.
70425         * math/w_remainderf.c: Likewise.
70426         * math/w_remainderl.c: Likewise.
70427         * math/w_scalb.c: Likewise.
70428         * math/w_scalbf.c: Likewise.
70429         * math/w_scalbl.c: Likewise.
70430         * math/w_sqrt.c: Likewise.
70431         * math/w_sqrtf.c: Likewise.
70432         * math/w_sqrtl.c: Likewise.
70433         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70434         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70435         used.
70436         * math/math_private.h: Declare __kernel_standard_f.
70437         * math/w_cosh.c: Remove cruft and optimize a bit.
70438         * math/w_coshf.c: Likewise.
70439         * math/w_coshl.c: Likewise.
70440         * math/w_exp2.c: Likewise.
70441         * math/w_exp2f.c: Likewise.
70442         * math/w_exp2l.c: Likewise.
70443         * math/w_hypot.c: Likewise.
70444         * math/w_hypotf.c: Likewise.
70445         * math/w_hypotl.c: Likewise.
70446         * math/w_lgamma.c: Likewise.
70447         * math/w_lgamma_r.c: Likewise.
70448         * math/w_lgammaf.c: Likewise.
70449         * math/w_lgammaf_r.c: Likewise.
70450         * math/w_lgammal.c: Likewise.
70451         * math/w_lgammal_r.c: Likewise.
70452         * math/w_sinh.c: Likewise.
70453         * math/w_sinhf.c: Likewise.
70454         * math/w_sinhl.c: Likewise.
70455         * math/w_tgamma.c: Likewise.
70456         * math/w_tgammaf.c: Likewise.
70457         * math/w_tgammal.c: Likewise.
70458         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70459         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70460         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70461         Minor optimizations.  Pretty printing.  Remove cruft.
70462         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70463         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70464         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70465         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70466         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70467         * sysdeps/i386/fpu/e_asin.S: Likewise.
70468         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70469         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70470         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70471         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70472         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70473         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70474         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70475         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70476         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70477         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70478         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70479         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70480         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70481         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70482         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70483         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70484         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70485         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70486         * sysdeps/i386/fpu/e_log.S: Likewise.
70487         * sysdeps/i386/fpu/e_log10.S: Likewise.
70488         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70489         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70490         * sysdeps/i386/fpu/e_log2.S: Likewise.
70491         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70492         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70493         * sysdeps/i386/fpu/e_logf.S: Likewise.
70494         * sysdeps/i386/fpu/e_logl.S: Likewise.
70495         * sysdeps/i386/fpu/e_pow.S: Likewise.
70496         * sysdeps/i386/fpu/e_powf.S: Likewise.
70497         * sysdeps/i386/fpu/e_powl.S: Likewise.
70498         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70499         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70500         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70501         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70502         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70503         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70504         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70505         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70506         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70522         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70524         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70525         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70527         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70528         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70529         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70530         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70531         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70532         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70534         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70535         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70536         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70537         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70538         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70540         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70541         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70542         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70543         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70544         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70545         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70546         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70547         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70548         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70586         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70587         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70589         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70590         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70592         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70593         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70595         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70598         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70599         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70600         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70601         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70602         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70603         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70604         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70605         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70606         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70607         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70608         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70609         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70610         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70611         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70613         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70614         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70615         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70616         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70617         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70618         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70619         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70620         (__isnanf): Likewise.
70621         (__isinf_ns): Likewise.
70622         (__isinf_nsf): Likewise.
70623         (__finite): Likewise.
70624         (__finitef): Likewise.
70625         (__ieee754_sqrt): Define as macro.
70626         (__ieee754_sqrtf): Define as macro.
70627         (__ieee754_sqrtl): Define as macro.
70628         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70629         inlined copy.
70630         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70631         __FINITE_MATH_ONLY__ consistent.
70632         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70634 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70636         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70637         of rawmemchr.
70639         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70641 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70643         * po/ja.po: Update from translation team.
70645 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70647         * locale/programs/locarchive.c (prepare_address_space): New function.
70648         (create_archive, enlarge_archive, open_archive): Use it.
70650         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70651         inside [SHARED], where it is used.
70653         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70655         * nss/getent.c (netgroup_keys): Remove unused variable.
70656         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70658 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70660         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70661         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70663         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70664         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70665         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70666         * math/Makefile (libm-calls): Add s_isinf_ns.
70667         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70668         * math/multc3.c: Likewise.
70669         * math/s_casin.c: Likewise.
70670         * math/s_casinf.c: Likewise.
70671         * math/s_casinl.c: Likewise.
70672         * math/s_ccos.c: Likewise.
70673         * math/s_ccosf.c: Likewise.
70674         * math/s_ccosl.c: Likewise.
70675         * math/s_ctan.c: Likewise.
70676         * math/s_ctanf.c: Likewise.
70677         * math/s_ctanh.c: Likewise.
70678         * math/s_ctanhf.c: Likewise.
70679         * math/s_ctanhl.c: Likewise.
70680         * math/s_ctanl.c: Likewise.
70681         * math/w_fmod.c: Likewise.
70682         * math/w_fmodf.c: Likewise.
70683         * math/w_fmodl.c: Likewise.
70684         * math/w_remainder.c: Likewise.
70685         * math/w_remainderf.c: Likewise.
70686         * math/w_remainderl.c: Likewise.
70687         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70688         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70689         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70690         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70691         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70692         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70693         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70694         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70696         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70697         of the number.
70698         * stdio-common/printf_fphex.c: Likewise.
70699         * stdio-common/printf_size.c: Likewise.
70701         * math/e_exp10.c: Include math_private.h using <...> not "...".
70702         * math/e_exp10f.c: Likewise.
70703         * math/e_exp10l.c: Likewise.
70704         * math/e_exp2l.c: Likewise.
70705         * math/e_j0l.c: Likewise.
70706         * math/e_j1l.c: Likewise.
70707         * math/e_jnl.c: Likewise.
70708         * math/e_lgammal_r.c: Likewise.
70709         * math/e_rem_pio2l.c: Likewise.
70710         * math/e_scalb.c: Likewise.
70711         * math/e_scalbf.c: Likewise.
70712         * math/e_scalbl.c: Likewise.
70713         * math/k_cosl.c: Likewise.
70714         * math/k_sinl.c: Likewise.
70715         * math/k_tanl.c: Likewise.
70716         * math/s_cacoshf.c: Likewise.
70717         * math/s_catan.c: Likewise.
70718         * math/s_catanf.c: Likewise.
70719         * math/s_catanh.c: Likewise.
70720         * math/s_catanhf.c: Likewise.
70721         * math/s_catanhl.c: Likewise.
70722         * math/s_catanl.c: Likewise.
70723         * math/s_ccosh.c: Likewise.
70724         * math/s_ccoshf.c: Likewise.
70725         * math/s_ccoshl.c: Likewise.
70726         * math/s_cexp.c: Likewise.
70727         * math/s_cexpf.c: Likewise.
70728         * math/s_cexpl.c: Likewise.
70729         * math/s_clog.c: Likewise.
70730         * math/s_clog10.c: Likewise.
70731         * math/s_clog10f.c: Likewise.
70732         * math/s_clog10l.c: Likewise.
70733         * math/s_clogf.c: Likewise.
70734         * math/s_clogl.c: Likewise.
70735         * math/s_csin.c: Likewise.
70736         * math/s_csinf.c: Likewise.
70737         * math/s_csinh.c: Likewise.
70738         * math/s_csinhf.c: Likewise.
70739         * math/s_csinhl.c: Likewise.
70740         * math/s_csinl.c: Likewise.
70741         * math/s_csqrt.c: Likewise.
70742         * math/s_csqrtf.c: Likewise.
70743         * math/s_csqrtl.c: Likewise.
70744         * math/s_ctan.c: Likewise.
70745         * math/s_ctanf.c: Likewise.
70746         * math/s_ctanh.c: Likewise.
70747         * math/s_ctanhf.c: Likewise.
70748         * math/s_ctanhl.c: Likewise.
70749         * math/s_ctanl.c: Likewise.
70750         * math/s_ldexp.c: Likewise.
70751         * math/s_ldexpf.c: Likewise.
70752         * math/s_ldexpl.c: Likewise.
70753         * math/s_significand.c: Likewise.
70754         * math/s_significandf.c: Likewise.
70755         * math/s_significandl.c: Likewise.
70756         * math/w_acos.c: Likewise.
70757         * math/w_acosf.c: Likewise.
70758         * math/w_acosh.c: Likewise.
70759         * math/w_acoshf.c: Likewise.
70760         * math/w_acoshl.c: Likewise.
70761         * math/w_acosl.c: Likewise.
70762         * math/w_asin.c: Likewise.
70763         * math/w_asinf.c: Likewise.
70764         * math/w_asinl.c: Likewise.
70765         * math/w_atan2.c: Likewise.
70766         * math/w_atan2f.c: Likewise.
70767         * math/w_atan2l.c: Likewise.
70768         * math/w_atanh.c: Likewise.
70769         * math/w_atanhf.c: Likewise.
70770         * math/w_atanhl.c: Likewise.
70771         * math/w_cosh.c: Likewise.
70772         * math/w_coshf.c: Likewise.
70773         * math/w_coshl.c: Likewise.
70774         * math/w_dremf.c: Likewise.
70775         * math/w_exp10.c: Likewise.
70776         * math/w_exp10f.c: Likewise.
70777         * math/w_exp10l.c: Likewise.
70778         * math/w_exp2.c: Likewise.
70779         * math/w_exp2f.c: Likewise.
70780         * math/w_fmod.c: Likewise.
70781         * math/w_fmodf.c: Likewise.
70782         * math/w_fmodl.c: Likewise.
70783         * math/w_hypot.c: Likewise.
70784         * math/w_hypotf.c: Likewise.
70785         * math/w_hypotl.c: Likewise.
70786         * math/w_j0.c: Likewise.
70787         * math/w_j0f.c: Likewise.
70788         * math/w_j0l.c: Likewise.
70789         * math/w_j1.c: Likewise.
70790         * math/w_j1f.c: Likewise.
70791         * math/w_j1l.c: Likewise.
70792         * math/w_jn.c: Likewise.
70793         * math/w_jnf.c: Likewise.
70794         * math/w_jnl.c: Likewise.
70795         * math/w_lgamma.c: Likewise.
70796         * math/w_lgamma_r.c: Likewise.
70797         * math/w_lgammaf.c: Likewise.
70798         * math/w_lgammaf_r.c: Likewise.
70799         * math/w_lgammal.c: Likewise.
70800         * math/w_lgammal_r.c: Likewise.
70801         * math/w_log.c: Likewise.
70802         * math/w_log10.c: Likewise.
70803         * math/w_log10f.c: Likewise.
70804         * math/w_log10l.c: Likewise.
70805         * math/w_log2.c: Likewise.
70806         * math/w_log2f.c: Likewise.
70807         * math/w_log2l.c: Likewise.
70808         * math/w_logf.c: Likewise.
70809         * math/w_logl.c: Likewise.
70810         * math/w_pow.c: Likewise.
70811         * math/w_powf.c: Likewise.
70812         * math/w_powl.c: Likewise.
70813         * math/w_remainder.c: Likewise.
70814         * math/w_remainderf.c: Likewise.
70815         * math/w_remainderl.c: Likewise.
70816         * math/w_scalb.c: Likewise.
70817         * math/w_scalbf.c: Likewise.
70818         * math/w_scalbl.c: Likewise.
70819         * math/w_sinh.c: Likewise.
70820         * math/w_sinhf.c: Likewise.
70821         * math/w_sinhl.c: Likewise.
70822         * math/w_sqrt.c: Likewise.
70823         * math/w_sqrtf.c: Likewise.
70824         * math/w_sqrtl.c: Likewise.
70825         * math/w_tgamma.c: Likewise.
70826         * math/w_tgammaf.c: Likewise.
70827         * math/w_tgammal.c: Likewise.
70829         * po/ja.po: Update from translation team.
70831 2011-09-29  Andreas Jaeger  <aj@suse.de>
70833         [BZ #13179]
70834         * sunrpc/netname.c (netname2host): Fix logic.
70836         [BZ #6779]
70837         [BZ #6783]
70838         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70839         correctly.
70840         * math/w_remainder.c (__remainder): Likewise.
70841         * math/w_remainderf.c (__remainderf): Likewise.
70842         * math/libm-test.inc (remainder_test): Add test cases.
70844 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70846         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70847         sdiv_qrnnd.
70849 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70851         * string/test-memcmp.c: Avoid unncessary #defines.
70852         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70854 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70856         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70857         Use new sse2 version for core i3 - i7 as it's faster
70858         than sse42 version.
70859         (bit_Prefer_PMINUB_for_stringop): New.
70860         * sysdeps/x86_64/rawmemchr.S: Update.
70861         Replace with faster SSE2 version.
70862         * sysdeps/x86_64/memrchr.S: New file.
70863         * sysdeps/x86_64/memchr.S: Update.
70864         Replace with faster SSE2 version.
70866 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70868         * elf/dl-load.c (lose): Add cast to avoid warning.
70870 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70872         * po/ca.po: Update from translation team.
70874         * inet/getnetgrent_r.c: Hook up nscd.
70875         * nscd/Makefile (routines): Add nscd_netgroup.
70876         (nscd-modules): Add netgroupcache.
70877         (CFLAGS-netgroupcache.c): Define.
70878         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70879         (cache_search): Add const to second parameter.
70880         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70881         INNETGR.
70882         (dbs): Add netgrdb entry.
70883         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70884         (verify_persistent_db): Handle netgrdb.
70885         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70886         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70887         GETFDNETGR.
70888         (netgroup_response_header): Define.
70889         (innetgroup_response_header): Define.
70890         (datahead): Add netgroup_response_header and innetgroup_response_header
70891         elements.
70892         * nscd/nscd.conf: Add entries for netgroup cache.
70893         * nscd/nscd.h (dbtype): Add netgrdb.
70894         (_PATH_NSCD_NETGROUP_DB): Define.
70895         (netgroup_iov_disabled): Declare.
70896         (xmalloc, xcalloc, xrealloc): Move declarations here.
70897         (cache_search): Adjust prototype.
70898         Add netgroup-related prototypes.
70899         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70900         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70901         (__nscd_innetgr): Declare.
70902         * nscd/selinux.c (perms): Use access_vector_t as element type and
70903         add netgroup-related initializers.
70904         * nscd/netgroupcache.c: New file.
70905         * nscd/nscd_netgroup.c: New file.
70906         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70907         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70908         For four parameters use innetgr.
70909         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70910         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70911         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70912         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70914         * nscd/connections.c (register_traced_file): Don't register file
70915         for disabled databases.
70917 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70919         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70921         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70922         from tree and freeing node.
70924 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70926         * nss/nsswitch.c (__nss_database_lookup): Handle
70927         nss_parse_service_list out of memory case.
70929 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70931         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70932         out of memory case.
70934 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70936         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70937         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70938         pass it down.
70939         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70940         elf_machine_rela, elf_machine_lazy_rel.
70941         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70942         (ELF_DYNAMIC_DO_REL): Likewise.
70943         (ELF_DYNAMIC_DO_RELA): Likewise.
70944         (ELF_DYNAMIC_RELOCATE): Likewise.
70945         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70946         to ELF_DYNAMIC_DO_REL.
70947         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70948         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70949         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70950         elf_machine_rela.
70951         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70952         skip_ifunc, don't call ifunc function if non-zero.
70953         (elf_machine_rela): Likewise.
70954         (elf_machine_lazy_rel): Likewise.
70955         (elf_machine_lazy_rela): Likewise.
70956         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70957         (elf_machine_lazy_rel): Likewise.
70958         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70959         Likewise.
70960         (elf_machine_lazy_rel): Likewise.
70961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70962         Likewise.
70963         (elf_machine_lazy_rel): Likewise.
70964         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70965         (elf_machine_lazy_rel): Likewise.
70966         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70967         (elf_machine_lazy_rel): Likewise.
70968         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70969         (elf_machine_lazy_rel): Likewise.
70970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70971         (elf_machine_lazy_rel): Likewise.
70972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70973         (elf_machine_lazy_rel): Likewise.
70974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70975         (elf_machine_lazy_rel): Likewise.
70977 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70979         * nss/nss_files/files-init.c (_nss_files_init): Use static
70980         initialization for all the *_traced_file variables.
70982 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70984         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70986 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70988         [BZ #13226]
70989         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70991 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70993         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70994         Reread the line before reparsing it.
70996 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70998         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71000 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71001             Maxim Kuvyrkov  <maxim@codesourcery.com>
71002             Joseph Myers  <joseph@codesourcery.com>
71004         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71005         if needed for __stack_chk_guard.
71007 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71009         * sysdeps/posix/spawni.c (script_execute): Always define it.
71010         It will be optimized away if unused.
71011         (maybe_script_execute): New function.
71012         (__spawni): Call it.
71014         * Makerules: Don't include tls.make.
71015         (config-tls): Always set to thread.
71016         * tls.make.c: File removed.
71018 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71020         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71021         * config.make.in (CPPFLAGS-config): New substituted variable.
71023 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71025         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71027         [BZ #13192]
71028         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71029         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71031 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71033         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71034         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71035         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71036         (CALL_FAIL): Likewise.
71037         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71038         (CALL_FAIL): Macro removed.
71039         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71041 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71043         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71044         for __FINITE_MATH_ONLY__ == 1.
71046 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71048         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71049         __ieee754_sqrt instead of sqrt.
71050         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71051         __ieee754_sqrtf instead of sqrtf.
71052         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71053         __floorf instead of floorf.
71054         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71055         __floorf, __truncf instead of floorf, truncf.
71057 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71059         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71061         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71062         __extern_always_inline.
71063         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71064         32-bit.
71066 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71068         * elf/rtld.c (dl_main): Also relocate in dependency order when
71069         doing symbol dependency testing.
71071 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71074         Always define `refsym'.
71076 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71078         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71079         (__FD_ELT): Renamed from __FDELT.
71080         * misc/bits/select2.h (__FD_ELT): Likewise.
71081         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71082         __FD_MASK instead of __FDELT, __FDMASK.
71083         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71084         Likewise.
71085         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71086         Likewise.
71088         * elf/Makefile (gen-ldd): Fix pattern.
71090         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71091         (init_tls): Likewise.
71093 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71095         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71097 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71099         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71100         `struct cmsghdr *' instead of `void *'.
71101         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71102         Likewise.
71104 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71106         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71107         if non-absolute.
71108         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71109         ldd_rewrite_script.
71111 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71113         * configure.in: Remove --with-tls option.
71114         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71115         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71116         out in case it is missing.
71117         * sysdeps/ia64/elf/configure.in: Likewise.
71118         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71119         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71120         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71121         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71122         * sysdeps/sh/elf/configure.in: Likewise.
71123         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71124         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71125         * sysdeps/x86_64/elf/configure.in: Likewise.
71126         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71127         * sysdeps/mach/hurd/tls.h: Likewise.
71129         [BZ #13067]
71130         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71132         [BZ #13090]
71133         * configure.in: Fix use of AC_INIT.
71135         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71137 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71139         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71140         __set_errno.
71141         * malloc/hooks.c: Likewise.
71143         [BZ #11929]
71144         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71145         variables statically.
71146         (narenas): Initialize.
71147         (list_lock): Initialize.
71148         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71149         initializtion of main_arena and list_lock.  Small cleanups.
71150         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71151         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71152         Add initializers to main_arena and mp_.
71153         (malloc_state): Remove pagesize member.  Change all users to use
71154         GLRO(dl_pagesize).
71156         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71157         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71158         is always initialized.
71160         * malloc/malloc.c: Removed unused configurations and dead code.
71161         * malloc/arena.c: Likewise.
71162         * malloc/hooks.c: Likewise.
71163         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71165         * include/tls.h: Removed.  USE___THREAD must always be defined.
71166         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71167         * elf/dl-libc.c: Likewise.
71168         * elf/dl-tsd.c: Likewise.
71169         * include/errno.h: Likewise.
71170         * include/netdb.h: Likewise.
71171         * include/resolv.h: Likewise.
71172         * inet/herrno-loc.c: Likewise.
71173         * inet/herrno.c: Likewise.
71174         * malloc/arena.c: Likewise.
71175         * malloc/hooks.c: Likewise.
71176         * malloc/malloc.c: Likewise.
71177         * resolv/res-state.c: Likewise.
71178         * resolv/res_libc.c: Likewise.
71179         * sysdeps/i386/dl-machine.h: Likewise.
71180         * sysdeps/ia64/dl-machine.h: Likewise.
71181         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71182         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71183         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71184         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71185         * sysdeps/sh/dl-machine.h: Likewise.
71186         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71187         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71188         * sysdeps/unix/i386/sysdep.S: Likewise.
71189         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71190         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71192         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71193         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71194         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71195         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71199         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71200         * sysdeps/x86_64/dl-machine.h: Likewise.
71201         * tls.make.c: Likewise.
71203         * configure.in: Remove --with-__thread option.  Make tests for
71204         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71205         tls_model attribute fail if no support is available.  Remove
71206         USE_IN_LIBIO.
71207         * Makeconfig: Adjust for dropped configure option.  All features are
71208         now mandatory.
71209         * Makerules: Likewise.
71210         * Versions.def: Likewise.
71211         * argp/argp-fmtstream.c: Likewise.
71212         * argp/argp-fmtstream.h: Likewise.
71213         * argp/argp-help.c: Likewise.
71214         * assert/assert.c: Likewise.
71215         * config.h.in: Likewise.
71216         * config.make.in: Likewise.
71217         * configure: Likewise.
71218         * configure.in: Likewise.
71219         * csu/Versions: Likewise.
71220         * csu/init.c: Likewise.
71221         * elf/tst-audit2.c: Likewise.
71222         * elf/tst-tls10.c: Likewise.
71223         * elf/tst-tls10.h: Likewise.
71224         * elf/tst-tls11.c: Likewise.
71225         * elf/tst-tls12.c: Likewise.
71226         * elf/tst-tls14.c: Likewise.
71227         * elf/tst-tlsmod11.c: Likewise.
71228         * elf/tst-tlsmod12.c: Likewise.
71229         * elf/tst-tlsmod13.c: Likewise.
71230         * elf/tst-tlsmod13a.c: Likewise.
71231         * elf/tst-tlsmod14a.c: Likewise.
71232         * elf/tst-tlsmod15b.c: Likewise.
71233         * elf/tst-tlsmod16a.c: Likewise.
71234         * elf/tst-tlsmod16b.c: Likewise.
71235         * elf/tst-tlsmod7.c: Likewise.
71236         * elf/tst-tlsmod8.c: Likewise.
71237         * elf/tst-tlsmod9.c: Likewise.
71238         * gmon/gmon.c: Likewise.
71239         * grp/fgetgrent_r.c: Likewise.
71240         * grp/putgrent.c: Likewise.
71241         * hurd/fopenport.c: Likewise.
71242         * include/libc-symbols.h: Likewise.
71243         * include/tls.h: Likewise.
71244         * intl/gettextP.h: Likewise.
71245         * intl/loadinfo.h: Likewise.
71246         * locale/global-locale.c: Likewise.
71247         * locale/localeinfo.h: Likewise.
71248         * mach/devstream.c: Likewise.
71249         * malloc/arena.c: Likewise.
71250         * malloc/set-freeres.c: Likewise.
71251         * misc/err.c: Likewise.
71252         * misc/getttyent.c: Likewise.
71253         * misc/mntent_r.c: Likewise.
71254         * posix/getopt.c: Likewise.
71255         * posix/wordexp.c: Likewise.
71256         * pwd/fgetpwent_r.c: Likewise.
71257         * resolv/Versions: Likewise.
71258         * resolv/res_hconf.c: Likewise.
71259         * shadow/fgetspent_r.c: Likewise.
71260         * shadow/putspent.c: Likewise.
71261         * stdio-common/printf_fphex.c: Likewise.
71262         * stdio-common/tmpfile.c: Likewise.
71263         * stdlib/abort.c: Likewise.
71264         * stdlib/fmtmsg.c: Likewise.
71265         * sunrpc/auth_unix.c: Likewise.
71266         * sunrpc/clnt_perr.c: Likewise.
71267         * sunrpc/clnt_tcp.c: Likewise.
71268         * sunrpc/clnt_udp.c: Likewise.
71269         * sunrpc/clnt_unix.c: Likewise.
71270         * sunrpc/openchild.c: Likewise.
71271         * sunrpc/svc_simple.c: Likewise.
71272         * sunrpc/svc_tcp.c: Likewise.
71273         * sunrpc/svc_udp.c: Likewise.
71274         * sunrpc/svc_unix.c: Likewise.
71275         * sunrpc/xdr.c: Likewise.
71276         * sunrpc/xdr_array.c: Likewise.
71277         * sunrpc/xdr_rec.c: Likewise.
71278         * sunrpc/xdr_ref.c: Likewise.
71279         * sunrpc/xdr_stdio.c: Likewise.
71281 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71283         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71285 2011-07-03  Andreas Jaeger  <aj@suse.de>
71287         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71288         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71289         regenerate with gen-libm-tests.pl.
71291 2010-05-12  Petr Baudis  <pasky@suse.cz>
71293         [BZ #11589]
71294         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71295         around j0() zero points by switching to j1().
71296         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71297         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71298         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71299         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71301 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71303         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71304         instead of 0.
71305         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71306         instead of 0.
71307         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71308         Patch in part by Pavel Roskin <proski@gnu.org>.
71310         [BZ #13138]
71311         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71312         realloc.
71313         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71314         Free memory block if necessary.
71316         [BZ #12847]
71317         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71318         be NULL.  Don't lock in this case.
71320 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71322         * elf/elf.h (ELFOSABI_GNU): New macro.
71323         (ELFOSABI_LINUX): Define to that.
71325 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71327         * string/strncat.c (strncat): Undef the symbol in case it has been
71328         defined in bits/string.h.
71330 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71332         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71334         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71335         link map.
71337 2011-08-17  Andreas Jaeger  <aj@suse.de>
71339         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71341 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71342             Ian Lance Taylor  <iant@google.com>
71344         * math/libm-test.inc (lround_test): New testcase.
71345         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71347 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71349         * Makefile: Remove support for automatic cvs check-ins.
71350         * Makerules: Likewise.
71351         * config.make.in: Likewise.
71352         * configure.in: Likewise.
71353         * intl/Makefile: Likewise.
71354         * locale/Makefile: Likewise.
71355         * po/Makefile: Likewise.
71356         * posix/Makefile: Likewise.
71357         * sysdeps/gnu/Makefile: Likewise.
71358         * sysdeps/mach/hurd/Makefile: Likewise.
71359         * sysdeps/sparc/sparc32/Makefile: Likewise.
71361         [BZ #13118]
71362         * posix/Makefile (bug-regex32-ENV): Define.
71363         Patch by John Stanley <jpsinthemix@verizon.net>.
71365         * misc/Makefile (headers): Add bits/select2.h.
71366         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71367         * misc/bits/select2.h: New file.
71368         * include/bits/select2.h: New file.
71369         * debug/Makefile (routines): Add fdelt_chk.
71370         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71371         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71372         FD_ISSET.
71373         * debug/fdelt_chk.c: New file.
71375         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71376         * wcsmbs/test-wmemcmp.c: Likewise.
71377         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71378         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71380 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71382         * string/Makefile (strop-tests): Add memcmp.
71383         * string/test-wmemcmp.c: New file.
71384         * string/test-memcmp.c: Add wmemcmp support.
71386 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71388         [BZ #13153]
71389         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71390         2011-07-19 change.
71392         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71393         garbage value in a __mach_port_mod_refs call in the cases of the
71394         task-self and thread-self ports.
71396 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71398         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71400 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71402         * elf/dl-load.c (lose): Check for non-null L.
71404 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71406         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71408         * elf/dl-libc.c (dlerror_run): Pass back error code from
71409         dl_catch_error.
71411         [BZ #13123]
71412         * elf/dl-load.c (lose): Free l_origin if it is valid.
71414         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71415         names.
71416         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71417         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71418         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71419         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71420         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71421         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71423 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71425         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71426         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71427         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71428         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71429         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71430         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71431         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71432         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71433         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71434         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71436 2011-08-15  Alan Modra  <amodra@gmail.com>
71438         [BZ #13092]
71439         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71440         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71441         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71442         ppc_mcount to static-only-routines.
71443         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71444         __mcount_internal.
71445         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71446         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71448 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71450         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71451         for finite and infinity parameters.
71453 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71455         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71456         and add nop instructions for throughput optimization.
71457         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71459 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71461         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71462         aligned copy for power7 with vector-scalar instructions.
71463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71465 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71468         AVX check.
71470 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71472         [BZ #13144]
71473         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71474         last change.
71476 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71478         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71479         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71480         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71481         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71482         clock_gettime.
71484 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71486         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71487         Forgot to demangle the pointer.
71489         * sysdeps/i386/sysdep.h: Define atom_text_section.
71490         * sysdeps/x86_64/sysdep.h: Likewise.
71491         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71492         section with atom_text_section.
71493         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71494         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71495         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71496         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71497         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71499         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71501         already be defined.  Change to take two parameters and don't assign
71502         result to variable.  Adjust all users.
71503         Define INTERNAL_GETTIME if not already defined.
71504         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71505         call.
71506         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71507         HAVE_CLOCK_GETTIME_VSYSCALL.
71508         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71511         gettimeofday vsyscall, just use time.
71513 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71515         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71516         <errno.h>.
71518 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71520         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71521         syscall on x86-64.
71522         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71523         syscall.
71524         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71525         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71526         syscall if possible.
71528 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71530         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71531         e_ident.  Don't pass to find_mapsXX.
71532         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71534 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71537         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71538         * sysdeps/x86_64/multiarch/strchr.S: Update.
71539         Check bit_slow_BSF bit.
71540         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71541         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71542         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71544 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71546         [BZ #13134]
71547         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71548         before glibc 2.15.
71549         (tryshell): Define.
71550         (__spawni): Change last parameter to be flag.  Test
71551         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71552         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71553         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71554         * posix/spawni.c: Likewise.
71555         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71556         * posix/spawnp.c: Likewise.  Change normal version to use
71557         SPAWN_XFLAGS_USE_PATH.
71558         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71559         SPAWN_XFLAGS_TRY_SHELL.
71561         [BZ #13150]
71562         * posix/glob.h: Remove gcc 1.x support.
71564         [BZ #13068]
71565         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71567 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71570         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71571         strrchr-sse2-bsf
71572         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71573         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71574         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71575         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71576         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71577         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71579 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71581         * sysdeps/x86_64/wcscmp.S: New file.
71583         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71584         wcscmp-c wcscmp-sse2
71585         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71586         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71587         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71588         * wcsmbs/wcscmp.c: Allow renaming.
71590 2011-09-05  David S. Miller  <davem@davemloft.net>
71592         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71593         stack slot, rather than the struct return pointer slot.
71594         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71595         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71597         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71599 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71601         * po/ja.po: Update from translation team.
71603         [BZ #13144]
71604         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71605         kernel in 64-bit binaries.
71607 2011-09-01  David S. Miller  <davem@davemloft.net>
71609         * elf/elf.h (HWCAP_SPARC_*): Move to..
71610         * sysdeps/sparc/sysdep.h: this new file and add new values.
71611         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71612         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71613         _DL_HWCAP_COUNT to 24.
71614         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71615         entries.
71616         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71617         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71618         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71620         instead of magic constants.
71621         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71623 2011-08-31  David S. Miller  <davem@davemloft.net>
71625         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71627         Reimplement to do errno handling inline.
71628         (SYSCALL_ERROR_HANDLER): New macro.
71629         (__SYSCALL_STRING): Do not do errno handling in asm.
71630         (__CLONE_SYSCALL_STRING): Delete.
71631         (__INTERNAL_SYSCALL_STRING): Delete.
71632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71633         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71634         (PSEUDO): Reimplement to do errno handling inline.
71635         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71636         (SYSCALL_ERROR_HANDLER): New macro.
71637         (__SYSCALL_STRING): Do not do errno handling in asm.
71638         (__CLONE_SYSCALL_STRING): Delete.
71639         (__INTERNAL_SYSCALL_STRING): Delete.
71640         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71641         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71642         i386.
71643         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71644         (inline_syscall*): Add 'err' argument.
71645         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71646         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71647         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71648         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71650         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71651         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71653 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71655         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71657 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71659         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71660         directive.
71662 2011-08-24  David S. Miller  <davem@davemloft.net>
71664         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71666 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71668         * elf/Makefile: Add rules to build and run unload8 test.
71669         * elf/unload8.c: New file.
71670         * elf/unload8mod1.c: New file.
71671         * elf/unload8mod1x.c: New file.
71672         * elf/unload8mod2.c: New file.
71673         * elf/unload8mod3.c: New file.
71675         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71676         it wasn't used.
71678 2011-08-23  David S. Miller  <davem@davemloft.net>
71680         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71681         subtract stack bias.
71682         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71683         %sp not %fp in calculations.
71684         (_JMPBUF_UNWINDS_ADJ): Likewise.
71686         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71687         (aio_suspend): Call it to force an exception region around the
71688         AIO_MISC_WAIT() invocation.
71690 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71692         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71693         backslash.
71695 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71697         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71698         protection macro.
71699         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71700         and <dl-machine.h>.
71701         (Elf64_FuncDesc): Remove.
71703 2011-08-22  David S. Miller  <davem@davemloft.net>
71705         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71706         sigaltstack check, add missing cfi directives.
71707         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71708         missing cfi directives, and sigaltstack handling.
71710 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71712         [BZ #11724]
71713         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71714         object is seen twice.
71715         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71717         * elf/Makefile (distribute): Add tst-initorder2.c.
71718         (tests): Add tst-initorder2.
71719         (modules-names): Add tst-initorder2a tst-initorder2b
71720         tst-initorder2c tst-initorder2d.  Add rules to build them.
71721         ($(objpfx)tst-initorder2.out): New rule.
71722         * elf/tst-initorder2.c: New file.
71723         * elf/tst-initorder2.exp: New file.
71725 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71727         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71729         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71730         dependencies back to end of function.
71732         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71733         $(elfobjdir)/ld.so.
71735 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71737         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71738         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71739         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71740         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71741         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71742         of __vdso_gettimeofday.
71743         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71744         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71745         attribute_hidden.
71746         (_libc_vdso_platform_setup): Remove initialization of
71747         __vdso_gettimeofday and __vdso_time.
71749 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71751         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71752         and fgetc_unlocked.
71753         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71754         getc_unlocked.
71756         * elf/dl-open.c (add_to_global): Report additions to the global scope
71757         for LD_DEBUG=scopes.
71758         (dl_open_worker): Also print scope of newly loaded dependencies.
71759         (_dl_show_scope): Indicate if there is no scope.
71761         [BZ #13114]
71762         * stdio-common/Makefile (tests): Add bug24.
71763         * stdio-common/bug24.c: New file.
71765 2011-08-19  Andreas Jaeger  <aj@suse.de>
71767         [BZ #13114]
71768         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71769         non-existant file when using close-on-exec mode.
71771 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71774         the very first instruction.
71776         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71777         the CFI state in the end.
71778         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71779         inclusion of dl-trampoline.h.
71780         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71782 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71784         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71785         expectations for long double.
71787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71788         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71790 2011-08-14  David S. Miller  <davem@davemloft.net>
71792         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71793         artificual limit depends upon the system page size.
71795 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71797         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71798         * resolv/Makefile: Define CFLAGS-libresolv.
71800 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71802         * nss/makedb.c (compute_tables): Make variables used in nested
71803         function static.
71805 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71807         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71808         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71809         if buffer was too small.
71811         * elf/pldd.c (main): Attach to all threads in the process.
71812         Rewrite /proc handling to use *at functions.
71814 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71816         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71817         specifies first scope to show.
71818         (dl_open_worker): Update callers.  Move printing scope of new
71819         object to before the relocation.
71820         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71821         * sysdeps/generic/ldsodefs.h: Update declaration.
71823         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71824         string for the scope number.
71826 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71828         * nscd/servicescache.c (cache_addserv): Make sure written is always
71829         initialized.
71831 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71833         * sysdeps/i386/i486/bits/atomic.h
71834         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71835         statement expression, so as to suppress "set but not used" warning.
71836         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71838         * string/strncat.c (STRNCAT): Use prototype definition.
71840         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71841         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71842         -Iprograms here.
71843         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71844         (localedef-modules): Add localedef.
71845         (locale-modules): Add locale.
71847         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71848         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71849         to avoid a warning.
71851 2011-08-14  David S. Miller  <davem@davemloft.net>
71853         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71854         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71856 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71858         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71859         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71860         * elf/rtld.c (dl_main): Set l_name of vDSO.
71861         Call _dl_show_scope when DL_DEBUG_SCOPES.
71862         (process_dl_debug): Recognize scopes flag and also set it for all.
71863         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71864         Declare _dl_show_scope.
71866         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71867         (do_dlopen): Pass caller_dlopen to dl_open.
71868         (__libc_dlopen_mode): Initialize caller_dlopen.
71870         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71871         of libc.  Make tolower call locale-independent.  Optimize a bit by
71872         using isdigit instead of isalnum.
71873         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71875 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71877         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71878         was a dependency or dynamically loaded.
71880 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71882         * intl/l10nflist.c: Allow architecture-specific pop function.
71883         * sysdeps/x86_64/l10nflist.c: New file.
71885         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71886         classification.
71888 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71890         * include/dirent.h: Add libc_hidden_proto for scandirat and
71891         scandirat64.  Don't declare __scandirat64.
71892         * dirent/scandirat.c: Add libc_hidden_def.
71893         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71894         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71896 2011-08-10  David S. Miller  <davem@davemloft.net>
71898         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71899         enum.
71900         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71901         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71902         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71904 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71906         * Versions.def [libc]: Add GLIBC_2.15.
71907         * dirent/Makefile (routines): Add scandirat and scandirat64.
71908         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71909         GLIBC_2.15.
71910         * dirent/dirent.h: Declare scandirat and scandirat64.
71911         * dirent/scandirat.c: New file.
71912         * dirent/scandirat64.c: New file.
71913         * sysdeps/wordsize-64/scandirat.c: New file.
71914         * sysdeps/wordsize-64/scandirat64.c: New file.
71915         * dirent/opendir.c: Define opendirat.
71916         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71917         using scandirat.
71918         * dirent/scandir64.c: Adjust for scandir.c change.
71919         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71920         __scandirat64, and __scandir_cancel_handler.
71921         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71922         additional parameter and use openat instead of open (outside of ld.so).
71923         Add new __opendir as wrapper around __opendirat.
71924         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71925         here without requiring old scandirat implementation.
71927 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71929         * dirent/scandir.c (cancel_handler): Renamed to
71930         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71931         defined.  Adjust users.
71932         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71933         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71935 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71937         * string/test-string.h (IMPL): Use __STRING to expand name and then
71938         stringify it.
71940         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71941         of cleanups.
71943 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71945         * string/Makefile: Update.
71946         (strop-tests): Append strncat.
71947         * string/test-wcscmp.c: New file.
71948         New comprehensive test for wcscmp.
71949         * string/test-strcmp.c: Update.
71950         (WIDE): New define.
71952 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71954         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71955         line.
71957 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71960         encoding to ACE if AI_IDN.
71962 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71965         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71967 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71969         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71970         Fix overflow bug in strncat.
71971         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71973         * string/test-strncat.c: Update.
71974         Add new tests for checking overflow bugs.
71976 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71979         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71980         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71981         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71982         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71983         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71984         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71985         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71986         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71989         (USE_AS_STRCAT): Define.
71990         Add strcat and strncat support.
71991         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71993 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71995         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71996         __n bigger than INT_MAX+1.
71997         (__strncmp_g): Likewise.
71999 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72001         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72002         * libio/stido.h: Likewise.
72004         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72005         (AF_NFC): Define.
72006         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72007         (AF_NFC): Define.
72009         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72010         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72011         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72012         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72015         [BZ #13021]
72016         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72017         installed.
72019         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72020         typo.
72021         (_dl_x86_64_save_sse): Likewise.
72023 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72025         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72026         OSXSAVE.
72027         (_dl_x86_64_save_sse): Likewise.
72029         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72031         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72033 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72035         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72036         change.
72037         (_dl_x86_64_save_sse): Use correct AVX check.
72039 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72041         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72042         bug in strncpy/strncat.
72043         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72045 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72047         * string/tester.c (test_strcat): Add tests for different alignments
72048         of source and destination.
72049         (test_strncat): Likewise.
72051 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72053         [BZ #12852]
72054         * posix/glob.c (glob): Check passed in values before using them in
72055         expressions to avoid some overflows.
72056         (glob_in_dir): Likewise.
72058         [BZ #13007]
72059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72060         check for AVX enablement so that we don't crash with old kernels and
72061         new hardware.
72062         * elf/tst-audit4.c: Add same checks here.
72063         * elf/tst-audit6.c: Likewise.
72065         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72067 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72069         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72071 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72073         * po/cs.po: Update from translation team.
72074         * po/bg.po: Likewise.
72076 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72078         * misc/sys/cdefs.h: Add support for const attribute.
72079         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72080         to gnu_dev_{major,minor,makedev} functions.
72082 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72084         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72086 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72088         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72089         strlen results.
72091 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72094         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72095         register in order to avoid conflicts with the soft frame pointer
72096         being held in r11 when necessary.
72097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72098         (INTERNAL_VSYSCALL_NCS): Likewise.
72100 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72102         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72103         * elf/dl-fini.c (_dl_fini): Adjust caller.
72104         * elf/dl-close.c (_dl_close_worker): Likewise.
72105         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72107 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72109         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72110         "aux_cache->nlibs < 0".
72112         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72113         in the reload-count case.
72115 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72118         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72119         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72120         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72121         * sysdeps/x86_64/multiarch/strcat.S: New file.
72122         * sysdeps/x86_64/multiarch/strncat.S: New file.
72123         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72124         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72125         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72126         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72127         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72128         (USE_AS_STRCAT): Define.
72129         Add strcat and strncat support.
72130         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72132         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72133         * string/strncat.c: Update.
72134         (USE_AS_STRNCAT): Define.
72135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72136         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72137         and i7.
72138         * sysdeps/x86_64/multiarch/init-arch.h
72139         (bit_Prefer_PMINUB_for_stringop): New.
72140         (index_Prefer_PMINUB_for_stringop): Likewise.
72141         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72142         bit_Prefer_PMINUB_for_stringop.
72144 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72146         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72147         buffer64.
72148         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72149         of casting of buffer.
72150         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72151         buffer32 and buffer64.
72152         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72153         writes instead of casting of buffer.
72154         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72155         buffer32.
72156         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72157         casting of buffer.
72159 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72161         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72163 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72165         * nscd/nscd.c (termination_handler): Don't do anything for a database
72166         if it has not yet been initialized.
72168 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72170         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72172 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72174         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72176 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72178         * po/nl.po: Update from translation team.
72179         * po/sv.po: Likewise.
72181 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72183         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72184         now disallowed by GCC.
72186         * configure.in (use-default-link): Default to yes if a test -shared
72187         link meets our qualifications.
72188         * configure: Regenerated.
72190         * config.make.in (output-format): New variable.
72191         * configure.in: Check for ld --print-output-format support.
72192         * configure: Regenerated.
72193         * Makerules ($(common-objpfx)format.lds)
72194         [$(output-format) != unknown]: Just use $(output-format),
72195         instead of the linker-script munging.
72197 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72199         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72200         of $(common-objpfx)shlib.lds.
72201         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72203         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72204         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72206         * configure.in (-z relro check): Adjust test code to add a large
72207         writable data section after it.
72208         * configure: Regenerated.
72210 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72212         * configure.in (-z relro check): Fix test code to make the variable
72213         truly const.
72214         * configure: Regenerated.
72216 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72218         * nscd/nscd.h (struct traced_file): Define.
72219         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72220         elements.  Add traced_files.
72221         (inotify_fd): Declare.
72222         (register_traced_file): Declare.
72223         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72224         (inotify_fd): Export.
72225         (resolv_conf_descr): Remove.
72226         (nscd_init): Move inotify descriptor creation to main.
72227         Don't register files for notification here.
72228         (register_traced_file): New function.
72229         (invalidate_cache): Don't use reset_res to determine whether to call
72230         res_init, go through the list of registered files.
72231         (main_loop_poll): The inotify descriptors are now stored in the
72232         structures for the traced files.
72233         (main_loop_epoll): Likewise.
72234         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72235         to __nss_disable_nscd.
72236         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72237         for a database anymore.  Check the records for all the registered
72238         files instead.
72239         * nss/Makefile (libnss_files-routines): Add files-init.
72240         (libnss_db-routines): Add db-init.
72241         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72242         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72243         * nss/nss_db/db-init.c: New file.
72244         * nss/nss_files/files-init.c: New file.
72245         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72246         __nss_lookup_function.
72247         (__nss_lookup_function): Call nss_load_library.
72248         (nss_load_all_libraries): New function.
72249         (__nss_disable_nscd): Take parameter with callback function for files
72250         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72251         used for the cached services.
72252         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72253         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72254         options for features to all the files in nscd.
72256         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72258 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72260         * csu/elf-init.c (__libc_csu_init): Comment typo.
72262 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72264         * po/pl.po: Update from translation team.
72265         * po/ja.po: Likewise.
72266         * po/ru.po: Likewise.
72267         * po/ko.po: Likewise.
72268         * po/fr.po: Likewise.
72270 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72272         * configure.in (.ctors/.dtors header and trailer check):
72273         Use an empirical test on a built program.
72274         * configure: Regenerated.
72276         * configure.in (-z relro check): Use an empirical test on a built DSO.
72277         Detect, but do not require, on ia64.
72278         * configure: Regenerated.
72280         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72281         Update tests that use readelf to use $READELF instead.
72282         * configure: Regenerated.
72284 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72286         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72287         if the result is not used.
72289 2011-07-05  Andreas Jaeger  <aj@suse.de>
72291         [BZ#9696]
72292         * stdlib/tst-strtod.c: Add testcase.
72294 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72296         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72297         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72298         The latter has a higher limit.  Take additional parameter to pass to
72299         the new function.
72300         (__pathconf): Pass file to __statfs_link_max.
72301         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72302         __statfs_link_max.
72303         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72304         __statfs_link_max.
72306         [BZ #12868]
72307         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72308         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72309         Handle Lustre.
72310         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72311         (__statfs_filesize_max): Likewise.
72312         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72314 2011-07-05  Andreas Jaeger  <aj@suse.de>
72316         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72318 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72320         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72321         `status' variable.
72322         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72323         Likewise.
72325 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72327         * Makefile (strop-tests): Add strncat.
72328         * string/test-strncat.c: New file.
72330 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72332         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72334 2011-06-21  Andreas Jaeger  <aj@suse.de>
72336         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72337         Copy rule from iconvdata/Makefile.
72339 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72341         [BZ #12922]
72342         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72343         but no long options are defined, just return 'W'.
72345 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72347         [BZ #9696]
72348         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72350 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72352         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72353         netgroups to read.
72354         (innetgr): Likewise.
72356 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72358         * config.make.in (install_root): Default to $(DESTDIR).
72360 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72362         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72364 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72366         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72368         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72369         containing directory rather than embedding absolute directory names.
72371         * scripts/check-local-headers.sh: Rewritten using awk.
72372         Match by word, not by line.  Print error messages for matches.
72373         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72375         * Makerules [shlib-lds-flags empty]:
72376         ($(common-objpfx)libc_pic.opts): New target.
72377         ($(common-objpfx)libc_pic.os.clean): New target.
72378         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72380         * config.make.in (OBJCOPY): New variable.
72381         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72382         * configure: Regenerated.
72384         * config.make.in (use-default-link): New variable.
72385         * configure.in (use_default_link): Grok --with-default-link to set it.
72386         * configure: Regenerated.
72387         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72388         (shlib-lds, shlib-lds-flags): Define to empty.
72390         * Makerules (shlib-lds): New variable.
72391         (shlib-lds-flags): New variable.
72392         (build-shlib, build-moduile, build-module-asneeded): Use it.
72393         ($(common-objpfx)libc.so): Use $(shlib-lds).
72394         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72395         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72397         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72398         DT_FLAGS/DT_FLAGS_1 with zero flags.
72400         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72401         linker script munging.
72403 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72405         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72406         as 128-bit value.
72407         * crypt/sha512.c (sha512_process_block): Perform total addition using
72408         128-bit if possible.
72409         (__sha512_finish_ctx): Likewise.
72410         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72411         as 64-bit value.
72412         * crypt/sha256.c (SWAP64): Define.
72413         (sha256_process_block): Perform total addition using 64-bit if
72414         possible.
72415         (__sha256_finish_ctx): Likewise.
72417 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72419         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72421         * nscd/hstcache.c (cache_addhst): Likewise.
72422         * nscd/grpcache.c (cache_addgr): Likewise.
72423         * nscd/aicache.c (addhstaiX): Likewise.
72424         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72426 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72428         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72429         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72430         * nscd/hstcache.c (cache_addhst): Likewise.
72431         * nscd/grpcache.c (cache_addgr): Likewise.
72432         * nscd/aicache.c (addhstaiX): Likewise.
72434 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72436         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72437         domain only when needed.
72439 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72442         is always restored.
72444 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72446         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72447         are re-adding the entry.
72448         * nscd/servicescache.c (cache_addserv): Likewise.
72450 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72452         * sysdeps/generic/dl-irel.h: fix protection against multiple
72453         inclusions.
72454         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72456 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72458         [BZ #12935]
72459         * malloc/memusage.sh: Fix quoting in message.
72460         * debug/xtrace.sh: Likewise.
72462         * configure.in: Remove support for --experimental-malloc option, make
72463         it the default.
72464         * config.make.in: Likewise.
72465         * malloc/Makefile: Likewise.
72467 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72469         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72470         two-byte characters.
72472 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72474         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72475         AC_CACHE_CHECK invocation.
72476         * configure: Regenerated.
72478         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72480 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72482         [BZ #12350]
72483         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72484         bit from old_res_options.
72486         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72488         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72489         value type for setfct.
72491 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72494         __gettimeofday instead of gettimeofday.
72496 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72498         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72500 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72502         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72504         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72505         info.
72507 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72510         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72511         strcpy-sse2-unaligned strncpy-sse2-unaligned
72512         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72513         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72514         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72515         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72516         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72517         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72518         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72519         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72520         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72521         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72522         (STRCPY): Support SSE2 and SSSE3 versions.
72524 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72526         [BZ #12874]
72527         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72528         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72529         kernels which artificially limit size of requests.
72531 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72534         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72535         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72536         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72537         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72538         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72539         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72540         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72541         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72542         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72543         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72544         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72545         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72546         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72547         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72549         Enable unaligned load optimization for Intel Core i3, i5 and i7
72550         processors.
72551         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72552         Define.
72553         (index_Fast_Unaligned_Load): Define.
72554         (HAS_FAST_UNALIGNED_LOAD): Define.
72556 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72558         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72560 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72562         [BZ #12907]
72563         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72564         until it is clear that the information is realy needed.
72565         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72567 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72571 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72573         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72574         /sys/devices/system/cpu/online if it is usable.
72576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72577         reading the information from the /proc filesystem to once a second.
72579 2011-06-21  Andreas Jaeger  <aj@suse.de>
72581         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72582         NULL after inclusion of kernel headers.
72584 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72586         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72587         calls to internal_setent.
72589         [BZ #12885]
72590         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72591         addresses using gethostbyname4_r ignore IPv4 addresses.
72593         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72594         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72596         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72598 2011-06-20  David S. Miller  <davem@davemloft.net>
72600         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72601         inclusions.
72602         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72604         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72605         (elf_irel): Use it.
72606         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72607         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72608         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72609         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72610         * sysdeps/x86_64/dl-irel.h: Likewise.
72612         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72613         * elf/dl-sym.c: Likewise.
72615 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72617         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72618         need to dereference resplen2.
72620 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72622         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72624 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72626         * Makeconfig: Define vardbdir and inst_vardbdir.
72627         * nss/Makefile: Add rules to install db-Makefile.
72629         * nss/nss_db/db-XXX.c: Cleanup.
72631         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72632         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72633         GLIBC_PRIVATE.
72634         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72635         * nss/makedb.c: Implement -g option to specify that value strings
72636         are generated and should not be added to table iterated over for
72637         get*ent calls.
72638         * nss/nss_db/db-initgroups.c: New file.
72640         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72641         interface.
72643         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72644         (internal_getgrouplist): Adjust to name change.
72645         Update use_initgroups_entry if this is not the first call.
72646         * nss/databases.def: Add initgroups entry.
72648         * nss/makedb.c (compute_tables): Check result of multiple hash table
72649         sizes to minimize maximum chain length.
72651 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72653         * Versions.def: Add entry for libnss_db.
72654         * shlib-versions: Likewise.
72655         * nss/Makefile: Add rules to build libnss_db.
72656         * nss/Versions: Add libnss_db information.  Organize libnss_files
72657         entries better.
72658         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72659         makedb progra.  Some minor improvements to generate smaller files.
72660         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72661         here from...
72662         * nss/makedb.c: ...here.
72663         Improve database format to be smaller and require less memory at
72664         runtime.
72665         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72666         db anymore.
72667         * nss/nss_db/db-netgrp.c: Likewise.
72668         * nss/nss_db/db-open.c: Likewise.
72669         * nss/nss_files/flies-XXX.x: Adjust comments.
72670         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72671         * nss/nss_files/files-grp.c: Likewise.
72672         * nss/nss_files/files-hosts.c: Likewise.
72673         * nss/nss_files/files-network.c: Likewise.
72674         * nss/nss_files/files-proto.c: Likewise.
72675         * nss/nss_files/files-pwd.c: Likewise.
72676         * nss/nss_files/files-rpc.c: Likewise.
72677         * nss/nss_files/files-service.c: Likewise.
72678         * nss/nss_files/files-sgrp.c: Likewise.
72679         * nss/nss_files/files-spwd.c: Likewise.
72680         * nss/nss_db/db-alias.c: Removed.
72681         * nss/nss_db/dummy-db.h: Removed.
72683 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72685         * nss/makedb.c: Rewritten to not use database library.
72686         * nss/Makefile: Update to build new makedb program.
72688 2011-06-14  Andreas Jaeger  <aj@suse.de>
72690         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72691         memset declaration.
72693 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72696         tmpbuf.
72698 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72700         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72701         * elf/Makefile ($(objpfx)ld.so): Likewise.
72703         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72704         Don't list ld.so twice in dependencies.
72706         * posix/bug-regex31.c: Include <stdlib.h>.
72708         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72710         * nis/nss_compat/compat-spwd.c
72711         (getspent_next_nss_netgr): Remove unused variable.
72712         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72714         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72715         nonmembers" output to use the right array.
72717         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72719         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72721         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72722         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72723         * catgets/gencat.c (read_input_file): Likewise.
72724         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72726         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72727         variable definition inside #if's controlling its use.
72729         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72731         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72733         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72735         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72736         unreachable code.
72738         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72740         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72741         * configure: Regenerated.
72743         * Makerules: Revert last change.
72744         * elf/Makefile: Likewise.
72746 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72748         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72749         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72750         (reloc-link): Likewise.
72752 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72754         * elf/Makefile: Add rules to build pldd.
72755         * elf/pldd.c: New file.
72756         * elf/pldd-xx.c: New file.
72758 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72760         * version.h: Update for 2.15 development version.
72762 2011-06-07  David S. Miller  <davem@davemloft.net>
72764         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72765         ifuncs.
72766         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72767         elf_machine_lazy_rel): Likewise.
72768         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72769         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72770         elf_machine_lazy_rel): Likewise.
72771         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72772         dl_hwcap via passed in argument.
72773         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72774         Likewise.
72776 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72778         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72780 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72782         [BZ #12849]
72783         * manual/fdl-1.1.texi: New file, verbatim from:
72784         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72785         * manual/lgpl-2.1.texi: New file, verbatim from:
72786         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72787         * manual/Makefile (licenses): New variable, list those new file names.
72788         (texis): Use it.
72789         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72791         * manual/fdl.texi: File removed.
72792         * manual/lesser.texi: File removed.
72793         * manual/libc.texinfo (Copying, Documentation License):
72794         Use new @include file names, put @appendix directive before @include.
72796 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72798         [BZ #12841]
72799         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72800         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72801         (mq_open): Add __NTH.
72803 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72806         Assume Intel Core i3/i5/i7 processor if AVX is available.
72808 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72810         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72811         typo.
72813 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72815         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72816         memory.  Use alloca_account.  Fix memory leak when retrying.
72818 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72820         * version.h (RELEASE): Bump for 2.14 release.
72821         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72823         * config.make.in (RANLIB): Remove entry.
72825 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72827         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72828         (libc.pot): Work around missing support for .ksh extension in xgettext.
72830         [BZ #12684]
72831         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72832         if both request failed.
72833         (send_dg): In case of server errors clear resplen or *resplen2.
72835         [BZ #12454]
72836         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72837         when there are multiple maps.
72838         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72839         (_dl_fini): Remove test here.
72841         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72843 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72845         [BZ #12350]
72846         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72847         bit from old_res_options.
72848         (gaih_inet): Likewise.
72850         [BZ #11099]
72851         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72852         as signed.
72854         * resolv/res_init.c (res_setoptions): Make the code more compact.
72856         [BZ #11558]
72857         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72858         set RES_USEVC.
72860         [BZ #11634]
72861         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72863         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72865         [BZ #11781]
72866         * malloc/malloc.h: Declare malloc hook variables as volatile.
72868         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72869         in last patch.
72871         [BZ #11799]
72872         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72873         raise in the comment.
72874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72876         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72878 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72880         [BZ #12811]
72881         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72882         grow the buffers more if it already has to be sufficient.
72883         (build_wcs_upper_buffer): Likewise.
72884         * posix/regexec.c (check_matching): Likewise.
72885         (clean_state_log_if_needed): Likewise.
72886         (extend_buffers): Don't enlarge buffers beyond size of the input
72887         buffer.
72888         Patches mostly by Emil Wojak <emil@wojak.eu>.
72889         * posix/bug-regex32.c: New file.
72890         * posix/Makefile (tests): Add bug-regex32.
72892         * locale/findlocale.c (_nl_find_locale): Return right away if
72893         _nl_explode_name failed.
72894         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72896         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72898         * debug/xtrace.sh: Unify messages.
72899         * malloc/memusage.sh: Likewise.
72901         [BZ #12813]
72902         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72903         time symbol from vDSO.  Substitute with vsyscall if not available.
72904         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72905         __vdso_time.
72907         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72908         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72909         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72910         Add sendmmsg and internal_sendmmsg.
72911         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72912         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72913         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72915         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72916         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72917         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72919 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72921         [BZ #12813]
72922         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72923         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72924         available.
72925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72926         __vdso_getcpu.
72928         [BZ #12814]
72929         * iconvdata/Makefile (tests): Add bug-iconv9.
72930         * iconvdata/bug-iconv9.c: New file.
72932 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72934         [BZ #12814]
72935         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72937 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72939         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72940         (struct user_regs_struct): Change intcs field back to cs.
72942 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72944         * po/ja.po: Update from translation team.
72946 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72948         [BZ #12795]
72949         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72950         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72952 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72954         * stdlib/longlong.h: Update from GCC.
72956 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72958         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72959         parameter name.
72960         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72961         Add parameter name.
72962         (__sysconf): Pass it down.
72964 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72966         [BZ #12671]
72967         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72968         some situations.
72969         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72970         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72971         add in in __libc_use_alloca calls.  Adjust callers.
72972         (glob): Use malloc in some situations.
72974         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72975         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72976         pltexit.
72978 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72980         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72981         and CLOCK_BOOTTIME_ALARM.
72983         [BZ #12782]
72984         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72985         is returned.
72987         * string/_strerror.c (__strerror_r): Print negative errors as signed
72988         numbers.
72990         [BZ #12777]
72991         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72992         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72993         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72995         * configure.in: Fix typo in redirection and correct removal of test
72996         files in two cases.
72998         [BZ #12788]
72999         * locale/setlocale.c (new_composite_name): Fix test to check for
73000         identical name of all categories.
73002         [BZ #12792]
73003         * libio/filedoalloc.c (local_isatty): New function.
73004         (_IO_file_doallocate): Use local_isatty.
73005         * stdio-common/perror.c (perror): In case a new stream is used
73006         forward the stream error.
73007         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73008         error flag.
73010 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73012         [BZ #11884]
73013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73014         alloca.
73015         * include/alloca.h (extend_alloca_account): Define.
73017         [BZ #11857]
73018         * posix/regex.h: Fix comments with documentation of user-accessible
73019         fields after compilation and describe correct free'ing of pattern
73020         after re_compile_pattern.
73021         Patch by Reuben Thomas <rrt@sc3d.org>.
73023 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73025         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73026         and -mno-altivec to prevent the compiler from using Altivec and/or
73027         VSX instructions when the corresponding registers are not available.
73029 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73031         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73033 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73035         * libio/freopen.c (freopen): Use __dup2, not dup2.
73036         * libio/freopen64.c (freopen64): Likewise.
73038 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73040         [BZ #12775]
73041         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73042         * math/Makefile (tests): Add test-powl.
73043         (CFLAGS-test-powl.c): Define.
73044         * math/test-powl.c: New file.
73046 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73048         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73050 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73052         [BZ #11837]
73053         * iconvdata/gb18030.c: Update to GB18020-2005.
73055 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73057         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73058         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73059         Patch by Aharon Robbins <arnold@skeeve.com>.
73061         [BZ #11892]
73062         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73063         on the stack.
73065         [BZ #11895]
73066         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73067         through underflows.
73069         [BZ #12766]
73070         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73071         point to strings before performing equality test for error_one_per_line
73072         mode.
73074         [BZ #11697]
73075         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73077         [BZ #11820]
73078         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73079         (struct user_fpregs_struct): Avoid __uint*_t types.
73081         [BZ #6420]
73082         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73083         symbol info.  Use it instead of calling _dl_addr locally.
73084         (lock_and_info): New function.
73085         (tr_freehook): Call lock_and_info and pass symbol info as additional
73086         parameter to tr_where.
73087         (tr_mallochook): Likewise.
73088         (tr_reallochook): Likewise.
73089         (tr_memalignhook): Likewise.
73091         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73092         used and couldn't be at all thread-safe.
73094 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73096         * libio/freopen.c (freopen): Don't close old file descriptor
73097         before the new one is opened.  Instead dup the new file descriptor
73098         to the old one after the new stream is created.
73099         * libio/freopen64.c (freopen64): Likewise.
73100         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73101         * libio/fileops.c (_IO_new_file_close_it): Handle new
73102         _IO_FLAGS2_NOCLOSE flag.
73103         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73104         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73105         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73106         _IO_FLAGS2_NOCLOSE flag.
73107         * include/unistd.h: Add hidden_proto for dup3.
73108         Define __have_dup3.
73109         * io/dup3.c: Define hidden symbol.
73110         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73112         [BZ #7101]
73113         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73114         when an incomplete long option is used.
73115         * posix/tst-getopt_long1.c: New file.
73116         * posix/Makefile (tests): Add tst-getopt_long1.
73118         [BZ #10138]
73119         * scripts/config.guess: Update from autoconf-2.68.
73120         * scripts/config.sub: Likewise.
73122         [BZ #10157]
73123         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73124         tests into ...
73125         (has_cpuclock): ...this.  New function.
73126         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73127         macro here based on has_cpuclock code.
73129         [BZ #10149]
73130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73131         First byte (not low byte) is now always NUL.
73132         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73134         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73135         Use non-cancelable interfaces.
73137         [BZ #9809]
73138         * locale/iso-639.def: Add entry for Sorani.
73140         [BZ #11901]
73141         * include/stdlib.h: Move include protection to the right place.
73142         Define abort_msg_s.  Declare __abort_msg with it.
73143         * stdlib/abort.c (__abort_msg): Adjust type.
73144         * assert/assert.c (__assert_fail_base): New function.  Majority
73145         of code from __assert_fail.  Allocate memory for __abort_msg with
73146         mmap.
73147         (__assert_fail): Now call __assert_fail_base.
73148         * assert/assert-perr.c: Remove bulk of implementation.  Use
73149         __assert_fail_base.
73150         * include/assert.hL Declare __assert_fail_base.
73151         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73152         mmap.
73153         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73155 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73157         [BZ #11952]
73158         [BZ #12453]
73159         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73160         until all modules are registered in the DTV.
73161         * elf/Makefile: Add rules to build and run tst-tls19.
73162         * elf/tst-tls19.c: New file.
73163         * elf/tst-tls19mod1.c: New file.
73164         * elf/tst-tls19mod2.c: New file.
73165         * elf/tst-tls19mod3.c: New file.
73166         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73168         [BZ #12083]
73169         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73170         correctly.
73172         [BZ #12601]
73173         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73174         two-byte sequence errors.
73175         * iconvdata/Makefile (tests): Add bug-iconv8.
73176         * iconvdata/bug-iconv8.c: New file.
73178         [BZ #12626]
73179         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73180         buf2 definition.
73182         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73184         [BZ #12432]
73185         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73186         (dummy_getcfa): New function.
73187         (init): Get _Unwind_GetCFA address, use dummy if not found.
73188         (backtrace_helper): In recursion check, also check whether CFA changes.
73189         (__backtrace): Completely initialize arg.
73191         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73192         storing incomplete byte sequence in state object.  Avoid testing for
73193         guaranteed too small input if we know there is enough data available.
73195 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73197         * Makeconfig (+link-pie): Indent.
73198         * Rules (binaries-pie): Define if $(have-fpie) and
73199         $(build-shared).
73200         (binaries-shared): Also filter out $(binaries-pie).
73201         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73202         * nscd/Makefile (others-pie): Add nscd.
73203         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73204         ($(objpfx)nscd): Remove command override.
73205         * login/Makefile (others-pie): Add pt_chown.
73206         ($(objpfx)pt_chown): Remove command override.
73207         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73208         remove command overrides.
73210 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73212         * libio/tst_putwc.c: Fix error messages.
73214         [BZ #12724]
73215         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73216         currently writing and seek to current position when not.
73217         * libio/Makefile (tests): Add bug-fclose1.
73218         * libio/bug-fclose1.c: New file.
73220 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73222         [BZ #12511]
73223         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73224         don't set DF_1_NODELETE here.
73225         (do_lookup_x): When entering new entry test for copy relocation
73226         and if necessary set DF_1_NODELETE flag.
73227         * elf/tst-unique4.cc: New file.
73228         * elf/tst-unique4.h: New file.
73229         * elf/tst-unique4lib.cc: New file.
73230         * elf/Makefile: Add rules to build and run tst-unique4.
73231         Patch by Piotr Bury <pbury@goahead.com>.
73233 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73235         [BZ #12052]
73236         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73238         [BZ #12625]
73239         * misc/mntent_r.c (addmntent): Flush the stream after the output
73241         [BZ #12393]
73242         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73243         (is_trusted_path_normalize): Skip initial colon.  Append slash
73244         to empty buffer.  Duplicate is_trusted_path code but allow
73245         constructed patch to be prefix.
73246         (is_dst): Allow $ORIGIN followed by /.
73247         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73248         Correct testing of result of is_trusted_path_normalize
73249         (decompose_rpath): Fix warning.
73251 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73253         [BZ #11257]
73254         * grp/initgroups.c (internal_getgrouplist): When we found the service
73255         list through the initgroups entry in nsswitch.conf do not always
73256         continue on a successful lookup.  Don't always use the
73257         __nss_group_database value if it is set.
73258         * nss/nsswitch.conf (initgroups): Change action for successful db
73259         lookup to continue for compatibility.
73261 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73263         [BZ #11532]
73264         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73265         and CP774 modules.
73266         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73267         and CP774 modules.
73268         * iconvdata/tst-tables.sh: Likewise.
73269         * iconvdata/cp770.c: New file.
73270         * iconvdata/cp771.c: New file.
73271         * iconvdata/cp772.c: New file.
73272         * iconvdata/cp773.c: New file.
73273         * iconvdata/cp774.c: New file.
73274         * iconvdata/testdata/CP770: New file.
73275         * iconvdata/testdata/CP770..UTF8: New file.
73276         * iconvdata/testdata/CP771: New file.
73277         * iconvdata/testdata/CP771..UTF8: New file.
73278         * iconvdata/testdata/CP772: New file.
73279         * iconvdata/testdata/CP772..UTF8: New file.
73280         * iconvdata/testdata/CP773: New file.
73281         * iconvdata/testdata/CP773..UTF8: New file.
73282         * iconvdata/testdata/CP774: New file.
73283         * iconvdata/testdata/CP774..UTF8: New file.
73285         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73286         END CHARMAP line.
73287         * iconvdata/gen-8bit-gap.sh: Likewise.
73288         * iconvdata/gen-8bit.sh: Likewise.
73290         * locale/iso-639.def: Add ary entry.
73292         [BZ #11258]
73293         * locale/C-translit.h.in: Add U20A1 transliteration.
73295         [BZ #12178]
73296         * locale/iso-639.def: Add wae entry.
73297         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73299         [BZ #12545]
73300         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73301         for n.
73303         [BZ #12711]
73304         * locale/C-translit.h.in: Add entry for U20B9.
73305         Patch by pravin.d.s@gmail.com.
73307 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73309         [BZ #12713]
73310         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73311         ENAMETOOLONG use generic getcwd.
73312         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73313         in rtld.  Use *stat64.
73314         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73315         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73316         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73317         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73318         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73319         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73320         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73321         __fstatat64 macros.
73322         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73323         * dirent/rewinddir.c: Add libc_hidden_def.
73324         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73325         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73327         * include/dirent.h (__alloc_dir): Add flags parameter.
73328         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73329         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73330         __alloc_dir.
73331         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73332         from fdopendir if O_CLOEXEC is already set.
73334 2011-03-15  Alan Modra  <amodra@gmail.com>
73336         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73337         l_tls_firstbyte_offset non-zero.  Save padding offset in
73338         l_tls_firstbyte_offset for later use.
73339         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73340         freeing static tls block.
73342 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73344         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73345         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73346         being defined by the kernel headers.
73348 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73350         [BZ #12734]
73351         * resolv/resolv.h: Define RES_NOTLDQUERY.
73352         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73353         no-tld-query and set RES_NOTLDQUERY.
73354         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73355         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73356         modern BIND to search name as TLD unless forbidden.
73358 2011-05-07  Petr Baudis  <pasky@suse.cz>
73359             Ulrich Drepper  <drepper@gmail.com>
73361         [BZ #12393]
73362         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73363         (is_trusted_path): ...to here.
73364         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73365         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73366         using is_trusted_path_normalize() in setuid scripts.
73368 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73370         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73371         __BEGIN/__END_DECLS.
73373 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73375         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73376         NSS_STATUS_NOTFOUND if no record was found.
73378 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73380         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73381         (headers-not-in-tirpc): Remove rpc/netdb.h
73382         * resolv/netdb.h: Revert last change.
73384 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73386         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73387         circular dependency between libgcc.a and libc.a.
73389 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73391         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73392         * nis/Makefile: Don't install rpcsvc/*.
73393         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73394         instead of <rpc/types.h>.
73395         (MAXHOSTNAMELEN): Define.
73397 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73399         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73401 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73403         [BZ #12714]
73404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73405         gethostbyname4_r when IPv6 results are possible.
73407 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73409         [BZ #12723]
73410         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73411         _PC_PIPE_BUF handling.
73413 2011-04-30  Bruno Haible  <bruno@clisp.org>
73415         [BZ #12717]
73416         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73417         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73418         to 'int'.
73419         * inet/getnameinfo.c (getnameinfo): Likewise.
73421 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73423         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73424         to groups setting in database lookup.
73425         * nss/nsswitch.conf: Add initgroups entry.
73427 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73429         [BZ #12685]
73430         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73431         mode string.
73432         Patch by Eric Blake <eblake@redhat.com>.
73434 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73436         * sunrpc/Makefile (need-export-routines): Add svc_run.
73437         (routines): Remove svc_run.
73438         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73439         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73440         * sunrpc/svc_run.c (svc_run): Likewise.
73441         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73443 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73446         problem in reallocation in last patch.
73448 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73450         * sunrpc/Makefile: Move inclusion of Rules.
73452 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73454         * nss/nss_files/files-initgroups.c: New file.
73455         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73456         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73457         _nss_files_initgroups_dyn.
73459 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73461         * elf/elf.h (R_ARM_IRELATIVE): Define.
73463 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73465         * po/ru.po: Update from translation team.
73467 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73469         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73470         dependencies.
73472 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73474         [BZ #12653]
73475         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73476         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73477         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73478         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73479         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73481 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73483         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73484         differing bytes.
73485         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73486         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73487         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73489 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73491         [BZ #12420]
73492         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73493         storing it.
73494         * stdlib/bug-getcontext.c: New file.
73495         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73497 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73499         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73500         instructions into .machine "z9-109".
73501         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73502         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73504 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73506         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73507         between environment variables and auxiliary vector.
73509 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73511         * Makefile: Add rules to build linkobj/libc.so.
73512         * include/libc-symbols.h: Define libc_hidden_nolink.
73513         * include/rpc/auth.h: Mark functions which are to be hidden.
73514         * include/rpc/auth_des.h: Likewise.
73515         * include/rpc/auth_unix.h: Likewise.
73516         * include/rpc/clnt.h: Likewise.
73517         * include/rpc/des_crypt.h: Likewise.
73518         * include/rpc/key_prot.h: Likewise.
73519         * include/rpc/pmap_clnt.h: Likewise.
73520         * include/rpc/pmap_prot.h: Likewise.
73521         * include/rpc/pmap_rmt.h: Likewise.
73522         * include/rpc/rpc_msg.h: Likewise.
73523         * include/rpc/svc.h: Likewise.
73524         * include/rpc/svc_auth.h: Likewise.
73525         * include/rpc/xdr.h: Likewise.
73526         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73527         * nss/Makefile: Likewise.
73528         * sunrpc/Makefile: Don't install headers.  Build library with normal
73529         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73530         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73531         for the compat linking library.  Remove use of INTDEF/INTUSE.
73532         * sunrpc/auth_none.c: Likewise.
73533         * sunrpc/auth_unix.c: Likewise.
73534         * sunrpc/authdes_prot.c: Likewise.
73535         * sunrpc/authuxprot.c: Likewise.
73536         * sunrpc/clnt_gen.c: Likewise.
73537         * sunrpc/clnt_perr.c: Likewise.
73538         * sunrpc/clnt_raw.c: Likewise.
73539         * sunrpc/clnt_simp.c: Likewise.
73540         * sunrpc/clnt_tcp.c: Likewise.
73541         * sunrpc/clnt_udp.c: Likewise.
73542         * sunrpc/clnt_unix.c: Likewise.
73543         * sunrpc/des_crypt.c: Likewise.
73544         * sunrpc/des_soft.c: Likewise.
73545         * sunrpc/get_myaddr.c: Likewise.
73546         * sunrpc/key_call.c: Likewise.
73547         * sunrpc/key_prot.c: Likewise.
73548         * sunrpc/netname.c: Likewise.
73549         * sunrpc/pm_getmaps.c: Likewise.
73550         * sunrpc/pm_getport.c: Likewise.
73551         * sunrpc/pmap_clnt.c: Likewise.
73552         * sunrpc/pmap_prot.c: Likewise.
73553         * sunrpc/pmap_prot2.c: Likewise.
73554         * sunrpc/pmap_rmt.c: Likewise.
73555         * sunrpc/publickey.c: Likewise.
73556         * sunrpc/rpc_cmsg.c: Likewise.
73557         * sunrpc/rpc_common.c: Likewise.
73558         * sunrpc/rpc_dtable.c: Likewise.
73559         * sunrpc/rpc_prot.c: Likewise.
73560         * sunrpc/rpc_thread.c: Likewise.
73561         * sunrpc/rtime.c: Likewise.
73562         * sunrpc/svc.c: Likewise.
73563         * sunrpc/svc_auth.c: Likewise.
73564         * sunrpc/svc_authux.c: Likewise.
73565         * sunrpc/svc_raw.c: Likewise.
73566         * sunrpc/svc_run.c: Likewise.
73567         * sunrpc/svc_simple.c: Likewise.
73568         * sunrpc/svc_tcp.c: Likewise.
73569         * sunrpc/svc_udp.c: Likewise.
73570         * sunrpc/svc_unix.c: Likewise.
73571         * sunrpc/svcauth_des.c: Likewise.
73572         * sunrpc/xcrypt.c: Likewise.
73573         * sunrpc/xdr.c: Likewise.
73574         * sunrpc/xdr_array.c: Likewise.
73575         * sunrpc/xdr_float.c: Likewise.
73576         * sunrpc/xdr_intXX_t.c: Likewise.
73577         * sunrpc/xdr_mem.c: Likewise.
73578         * sunrpc/xdr_rec.c: Likewise.
73579         * sunrpc/xdr_ref.c: Likewise.
73580         * sunrpc/xdr_sizeof.c: Likewise.
73581         * sunrpc/xdr_stdio.c: Likewise.
73583 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73585         [BZ #12650]
73586         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73587         * sysdeps/ia64/dl-tls.h: Likewise.
73588         * sysdeps/powerpc/dl-tls.h: Likewise.
73589         * sysdeps/s390/dl-tls.h: Likewise.
73590         * sysdeps/sh/dl-tls.h: Likewise.
73591         * sysdeps/sparc/dl-tls.h: Likewise.
73592         * sysdeps/x86_64/dl-tls.h: Likewise.
73593         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73595 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73597         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73598         rpath element also skip the following colon.
73599         (expand_dynamic_string_token): Add is_path parameter and pass
73600         down to DL_DST_REQUIRED and _dl_dst_substitute.
73601         (decompose_rpath): Call expand_dynamic_string_token with
73602         non-zero is_path.  Ignore empty rpaths.
73603         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73604         with zero is_path.
73606 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73609         Make cancelable.
73611 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73613         [BZ #12655]
73614         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73615         Patch by Filipe David Manana <fdmanana@apache.org>.
73617 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73619         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73620         Maintain aligned stack.
73621         (CHECK_RSP): Remove unused macro.
73623 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73625         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73626         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73628 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73630         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73632         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73634 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73636         [BZ #12518]
73637         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73638         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73639         * sysdeps/x86_64/memmove.c: New file.
73640         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73641         (memcpy): Renamed to ...
73642         (__new_memcpy): This.
73643         (memcpy): Provide GLIBC_2_14 memcpy.
73644         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73645         (memcpy): Provide GLIBC_2_2_5 memcpy.
73647 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73649         [BZ #12631]
73650         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73652 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73654         * misc/syncfs.c: New file.
73655         * misc/Makefile (routines): Add syncfs.
73656         * posix/unistd.h: Declare syncfs.
73657         * sysdeps/unix/syscalls.list: Add syncfs.
73659 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73661         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73662         open_by_handle_at.
73663         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73664         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73665         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73666         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73668         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73669         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73671 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73675         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73676         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73677         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73681         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73682         sync_file_range.c with -fexceptions.
73683         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73684         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73685         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73686         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73687         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73688         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73689         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73690         sync_file_range as cancellation point
73691         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73692         now a wrapper around __call_sync_file_range with cancellation handling.
73693         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73694         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73695         function name to __call_sync_file_range.
73696         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73697         Add call_sync_file_range.
73699 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73702         bits/timex.h.
73704 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73706         * iconv/iconv.h: Fix typo in comment.
73707         * io/fcntl.h: Likewise.
73708         * libio/stdio.h: Likewise.
73709         * posix/spawn.h: Likewise.
73710         * posix/unistd.h: Likewise.
73711         * stdlib/stdlib.h: Likewise.
73712         * time/time.h: Likewise.
73713         * wcsmbs/wchar.h: Likewise.
73715         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73716         open_by_handle): Add.
73717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73718         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73719         Augment a few comments.
73720         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73722         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73723         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73724         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73725         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73726         open_by_handle.
73728         * io/fcntl.h (AT_EMPTY_PATH): Define.
73730 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73732         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73733         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73734         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73735         to...
73736         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73737         * Versions.def: Add GLIBC_2.14.
73738         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73739         Export.
73741 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73743         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73744         round counter.
73745         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73747 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73749         [BZ #12597]
73750         * string/test-strncmp.c (do_page_test): New function.
73751         (check2): Likewise.
73752         (test_main): Call check2.
73753         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73755 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73757         [BZ #12587]
73758         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73759         Handle cache information in CPU leaf 4.
73760         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73762 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73764         [BZ #12583]
73765         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73766         character representation.
73767         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73769 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73771         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73772         END(__isnan) to END(__isnanf) to match function entry point/label
73773         EALIGN(__isnanf,...).
73775 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73777         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73779 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73781         [BZ #12510]
73782         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73783         copy from the symbol referenced in the relocation to initialize the
73784         used variable.
73785         Patch by Piotr Bury <pbury@goahead.com>.
73786         * elf/Makefile: Add rules to build and tst-unique3.
73787         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73788         * elf/tst-unique3.cc: New file.
73789         * elf/tst-unique3.h: New file.
73790         * elf/tst-unique3lib.cc: New file.
73791         * elf/tst-unique3lib2.cc: New file.
73793         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73795 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73797         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73798         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73799         to _start.
73801 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73803         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73804         to-be-loaded object along a path to loader is ld.so.
73806 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73807             Ulrich Drepper  <drepper@gmail.com>
73809         * sysdeps/x86_64/memset.S: After aligning destination, code
73810         branches to different locations depending on the value of
73811         misalignment, when multiarch is enabled. Fix this.
73813 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73815         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73816         Set _x86_64_preferred_memory_instruction for AMD processsors.
73817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73818         Set bit_Prefer_SSE_for_memop for AMD processors.
73820 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73822         * libio/fmemopen.c (fmemopen): Optimize a bit.
73824 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73826         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73828 2011-03-03  Roland McGrath  <roland@redhat.com>
73830         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73832 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73834         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73835         __bzero_ultra1 instead of __memset_ultra1.
73837 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73838             Ulrich Drepper  <drepper@gmail.com>
73840         [BZ #12509]
73841         * include/link.h (struct link_map): Add l_orig_initfini.
73842         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73843         returning unsuccessfully.
73844         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73845         close of a file loaded at startup, restore the original l_initfini
73846         list.
73847         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73848         list, store the pointer.
73849         * elf/Makefile ($(objpfx)noload-mem): New rule.
73850         (noload-ENV): Define.
73851         (tests): Add $(objpfx)noload-mem.
73852         * elf/noload.c: Include <memcheck.h>.
73853         (main): Call mtrace.  Close all opened handles.
73855 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73857         [BZ #12454]
73858         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73859         dependencies are missing.
73861 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73863         Fix __if_freereq crash: Unlike the generic version which uses free,
73864         Hurd needs munmap.
73865         * sysdeps/mach/hurd/ifreq.h: New file.
73867 2011-01-27  Petr Baudis  <pasky@suse.cz>
73868             Ulrich Drepper  <drepper@gmail.com>
73870         [BZ 12445]#
73871         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73872         to extend_alloca().
73873         * stdio-common/bug23.c: New file.
73874         * stdio-common/Makefile (tests): Add bug23.
73876 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73877             Ulrich Drepper  <drepper@gmail.com>
73879         [BZ #12489]
73880         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73881         before performing relro protection.  At old place add assertion
73882         to make sure nothing changed.
73884 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73885             Glauber de Oliveira Costa  <glommer@gmail.com>
73887         * elf/elf.h: Add new ARM TLS relocs.
73889 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73892         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73893         cast from r3.
73894         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73895         'tests' variable.
73896         * sysdeps/wordsize-64/tst-writev.c: New file.
73898 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73900         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73901         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73902         insns in _dl_start to prevent a TOC reference before relocs are
73903         resolved.
73905 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73907         [BZ #12469]
73908         * Makeconfig: Remove RANLIB definition.
73909         * Makerules: Don't use RANLIB.
73910         * aclocal.m4: Remove ranlib test.
73911         * configure.in: No need to check for ranlib.
73912         * elf/rtld-Rules: Don't use RANLIB.
73914 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73916         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73917         protection macro.
73918         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73919         inclusion protection macro.
73921         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73922         SIGRTMIN and SIGRTMAX and print information in that case only when
73923         SIGRTMIN is defined.
73925 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73927         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73928         arginfo fn returning -1.
73930         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73931         and thousands string is zero terminated.
73933 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73936         sysdeps/unix/sysv/linux/bits/socket.h.
73938 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73940         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73941         (__CPU_COUNT): Remove old macros.
73942         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73943         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73944         (__CPU_ALLOC, __CPU_FREE): Add macros.
73945         (__sched_cpualloc, __sched_cpufree): Add declarations.
73947 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73949         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73950         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73951         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73952         (readdhstai): Return value of addhstaiX call.
73953         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73954         (addgrbyX): Return value returned by cache_addgr.
73955         (readdgrbyname): Return value returned by addgrbyX.
73956         (readdgrbygid): Likewise.
73957         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73958         (addpwbyX): Return value returned by cache_addpw.
73959         (readdpwbyname): Return value returned by addhstbyX.
73960         (readdpwbyuid): Likewise.
73961         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73962         (addservbyX): Return value returned by cache_addserv.
73963         (readdservbyname): Return value returned by addservbyX:
73964         (readdservbyport): Likewise.
73965         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73966         (addhstbyX): Return value returned by cache_addhst.
73967         (readdhstbyname): Return value returned by addhstbyX.
73968         (readdhstbyaddr): Likewise.
73969         (readdhstbynamev6): Likewise.
73970         (readdhstbyaddrv6): Likewise.
73971         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73972         (readdinitgroups): Return value returned by addinitgroupsX.
73973         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73974         (prune_cache): Keep track of timeout value of re-added entries.
73975         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73976         * nscd/nscd.h: Adjust prototypes of readd* functions.
73978 2011-02-04  Roland McGrath  <roland@redhat.com>
73980         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73981         (nis_stats): Likewise.
73982         * nis/nis_modify.c (nis_modify): Likewise.
73983         * nis/nis_remove.c (nis_remove): Likewise.
73984         * nis/nis_add.c (nis_add): Likewise.
73986         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73988         * posix/fnmatch_loop.c: Add some consts.
73990         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73992 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73994         [BZ #12460]
73995         * config.make.in (config-cflags-novzeroupper): Define.
73996         * configure.in: Substitute libc_cv_cc_novzeroupper.
73997         * elf/Makefile (AVX-CFLAGS): Define.
73998         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73999         (CFLAGS-tst-auditmod4a.c): Likewise.
74000         (CFLAGS-tst-auditmod4b.c): Likewise.
74001         (CFLAGS-tst-auditmod6b.c): Likewise.
74002         (CFLAGS-tst-auditmod6c.c): Likewise.
74003         (CFLAGS-tst-auditmod7b.c): Likewise.
74004         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74006 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74008         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74009         function to the callback.
74010         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74012 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74014         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74015         of errno.
74017 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74019         [BZ #11724]
74020         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74021         of constructors.
74022         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74023         of destructors.
74024         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74026         [BZ #11724]
74027         * elf/Makefile: Add rules to build and run new test.
74028         * elf/tst-initorder.c: New file.
74029         * elf/tst-initorder.exp: New file.
74030         * elf/tst-initordera1.c: New file.
74031         * elf/tst-initordera2.c: New file.
74032         * elf/tst-initordera3.c: New file.
74033         * elf/tst-initordera4.c: New file.
74034         * elf/tst-initorderb1.c: New file.
74035         * elf/tst-initorderb2.c: New file.
74036         * elf/tst-order-a1.c: New file.
74037         * elf/tst-order-a2.c: New file.
74038         * elf/tst-order-a3.c: New file.
74039         * elf/tst-order-a4.c: New file.
74040         * elf/tst-order-b1.c: New file.
74041         * elf/tst-order-b2.c: New file.
74042         * elf/tst-order-main.c: New file.
74043         New test case by George Gensure <werkt0@gmail.com>.
74045 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74048         decoding ACE if AI_CANONIDN.
74050 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74052         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74054 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74056         * version.h (RELEASE): Bump for 2.13 release.
74057         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74059         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74061         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74062         MADV_NOHUGEPAGE.
74063         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74064         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74065         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74066         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74068         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74070         * posix/getconf.c: Update copyright year.
74071         * catgets/gencat.c: Likewise.
74072         * csu/version.c: Likewise.
74073         * debug/catchsegv.sh: Likewise.
74074         * debug/xtrace.sh: Likewise.
74075         * elf/ldconfig.c: Likewise.
74076         * elf/ldd.bash.in: Likewise.
74077         * elf/sprof.c (print_version): Likewise.
74078         * iconv/iconv_prog.c: Likewise.
74079         * iconv/iconvconfig.c: Likewise.
74080         * locale/programs/locale.c: Likewise.
74081         * locale/programs/localedef.c: Likewise.
74082         * malloc/memusage.sh: Likewise.
74083         * malloc/mtrace.pl: Likewise.
74084         * nscd/nscd.c (print_version): Likewise.
74085         * nss/getent.c: Likewise.
74087         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74088         PF_CAIF, and PF_ALG.
74089         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74091 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74093         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74094         (modules-names): Use them.
74095         (ifunc-test-modules, ifunc-pie-tests): Define.
74096         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74097         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74098         (test-extras): Likewise.
74099         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74100         $(compile-command.c).
74101         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74102         (all-built-dso): Define.
74103         (check-textrel.out, check-execstack.out): Depend on it.
74105         * configure.in: Don't override --enable-multi-arch.
74107 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74109         [BZ #6812]
74110         * nscd/hstcache.c (tryagain): Define.
74111         (cache_addhst): Return tryagain not notfound for temporary errors.
74112         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74113         failed.
74115 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74117         [BZ #10563]
74118         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74119         to make the syscall.
74120         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74122         [BZ #12378]
74123         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74124         and fall back to matching as normal character if the string ends before
74125         the matching ']' is found.  This is what POSIX requires.
74126         * posix/testfnm.c: Adjust test result.
74127         * posix/globtest.sh: Adjust test result.  Add new test.
74128         * posix/tst-fnmatch.input: Likewise.
74129         * posix/tst-fnmatch2.c: Add new test.
74131 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74133         * elf/Makefile (check-execstack): Revert last change.  Depend on
74134         check-execstack.h.
74135         (check-execstack.h): New target.
74136         (generated): Add check-execstack.h.
74137         * elf/check-execstack.c: Include "check-execstack.h".
74138         (main): Revert last change.
74139         (handle_file): Return zero if GNU_STACK is absent and
74140         DEFAULT_STACK_PERMS doesn't include PF_X.
74142 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74144         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74145         in child fails because the descriptor is already closed.
74146         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74147         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74148         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74150         [BZ #12397]
74151         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74152         syscall.
74154         [BZ #10484]
74155         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74156         temporary buffer used to handle multi lookups locally.
74157         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74159 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74161         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74162         loader is ld.so.
74164 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74166         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74167         alignment for SSE2.
74169 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74171         [BZ #12394]
74172         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74173         characters.  When rounding increased number of integer digits recompute
74174         number of groups.
74175         * stdio-common/tst-grouping.c: New file.
74176         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74178 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74180         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74181         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74183         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74184         void.
74185         * bits/select.h: Likewise.
74187 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74189         * po/ja.po: Update from translation team.
74191 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74193         [BZ #11155]
74194         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74195         implementation just like for lxstat, fxstatat, et al.
74197 2010-12-27  Jim Meyering  <meyering@redhat.com>
74199         [BZ #12348]
74200         * posix/regexec.c (build_trtable): Return failure indication upon
74201         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74203 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74205         [BZ #12201]
74206         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74207         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74208         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74209         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74211         [BZ #12207]
74212         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74214         [BZ #12204]
74215         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74216         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74218 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74220         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74221         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74222         script has SORT_BY_INIT_PRIORITY.
74223         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74224         NO_CTORS_DTORS_SECTIONS is defined.
74225         * elf/soinit.c: Likewise.
74226         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74227         NO_CTORS_DTORS_SECTIONS is defined.
74228         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74229         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74230         * sysdeps/sh/init-first.c: Likewise.
74231         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74233 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74235         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74236         always use the slow path.
74238 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74240         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74241         similar rule which adds the sysdep directories to the header search in
74242         order to pick up the correct platform stackinfo.h.
74243         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74244         perform test if it is, otherwise return successfully without testing.
74245         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74246         DEFAULT_STACK_PERMS define in stackinfo.h.
74247         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74248         defined in stackinfo.h.
74249         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74250         DEFAULT_STACK_PERMS defined in stackinfo.h.
74251         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74252         * sysdeps/ia64/stackinfo.h: Likewise.
74253         * sysdeps/s390/stackinfo.h: Likewise.
74254         * sysdeps/sh/stackinfo.h: Likewise.
74255         * sysdeps/sparc/stackinfo.h: Likewise.
74256         * sysdeps/x86_64/stackinfo.h: Likewise.
74257         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74258         PF_X for powerpc64.  Retain PF_X for powerpc32.
74260 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74262         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74263         accurately.
74264         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74265         GETDENTS_64BIT_ALIGNED.
74267 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74269         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74271 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74273         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74274         _GNU_SOURCE.
74276         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74277         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74278         Remove __restrict.
74279         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74280         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74282 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74284         [BZ #11655]
74285         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74286         are initialized.
74288 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74290         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74292 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74294         * po/it.po: Update from translation team.
74296 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74298         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74299         unused codes.
74301 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74303         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74305 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74307         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74308         specially.
74309         (gaih_getanswer_slice): Likewise.
74311 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74315 2010-05-31  Petr Baudis  <pasky@suse.cz>
74317         [BZ #11149]
74318         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74319         silently even in the chroot mode.
74321 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74323         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74324         last patch a bit.  Pretty printing
74326 2010-05-31  Petr Baudis <pasky@suse.cz>
74328         [BZ #10085]
74329         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74330         initialization of skip_initgroups_dyn.
74332 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74334         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74335         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74337 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74339         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74341 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74343         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74344         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74345         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74346         ($(objpfx)tst-fnmatch-mem): New rule.
74347         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74348         * posix/tst-fnmatch.c (main): Call mtrace.
74350 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74353         Support Intel processor model 6 and model 0x2c.
74355 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74357         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74358           signed comparison.
74360 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74362         [BZ #12205]
74363         * string/test-strncasecmp.c (check_result): New function.
74364         (do_one_test): Use it.
74365         (check1): New function.
74366         (test_main): Use it.
74367         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74368         Support strcasecmp and strncasecmp.
74370 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74372         [BZ #12194]
74373         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74374         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74376 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74378         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74379         IFUNC support.
74380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74381         memset-x86-64.
74382         * sysdeps/x86_64/multiarch/bzero.S: New file.
74383         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74384         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74385         * sysdeps/x86_64/multiarch/memset.S: New file.
74386         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74388         Set bit_Prefer_SSE_for_memop for Intel processors.
74389         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74390         Define.
74391         (index_Prefer_SSE_for_memop): Define.
74392         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74394 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74396         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74397         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74399 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74401         [BZ #12191]
74402         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74403         (__x86_64_raw_data_cache_size_half): Likewise.
74404         (__x86_64_raw_shared_cache_size): Likewise.
74405         (__x86_64_raw_shared_cache_size_half): Likewise.
74407         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74408         (__x86_64_raw_data_cache_size_half): Likewise.
74409         (__x86_64_raw_shared_cache_size): Likewise.
74410         (__x86_64_raw_shared_cache_size_half): Likewise.
74411         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74412         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74413         and __x86_64_raw_shared_cache_size_half.  Round
74414         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74415         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74416         to multiple of 256 bytes.
74418 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74420         [BZ #12167]
74421         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74422         of inacessible symlinks.  Verify result of symlink before returning it.
74423         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74424         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74426 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74428         * math/math.h (isinf): Fix typo in comment.
74430 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74432         * po/da.po: Update from translation team.
74434 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74436         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74437         is added to the list.
74439 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74440             Ulrich Drepper  <drepper@gmail.com>
74442         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74443         the global list here.  Move code to...
74444         (_dl_add_to_namespace_list): ...here.  New function.
74445         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74446         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74447         * elf/dl-load.c (lose): Don't remove the element from the list.
74448         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74449         (_dl_map_object): Likewise.
74451 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74453         [BZ #12159]
74454         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74455         into all bytes of SSE register.
74456         Patch by Richard Li <richardpku@gmail.com>.
74458 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74460         [BZ #12140]
74461         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74462         perturbing.
74464 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74466         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74467         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74468         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74469         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74471         submachine.
74472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74474 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74476         * include/dlfcn.h (__RTLD_SECURE): Define.
74477         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74478         mode & __RTLD_SECURE instead.
74479         (open_path): Rename preloaded parameter to secure.
74480         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74481         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74482         * elf/dl-deps.c (openaux): Likewise.
74483         * elf/rtld.c (struct map_args): Remove is_preloaded.
74484         (map_doit): Don't use it.
74485         (dl_main): Likewise.
74486         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74487         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74489 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74491         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74492         (sysd-rules-targets): Remove duplicates.
74493         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74494         rtld-%.$o dependency.
74496 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74498         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74499         _dl_map_object do it.
74501 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74503         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74504         fast fma builtins, define the macros in the C99 standard.
74505         (FP_FAST_FMAF): Likewise.
74506         (FP_FAST_FMAL): Likewise.
74507         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74509         * bits/mathdef.h: Update copyright year.
74510         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74512 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74514         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74515         builtins, define the macros in the C99 standard.
74516         (FP_FAST_FMAF): Likewise.
74517         (FP_FAST_FMAL): Likewise.
74518         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74519         multiply/add.
74520         (FP_FAST_FMAF): Likewise.
74522 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74524         [BZ #3268]
74525         * math/libm-test.inc (fma_test): Some new testcases.
74526         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74527         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74528         y and infinite z.  Do multiplication by C already in long double.
74529         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74531         y and infinite z.  Do bitwise or of inexact bit into u.d.
74532         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74533         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74534         * sysdeps/i386/fpu/s_fma.S: Removed.
74535         * sysdeps/i386/fpu/s_fmal.S: Removed.
74537 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74539         [BZ #3268]
74540         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74542         computation is not scheduled after fetestexcept.  Fix value
74543         of minimum denormal long double.
74545 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74547         [BZ #3268]
74548         * math/libm-test.inc (fma_test): Add some more tests.
74549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74550         correctly.
74552 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74554         * scripts/data/localplt-s390-linux-gnu.data: New file.
74555         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74557 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74559         [BZ #3268]
74560         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74561         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74562         instead of dbl-64.
74563         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74564         inlines.
74565         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74567         if one of x and y is very large and the other is subnormal.
74568         * sysdeps/s390/fpu/s_fmaf.c: New file.
74569         * sysdeps/s390/fpu/s_fma.c: New file.
74570         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74571         * sysdeps/powerpc/fpu/s_fma.S: New file.
74572         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74573         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74574         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74576 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74578         [BZ #3268]
74579         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74580         fma tests.
74581         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74582         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74583         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74584         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74585         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74586         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74587         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74589 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74591         [BZ #12078]
74592         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74593         * posix/bug-regex31.input: Add test case.
74595 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74597         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74598         * posix/bug-regex31.input: New file.
74600         [BZ #12078]
74601         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74602         (parse_sub_exp): Fix last change, use postorder.
74604         * posix/bug-regex31.c: New file.
74605         * posix/Makefile: Add rules to build and run bug-regex31.
74607         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74609         [BZ #12078]
74610         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74612         [BZ #12108]
74613         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74614         to have entries in sys_siglist.
74616         [BZ #12093]
74617         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74618         be NULL.
74620 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74622         [BZ #3268]
74623         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74624         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74625         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74626         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74627         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74628         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74629         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74630         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74631         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74632         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74633         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74634         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74635         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74636         * math/ftestexcept.c (fetestexcept): Likewise.
74637         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74638         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74639         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74640         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74641         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74642         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74643         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74645 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74647         [BZ #12107]
74648         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74649         newline.
74651 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74653         * string/bug-strstr1.c: New file.
74654         * string/Makefile: Add rules to build and run bug-strstr1.
74656 2010-10-05  Eric Blake  <eblake@redhat.com>
74658         [BZ #12092]
74659         * string/str-two-way.h (two_way_long_needle): Always clear memory
74660         when skipping input due to the shift table.
74662 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74664         [BZ #12005]
74665         * malloc/mcheck.c: Handle large requests.
74667         [BZ #12077]
74668         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74669         for strncmp and strncasecmp.
74670         * string/stratcliff.c: Add tests for strcmp and strncmp.
74671         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74673 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74675         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74676         __set_fpscr.
74678 2010-09-30  Andreas Jaeger  <aj@suse.de>
74680         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74681         (CGROUP_SUPER_MAGIC): Define.
74682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74683         Handle btrfs and cgroup file systems.
74684         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74685         Likewise.
74687 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74689         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74690         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74692 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74694         [BZ #12067]
74695         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74696         trying to locate the ELF header.
74698 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74700         [BZ #11611]
74701         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74702         Mask out sign-bit copies when constructing f_fsid.
74704 2010-09-24  Petr Baudis <pasky@suse.cz>
74706         * debug/stack_chk_fail_local.c: Add missing licence exception.
74707         * debug/warning-nop.c: Likewise.
74709 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74711         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74712         implementing getdents64 using getdents syscall, set d_type if
74713         __ASSUME_GETDENTS32_D_TYPE.
74715 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74717         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74718         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74720 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74722         [BZ #12037]
74723         * posix/unistd.h: Undo change of feature selection for ftruncate from
74724         2010-01-11.
74726 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74728         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74729         detection.
74731 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74734         fanotify_mark.
74735         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74737 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74739         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74740         variables after CHECK_SP call.
74741         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74743 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74744             Ulrich Drepper  <drepper@redhat.com>
74746         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74747         re-relocationg ld.so.
74748         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74749         _dl_init_paths call.
74750         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74751         here anymore.
74753 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74755         * resolv/res_init.c (__res_vinit): Count the default server we added.
74757 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74758             Ulrich Drepper  <drepper@redhat.com>
74760         [BZ #11968]
74761         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74762         (____longjmp_chk): Use %ebx for saving value across system call.
74763         Add unwind info.
74765 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74767         * manual/Makefile: Don't mix pattern rules with normal rules.
74769 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74771         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74772         operation.
74773         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74774         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74775         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74776         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74778         Likewise.
74780 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74782         [BZ #11979]
74783         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74784         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74786 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74788         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74789         * sysdeps/x86_64/addmul_1.S: Likewise.
74790         * sysdeps/x86_64/lshift.S: Likewise.
74791         * sysdeps/x86_64/mul_1.S: Likewise.
74792         * sysdeps/x86_64/rshift.S: Likewise.
74793         * sysdeps/x86_64/sub_n.S: Likewise.
74794         * sysdeps/x86_64/submul_1.S: Likewise.
74796 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74798         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74799         Define __sched_param instead of SCHED_* and sched_param when
74800         <bits/sched.h> is included with __need_schedparam defined.
74801         * bits/sched.h [__need_schedparam]
74802         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74803         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74804         (__defined_schedparam): Define to 1.
74805         (__sched_param): New structure, identical to sched_param.
74806         (__need_schedparam): Undefine.
74808 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74810         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74811         (epoll_create1): Declare.
74813         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74815 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74817         [BZ #7066]
74818         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74819         shifting retval into place.
74821 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74823         * nis/rpcsvc/nis.h: Update copyright notice.
74824         * nis/rpcsvc/nis.x: Likewise.
74825         * nis/rpcsvc/nis_callback.h: Likewise.
74826         * nis/rpcsvc/nis_callback.x: Likewise.
74827         * nis/rpcsvc/nis_object.x: Likewise.
74828         * nis/rpcsvc/nis_tags.h: Likewise.
74829         * nis/rpcsvc/yp.h: Likewise.
74830         * nis/rpcsvc/yp.x: Likewise.
74831         * nis/rpcsvc/ypupd.h: Likewise.
74832         * nis/yp_xdr.c: Likewise.
74833         * nis/ypupdate_xdr.c: Likewise.
74835         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74836         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74837         (pmap_getport): Use __libc_rpc_getport.
74838         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74839         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74840         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74842 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74845         fanotify_mark.
74847 2010-08-27  Roland McGrath  <roland@redhat.com>
74849         * sysdeps/i386/i686/multiarch/Makefile
74850         (CFLAGS-varshift.c): New variable.
74852 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74854         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74855         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74857         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74859         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74861 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74863         * sysdeps/x86_64/strlen.S: Unroll the loop.
74864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74865         strlen-sse2 strlen-sse2-bsf.
74866         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74867         __strlen_no_bsf if bit_Slow_BSF is set.
74868         (__strlen_sse42): Removed.
74869         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74870         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74872 2010-08-25  Roland McGrath  <roland@redhat.com>
74874         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74875         * sysdeps/x86_64/multiarch/varshift.c: New file.
74876         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74877         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74878         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74879         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74881 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74884         strlen-sse2 strlen-sse2-bsf.
74885         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74886         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74887         (__strlen_sse2): Removed.
74888         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74889         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74891         bit_Slow_BSF for Atom.
74892         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74893         (index_Slow_BSF): Define.
74894         (HAS_SLOW_BSF): Define.
74896 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74898         [BZ #10851]
74899         * resolv/res_init.c (__res_vinit): When no server address at all
74900         is given default to loopback.
74902 2010-08-24  Roland McGrath  <roland@redhat.com>
74904         * configure.in: Remove config-name.h generation.
74905         * configure: Regenerated.
74906         * config-name.in: File removed.
74907         * scripts/config-uname.sh: New file.
74908         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74909         ($(objdir)config-name.h): New target.
74911         * sunrpc/rpc_parse.h: Avoid nested comment.
74913 2010-08-24  Richard Henderson  <rth@redhat.com>
74914             Ulrich Drepper  <drepper@redhat.com>
74915             H.J. Lu  <hongjiu.lu@intel.com>
74917         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74919         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74920         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74921         _mm_alignr_epi8 with _mm_loadu_si128.
74922         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74923         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74924         (__m128i_shift_right): Removed.
74925         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74926         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74927         * sysdeps/x86_64/multiarch/varshift.h: New file.
74928         * sysdeps/x86_64/multiarch/varshift.S: New file.
74930 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74932         * configure.in: Move assembler checks to before sysdep dir checking.
74934 2010-08-20  Petr Baudis  <pasky@suse.cz>
74936         * LICENSES: Sync the sunrpc license.
74938 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74940         * sunrpc/auth_des.c: Update copyright notice once again.
74941         * sunrpc/auth_none.c: Likewise.
74942         * sunrpc/auth_unix.c: Likewise.
74943         * sunrpc/authdes_prot.c: Likewise.
74944         * sunrpc/authuxprot.c: Likewise.
74945         * sunrpc/bindrsvprt.c: Likewise.
74946         * sunrpc/clnt_gen.c: Likewise.
74947         * sunrpc/clnt_perr.c: Likewise.
74948         * sunrpc/clnt_raw.c: Likewise.
74949         * sunrpc/clnt_simp.c: Likewise.
74950         * sunrpc/clnt_tcp.c: Likewise.
74951         * sunrpc/clnt_udp.c: Likewise.
74952         * sunrpc/clnt_unix.c: Likewise.
74953         * sunrpc/des_crypt.c: Likewise.
74954         * sunrpc/des_soft.c: Likewise.
74955         * sunrpc/get_myaddr.c: Likewise.
74956         * sunrpc/getrpcport.c: Likewise.
74957         * sunrpc/key_call.c: Likewise.
74958         * sunrpc/key_prot.c: Likewise.
74959         * sunrpc/openchild.c: Likewise.
74960         * sunrpc/pm_getmaps.c: Likewise.
74961         * sunrpc/pm_getport.c: Likewise.
74962         * sunrpc/pmap_clnt.c: Likewise.
74963         * sunrpc/pmap_prot.c: Likewise.
74964         * sunrpc/pmap_prot2.c: Likewise.
74965         * sunrpc/pmap_rmt.c: Likewise.
74966         * sunrpc/rpc/auth.h: Likewise.
74967         * sunrpc/rpc/auth_unix.h: Likewise.
74968         * sunrpc/rpc/clnt.h: Likewise.
74969         * sunrpc/rpc/des_crypt.h: Likewise.
74970         * sunrpc/rpc/key_prot.h: Likewise.
74971         * sunrpc/rpc/netdb.h: Likewise.
74972         * sunrpc/rpc/pmap_clnt.h: Likewise.
74973         * sunrpc/rpc/pmap_prot.h: Likewise.
74974         * sunrpc/rpc/pmap_rmt.h: Likewise.
74975         * sunrpc/rpc/rpc.h: Likewise.
74976         * sunrpc/rpc/rpc_des.h: Likewise.
74977         * sunrpc/rpc/rpc_msg.h: Likewise.
74978         * sunrpc/rpc/svc.h: Likewise.
74979         * sunrpc/rpc/svc_auth.h: Likewise.
74980         * sunrpc/rpc/types.h: Likewise.
74981         * sunrpc/rpc/xdr.h: Likewise.
74982         * sunrpc/rpc_clntout.c: Likewise.
74983         * sunrpc/rpc_cmsg.c: Likewise.
74984         * sunrpc/rpc_common.c: Likewise.
74985         * sunrpc/rpc_cout.c: Likewise.
74986         * sunrpc/rpc_dtable.c: Likewise.
74987         * sunrpc/rpc_hout.c: Likewise.
74988         * sunrpc/rpc_main.c: Likewise.
74989         * sunrpc/rpc_parse.c: Likewise.
74990         * sunrpc/rpc_parse.h: Likewise.
74991         * sunrpc/rpc_prot.c: Likewise.
74992         * sunrpc/rpc_sample.c: Likewise.
74993         * sunrpc/rpc_scan.c: Likewise.
74994         * sunrpc/rpc_scan.h: Likewise.
74995         * sunrpc/rpc_svcout.c: Likewise.
74996         * sunrpc/rpc_tblout.c: Likewise.
74997         * sunrpc/rpc_util.c: Likewise.
74998         * sunrpc/rpc_util.h: Likewise.
74999         * sunrpc/rpcinfo.c: Likewise.
75000         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75001         * sunrpc/rpcsvc/key_prot.x: Likewise.
75002         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75003         * sunrpc/rpcsvc/mount.x: Likewise.
75004         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75005         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75006         * sunrpc/rpcsvc/rex.x: Likewise.
75007         * sunrpc/rpcsvc/rstat.x: Likewise.
75008         * sunrpc/rpcsvc/rusers.x: Likewise.
75009         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75010         * sunrpc/rpcsvc/spray.x: Likewise.
75011         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75012         * sunrpc/rtime.c: Likewise.
75013         * sunrpc/svc.c: Likewise.
75014         * sunrpc/svc_auth.c: Likewise.
75015         * sunrpc/svc_authux.c: Likewise.
75016         * sunrpc/svc_raw.c: Likewise.
75017         * sunrpc/svc_run.c: Likewise.
75018         * sunrpc/svc_simple.c: Likewise.
75019         * sunrpc/svc_tcp.c: Likewise.
75020         * sunrpc/svc_udp.c: Likewise.
75021         * sunrpc/svc_unix.c: Likewise.
75022         * sunrpc/svcauth_des.c: Likewise.
75023         * sunrpc/xcrypt.c: Likewise.
75024         * sunrpc/xdr.c: Likewise.
75025         * sunrpc/xdr_array.c: Likewise.
75026         * sunrpc/xdr_float.c: Likewise.
75027         * sunrpc/xdr_mem.c: Likewise.
75028         * sunrpc/xdr_rec.c: Likewise.
75029         * sunrpc/xdr_ref.c: Likewise.
75030         * sunrpc/xdr_sizeof.c: Likewise.
75031         * sunrpc/xdr_stdio.c: Likewise.
75033         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75034         handling.
75036 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75038         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75040 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75042         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75043         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75044         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75045         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75046         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75047         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75048         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75049         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75050         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75052         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75053         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75054         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75055         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75057 2010-07-26  Anton Blanchard  <anton@samba.org>
75059         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75060         * malloc/arena.c (heap_trim): Likewise.
75062 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75064         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75065         here.  Not...
75066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75067         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75069 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75071         * sysdeps/i386/elf/Makefile: New file.
75073 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75075         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75076         from fanotify_init.
75077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75078         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75080 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75082         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75083         of strncasecmp_l.
75084         * sysdeps/multiarch/strcmp.S: Likewise.
75086 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75088         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75089         strncase_l-nonascii.
75090         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75091         Add strncase_l-ssse3.
75092         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75093         * sysdeps/x86_64/strcmp.S: Likewise.
75094         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75095         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75096         * sysdeps/x86_64/strncase.S: New file.
75097         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75098         * sysdeps/x86_64/strncase_l.S: New file.
75099         * string/Makefile (strop-tests): Add strncasecmp.
75100         * string/test-strncasecmp.c: New file.
75102         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75103         warning.
75105         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75106         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75108 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75110         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75112 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75114         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75116         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75118 2010-05-01  Alan Modra  <amodra@gmail.com>
75120         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75121         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75122         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75123         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75124         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75125         tidying.  Don't tail-call __sigjmp_save for static lib.
75126         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75127         save location.
75128         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75129         (CALL_MCOUNT): Add eh info, and nop after bl.
75130         (TAIL_CALL_SYSCALL_ERROR): New macro.
75131         (PSEUDO_RET): Use it.
75132         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75133         Correct save location of integer regs and cr.
75134         (_dl_profile_resolve): Correct cr save location.  Delete nops
75135         after bl when SHARED.  Reduce cfi size a little by better
75136         placement of cfi directives.
75137         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75138         make a stack frame.  Instead use parm save area as a temp.
75139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75140         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75142         Don't make a stack frame for parent, use parm save area.
75143         Increase child stack frame to 112 bytes.  Don't save unused reg,
75144         and adjust reg usage.  Set up cfi on error recovery and
75145         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75147         (__makecontext): Add dummy nop after jump to exit.
75148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75149         Use correct parm save area and cr save, reduce stack frame.
75150         Correct cfi for possible PSEUDO_RET frame setup.
75151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75152         Branch to local label emitted by PSEUDO_RET rather than
75153         __syscall_error.
75155 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75157         [BZ #11904]
75158         * locale/programs/locale.c (print_assignment): New function.
75159         (show_locale_vars): Use it.
75161 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75163         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75164         field.
75165         (struct statfs64): Likewise.
75166         (_STATFS_F_FLAGS): Define.
75167         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75168         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75169         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75170         (ST_VALID): Define locally.
75171         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75172         __statvfs_getflags, use the provided value.
75173         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75174         __ASSUME_STATFS_F_FLAGS.
75176         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75178         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75179         Add sys/fanotify.h.
75180         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75181         fanotify_mask for GLIBC_2.13.
75182         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75183         fanotify_init and fanotify_mark.
75184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75185         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75187         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75188         Add prlimit.
75189         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75190         prlimit64 for GLIBC_2.13.
75191         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75192         prlimit64.
75193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75194         syscall.
75195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75196         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75197         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75198         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75200         add prlimit alias.
75201         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75203         [BZ #11903]
75204         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75205         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75207         * nss/Makefile: Add rules to build and run tst-nss-test1.
75208         * shlib-versions: Add entry for libnss_test1.
75209         * nss/nss_test1.c: New file.
75210         * nss/tst-nss-test1.c: New file.
75212         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75213         (__nss_configure_lookup): Set appropriate entry in
75214         __nss_configure_lookup to true.
75215         * nss/nsswitch.h: Define enum with indeces of databases in
75216         databases and __nss_database_custom arrays.  Declare
75217         __nss_database_custom.
75218         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75219         to avoid using nscd when custom rules are installed.
75220         * nss/getXXbyYY_r.c: Likewise.
75221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75223         * nss/nss_files/files-parse.c: Whitespace fixes.
75225 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75227         [BZ #11883]
75228         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75229         * posix/fnmatch_loop.c: Likewise.
75231 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75233         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75234         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75235         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75236         * Versions.def [GLIBC_2.13]: Add.
75238 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75240         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75241         Also fail if tpwd after pwuid call is NULL.
75243 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75245         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75246         when converting to ms.
75248 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75250         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75251         EOPNOTSUPP errors with ENOTTY.
75252         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75253         EOPNOTSUPP errors with ENOTTY.
75255 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75257         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75258         Add strcasecmp_l-ssse3.
75259         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75260         strcasecmp.
75261         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75262         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75263         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75265 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75267         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75269         * string/Makefile (strop-tests): Add strcasecmp.
75270         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75271         strcasecmp_l-nonascii.
75272         (gen-as-const-headers): Add locale-defines.sym.
75273         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75274         * sysdeps/x86_64/strcasecmp.S: New file.
75275         * sysdeps/x86_64/strcasecmp_l.S: New file.
75276         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75277         * sysdeps/x86_64/locale-defines.sym: New file.
75278         * string/test-strcasecmp.c: New file.
75280         * string/test-strcasestr.c: Test both ends of the range of characters.
75281         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75283 2010-07-29  Roland McGrath  <roland@redhat.com>
75285         [BZ #11856]
75286         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75288 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75290         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75291         for ld.so.
75293 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75295         * manual/memory.texi (Malloc Tunable Parameters): Document
75296         M_PERTURB.
75298 2010-07-26  Roland McGrath  <roland@redhat.com>
75300         [BZ #11840]
75301         * configure.in (-fgnu89-inline check): Set and substitute
75302         gnu89_inline, not libc_cv_gnu89_inline.
75303         * configure: Regenerated.
75304         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75306 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75308         * string/test-strnlen.c: New file.
75309         * string/Makefile (strop-tests): Add strnlen.
75310         * string/tester.c (test_strnlen): Add a few more test cases.
75311         * string/tst-strlen.c: Better error reporting.
75313         * sysdeps/x86_64/strnlen.S: New file.
75315 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75317         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75318         lower-latency instructions.
75320 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75322         * string/test-strcasestr.c: New file.
75323         * string/test-strstr.c: New file.
75324         * string/Makefile (strop-tests): Add strstr and strcasestr.
75325         * string/str-two-way.h: Don't undefine MAX.
75326         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75328 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75331         strcasestr-nonascii.
75332         (CFLAGS-strcasestr-nonascii.c): Define.
75333         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75334         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75335         Remove unused attribute.
75337 2010-07-20  Roland McGrath  <roland@redhat.com>
75339         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75340         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75341         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75342         like LD_HWCAP_MASK can disable hwcaps.
75344 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75346         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75348 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75350         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75351         call in strcasestr.
75352         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75353         __strcasestr_sse42_nonascii.
75354         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75355         strcasestr-nonascii.c.
75356         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75358 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75360         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75361         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75362         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75363         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75365 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75367         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75368         fcntl.
75370 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75372         [BZ #11577]
75373         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75374         dl_signal_cerror.
75376 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75378         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75379         _PC_PIPE_BUF using F_GETPIPE_SZ.
75381 2010-07-05  Roland McGrath  <roland@redhat.com>
75383         * manual/arith.texi (Rounding Functions): Fix rint description
75384         implicit in round description.
75386 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75388         * elf/Makefile: Fix linking for a few tests to make recent linker
75389         happy.
75391 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75393         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75394         $(common-objpfx)libc_nonshared.a.
75396 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75398         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75399         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75400         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75401         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75402         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75403         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75405         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75420         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75421         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75422         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75423         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75424         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75425         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75426         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75427         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75428         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75429         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75430         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75431         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75447 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75449         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75450         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75451         * string/memmove.c (memmove): Renamed to ...
75452         (MEMMOVE): ...this.  Default to memmove.
75453         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75454         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75455         (END_CHK): Define.
75456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75457         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75458         mempcpy-ssse3-back memmove-ssse3-back.
75459         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75460         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75461         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75462         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75463         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75464         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75465         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75466         * sysdeps/x86_64/multiarch/memmove.c: New file.
75467         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75468         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75469         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75470         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75471         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75472         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75473         Define.
75474         (index_Fast_Copy_Backward): Define.
75475         (HAS_ARCH_FEATURE): Define.
75476         (HAS_FAST_REP_STRING): Define.
75477         (HAS_FAST_COPY_BACKWARD): Define.
75479 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75481         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75482         Restore proper fallback handling.
75484 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75486         [BZ #11701]
75487         * posix/group_member.c (__group_member): Correct checking loop.
75489         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75490         OOM in getpwuid_r correctly.  Return error number when the caller
75491         should return, otherwise -1.
75492         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75493         call returning > 0 value.
75494         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75496 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75498         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75499         libc_nonshared.a from targets in modules-names.
75501 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75503         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75504         requires it.
75506 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75508         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75509         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75511         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75513 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75515         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75517 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75519         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75520         and F_GETPIPE_SZ.
75521         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75526         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75528 2010-06-14  Roland McGrath  <roland@redhat.com>
75530         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75532 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75534         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75535         __REDIRECT followed by __THROW.
75536         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75537         * posix/getopt.h (getopt): Likewise.
75539 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75541         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75542         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75543         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75544         in AT_FLAGS.
75545         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75546         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75548 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75550         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75552 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75554         [BZ #11640]
75555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75556         Properly check family and model.
75558 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75560         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75562 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75564         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75566 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75568         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75569         symbol reference.
75571 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75573         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75574         symbol reference.
75576 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75578         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75579         and internal_recvmmsg.
75580         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75581         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75582         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75583         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75585         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75586         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75587         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75589 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75591         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75593 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75595         POWER7 optimizations.
75596         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75597         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75599 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75601         * version.h: Update for 2.13 development version.
75603 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75605         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75606         exceptions.  Return 0.
75608 2010-05-07  Roland McGrath  <roland@redhat.com>
75610         * elf/ldconfig.c (main): Add a const.
75612 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75614         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75615         (args_options): Add no-idn option.
75616         (ahosts_keys_int): Add idn_flags to ai_flags.
75617         (parse_option): Handle 'i' option to clear idn_flags.
75619         * malloc/malloc.c (_int_free): Possible race in the most recently
75620         added check.  Only act on the data if no current modification
75621         happened.
75623 See ChangeLog.17 for earlier changes.